Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Error when loading not found file #85

Closed
syre opened this issue Oct 3, 2018 · 1 comment
Closed

Error when loading not found file #85

syre opened this issue Oct 3, 2018 · 1 comment

Comments

@syre
Copy link
Contributor

syre commented Oct 3, 2018

I'm getting this error when trying to load a file that is not found:

ERROR:pynocchio.main_window_model:Error in load comic! 'File not loaded'
Traceback (most recent call last):
  File "/home/syre/pynocchio/pynocchio/main_window_model.py", line 65, in load
    loader.load(filename)
  File "/home/syre/pynocchio/pynocchio/comic_file_loader_zip.py", line 72, in load
    raise NoDataFindException(message)
pynocchio.exception.NoDataFindException: 'File not loaded'
QIODevice::read (QFile, ":/icons/notCover.png"): device not open

does the notCover.png refer to an image previously found?

@mstuttgart
Copy link
Owner

Hi @syre. Yes, refer a image in resource file. I need to fix this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants