Hide Forgot
abrt version: 1.1.14 architecture: i686 cmdline: /usr/bin/python /usr/bin/pybliographer --quiet /usr/share/pybliographer/pybliographic.py comment: Probably the file format is incorrect, but the program shouldn't crash anyway. component: pybliographer executable: /usr/bin/pybliographer kernel: 2.6.35.10-74.fc14.i686 package: pybliographer-1.2.14-1.fc14 reason: Fields.py:261:__init__:DateError: Illegal year value release: Fedora release 14 (Laughlin) time: 1296219406 uid: 1004 backtrace ----- Fields.py:261:__init__:DateError: Illegal year value Traceback (most recent call last): File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 584, in ui_open_document self.open_document (url, how) File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 625, in open_document data = Open.bibopen (url, how = how) File "/usr/share/pybliographer/Pyblio/Open.py", line 112, in bibopen base = simple_try (url, how) File "/usr/share/pybliographer/Pyblio/Open.py", line 94, in simple_try base = opener (url, 0) File "/usr/share/pybliographer/Pyblio/Format/isifile.py", line 369, in opener base = Isifile (url) File "/usr/share/pybliographer/Pyblio/Format/isifile.py", line 258, in __init__ entry = iter.first () File "/usr/share/pybliographer/Pyblio/Format/isifile.py", line 94, in first return self.next() File "/usr/share/pybliographer/Pyblio/Format/isifile.py", line 200, in next in_table['date'] = Fields.Date(val) File "/usr/share/pybliographer/Pyblio/Fields.py", line 261, in __init__ raise Exceptions.DateError (_("Illegal year value")) DateError: Illegal year value Local variables in innermost frame: How to reproduce ----- 1. Choose File > Open. 2. Select bibliography type "ISIFile". 3. Select an RIS citation file.
Created attachment 475798 [details] File: backtrace
Could you attach a sample isi file? I could not reproduce the error. Thanks!
Created attachment 476590 [details] An example RIS citation file. Here is an example RIS file that makes the program crash.
Seems like you just should catch some exception when opening a document, in case the input is not valid.
Thanks for the file! Well, the RIS format is a bit different from ISI, so if you open the RIS file with the ISI importer, you don't get what you want. But the DateError can be catched I think, and it will be fixed upstream.