NoFoolLikeOne / EDMC-Screenshot

A plugin for EDMC that detects screenshot events are converts them to PNG format
GNU General Public License v3.0
34 stars 4 forks source link

Fails to load module on Linux Version of EDMC #54

Open cyberlink1 opened 2 years ago

cyberlink1 commented 2 years ago

Im running in Linux and it fails to load the plugin when installed. Digging into it a little it looks like you may be using an OS Specific lib to do WinDLL calls instead of the cross platform libs. Though Im no expert on this.

ThornedRose commented 1 year ago

Also running Linux (Arch) and it fails to load for me. Other plugins work no problem.

midigark commented 3 months ago

Im running in Linux and it fails to load the plugin when installed. Digging into it a little it looks like you may be using an OS Specific lib to do WinDLL calls instead of the cross platform libs. Though Im no expert on this.

Running from Linux Mint 21.3 using python3.10

Hey, I ran it in a terminal using $ python load.py And get: $ python load.py Traceback (most recent call last): File "/home/me/.local/share/EDMarketConnector/plugins/EDMC-Screenshot/load.py", line 2, in import key File "/home/me/.local/share/EDMarketConnector/plugins/EDMC-Screenshot/key.py", line 5, in user32 = ctypes.WinDLL('user32', use_last_error=True) AttributeError: module 'ctypes' has no attribute 'WinDLL'

========== I'm going to guess that this version is not "Linux friendly".

While not specifically stating that this would ruin under Linux, this stated that it would run under Python 3.7+. [(https://github.com/EDCD/EDMarketConnector/wiki/Plugins)]

Unless clearly stated, perhaps we all need to start using some visual indicators for what systems these will run on - as-is. You know, the penguin, winflag, etc...

ostypes

Mark