Skip to content
New issue

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

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

Already on GitHub? # to your account

Linux compatibility issues #103

Open
bitsgalore opened this issue Feb 3, 2022 · 0 comments
Open

Linux compatibility issues #103

bitsgalore opened this issue Feb 3, 2022 · 0 comments

Comments

@bitsgalore
Copy link
Member

bitsgalore commented Feb 3, 2022

This is just for my own reference in case of any possible future spinoff products (e.g. floppy imager) that should work on Linux:

Launcher gives ModuleNotFoundError

python3 ~/iromlab/iromlab-launch.py

Result:

ModuleNotFoundError: No module named 'iromlab.iromlab'

Fix: rename "iromlab.pyw" to "iromlab.py".

Import errors on Windows-specific modules

Cdworker.py contains imports of these Windows-specific modules that are unavailable under Linux:

import pythoncom
import wmi

These are both used in:

def mediumLoaded(driveName):
    """Returns True if medium is loaded (also if blank/unredable), False if not"""

userDir depends on Window environment variable

See here. This also causes some secondary issues because config and tools directory locations are Windows-specific.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant