Error when trying to open settings dialog #464

Closed
opened 2013-09-01 21:09:06 +02:00 by Eylrid · 4 comments
Eylrid commented 2013-09-01 21:09:06 +02:00 (Migrated from github.com)

OS: Linux Mint 15 with Cinnamon 32-bit fallback mode
Bitmessage Version: PyBitmessage commit 0f5448

After fetching and merging up to commit 0f5448 (the latest commit as of now) I get this error:
Traceback (most recent call last):
File "/home/amos/bitmessage/PyBitmessage/src/bitmessageqt/init.py", line 2029, in click_actionSettings
self.settingsDialogInstance = settingsDialog(self)
File "/home/amos/bitmessage/PyBitmessage/src/bitmessageqt/init.py", line 3082, in init
self.ui.labelSettingsNote.setText(_translate(
AttributeError: 'Ui_settingsDialog' object has no attribute 'labelSettingsNote'

Before fetching I was on commit 777248 and I didn't get this error.

OS: Linux Mint 15 with Cinnamon 32-bit fallback mode Bitmessage Version: PyBitmessage commit 0f5448 After fetching and merging up to commit 0f5448 (the latest commit as of now) I get this error: Traceback (most recent call last): File "/home/amos/bitmessage/PyBitmessage/src/bitmessageqt/**init**.py", line 2029, in click_actionSettings self.settingsDialogInstance = settingsDialog(self) File "/home/amos/bitmessage/PyBitmessage/src/bitmessageqt/**init**.py", line 3082, in **init** self.ui.labelSettingsNote.setText(_translate( AttributeError: 'Ui_settingsDialog' object has no attribute 'labelSettingsNote' Before fetching I was on commit 777248 and I didn't get this error.
Eylrid commented 2013-09-01 21:33:12 +02:00 (Migrated from github.com)

Commit 4d2ab2 works. Commit aea1d4 doesn't work.

I haven't yet been able to narrow it down further because I run into this error in the commits between:
Traceback (most recent call last):
File "bitmessagemain.py", line 972, in
mainprogram.start()
File "bitmessagemain.py", line 943, in start
bitmessageqt.run()
File "/home/amos/bitmessage/PyBitmessage/src/bitmessageqt/init.py", line 3418, in run
user_countrycode = str(shared.config.get('bitmessagesettings', 'userlocale'))
File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'userlocale' in section: 'bitmessagesettings'

Commit 4d2ab2 works. Commit aea1d4 doesn't work. I haven't yet been able to narrow it down further because I run into this error in the commits between: Traceback (most recent call last): File "bitmessagemain.py", line 972, in <module> mainprogram.start() File "bitmessagemain.py", line 943, in start bitmessageqt.run() File "/home/amos/bitmessage/PyBitmessage/src/bitmessageqt/**init**.py", line 3418, in run user_countrycode = str(shared.config.get('bitmessagesettings', 'userlocale')) File "/usr/lib/python2.7/ConfigParser.py", line 618, in get raise NoOptionError(option, section) ConfigParser.NoOptionError: No option 'userlocale' in section: 'bitmessagesettings'
grant-olson commented 2013-09-02 00:58:17 +02:00 (Migrated from github.com)

I can confirm I see this error as well. This was probably @sendulio's pull request for locale #427

I can confirm I see this error as well. This was probably @sendulio's pull request for locale #427
grant-olson commented 2013-09-02 01:10:37 +02:00 (Migrated from github.com)

After doing the quick fix where I swallow the NoOptionError, there is another error where I can't open settings:

Traceback (most recent call last):
  File "/home/grant/src/PyBitmessage/src/bitmessageqt/__init__.py", line 1934, in click_actionSettings
    self.settingsDialogInstance = settingsDialog(self)
  File "/home/grant/src/PyBitmessage/src/bitmessageqt/__init__.py", line 2864, in __init__
    self.ui.labelSettingsNote.setText(_translate(
AttributeError: 'Ui_settingsDialog' object has no attribute 'labelSettingsNote'

I don't have the QT designer set up, but it looks like this will only error out on non-windows platforms.

After doing the quick fix where I swallow the NoOptionError, there is another error where I can't open settings: ``` Traceback (most recent call last): File "/home/grant/src/PyBitmessage/src/bitmessageqt/__init__.py", line 1934, in click_actionSettings self.settingsDialogInstance = settingsDialog(self) File "/home/grant/src/PyBitmessage/src/bitmessageqt/__init__.py", line 2864, in __init__ self.ui.labelSettingsNote.setText(_translate( AttributeError: 'Ui_settingsDialog' object has no attribute 'labelSettingsNote' ``` I don't have the QT designer set up, but it looks like this will only error out on non-windows platforms.
Atheros1 commented 2013-09-02 23:12:06 +02:00 (Migrated from github.com)

Indeed. It appears that a prior commit removed labelSettingsNote from the UI.

Tested fix on Ubuntu.

Indeed. It appears that a prior commit removed labelSettingsNote from the UI. Tested fix on Ubuntu.
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Bitmessage/PyBitmessage-2024-08-21#464
No description provided.