Crash when trying to load binary incompatible data file

Bug #948127 reported by Eike
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bug-repo-syncer
Fix Released
Critical
Eike

Bug Description

Trying to load a binary incompatible data file produces a crash.
(This is probably an other reason to switch to JSON.)

* Broken data files must produce a helpful error message.
* Also improve error messages for broken configuration files. The long message is almost never displayed.

Cause: The library package for `bsync` was renamed, and these names seem to be imbedded into the data files.

Back trace:

Traceback (most recent call last):
  File "/usr/local/bin/bsync", line 31, in <module>
    bsync.main()
  File "/usr/local/lib/python2.7/site-packages/bug_repo_syncer/main.py", line 116, in main
    self.do_info()
  File "/usr/local/lib/python2.7/site-packages/bug_repo_syncer/main.py", line 295, in do_info
    self.read_data()
  File "/usr/local/lib/python2.7/site-packages/bug_repo_syncer/main.py", line 436, in read_data
    self.known_bugs = unp.load()
`ImportError`: No module named bug_syncer.common

Eike (eike-welk)
Changed in bug-repo-syncer:
importance: Undecided → Critical
milestone: none → 0.2.0
description: updated
summary: - dummy
+ Crash when trying to load binary incompatible data file
Eike (eike-welk)
Changed in bug-repo-syncer:
status: New → Fix Released
Eike (eike-welk)
Changed in bug-repo-syncer:
assignee: nobody → Eike (eike-welk)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.