michaldaniel / ebook-viewer

Modern GTK Python Ebook Reader app to easily read epub files
GNU General Public License v3.0
406 stars 47 forks source link

Application fails opening eBook #49

Open diegolagoglez opened 5 years ago

diegolagoglez commented 5 years ago

The application (version 1.0-g09995b1) fails opening this eBook:

user@box ~ $ easy-ebook-viewer VMware-por-vExperts-libro.epub 

(main.py:28993): GLib-GIO-CRITICAL **: g_application_set_application_id: assertion 'application_id == NULL || g_application_id_is_valid (application_id)' failed
Displaying blank page.
Traceback (most recent call last):
  File "/home/diego/Projects/Ebook-Viewer/src/main.py", line 54, in do_activate
    self.window = MainWindow(file_path=self.file_path)
  File "/home/diego/Projects/Ebook-Viewer/src/main_window.py", line 113, in __init__
    self.load_book_data(sys.argv[1])
  File "/home/diego/Projects/Ebook-Viewer/src/main_window.py", line 327, in load_book_data
    self.__continiue_book_loading(filename)
  File "/home/diego/Projects/Ebook-Viewer/src/main_window.py", line 275, in __continiue_book_loading
    if self.content_provider.prepare_book(filename):
  File "/home/diego/Projects/Ebook-Viewer/src/workers/content_provider.py", line 123, in prepare_book
    self.__load_titles_and_files()
  File "/home/diego/Projects/Ebook-Viewer/src/workers/content_provider.py", line 208, in __load_titles_and_files
    if os.access(ncx_file_path, os.R_OK):  # Checks if NCX is accessible
TypeError: access: can't specify None for path argument