Arpaxad / lightlang

Automatically exported from code.google.com/p/lightlang
0 stars 0 forks source link

XSL не запускается #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Traceback (most recent call last):
  File "/usr/bin/xsl", line 73, in <module>
    main.run()
  File "/usr/lib/xsl/pyqt4/Main.py", line 78, in run
    self.main_window = MainWindow.MainWindow()
  File "/usr/lib/xsl/pyqt4/MainWindow.py", line 88, in __init__
    self.sl_search_panel = SlSearchPanel.SlSearchPanel()
  File "/usr/lib/xsl/pyqt4/SlSearchPanel.py", line 79, in __init__
    self.line_edit = LineEdit.LineEdit()
  File "/usr/lib/xsl/pyqt4/LineEdit.py", line 60, in __init__
    self.setTextMargins(0, 0, 22, 0)
AttributeError: setTextMargins

Original issue reported on code.google.com by alrond on 28 Nov 2009 at 4:40

GoogleCodeExporter commented 9 years ago
Какая версия Qt4 и PyQt4?

Original comment by mdevaev@gmail.com on 28 Nov 2009 at 5:23

GoogleCodeExporter commented 9 years ago
С того момента ничего не поменялось:
http://code.google.com/p/lightlang/issues/detail?id=62

Original comment by alrond on 28 Nov 2009 at 5:40

GoogleCodeExporter commented 9 years ago
Все ошибки вида AtributeError указывают на 
несоответствие версий библиотек.

Original comment by mdevaev@gmail.com on 28 Nov 2009 at 5:45

GoogleCodeExporter commented 9 years ago
>>> Qt.PYQT_VERSION_STR
'4.4.3'
>>> 'setTextMargins' in dir(Qt.QLineEdit)
False

Original comment by alrond on 28 Nov 2009 at 5:53

GoogleCodeExporter commented 9 years ago
Поставь 4.5.x, все заработает

Original comment by mdevaev@gmail.com on 28 Nov 2009 at 6:00

GoogleCodeExporter commented 9 years ago
С каждым месяцем требования повышаются? :)

Original comment by alrond on 28 Nov 2009 at 6:27

GoogleCodeExporter commented 9 years ago
Запарило таскать костыли обратной 
совместимости))) 4.5 минимальной еще долго 
простоит.

Original comment by mdevaev@gmail.com on 28 Nov 2009 at 6:29

GoogleCodeExporter commented 9 years ago

Original comment by mdevaev@gmail.com on 29 Nov 2009 at 11:35