Bug 1051949
| Summary: | [abrt] turpial: worker.py:509:get_window_size:KeyError: 'Window' | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gustavo Rodrigues <gustavokrm> | ||||||
| Component: | turpial | Assignee: | Edwind Richzendy Contreras Soto <richzendy> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 20 | CC: | richzendy, web+bugsredhat | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/c6eb1ebcd47bb4abbf3ffb9325cceeacaadddf25 | ||||||||
| Whiteboard: | abrt_hash:5a9ec20e3ade17ce951d08d434e5bd9bcc638ac7 | ||||||||
| Fixed In Version: | python-libturpial-1.7.0-1.el6 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-05-12 05:20:40 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 849085 [details]
File: backtrace
Created attachment 849086 [details]
File: environ
You can test this using a new version of python-libturpial? (1.5.9-1) Hi. I've been the same problem. I've updated python-libturpial to 1.5.9-1 and I've could add my account.
However, I can't access to preferences, I get this error in console:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/main.py", line 278, in show_preferences_dialog
self.preferences_dialog = PreferencesDialog(self)
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/preferences.py", line 44, in __init__
self.browser_page = BrowserPage(base)
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/preferences.py", line 256, in __init__
self.command.setText(current_browser)
TypeError: QLineEdit.setText(QString): argument 1 has unexpected type 'NoneType'
With the latest version I had some problems at first when I tried to add my Twitter account:
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
DEBUG::Using gst as sound system
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:122: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
set_interactive(1)
loaded the Generic plugin
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/accounts.py", line 162, in __register_twitter_account
self.base.save_account(account)
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/main.py", line 363, in save_account
self.core.save_account(account)
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/worker.py", line 333, in save_account
self.load_account(account_id, trigger_signal=False)
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/worker.py", line 342, in load_account
self.core.accman.load(account_id)
AttributeError: Core instance has no attribute 'accman'
<type 'exceptions.AttributeError'>: Core instance has no attribute 'accman'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/accounts.py", line 174, in __relogin_account
index = selection.selectedIndexes()[0]
IndexError: list index out of range
<type 'exceptions.IndexError'>: list index out of range
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/accounts.py", line 162, in __register_twitter_account
self.base.save_account(account)
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/main.py", line 363, in save_account
self.core.save_account(account)
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/worker.py", line 332, in save_account
account_id = self.core.register_account(account)
File "/usr/lib/python2.7/site-packages/libturpial/api/core.py", line 120, in register_account
return self.account_manager.register(account)
File "/usr/lib/python2.7/site-packages/libturpial/api/managers/accountmanager.py", line 70, in register
raise AccountAlreadyRegistered
AccountAlreadyRegistered
<class 'libturpial.exceptions.AccountAlreadyRegistered'>:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/accounts.py", line 135, in __delete_account
index = selection.selectedIndexes()[0]
IndexError: list index out of range
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/accounts.py", line 162, in __register_twitter_account
self.base.save_account(account)
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/main.py", line 363, in save_account
self.core.save_account(account)
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/worker.py", line 333, in save_account
self.load_account(account_id, trigger_signal=False)
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/worker.py", line 342, in load_account
self.core.accman.load(account_id)
AttributeError: Core instance has no attribute 'accman'
<type 'exceptions.AttributeError'>: Core instance has no attribute 'accman'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/accounts.py", line 176, in __relogin_account
self.base.load_account(account_id)
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/main.py", line 366, in load_account
self.core.load_account(account_id)
File "/usr/lib/python2.7/site-packages/turpial/ui/qt/worker.py", line 339, in load_account
self.register(self.core.accman.load, (account_id),
AttributeError: Core instance has no attribute 'accman'
<type 'exceptions.AttributeError'>: Core instance has no attribute 'accman'
----------------------------------------------------------------------------
Then, I restarted Turpial and it detected my twitter account:
[gustavo@localhost ~]$ turpial
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
DEBUG::Using gst as sound system
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:122: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
set_interactive(1)
loaded the Generic plugin
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
--Created timer for gustavokrm-twitter-timeline every 300000 sec
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com
--
Now it is working. :)
python-libturpial-1.7.0-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-libturpial-1.7.0-1.el6 python-libturpial-1.7.0-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-libturpial-1.7.0-1.fc19 python-libturpial-1.7.0-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-libturpial-1.7.0-1.fc20 Package python-libturpial-1.7.0-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing python-libturpial-1.7.0-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-1309/python-libturpial-1.7.0-1.el6 then log in and leave karma (feedback). python-libturpial-1.7.0-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. python-libturpial-1.7.0-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. python-libturpial-1.7.0-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: It happened as soon as I launched turpial. I am running the latest version on Fedora 20. I run it and then I get the error, but the application still launches, but it's stuck on the loading screen. Running on terminal I get the following output: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) DEBUG::Using gst as sound system /usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:122: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK set_interactive(1) "KConfigIni: In file /home/gustavo/.kde/share/icons/oxyfaenza-master/index.theme, line 31: " Invalid entry (missing '=') loaded the Generic plugin Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/turpial/ui/qt/main.py", line 592, in after_core_initialized width, height = self.core.get_window_size() File "/usr/lib/python2.7/site-packages/turpial/ui/qt/worker.py", line 509, in get_window_size config['Window']['size'] = "320,480" KeyError: 'Window' Version-Release number of selected component: turpial-3.0-3.fc20 Additional info: reporter: libreport-2.1.11 cmdline: /usr/bin/python2 /usr/bin/turpial executable: /usr/bin/turpial kernel: 3.12.6-300.fc20.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: worker.py:509:get_window_size:KeyError: 'Window' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/turpial/ui/qt/main.py", line 592, in after_core_initialized width, height = self.core.get_window_size() File "/usr/lib/python2.7/site-packages/turpial/ui/qt/worker.py", line 509, in get_window_size config['Window']['size'] = "320,480" KeyError: 'Window' Local variables in innermost frame: self: <turpial.ui.qt.worker.CoreWorker object at 0x1de0200> config: {'Services': {'shorten-url': 'is.gd', 'upload-pic': 'twitpic'}, 'Proxy': {'username': '', 'password': '', 'protocol': 'http', 'port': '', 'server': ''}, 'Advanced': {'socket-timeout': '20', 'show-user-avatars': 'on'}, 'General': {'update-interval': '5', 'statuses': '60', 'queue-interval': '30'}}