Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

SPAS Unsupported for Linux users #6

Open
atlorentemur opened this issue Mar 4, 2022 · 2 comments
Open

SPAS Unsupported for Linux users #6

atlorentemur opened this issue Mar 4, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@atlorentemur
Copy link

Importing SPAS is impossible for Linux users. This is due to the use of Winreg which is not compatible with linux.

While the package is not meant to be used for Linux users to control the instrument side of things, it still is important for Linux users to be able to import it to read data/metadata etc.

Potentially isolate the use of winreg and other windows specific applications inside a "submodule" so that linux users can use some of the functions that do not control the intrumentation.

@atlorentemur atlorentemur added the bug Something isn't working label Mar 4, 2022
@tbaudier
Copy link
Contributor

Same problem on macOs.

A suggestion to avoid the problem is:

import os
if os.name == 'nt':
    import ALP4
    import pyueye as ueye

In acquisition.py and metadata.py

But in metadata.py, all the ALP4 reference should be remove too. Is it possible?

@nducros
Copy link
Member

nducros commented Sep 15, 2022

Thanks Thomas! @Mahieu-Williame: ça risque de résoudre une partie de nos problèmes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants