fortharris / Pcode

Python 3 IDE
GNU General Public License v3.0
170 stars 22 forks source link

fails to start on linux #3

Closed lachlan-00 closed 11 years ago

lachlan-00 commented 11 years ago

I'm not up to speed on QT at all so I'm not sure where the issue is but on linux settings.value("lsplitter") is null.

user@zenbook:~/workspace/Pcode$ python3 ./Pcode.py Traceback (most recent call last): File "./Pcode.py", line 288, in main = Pcode() File "./Pcode.py", line 106, in init self.restoreUiState() File "./Pcode.py", line 230, in restoreUiState self.library.mainSplitter.restoreState(settings.value("lsplitter")) TypeError: QSplitter.restoreState(QByteArray): argument 1 has unexpected type ''

fortharris commented 11 years ago

This is simple. All you have to do is edit the settings.ini file inside the main folder by changing firstrun to 'True'.