highlights for tsx and jsx files stopped working
See original GitHub issueplease complete the following information:
- OS version: [e.g. Win 10, Mac Catalina]: Mac Catalina 10.15.1
- Editor version [e.g. 1.45.0-insider]: 1.51.0
- Programming language: [e.g. js, ts, c++]: typescript
- TabNine extension version: 3.1.8
If the issue is related to TabNine failure, please provide log files:
Type TabNine::config
in your editor, the logs are located at the bottom of the page
[2020-11-12T22:23:08.677463+01:00][INFO][5738 main][TabNine][Some(“tabnine/frontend/src/main.rs”)][Some(315)] /Users/baturaykaraduman/.vscode/extensions/tabnine.tabnine-vscode-3.1.5/binaries/3.2.13/x86_64-apple-darwin/TabNine --client=vscode --no-lsp=true --client-metadata clientVersion=1.51.1 pluginVersion=3.1.5 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-remote=false vscode-remote-name=undefined vscode-extension-kind=1 ide-restart-counter=0
[2020-11-12T22:23:08.678231+01:00][INFO][5738 main][updater::global_config][Some(“tabnine/updater/src/global_config.rs”)][Some(662)] config path: /Users/baturaykaraduman/Library/Preferences/TabNine/tabnine_config.json
[2020-11-12T22:23:08.683413+01:00][INFO][5738 main][TabNine][Some(“tabnine/frontend/src/main.rs”)][Some(256)] inner at this point
[2020-11-12T22:23:08.718018+01:00][INFO][5738 thread][watchdog_server][Some(“tabnine/watchdog_server/src/lib.rs”)][Some(53)] watchdog is locking path: /Users/baturaykaraduman/Library/Application Support/TabNine/monitoring/watchdog.lock
[2020-11-12T22:23:08.718089+01:00][INFO][5738 main][frontend][Some(“tabnine/frontend/src/lib.rs”)][Some(75)] LSP disabled
[2020-11-12T22:23:09.111812+01:00][INFO][5738 lunar settings update thread (Remote)][server::lunar_connection][Some(“tabnine/server/src/lunar_connection.rs”)][Some(131)] lunar settings update thread started (Remote)
[2020-11-12T22:23:09.111836+01:00][INFO][5738 lunar settings update thread (Remote)][server::lunar_connection][Some(“tabnine/server/src/lunar_connection.rs”)][Some(137)] Successfully updated Remote lunar settings
[2020-11-12T22:23:09.599989+01:00][INFO][5738 thread][watchdog_server::monitor_loop][Some(“tabnine/watchdog_server/src/monitor_loop.rs”)][Some(207)] watching new process 5738-TabNine
[2020-11-12T22:23:09.623712+01:00][INFO][5738 local-forwarder][lunar_local::bridge][Some(“deep/lunar_local/src/bridge.rs”)][Some(75)] TabNine Local communication thread started.
[2020-11-12T22:23:09.623740+01:00][INFO][5738 local-forwarder][lunar_local::bridge][Some(“deep/lunar_local/src/bridge.rs”)][Some(13)] Loading model…
[2020-11-12T22:23:09.623855+01:00][INFO][5738 local-forwarder][lunar_local::locker][Some(“deep/lunar_local/src/locker.rs”)][Some(15)] Trying to lock: “/var/folders/y8/1_fpjtzn5bg8058b1gy58x980000gn/T/model.lock”
[2020-11-12T22:23:09.623869+01:00][INFO][5738 local-forwarder][lunar_local::locker][Some(“deep/lunar_local/src/locker.rs”)][Some(17)] Lock acquired, performing the inner action
[2020-11-12T22:23:09.623878+01:00][INFO][5738 local-forwarder][lunar_local::downloader][Some(“deep/lunar_local/src/downloader.rs”)][Some(151)] Starting download (last_failure=None).
[2020-11-12T22:23:09.624288+01:00][INFO][5738 local-forwarder][lunar_local::downloader][Some(“deep/lunar_local/src/downloader.rs”)][Some(560)] Loaded cached metadata.
[2020-11-12T22:23:09.624300+01:00][INFO][5738 local-forwarder][lunar_local::downloader][Some(“deep/lunar_local/src/downloader.rs”)][Some(187)] Attempting to load deep model (attempt: #1)
[2020-11-12T22:23:09.624309+01:00][INFO][5738 metadata-updater][lunar_local::downloader][Some(“deep/lunar_local/src/downloader.rs”)][Some(556)] Checking for metadata update in background…
[2020-11-12T22:23:09.624372+01:00][INFO][5738 local-forwarder][lunar_local::downloader][Some(“deep/lunar_local/src/downloader.rs”)][Some(277)] Trying to load cached model from “/Users/baturaykaraduman/Library/Application Support/TabNine/models/b8373e4b.tabninemodel”
[2020-11-12T22:23:09.625061+01:00][INFO][5738 lunar settings update thread (Local)][server::lunar_connection][Some(“tabnine/server/src/lunar_connection.rs”)][Some(131)] lunar settings update thread started (Local)
[2020-11-12T22:23:09.625103+01:00][INFO][5738 lunar settings update thread (Local)][server::lunar_connection][Some(“tabnine/server/src/lunar_connection.rs”)][Some(137)] Successfully updated Local lunar settings
[2020-11-12T22:23:09.626050+01:00][INFO][5738 main][frontend][Some(“tabnine/frontend/src/lib.rs”)][Some(81)] Started.
[2020-11-12T22:23:09.858726+01:00][INFO][5738 metadata-updater][http_requests][Some(“shared/http_requests/src/lib.rs”)][Some(69)] Making API request to https://api.tabnine.com/model_metadata/v1
[2020-11-12T22:23:10.250038+01:00][INFO][5738 metadata-updater][lunar_local::downloader][Some(“deep/lunar_local/src/downloader.rs”)][Some(229)] Downloaded model metadata [hash=b8373e4b].
[2020-11-12T22:23:16.343988+01:00][INFO][5738 local-forwarder][lunar_local::locker][Some(“deep/lunar_local/src/locker.rs”)][Some(21)] Releasing lock: “/var/folders/y8/1_fpjtzn5bg8058b1gy58x980000gn/T/model.lock”
[2020-11-12T22:23:16.465396+01:00][INFO][5738 local-forwarder][lunar_local::bridge][Some(“deep/lunar_local/src/bridge.rs”)][Some(17)] Done loading model (took 6.84 seconds).
[2020-11-12T22:23:17.335560+01:00][ERROR][5738 TabNine-worker-3][server::pipeline::document_tracker][Some(“tabnine/server/src/pipeline/document_tracker.rs”)][Some(316)] Error reading “/Users/baturaykaraduman/karaduman/content/spaceocean/static/assets/images/article/array_or_list.png”: stream did not contain valid UTF-8
[2020-11-12T22:23:17.336031+01:00][ERROR][5738 TabNine-worker-3][server::pipeline::document_tracker][Some(“tabnine/server/src/pipeline/document_tracker.rs”)][Some(316)] Error reading “/Users/baturaykaraduman/karaduman/content/spaceocean/static/assets/images/article/array_or_list.png”: stream did not contain valid UTF-8
[2020-11-12T22:23:17.346515+01:00][ERROR][5738 TabNine-worker-3][server::pipeline::document_tracker][Some(“tabnine/server/src/pipeline/document_tracker.rs”)][Some(316)] Error reading “/Users/baturaykaraduman/karaduman/content/spaceocean/static/assets/images/article/binary.jpeg”: stream did not contain valid UTF-8
[2020-11-12T22:23:17.346691+01:00][ERROR][5738 TabNine-worker-3][server::pipeline::document_tracker][Some(“tabnine/server/src/pipeline/document_tracker.rs”)][Some(316)] Error reading “/Users/baturaykaraduman/karaduman/content/spaceocean/static/assets/images/article/binary.jpeg”: stream did not contain valid UTF-8
[2020-11-12T22:23:17.365512+01:00][ERROR][5738 TabNine-worker-3][server::pipeline::document_tracker][Some(“tabnine/server/src/pipeline/document_tracker.rs”)][Some(316)] Error reading “/Users/baturaykaraduman/karaduman/content/spaceocean/static/assets/images/article/swallow.jpg”: stream did not contain valid UTF-8
[2020-11-12T22:23:17.365669+01:00][ERROR][5738 TabNine-worker-3][server::pipeline::document_tracker][Some(“tabnine/server/src/pipeline/document_tracker.rs”)][Some(316)] Error reading “/Users/baturaykaraduman/karaduman/content/spaceocean/static/assets/images/article/swallow.jpg”: stream did not contain valid UTF-8
[2020-11-12T22:23:17.369538+01:00][ERROR][5738 TabNine-worker-3][server::pipeline::document_tracker][Some(“tabnine/server/src/pipeline/document_tracker.rs”)][Some(316)] Error reading “/Users/baturaykaraduman/karaduman/content/spaceocean/static/assets/images/background-blog.png”: stream did not contain valid UTF-8
[2020-11-12T22:23:17.369704+01:00][ERROR][5738 TabNine-worker-3][server::pipeline::document_tracker][Some(“tabnine/server/src/pipeline/document_tracker.rs”)][Some(316)] Error reading “/Users/baturaykaraduman/karaduman/content/spaceocean/static/assets/images/background-blog.png”: stream did not contain valid UTF-8
[2020-11-12T22:23:17.382546+01:00][ERROR][5738 TabNine-worker-3][server::pipeline::document_tracker][Some(“tabnine/server/src/pipeline/document_tracker.rs”)][Some(316)] Error reading “/Users/baturaykaraduman/karaduman/content/spaceocean/static/assets/images/background-home.png”: stream did not contain valid UTF-8
[2020-11-12T22:23:17.383175+01:00][ERROR][5738 TabNine-worker-3][server::pipeline::document_tracker][Some(“tabnine/server/src/pipeline/document_tracker.rs”)][Some(316)] Error reading “/Users/baturaykaraduman/karaduman/content/spaceocean/static/assets/images/background-home.png”: stream did not contain valid UTF-8
[2020-11-12T22:23:17.386662+01:00][ERROR][5738 TabNine-worker-3][server::pipeline::document_tracker][Some(“tabnine/server/src/pipeline/document_tracker.rs”)][Some(316)] Error reading “/Users/baturaykaraduman/karaduman/content/spaceocean/static/assets/images/contact-us.png”: stream did not contain valid UTF-8
[2020-11-12T22:23:17.386816+01:00][ERROR][5738 TabNine-worker-3][server::pipeline::document_tracker][Some(“tabnine/server/src/pipeline/document_tracker.rs”)][Some(316)] Error reading “/Users/baturaykaraduman/karaduman/content/spaceocean/static/assets/images/contact-us.png”: stream did not contain valid UTF-8
[2020-11-12T22:23:20.127531+01:00][INFO][5738 local-forwarder][lunar_local::tune][Some(“deep/lunar_local/src/tune.rs”)][Some(73)] Model took 1220 ms to evaluate 1 token.
[2020-11-12T22:23:23.022839+01:00][INFO][5738 local-forwarder][lunar_local::tune][Some(“deep/lunar_local/src/tune.rs”)][Some(73)] Model took 965 ms to evaluate 1 token.
[2020-11-12T22:23:23.231608+01:00][INFO][5738 local-forwarder][lunar_local::tune][Some(“deep/lunar_local/src/tune.rs”)][Some(73)] Model took 69 ms to evaluate 1 token.
[2020-11-12T22:23:23.353389+01:00][INFO][5738 local-forwarder][lunar_local::tune][Some(“deep/lunar_local/src/tune.rs”)][Some(73)] Model took 40 ms to evaluate 1 token.
[2020-11-12T22:23:23.464020+01:00][INFO][5738 local-forwarder][lunar_local::tune][Some(“deep/lunar_local/src/tune.rs”)][Some(73)] Model took 36 ms to evaluate 2 tokens.
[2020-11-12T22:23:23.592746+01:00][INFO][5738 local-forwarder][lunar_local::tune][Some(“deep/lunar_local/src/tune.rs”)][Some(73)] Model took 42 ms to evaluate 3 tokens.
[2020-11-12T22:23:23.592771+01:00][INFO][5738 local-forwarder][lunar_local::tune][Some(“deep/lunar_local/src/tune.rs”)][Some(25)] Selected 2 beams.
[2020-11-12T22:23:24.765581+01:00][INFO][5738 local-forwarder][lunar_local::tune][Some(“deep/lunar_local/src/tune.rs”)][Some(73)] Model took 390 ms to evaluate 16 tokens.
[2020-11-12T22:23:24.765609+01:00][INFO][5738 local-forwarder][lunar_local::tune][Some(“deep/lunar_local/src/tune.rs”)][Some(27)] Selected context length of 48.
[2020-11-12T22:23:28.701084+01:00][INFO][5738 update_loop][http_requests][Some(“shared/http_requests/src/lib.rs”)][Some(69)] Making API request to https://api.tabnine.com/version/v1
[2020-11-12T22:23:28.811394+01:00][INFO][5738 lunar settings update thread (Remote)][server::lunar_connection][Some(“tabnine/server/src/lunar_connection.rs”)][Some(141)] lunar settings detected config modified (Remote)
[2020-11-12T22:23:28.811393+01:00][INFO][5738 thread][updater::global_config][Some(“tabnine/updater/src/global_config.rs”)][Some(662)] config path: /Users/baturaykaraduman/Library/Preferences/TabNine/tabnine_config.json
[2020-11-12T22:23:28.811416+01:00][INFO][5738 lunar settings update thread (Local)][server::lunar_connection][Some(“tabnine/server/src/lunar_connection.rs”)][Some(141)] lunar settings detected config modified (Local)
[2020-11-12T22:23:28.811807+01:00][INFO][5738 lunar settings update thread (Remote)][server::lunar_connection][Some(“tabnine/server/src/lunar_connection.rs”)][Some(137)] Successfully updated Remote lunar settings
[2020-11-12T22:23:28.811866+01:00][INFO][5738 lunar settings update thread (Local)][server::lunar_connection][Some(“tabnine/server/src/lunar_connection.rs”)][Some(137)] Successfully updated Local lunar settings
[2020-11-12T22:23:28.873314+01:00][INFO][5738 update_loop][updater][Some(“tabnine/updater/src/lib.rs”)][Some(604)] Server did not respond with version, so using default URL.
[2020-11-12T22:23:28.912454+01:00][INFO][5738 thread][updater::global_config][Some(“tabnine/updater/src/global_config.rs”)][Some(662)] config path: /Users/baturaykaraduman/Library/Preferences/TabNine/tabnine_config.json
[2020-11-12T22:23:28.912555+01:00][INFO][5738 lunar settings update thread (Remote)][server::lunar_connection][Some(“tabnine/server/src/lunar_connection.rs”)][Some(141)] lunar settings detected config modified (Remote)
[2020-11-12T22:23:28.912564+01:00][INFO][5738 lunar settings update thread (Local)][server::lunar_connection][Some(“tabnine/server/src/lunar_connection.rs”)][Some(141)] lunar settings detected config modified (Local)
[2020-11-12T22:23:28.912669+01:00][INFO][5738 lunar settings update thread (Remote)][server::lunar_connection][Some(“tabnine/server/src/lunar_connection.rs”)][Some(137)] Successfully updated Remote lunar settings
[2020-11-12T22:23:28.912697+01:00][INFO][5738 lunar settings update thread (Local)][server::lunar_connection][Some(“tabnine/server/src/lunar_connection.rs”)][Some(137)] Successfully updated Local lunar settings
[2020-11-12T22:23:28.993127+01:00][INFO][5738 update_loop][updater][Some(“tabnine/updater/src/lib.rs”)][Some(314)] Current version is 3.2.13, remote has version 3.2.13.
[2020-11-12T22:29:06.885022+01:00][INFO][5738 main][ui::http_server][Some(“tabnine/ui/src/http_server.rs”)][Some(248)] Started config server at V4(127.0.0.1:5555).
[2020-11-12T22:29:07.725371+01:00][INFO][5738 thread][lunar_local::downloader][Some(“deep/lunar_local/src/downloader.rs”)][Some(560)] Loaded cached metadata.
[2020-11-12T22:29:07.725402+01:00][INFO][5738 thread][lunar_local::downloader][Some(“deep/lunar_local/src/downloader.rs”)][Some(177)] LunarLocalModelRelatedData { model_hash: “b8373e4b”, models_dir: Some(“/Users/baturaykaraduman/Library/Application Support/TabNine/models”) }
[2020-11-12T22:29:07.725448+01:00][INFO][5738 metadata-updater][lunar_local::downloader][Some(“deep/lunar_local/src/downloader.rs”)][Some(556)] Checking for metadata update in background…
[2020-11-12T22:29:08.246027+01:00][INFO][5738 metadata-updater][http_requests][Some(“shared/http_requests/src/lib.rs”)][Some(69)] Making API request to https://api.tabnine.com/model_metadata/v1
[2020-11-12T22:29:08.655380+01:00][INFO][5738 metadata-updater][lunar_local::downloader][Some(“deep/lunar_local/src/downloader.rs”)][Some(229)] Downloaded model metadata [hash=b8373e4b].
Editor console logs:
Help -> Toggle Developer Tools
Issue Details:
After upgrading tabnine to the newest version (3.1.8), my extension highlights for tsx and jsx files stopped working. This is definitely related to tabnine. I downgraded. It works fine now.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top GitHub Comments
@boaz-codota thanks for your help mate 🙏 Peace has been restored in the kingdom 😃🥂
Works good. Thank you 😃