robmcmullen / omnivore

Hex editor and debugging emulator, sponsored by the Player/Missile Podcast
Mozilla Public License 2.0
53 stars 7 forks source link

runtime failure #267

Open greggjaskiewicz opened 1 year ago

greggjaskiewicz commented 1 year ago

(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'