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

Events... is not working on 1.6.1 #326

Closed
lucapinello opened this issue Mar 10, 2019 · 5 comments
Closed

Events... is not working on 1.6.1 #326

lucapinello opened this issue Mar 10, 2019 · 5 comments
Labels
Milestone

Comments

@lucapinello
Copy link

When I click on config Events... one error window is displayed

This is the log file:
2019-03-10, 01:32:56

<class 'AttributeError'>:
type object 'QKeySequence' has no attribute 'Cancel' File "/home/pine64/ROASTER_SOFTWARE_NEW/artisan/src/artisanlib/main.py", line 25158, in eventsconf
dialog = EventsDlg(self)
File "/home/pine64/ROASTER_SOFTWARE_NEW/artisan/src/artisanlib/main.py", line 33216, in init
cancelAction.setShortcut(QKeySequence.Cancel)


/home/pine64/ROASTER_SOFTWARE_NEW/artisan/src/artisanlib/main.py::eventsconf:25158
self = <artisanlib.main.ApplicationWindow object at 0x7fb5d079d8>
/home/pine64/ROASTER_SOFTWARE_NEW/artisan/src/artisanlib/main.py::init:33216
titlefont = <PyQt5.QtGui.QFont object at 0x7fad6874a8>
class = <class 'artisanlib.main.EventsDlg'>
barstylelabel = <PyQt5.QtWidgets.QLabel object at 0x7fad4f9ca8>
barstyles = ['', 'Flag', 'Bar', 'Step', 'Step+', 'Combo']
self = <artisanlib.main.EventsDlg object at 0x7fb1c87318>
parent = <artisanlib.main.ApplicationWindow object at 0x7fb5d079d8>
valuealphalabel = <PyQt5.QtWidgets.QLabel object at 0x7fac411dc8>
valuesymbollabel = <PyQt5.QtWidgets.QLabel object at 0x7fac411ca8>
typelabel1 = <PyQt5.QtWidgets.QLabel object at 0x7fad4f9dc8>
typelabel3 = <PyQt5.QtWidgets.QLabel object at 0x7fad4f9ee8>
defaultButton = <PyQt5.QtWidgets.QPushButton object at 0x7fac4129d8>
valuecolorlabel = <PyQt5.QtWidgets.QLabel object at 0x7fac411b88>
settings = <PyQt5.QtCore.QSettings object at 0x7fad4f9828>
cancelAction = <PyQt5.QtWidgets.QAction object at 0x7fac412a68>
typelabel4 = <PyQt5.QtWidgets.QLabel object at 0x7fad4f9f78>
valuetextcolorlabel = <PyQt5.QtWidgets.QLabel object at 0x7fac411c18>
valuesizelabel = <PyQt5.QtWidgets.QLabel object at 0x7fac411e58>
closeButton = <PyQt5.QtWidgets.QPushButton object at 0x7fac412948>
valuethicknesslabel = <PyQt5.QtWidgets.QLabel object at 0x7fac411d38>
typelabel2 = <PyQt5.QtWidgets.QLabel object at 0x7fad4f9e58>
Version: 1.6.1, revision: 0

This is with the default settings (I used the factory reset button to be sure this is not related to my settings)

@lucapinello
Copy link
Author

Up to this commit is working fine

git checkout 4139319

@MAKOMO
Copy link
Member

MAKOMO commented Mar 10, 2019

Luca, which OS and Qt/PyQt version you are observing this?

@lucapinello
Copy link
Author

Thanks for the quick follow up!

I am using an Ubuntu based distro on an ARM CPU (Pine64). The version of the OS is:
Ubuntu 16.04.2 LTS (GNU/Linux 3.10.105-bsp-1.2-ayufan-77 aarch64)

from PyQt5.QtCore import QT_VERSION_STR
print(QT_VERSION_STR)
5.5.1

Please let me know if you need additional info.

Thanks,

Luca

@MAKOMO MAKOMO added the bug label Mar 11, 2019
@MAKOMO MAKOMO added this to the v1.6 milestone Mar 11, 2019
@MAKOMO
Copy link
Member

MAKOMO commented Mar 11, 2019

That constant seems not to be defined on older Qt5 versions. Artisan is now on Qt/PyQt 5.11 and Qt/PyQt 5.12 is out for a while. Please update your Qt/PyQt stack. Nevertheless I added a try-catch for this.

@MAKOMO MAKOMO closed this as completed Mar 11, 2019
@lucapinello
Copy link
Author

lucapinello commented Mar 11, 2019 via email

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

No branches or pull requests

2 participants