Closed druid23 closed 13 years ago
I have released a fix that should either fix this completely or at least fix the crashing in version 1.00-6. Please let me know if it now works as expected. :) BTW, the user profile should be stored in: /home/user/.mieru/mieru_options.bin If this folder + file does not exist, there is something wrong (permissions ?).
Hopefully this wont double post as I replied via email to github about 4 hours ago...
Thanks M4rtinK,
I had ended up uninstalling and reinstalling it which got it working again, but it didn't recreate the mieru_options.bin file in the ~/.mieru directory and can't save any settings now!
Also the options file was a binary file, so I couldn't easily "clear the history" from it - which I presume is what I wanted to do.
dru
Deinstalled and reinstalled again - first run regenerated a working options file. Just read the same cbr through to where the crash happened the first time and had no crash. So things are working perfectly again. I've closed and started the app many times with correct behaviour each time.
Have to assume that a) The first crash was unrelated to mieru b) the crash caused options.bin to be corrupted whilst being written c) mieru couldn't recover from having a corrupt settings file
If that's the case I don't see how you can get around it. Closing issue.
Cheers
Well, Mieru might be theoretically able to detect a corrupted options file -> options file exists & loading options file failed = options file corrupted Then it could theoretically remove or rename the corrupted file and create a new one - and inform the user about this.
After working great for a few days, had a reboot this morning opening a cbz file. Post reboot mieru failed to open.
Traceback (most recent call last): File "mieru.py", line 347, in <module> mieru = Mieru() File "mieru.py", line 76, in __init__ self.platform = maemo5.Maemo5(self) File "/opt/mieru/maemo5.py", line 24, in __init__ self.rotationObject = self._startAutorotation() File "/opt/mieru/maemo5.py", line 412, in _startAutorotation rotationMode = self.mieru.get('rotationMode', self._getDefaultRotationMode()) # get last used mode File "mieru.py", line 296, in get return self.d.get(key, default) AttributeError: 'bool' object has no attribute 'get'
Would try clearing the history and running again if I knew where to look to do this (apparently not in ~/.mieru tree)
At first thought it may be related to read-only file system after a crash, but same problem exists after resolving this.
/opt/mieru/version.txt V1.00-5 git:9afe62b
LMK if I can provide any more information
cheers