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.

Getting ZPIXMAX error in version 4.0.0

See original GitHub issue

General informations:

  • OS name: Debian GNU/Linux
  • OS version: sid
  • OS architecture: 64 bits
  • Resolutions:
    • Monitor 1: 1280x900
  • Python version: 3.5.3
  • MSS version: 4.0.0

For GNU/Linux users:

  • Display server protocol and version, if known: X server
  • Desktop Environment: Gnome_

Description of the warning/error

After upgrading to version 4.0.0 I started getting error ZIPXMAP in grab.

Full message

  File "/home/user/image.py", line 149, in refresh
    im = np.asarray(sct.grab(monitor))
  File "/home/user/.local/lib/python3.5/site-packages/mss/linux.py", line 389, in grab
    ZPIXMAP,
ctypes.ArgumentError: argument 3: <class 'TypeError'>: wrong type

Other details

Downgrading to version 3.3.2 solved the problem.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
klausrollmanncommented, Jan 26, 2019

I tested and it is working properly. Thanks 😃

0reactions
BoboTiGcommented, Jan 26, 2019

The 4.0.1 version is released!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not find a version that satisfies the requirement tensorflow
I am on Windows 10 with python 3.8.0 installed. Getting the same error message. – TiredOfProgramming. Dec 2, 2019 at 21:00.
Read more >
scanpy conda installation error · Issue #990 - GitHub
I cannot install scanpy successfully. (conda v. 4.7.12) $ conda create -n scanpy_scRNA -c bioconda scanpy Collecting package metadata ...
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