VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 1
声望: 0

PS C:\Users\Mr ma\AppData\Local\Programs\Python\Python310> veighna
shibokensupport/signature/parser.py:289: RuntimeWarning: pyside_type_init:_resolve_value

    UNRECOGNIZED:   'QPageLayout(QPageSize(QPageSize.A4),\r                                                             QPageLayout.Portrait, QMarginsF())'
    OFFENDING LINE: 'PySide6.QtWebEngineWidgets.QWebEngineView.printToPdf(self,filePath:QString,layout:PySide6.QtGui.QPageLayout=QPageLayout(QPageSize(QPageSize.A4),\r                                                             QPageLayout.Portrait, QMarginsF()),ranges:PySide6.QtGui.QPageRanges={})'

Traceback (most recent call last):
File "C:\Users\Mr ma\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Mr ma\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\Mr ma\AppData\Local\Programs\Python\Python310\Scripts\veighna.exe__main.py", line 7, in <module>
File "build\bdist.win-amd64\egg\veighna_station\run.py", line 127, in run_station
File "build\bdist.win-amd64\egg\veighna_station\mainwindow.py", line 51, in
init__
File "build\bdist.win-amd64\egg\veighna_station\mainwindow.py", line 60, in init_ui
File "build\bdist.win-amd64\egg\veighna_station\mainwindow.py", line 89, in init_widget
ValueError: 'PySide6.QtWebEngineWidgets.QWebEngineView.setUrl' called with wrong argument values:
PySide6.QtWebEngineWidgets.QWebEngineView.setUrl('https://www.vnpy.com/portal',)
Found signature:
PySide6.QtWebEngineWidgets.QWebEngineView.setUrl(Union[PySide6.QtCore.QUrl, str])

Member
avatar
加入于:
帖子: 1448
声望: 102

PySide6的版本问题吧,直接用VeighNa Studio来运行即可

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】