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

Fixing libopenshot version warning message + Sentry.io fixes #4333

Merged
merged 15 commits into from
Aug 22, 2021

Conversation

jonoomph
Copy link
Member

@jonoomph jonoomph commented Aug 21, 2021

Fixing some issues in the release branch, found in my testing and in Sentry.io (with some of our 2.6.0 testers)

  • Fixed libopenshot version mis-match error was crashing OpenShot
  • Fixed timeline bounding box errors reported on sentry (needed protection)
  • Added many guards to accessing variables (reported by sentry)
  • Added "Select a Color" context menu for color keyframes, instead of popping up a dialog and blocking our context menu options on the color keyframes
  • Fixed default QSpinBox values (which were using float instead of int)
  • Fixed windows drive letter relative path detection (to prevent trying to make relative paths across drives)
  • Replaced log.error with log.warning on Blender output (since this is a valid outcome of using the wrong version of Blender)

JacksonRG and others added 15 commits July 1, 2021 13:53
json_data: Logs, relative path fix

- Lots of log.debug() messages added
- project.current_filepath doesn't have a value for new projects,
  at the point we're saving, so use the
  'new_project_assets' context path instead.
Don't make paths to other drives relative
* added guards where we were getting exceptions

* added guards where we were getting exceptions

* Used setdeafult for safe appending

* Made update_color safer while I'm here
…cess app.show_errors in the exception handler, since app fails to initialize.
…till possible to change animation interpolations, remove keyframes, etc... on a color keyframe. Double clicking the color still works the same though.
…error, since this is a perfectly valid outcome (with the wrong version of blender)
…hot/openshot-qt into fixing-libopenshot-warning-message

� Conflicts:
�	src/classes/json_data.py
@@ -185,8 +185,6 @@ def check_libopenshot_version(self, info, openshot):
},
level="error",
))
raise RuntimeError(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was preventing the OpenShotApp from initializing

try:
app = OpenShotApp(argv)
except Exception:
app.show_errors()
Copy link
Member Author

@jonoomph jonoomph Aug 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app was never initialized in the except block... and below a few lines, we call app.gui() which displays the errors... if a gui is created.

@jonoomph jonoomph merged commit ed0e8c5 into release-20210819 Aug 22, 2021
@jonoomph jonoomph deleted the fixing-libopenshot-warning-message branch August 22, 2021 01:43
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

Successfully merging this pull request may close these issues.

3 participants