Comment 10 for bug 849037

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

From an irc discussion, will look at that soon:

didrocks | tjaalton: about bug #948691, (you commented on a dup) you tell that you got that quite regularly
   ubot2 | Launchpad bug 948691 in oneconf "oneconf-service crashed with ValueError in raw_decode(): No JSON object could be decoded (dup-of: 849037)" [High,Confirmed] https://launchpad.net/bugs/948691
   ubot2 | Launchpad bug 849037 in oneconf "oneconf-service crashed with ValueError in raw_decode(): No JSON object could be decoded" [High,Confirmed] https://launchpad.net/bugs/849037
didrocks | tjaalton: I would need your ~/.cache/oneconf content please :)
tjaalton | didrocks: yes, every time I resume from suspend
tjaalton | well, not every time, but almost
didrocks | tjaalton: it's when you got an upgrade or you install/remove a new package
didrocks | one of your file should be corrupted
didrocks | I would be interested to understand how and check it's the case :)
tjaalton | didrocks: so it's the package_list_$foo then?
didrocks | tjaalton: one of the files (can be the host one as well) is corrupted and not jsonified
didrocks | tjaalton: if you can pack that to me, I would interested :)
tjaalton | uhm no, 'host' looks weird
tjaalton | sure
didrocks | tjaalton: they all should be json
tjaalton | looks messed up to me
tjaalton | compared to my desktop
tjaalton | package_list is binary
didrocks | if not, someting bad happened (maybe I don't for this file write somewhere else and mv it…)didrocks | tjaalton: shouldn't be as well
didrocks | tjaalton: so yeah, it seems that when it was saving, something happened :)
tjaalton | didrocks: looks like it was over a month ago
tjaalton | judging from the timestamps
didrocks | tjaalton: it's when you start getting the crash I guess :)
tjaalton | yes, likely
didrocks | tjaalton: ok, so you confirm you have a corrupted files, if you can send them to me, I can put that in the testsuite ;)
  seb128 | pitti, ok, you dropped the patch
didrocks | I need two things: 1. try to ensure I don't get some corruption by mv 2. maybe remove the data if I get some and recreating them