Bug 700966

Summary: [abrt] gwibber-3.0.0.1-1.fc15: storage.py:164:setup_table:OperationalError: table streams already exists
Product: [Fedora] Fedora Reporter: Martin <emtorres1>
Component: gwibberAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:fc0cba8a019a3ec1355b770199a4fb81811f2efe
Fixed In Version: gwibber-3.0.0.1-2.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 04:57:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Martin 2011-04-29 23:33:24 UTC
abrt version: 2.0.1
comment: Add a Twitter account
executable: /usr/bin/gwibber-service
cmdline: /usr/bin/python /usr/bin/gwibber-service
event_log: 2011-04-29-18:56:48> The report was appended to /tmp/abrt.log
component: gwibber
package: gwibber-3.0.0.1-1.fc15
reported_to: file: /tmp/abrt.log
kernel: 2.6.38.3-18.fc15.x86_64
reason: storage.py:164:setup_table:OperationalError: table streams already exists
uid: 500
architecture: x86_64
username: muadib
os_release: Fedora release 15 (Lovelock)
time: 1304113947

backtrace
-----
storage.py:164:setup_table:OperationalError: table streams already exists

Traceback (most recent call last):
  File "/usr/bin/gwibber-service", line 80, in <module>
    dispatcher = dispatcher.Dispatcher(loop)
  File "/usr/lib/python2.7/site-packages/gwibber/microblog/dispatcher.py", line 262, in __init__
    self.streams = storage.StreamManager(self.db)
  File "/usr/lib/python2.7/site-packages/gwibber/microblog/storage.py", line 153, in __init__
    self.setup_table()
  File "/usr/lib/python2.7/site-packages/gwibber/microblog/storage.py", line 164, in setup_table
    """)
OperationalError: table streams already exists

Local variables in innermost frame:
self: <gwibber.microblog.storage.StreamManager at /com/gwibber/Streams at 0x24be290>

Comment 1 Martin 2011-04-29 23:33:36 UTC
Created attachment 495891 [details]
File: backtrace

Comment 2 Tom "spot" Callaway 2011-05-12 17:44:27 UTC
I have no idea how you managed to trigger this. The code path looks like this:

    if not self.db.execute("PRAGMA table_info(streams)").fetchall():
      self.setup_table()

But, we should catch the error instead of just tracebacking here, so I'll add some exception trapping.

Comment 3 Fedora Update System 2011-05-12 19:17:08 UTC
gwibber-3.0.0.1-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/gwibber-3.0.0.1-2.fc14

Comment 4 Fedora Update System 2011-05-12 19:17:53 UTC
gwibber-3.0.0.1-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/gwibber-3.0.0.1-2.fc15

Comment 5 Fedora Update System 2011-05-12 19:18:38 UTC
gwibber-3.0.0.1-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/gwibber-3.0.0.1-2.fc13

Comment 6 Fedora Update System 2011-05-13 22:56:15 UTC
Package gwibber-3.0.0.1-2.fc13:
* should fix your issue,
* was pushed to the Fedora 13 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gwibber-3.0.0.1-2.fc13'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/gwibber-3.0.0.1-2.fc13
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2011-05-19 04:56:26 UTC
gwibber-3.0.0.1-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-05-25 02:26:25 UTC
gwibber-3.0.0.1-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2011-05-25 03:26:44 UTC
gwibber-3.0.0.1-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.