Open bitsgalore opened 2 years ago
This is just for my own reference in case of any possible future spinoff products (e.g. floppy imager) that should work on Linux:
python3 ~/iromlab/iromlab-launch.py
Result:
ModuleNotFoundError: No module named 'iromlab.iromlab'
Fix: rename "iromlab.pyw" to "iromlab.py".
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"""
See here. This also causes some secondary issues because config and tools directory locations are Windows-specific.
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
Result:
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:
These are both used in:
userDir depends on Window environment variable
See here. This also causes some secondary issues because config and tools directory locations are Windows-specific.