Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash running tests: "Cannot read property '$' of undefined" #7524

Closed
mfeif opened this issue Sep 20, 2019 · 2 comments
Closed

Crash running tests: "Cannot read property '$' of undefined" #7524

mfeif opened this issue Sep 20, 2019 · 2 comments

Comments

@mfeif
Copy link

mfeif commented Sep 20, 2019

Issue Type: Bug

running tests manually from the same virtualenv works; in fact, it works inside VSCode too, but it throws an error, perhaps as it tries to report back to the engine?

python /Users/mjf/.vscode/extensions/ms-python.python-2019.9.34911/pythonFiles/testing_tools/run_adapter.py discover pytest -- -s --cache-clear tests
python /Users/mjf/.vscode/extensions/ms-python.python-2019.9.34911/pythonFiles/testing_tools/run_adapter.py discover pytest -- -s --cache-clear tests
============================= test session starts ==============================
platform darwin -- Python 3.7.2, pytest-5.1.2, py-1.8.0, pluggy-0.13.0
rootdir: /Users/mjf/dev/twinkler
collected 36 items

tests/color/test_color_math.py ....                                      [ 11%]
tests/color/test_convert.py ........                                     [ 33%]
tests/color/test_difference.py .                                         [ 36%]
tests/color/test_objects.py .................                            [ 83%]
tests/color/test_strand.py ....                                          [ 94%]
tests/color/test_utility.py ..                                           [100%]

- generated xml file: /var/folders/fc/jt94qxm91n90b49bnc0f3cjw0000gn/T/tmp-61738UIbD4Q58P9y1.xml -
============================== 36 passed in 0.10s ==============================
Error: TypeError: Cannot read property '$' of undefined
============================= test session starts ==============================
platform darwin -- Python 3.7.2, pytest-5.1.2, py-1.8.0, pluggy-0.13.0
rootdir: /Users/mjf/dev/twinkler
collected 36 items

tests/color/test_color_math.py ....                                      [ 11%]
tests/color/test_convert.py ........                                     [ 33%]
tests/color/test_difference.py .                                         [ 36%]
tests/color/test_objects.py .................                            [ 83%]
tests/color/test_strand.py ....                                          [ 94%]
tests/color/test_utility.py ..                                           [100%]

- generated xml file: /var/folders/fc/jt94qxm91n90b49bnc0f3cjw0000gn/T/tmp-61738OldKk0r87SfD.xml -
============================== 36 passed in 0.10s ==============================
Error: TypeError: Cannot read property '$' of undefined
============================= test session starts ==============================
platform darwin -- Python 3.7.2, pytest-5.1.2, py-1.8.0, pluggy-0.13.0
rootdir: /Users/mjf/dev/twinkler
collected 1 item

tests/color/test_objects.py .                                            [100%]

- generated xml file: /var/folders/fc/jt94qxm91n90b49bnc0f3cjw0000gn/T/tmp-617386UYKYihkSztU.xml -
============================== 1 passed in 0.02s ===============================
Error: TypeError: Cannot read property '$' of undefined

Extension version: 2019.9.34911
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:31:32.854Z)
OS version: Darwin x64 18.7.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz (8 x 2300)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 2, 3, 3
Memory (System) 16.00GB (0.33GB free)
Process Argv .
Screen Reader no
VM 0%
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Sep 20, 2019
@kimadeline
Copy link

Hi @mfeif 👋 This is a duplicate of #6990.

@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Sep 20, 2019
@mfeif
Copy link
Author

mfeif commented Sep 22, 2019

Thank you; sorry, I did search for that error string, and didn't find anything, though it's here.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants