Skip to content

Cannot start the xicam successfully on Win11 #102

@axingxing

Description

@axingxing

My environment is Win 11 and I'm using the py3.8 in anaconda
I followed the document and then downgraded intake=0.5.5, databroker=1.0.2, pyYAML=5.4.1 and installed tiled, httpx, doct
but when I "python run_xicam.py",it reports the error

Fri Dec 22 15:53:36 2023 - restore - ERROR - MainThread >
 The following error was handled safely by Xi-cam. It is displayed here for debugging.
Fri Dec 22 15:53:36 2023 - restore - ERROR - MainThread >
 Traceback (most recent call last):
   File "D:\anaconda\envs\xicam\lib\site-packages\xicam\plugins\settingsplugin.py", line 49, in restore
    self.fromState(pickle.loads(state))
 TypeError: a bytes-like object is required, not 'NoneType'

**Fri Dec 22 15:53:36 2023 - restore - WARNING - MainThread > Could not restore settings for <bound method Parameter.name of <AppearanceSettingsPlugin 'Appearance' at 0x28b8e350ee0>> plugin; re-initializing settings...
Fri Dec 22 15:53:37 2023 - logError - ERROR - MainThread >
 The following error was handled safely by Xi-cam. It is displayed here for debugging.
Fri Dec 22 15:53:37 2023 - logError - ERROR - MainThread >
 Traceback (most recent call last):
   File "D:\anaconda\envs\xicam\Lib\site-packages\xicam\run_xicam.py", line 124, in <module>
    return_code = main()
   File "D:\anaconda\envs\xicam\Lib\site-packages\xicam\run_xicam.py", line 97, in main
    return _main(args)
   File "D:\anaconda\envs\xicam\Lib\site-packages\xicam\run_xicam.py", line 83, in _main
    mainwindow = XicamMainWindow()
   File "D:\anaconda\envs\xicam\lib\site-packages\xicam\gui\windows\mainwindow.py", line 98, in __init__
    file.addAction("Se&ttings", self.showSettings, shortcut=QKeySequence(Qt.CTRL + Qt.ALT + Qt.Key_S))
 TypeError: add_action() got an unexpected keyword argument 'shortcut'**

Desktop (please complete the following information):

  • OS: Win 11
  • Xi-CAM Version:2.4.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions