python-mss icon indicating copy to clipboard operation
python-mss copied to clipboard

Support request: WSL

Open vinnymeller opened this issue 5 years ago • 8 comments

General information:

  • OS name: Linux subsystem for windows
  • OS architecture: 64 bits
  • Resolutions:
    • Monitor 1: 2k
    • Monitor 2: 2k
  • Python version: 3.6.9
  • MSS version: cloned from master today version

Description of the warning/error

'python' terminated by signal SIGSEGV (Address boundary error)

error occurs at the following point:

self.root = self.xlib.XDefaultRootWindow(MSS.display)

any help would be appreciated

vinnymeller avatar Apr 26 '20 00:04 vinnymeller

FYI I got this working on normal windows for conda so I guess it isn't a big deal. but still probably good to hear about bugs

vinnymeller avatar Apr 26 '20 03:04 vinnymeller

Hello,

Thank you for the report and analysis. I never tested MSS on WSL, there is definitely something not working here.

What distribution did you install?

BoboTiG avatar Apr 26 '20 12:04 BoboTiG

Hello,

Thank you for the report and analysis. I never tested MSS on WSL, there is definitely something not working here.

What distribution did you install?

I have exactly this from the windows store: https://www.microsoft.com/store/productId/9NBLGGH4MSV6

also with this I was having an issue with xrandr that was (seemingly) fixed with the below install: sudo apt-get install x11-xserver-utils

vinnymeller avatar Apr 26 '20 20:04 vinnymeller

+1 on this one. I am getting ImportError: cannot import name 'WINFUNCTYPE' from 'ctypes' running this from WSL

Talador12 avatar Jan 16 '24 20:01 Talador12