Bug 708546 - [abrt] reinteract-0.5.0-7: notebook_info.py:59:__load:OSError: [Errno 2] No such file or directory: '/home/andrew/Documents/Reinteract/Main'
Summary: [abrt] reinteract-0.5.0-7: notebook_info.py:59:__load:OSError: [Errno 2] No s...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: reinteract
Version: 14
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:cdf17d4d
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-27 22:30 UTC by Andrew Stitcher
Modified: 2011-05-31 18:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-31 18:08:25 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.01 KB, text/plain)
2011-05-27 22:30 UTC, Andrew Stitcher
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 616423 0 None None None Never

Description Andrew Stitcher 2011-05-27 22:30:31 UTC
abrt version: 1.1.18
architecture: x86_64
component: reinteract
executable: /usr/bin/reinteract
kernel: 2.6.35.13-91.fc14.x86_64
package: reinteract-0.5.0-7
reason: notebook_info.py:59:__load:OSError: [Errno 2] No such file or directory: '/home/andrew/Documents/Reinteract/Main'
release: Fedora release 14 (Laughlin)
time: 1306528403
uid: 500

backtrace
-----
notebook_info.py:59:__load:OSError: [Errno 2] No such file or directory: '/home/andrew/Documents/Reinteract/Main'

Traceback (most recent call last):
  File "/usr/bin/reinteract", line 25, in <module>
    reinteract.main.main()
  File "/usr/lib/python2.7/site-packages/reinteract/main.py", line 93, in main
    window = application.open_notebook(notebook_dir)
  File "/usr/lib/python2.7/site-packages/reinteract/application.py", line 99, in open_notebook
    notebook = Notebook(path)
  File "/usr/lib/python2.7/site-packages/reinteract/notebook.py", line 129, in __init__
    self.info = NotebookInfo(folder)
  File "/usr/lib/python2.7/site-packages/reinteract/notebook_info.py", line 53, in __init__
    self.__load()
  File "/usr/lib/python2.7/site-packages/reinteract/notebook_info.py", line 59, in __load
    st = os.stat(self.folder)
OSError: [Errno 2] No such file or directory: '/home/andrew/Documents/Reinteract/Main'

Local variables in innermost frame:
self: <reinteract.notebook_info.NotebookInfo object at 0x7fe48e0d4e10>

comment
-----
On the whole I'd say that if reinteract can't find the last opened workbook, it should just complain a bit to the user and startup with no workbook.

The current behaviour gives absolutely no indication that anything happened if you start from the menu bar after you have mistakenly removed the workbook/directory.

This gives a bad user experience as now as far as you can tell reinteract has stopped working completely.

How to reproduce
-----
1. Delete the directory containing the notebook you last used with reinteract
2. start reintereact

Comment 1 Andrew Stitcher 2011-05-27 22:30:33 UTC
Created attachment 501420 [details]
File: backtrace

Comment 2 Owen Taylor 2011-05-31 18:08:25 UTC
Thanks for the bug report! Unfortunately, I'm not finding much (any) time to work on reinteract upstream or update the Fedora package recently.

This particular issue was fixed upstream a while ago - https://bugzilla.gnome.org/show_bug.cgi?id=616423


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