Bug 700001 - [abrt] Zim-0.51-1.fc14: notebook.py:260:<genexpr>:AttributeError: 'str' object has no attribute 'uri'
Summary: [abrt] Zim-0.51-1.fc14: notebook.py:260:<genexpr>:AttributeError: 'str' objec...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Zim
Version: 14
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robin Lee
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:0bf19528
: 700503 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-27 08:50 UTC by Petr Lautrbach
Modified: 2011-05-07 02:56 UTC (History)
4 users (show)

Fixed In Version: Zim-0.52-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-07 02:56:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (846 bytes, text/plain)
2011-04-27 08:50 UTC, Petr Lautrbach
no flags Details

Description Petr Lautrbach 2011-04-27 08:50:22 UTC
abrt version: 1.1.17
architecture: x86_64
component: Zim
executable: /usr/bin/zim
kernel: 2.6.35.12-88.fc14.x86_64
package: Zim-0.51-1.fc14
reason: notebook.py:260:<genexpr>:AttributeError: 'str' object has no attribute 'uri'
release: Fedora release 14 (Laughlin)
time: 1303894176
uid: 13558

backtrace
-----
notebook.py:260:<genexpr>:AttributeError: 'str' object has no attribute 'uri'

Traceback (most recent call last):
  File "/usr/bin/zim", line 56, in <module>
    zim.main(argv)
  File "/usr/lib/python2.7/site-packages/zim/__init__.py", line 311, in main
    notebook = zim.gui.notebookdialog.prompt_notebook()
  File "/usr/lib/python2.7/site-packages/zim/gui/notebookdialog.py", line 47, in prompt_notebook
    list.write()
  File "/usr/lib/python2.7/site-packages/zim/notebook.py", line 260, in write
    lines.extend(info.uri + '\n' for info in self)
  File "/usr/lib/python2.7/site-packages/zim/notebook.py", line 260, in <genexpr>
    lines.extend(info.uri + '\n' for info in self)
AttributeError: 'str' object has no attribute 'uri'

Local variables in innermost frame:
info: 'file:///home/user/Notes'
.0: <listiterator object at 0x1b09e50>

How to reproduce
-----
1. run zim
2. press OK in "Add Notebook" dialog
3.

Comment 1 Petr Lautrbach 2011-04-27 08:50:25 UTC
Created attachment 495150 [details]
File: backtrace

Comment 2 Robin Lee 2011-04-28 15:17:30 UTC
*** Bug 700503 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2011-04-28 19:20:20 UTC
Zim-0.52-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/Zim-0.52-1.fc14

Comment 4 Fedora Update System 2011-04-29 03:20:24 UTC
Package Zim-0.52-1.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing Zim-0.52-1.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/Zim-0.52-1.fc14
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-05-07 02:56:05 UTC
Zim-0.52-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.