Bug 582990 - 'lastdir' setting is None (empty)
Summary: 'lastdir' setting is None (empty)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virtaal
Version: 12
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dwayne Bailey
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2b9f729b
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-16 11:10 UTC by kruvalig
Modified: 2010-07-01 18:53 UTC (History)
1 user (show)

Fixed In Version: virtaal-0.6.1-1.fc13
Clone Of:
Environment:
Last Closed: 2010-07-01 18:53:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (637 bytes, text/plain)
2010-04-16 11:11 UTC, kruvalig
no flags Details

Description kruvalig 2010-04-16 11:10:58 UTC
abrt 1.0.8 detected a crash.

architecture: i686
cmdline: /usr/bin/python /usr/bin/virtaal
component: virtaal
executable: /usr/bin/virtaal
kernel: 2.6.32.11-99.fc12.i686.PAE
package: virtaal-0.5.2-2.fc12
reason: genericpath.py:18:exists:TypeError: coercing to Unicode: need string or buffer, NoneType found
release: Fedora release 12 (Constantine)

backtrace
-----
genericpath.py:18:exists:TypeError: coercing to Unicode: need string or buffer, NoneType found

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/virtaal/views/mainview.py", line 556, in _on_file_open
    filename_and_uri = self.show_open_dialog()
  File "/usr/lib/python2.6/site-packages/virtaal/views/mainview.py", line 455, in show_open_dialog
    if os.path.exists(pan_app.settings.general["lastdir"]):
  File "/usr/lib/python2.6/genericpath.py", line 18, in exists
    st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found

Local variables in innermost frame:
path: None

Comment 1 kruvalig 2010-04-16 11:11:01 UTC
Created attachment 407069 [details]
File: backtrace

Comment 2 Dwayne Bailey 2010-04-16 15:23:45 UTC
Thanks for the report.  This has been fixed upstream in r13970.  It will be fixed either with a backport or the next bugfix release from upstream.

If you need this fix quickly please try apply this patch:
http://translate.svn.sourceforge.net/viewvc/translate/src/trunk/virtaal/virtaal/views/mainview.py?view=patch&r1=13970&r2=13969&pathrev=13970

Comment 3 Fedora Update System 2010-06-07 12:09:27 UTC
virtaal-0.6.1-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/virtaal-0.6.1-1.fc13

Comment 4 Fedora Update System 2010-06-08 19:32:42 UTC
virtaal-0.6.1-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update virtaal'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/virtaal-0.6.1-1.fc13

Comment 5 Fedora Update System 2010-06-25 18:21:19 UTC
virtaal-0.6.1-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update virtaal'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/virtaal-0.6.1-1.fc13

Comment 6 Fedora Update System 2010-07-01 18:53:05 UTC
virtaal-0.6.1-1.fc13 has been pushed to the Fedora 13 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.