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

css-overview-gui crashes everytime #67

Open
dustinf1989 opened this issue Jun 17, 2022 · 0 comments
Open

css-overview-gui crashes everytime #67

dustinf1989 opened this issue Jun 17, 2022 · 0 comments

Comments

@dustinf1989
Copy link

dustinf1989 commented Jun 17, 2022

I'm trying to do tutorial part 3 with CSC29.ncs using Windows 10 but the line python css-overview-gui opens the empty gui, but when I type CSC29 and click 'Initialize from current folder', it crashes and causes this error:

python css-overview-gui

[] None
14
[] None
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread

(base) C:\Users\drdus\Documents\Python\combinato>python css-overview-gui
Traceback (most recent call last):
  File "C:\Users\drdus\Documents\Python\combinato\combinato\guioverview\guioverview.py", line 143, in init_from_cwd
    self.init_from_path(os.getcwd())
  File "C:\Users\drdus\Documents\Python\combinato\combinato\guioverview\guioverview.py", line 167, in init_from_path
    channels = get_channels(path, from_h5files)
  File "C:\Users\drdus\Documents\Python\combinato\combinato\util\tools.py", line 86, in get_channels
    for name in h5files(path):
  File "C:\Users\drdus\Documents\Python\combinato\combinato\util\tools.py", line 163, in h5files
    return sorted(ret, key=sort_function)
TypeError: '<' not supported between instances of 'str' and 'int'

I have a feeling that it could be an issue with the way Windows represents paths because I had to make the variable

CLUS_BINARY = r'C:\Users\admin\Documents\Python\combinato\spc\cluster_64.exe'

a raw string.

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

No branches or pull requests

1 participant