You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. When trying to run the Python version of TS2, I got following output:
NOTE: the location path has been trunchated for privacy reasons
$ ./start-ts2.py
Traceback (most recent call last):
File "ts2-py/./start-ts2.py", line 51, in <module>
import ts2.application
File "ts2-py/ts2/application.py", line 25, in <module>
from ts2 import mainwindow
File "ts2-py/ts2/mainwindow.py", line 36, in <module>
from ts2 import simulation
File "ts2-py/ts2/simulation.py", line 29, in <module>
from ts2 import utils, trains
File "ts2-py/ts2/trains/__init__.py", line 21, in <module>
from ts2.trains.traintype import TrainType, TrainTypesModel
File "ts2-py/ts2/trains/traintype.py", line 26, in <module>
class TrainTypesModel(QtCore.QAbstractTableModel):
File "ts2-py/ts2/trains/traintype.py", line 43, in TrainTypesModel
def data(self, index, role=Qt.DisplayRole):
^^^^^^^^^^^^^^
AttributeError: type object 'Qt' has no attribute 'DisplayRole'
The text was updated successfully, but these errors were encountered:
Hello. When trying to run the Python version of TS2, I got following output:
NOTE: the location path has been trunchated for privacy reasons
The text was updated successfully, but these errors were encountered: