question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Tests fail in Windows Enviroment specifically

See original GitHub issue

🐛🐛 Bug Report

In the current test sequence, 11 tests fail with the error AttributeError: module 'numcodecs' has no attribute 'MsgPack', however, this error does not exist in colab environments

⚗️ Current Behavior

When pytest . is run on a Windows 10 environment, 11 tests fail and 6 of them have the error message as described above.

Expected behavior/code These errors should not be thrown

⚙️ Environment

  • Python version(s):
    • Python 3.7.9
  • OS: Windows 10

🖼 Additional context/Screenshots (optional)

Add any other context about the problem here. If applicable, add screenshots to help explain.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
haiyangdepercicommented, Jan 27, 2021

@KrishnaChaitanya1 thanks for sharing that. Clearly @DebadityaPal’s solution helps here but let’s try to resolve this one last failing test.

1reaction
haiyangdepercicommented, Jan 27, 2021

@DebadityaPal I’ve just checked that msgpack gets installed by default through one of the packages in the requirements so explicitly adding it to requirements.txt might be a partial fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Windows HLK Test Failures | Microsoft Learn
Failed due to system crash. The system crashed during the test run. You can right-click on this test to view Bugcheck information.
Read more >
[BUG] Tests fail when test title is too long and PW fail to create ...
[BUG] Tests fail when test title is too long and PW fail to create directory · Issue #10361 · microsoft/playwright · GitHub.
Read more >
How can I simulate a disk full error in a Windows environment?
The test script must be automated, so that we can run it on overnight tests, for example. The test script must also work...
Read more >
HP PCs - Testing for hardware failures in Windows 10
1. In Windows, search for and open the HP PC Hardware Diagnostics for Windows app. 2. On the main menu, click System Tests....
Read more >
Handling Unexpected Windows | TestComplete Documentation
When an unexpected window appears, TestComplete saves its image and posts an error message to the test log. If you need to perform...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found