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

pyside6.7 still have 'TickMonitor' object has no attribute 'NoEditTriggers'. Did you mean: 'editTriggers'? #39 #42

Closed
linhertz opened this issue Apr 22, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@linhertz
Copy link

PS D:\Veighna_Crypto> pip install pyside6
Requirement already satisfied: pyside6 in d:\veighna_station\lib\site-packages (6.7.0)
Requirement already satisfied: shiboken6==6.7.0 in d:\veighna_station\lib\site-packages (from pyside6) (6.7.0)
Requirement already satisfied: PySide6-Essentials==6.7.0 in d:\veighna_station\lib\site-packages (from pyside6) (6.7.0)
Requirement already satisfied: PySide6-Addons==6.7.0 in d:\veighna_station\lib\site-packages (from pyside6) (6.7.0)
PS D:\Veighna_Crypto> python .\run.py

�[1;33m📢 Tips:�[0m QFluentWidgets Pro is now released. Click �[1;96mhttps://qfluentwidgets.com/pages/pro�[0m to learn more about it.

The datafeed to be used is not configured. Please modify the datafeed settings in the global configuration.
Traceback (most recent call last):
File "D:\Veighna_Crypto\run.py", line 32, in
main()
File "D:\Veighna_Crypto\run.py", line 25, in main
main_window = MainWindow(main_engine, event_engine)
File "D:\veighna_station\lib\site-packages\vnpy_evo\trader\ui\mainwindow.py", line 56, in init
self.init_ui()
File "D:\veighna_station\lib\site-packages\vnpy_evo\trader\ui\mainwindow.py", line 65, in init_ui
self.init_widgets()
File "D:\veighna_station\lib\site-packages\vnpy_evo\trader\ui\mainwindow.py", line 80, in init_widgets
widget: QtWidgets.QWidget = widget_class(self.main_engine, self.event_engine)
File "D:\veighna_station\lib\site-packages\vnpy_ctastrategy\ui\widget.py", line 39, in init
self.init_ui()
File "D:\veighna_station\lib\site-packages\vnpy_ctastrategy\ui\widget.py", line 79, in init_ui
self.log_monitor: LogMonitor = LogMonitor(self.main_engine, self.event_engine)
File "D:\veighna_station\lib\site-packages\vnpy\trader\ui\widget.py", line 236, in init
self.init_ui()
File "D:\veighna_station\lib\site-packages\vnpy_ctastrategy\ui\widget.py", line 424, in init_ui
super(LogMonitor, self).init_ui()
File "D:\veighna_station\lib\site-packages\vnpy\trader\ui\widget.py", line 242, in init_ui
self.init_table()
File "D:\veighna_station\lib\site-packages\vnpy\trader\ui\widget.py", line 255, in init_table
self.setEditTriggers(self.NoEditTriggers)
AttributeError: 'LogMonitor' object has no attribute 'NoEditTriggers'. Did you mean: 'editTriggers'?

@veighna-global veighna-global added the bug Something isn't working label May 20, 2024
@xichangyinwei
Copy link

我也遇到了相同问题,无法运行呢

@dimicey
Copy link

dimicey commented Jun 1, 2024

试试
pip install PySide6==6.3.0

@Edward-WZ
Copy link

pip install PySide6==6.3.0

这个就装不上,,,

@yuehua103
Copy link

yuehua103 commented Jun 28, 2024 via email

@ChunYue0
Copy link
Contributor

ChunYue0 commented Aug 2, 2024

PySide6的版本必须是6.3.0才能兼容,因为好像PySide6后续的版本改动比较大,对vnpy_evo的ui代码不太兼容了,我也有这个问题,但我修改PySide6版本后就解决了!

@veighna-global
Copy link
Owner

当前0.3.0版本的Evo,已经修复了UI图形界面部分代码,对于NoEditTriggers之类老版本枚举值的引用方式,解决了上述问题,请安装最新版本测试。

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

7 participants