M4rtinK / mieru

Mieru is a flexible manga and comix reader.
http://m4rtink.github.com/mieru/
GNU General Public License v3.0
31 stars 8 forks source link

Error: can not open file in Mieru #58

Closed stardiviner closed 11 years ago

stardiviner commented 11 years ago

When I use 'open file' in Mieru, but Mieru does not show anything. I found it can not open the image file. So I run Mieru in command line. $ mieru It shows error:

Error calling slot "openManga"
Trackback (most recent call last):
    File "/opt/mieru/gui/qml_gui.py", line 387, in openManga
        self.mieru.openManga(path, checkHistory=history)
    File "mieru.py", line 249, in openManga
        mangaStat = self.getMangaStateFromHistory(path)
    File "mieru.py", line 333, in getMangaStateFromHistory
        entry = histroy.get(path, None)
AttributeError: 'list' object has no attribute 'get'
M4rtinK commented 11 years ago

Thanks for reporting this ! :)

Should be fixed by (this commit)[https://github.com/M4rtinK/mieru/commit/4b78525cee77d85b1c1f5fa1338b04d41ff2fb81# ]Looks like I've used list instead of a dictionary as default for history storage by mistake.

I've already released updated packages for Fremantle, Apps 4 MeeGo (testing) and Ovi (will take some time to get through QA). So please test and report back if the update really fixes the issue on your device - I'll let the issue open in the meantime. :)

stardiviner commented 11 years ago

fixed