OpenShot / openshot-qt

OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
http://www.openshot.org
Other
4.33k stars 540 forks source link

'NoneType' object has no attribute 'get' on 1 file #5188

Open Memesgraveyard opened 1 year ago

Memesgraveyard commented 1 year ago

Describe the bug: Was working on an osp-file I've had for around 6 months, when I wanted to see something on another file. My OpenShot version only allowed one file opened at a time, so I saved file #1, and opened file #2.

After 5 minutes, saved file #2, and attempted to opened file #1 again through OpenShot>File>Open Recent and received error 'NoneType' object has no attribute 'get', which would load nothing.

I closed OpenShot and found the file in my documents folder and opened this way. Same error 'NoneType' object has no attribute 'get', however the silhouette on the mini-timeline showed files. No thumbnails in Projects or main Timeline showed, and file cannot be played.

Load file #2, which works fine.

Restarted PC, same error with file #1.

Looked up error on Google and found someone reloaded thumbnails by deleting C:>Users>Username>.openshot_qt>thumbnail folder. Attempted this but same error, no change

Another user resolved by opening file in Notepad and deleting lines with "null". Deleted 2x lines and saved. New error when opening in Openshot showed that file didn't exist. Re-opened file in Notepad and replaced the deleted "null", which reverted back to the previous error.

Attempted to use debugging report process. However, after deleting the two .log files, the system has not re-created logs even after enabling Debug Mode (Verbose), so I don't have any log files to upload. I can save the osp-file as a .txt file for reference.

Steps to reproduce the behaviour:

  1. Find osp-file in Documents folder and open
  2. Openshot attempts to load file
  3. Fails to load. Error 'NoneType' object has no attribute 'get'

Expected behavior: Osp-file to load with thumbnails and timeline.

System Details:

Log Files: Unavailable.

Exception / Stacktrace: If you are experiencing a crash or strange output on the command line, please attach a small snippet of the exception here, but please keep it as small as possible (for readability).

Screenshots: (Optional) image

Memesgraveyard commented 1 year ago

Also, just playing around inside the program. Under Project Files > Video (not "Show All") the video files appear but thumbnails missing. Also, when I drag+drop one into the timeline, thumbnail shows "?" and it still cannot be played. I can pull JSON data from all files though if that can help?

Another note: file #2 that I previously mentioned uses the same video files, and is working (very different projects focusing on different scenes).

stale[bot] commented 7 months ago

Thank you so much for submitting an issue to help improve OpenShot Video Editor. We are sorry about this, but this particular issue has gone unnoticed for quite some time. To help keep the OpenShot GitHub Issue Tracker organized and focused, we must ensure that every issue is correctly labelled and triaged, to get the proper attention.

This issue will be closed, as it meets the following criteria:

We'd like to ask you to help us out and determine whether this issue should be reopened.

Thanks again for your help!

BlazeBro commented 2 weeks ago

I am having this exact same problem. You ever find out how to fix it?