Skip to content

PyQt issue after deployment 2020-2 #45

@jklynch

Description

@jklynch

This problem arose at the deployment 2020-2 visit in the GUI program /home/vescovo/arpes_viewer/main.py

Qt.ControlModifier should be used instead of Qt.KeyboardModifier.ControlModifier.

/opt/conda_envs/collection-2020-2.0rc7-1) xf21id1@xf21id1-ws1:~/.ipython/profile_collection/startup$ python /home/vescovo/arpes_viewer/main.py
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: nouveau
QXcbConnection: XCB error: 3 (BadWindow), sequence: 1133, resource id: 31783985, major code: 40 (TranslateCoords), minor code: 0
Traceback (most recent call last):
  File "/home/vescovo/arpes_viewer/main_window.py", line 1267, in onMouseMoved
    if modifier == Qt.KeyboardModifier.ControlModifier:
AttributeError: type object 'KeyboardModifier' has no attribute 'ControlModifier'
Aborted

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions