Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime failure #267

Open
greggjaskiewicz opened this issue Aug 4, 2023 · 0 comments
Open

runtime failure #267

greggjaskiewicz opened this issue Aug 4, 2023 · 0 comments

Comments

@greggjaskiewicz
Copy link

(virtualenv) ➜ omnivore git:(master) ✗ python run.py
2023-08-04 12:16:13.296 Python[29393:10140884] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/dn/ww0qsvvs1nqby7gfjk438zgh0000gn/T/com.apple.python3.savedState
Traceback (most recent call last):
File "/Users/gj/Projects/omnivore/omnivore/sawx/frame.py", line 255, in load_file
document = identify_document(file_metadata)
File "/Users/gj/Projects/omnivore/omnivore/sawx/document.py", line 47, in identify_document
doc_cls = find_document_class_for_file(file_metadata)
File "/Users/gj/Projects/omnivore/omnivore/sawx/document.py", line 43, in find_document_class_for_file
raise errors.UnsupportedFileType(f"No document available for {file_metadata}")
sawx.errors.UnsupportedFileType: No document available for {'mime': 'application/octet-stream', 'uri': 'about://app'}
Traceback (most recent call last):
File "/Users/gj/Projects/omnivore/omnivore/run.py", line 121, in
main(sys.argv)
File "/Users/gj/Projects/omnivore/omnivore/run.py", line 111, in main
run(OmnivoreApp, image_paths, template_paths)
File "/Users/gj/Projects/omnivore/omnivore/sawx/startup.py", line 49, in run
app.process_command_line_args(sys.argv[1:])
File "/Users/gj/Projects/omnivore/omnivore/sawx/application.py", line 168, in process_command_line_args
frame = self.new_frame()
File "/Users/gj/Projects/omnivore/omnivore/sawx/application.py", line 387, in new_frame
frame = frame_cls(None, uri)
File "/Users/gj/Projects/omnivore/omnivore/sawx/frame.py", line 77, in init
self.load_file(uri)
File "/Users/gj/Projects/omnivore/omnivore/sawx/frame.py", line 273, in load_file
self.set_title()
File "/Users/gj/Projects/omnivore/omnivore/sawx/frame.py", line 166, in set_title
title = f"{self.active_editor.title} - {app.app_name}"
AttributeError: 'NoneType' object has no attribute 'title'

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

No branches or pull requests

1 participant