-
Notifications
You must be signed in to change notification settings - Fork 549
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
"ValueError: incomplete format"? #4750
Comments
Hi, could you include some more details about how this error happened? What version of openshot were you using (Release or daily build), and a description of the error (it sounds like it's crashing just after startup. Is that right?) Last could you include your log full log files? Instructions on where to find them can be found here |
is the "INFO version" line not enough? i just downloaded OpenShot-v2.6.1-x86_64 from the main button in the /download/ page. So i suppose it's "Release". And the description was in the first line: "The GUI just shuts down without even an error message, and then the cli sort-of gives more detail, but imo not enough for me to troubleshoot the issue myself. :-|"
I can probably find the files... if they get generated. My main question however is how to set-up the cli to be more verbose on errors? (Since the GUI crashes on start-up, i can't do step #2 "From the top left menu bar select Preferences, on the Edit dropdown") |
So there's no parameter to trigger a more verbose log / output? Also, about this line in particular... "Sentry is attempting to send 1 pending error messages" -- does it mean there's no receiver available to catch that message and display it? |
If you're launching from a CLI, you can add |
Well that didn't help, but at least it finally clicked that the stacktrace that python shows is in reverse order than the ones i'm used to from .NET... So the issue is from
|
Actually that's grabbing the error reporting rates for all versions. So checking But now I understand this bug. We have a string that we replace |
Pretty sure no libraries get to be called... This happens before anything has a chance to show up, even a splash screen. (Although the taskbar does flash for a fraction of a second.)
Not in this case, apparently. Using it doesn't give any significant detail over not using it.
Well, i don't intend to, but i've had apps auto-select their own lang files instead of waiting for me to make a choice about it. I'd pick English (UK) if i had the chance, but i don't. Any command line params for overriding the language? Oh, but looking over the logs again, you're right:
WHY would you do that though, my system is set to have an English interface despite the regional location being set to Romania. -.- |
Yep! Try |
If that (or reinstalling in English) helps, then we know there's an issue with Romanian translation. (At least in some cases with Romanian on Windows, as I can't get Romanian to crash) |
The call to log.debug might need some tweaking, though.
Yep, that helped, and the UI opened. And since you can't repro on your system, can't you make a version [ daily? nightly? :-) ] that outputs that "trans_name" if debug is on? ( something like develop...C80:patch-1 ... and as mentioned in the comment there, "The call to log.debug might need some tweaking, though." ) Also, you'd need to let me know how i could get that specific version, probably package it up too, since i'm not familiar with compiling python apps. |
@C80 Can you please try our latest daily build: https://openshot.org/download/#daily. We have changed many of the projections around how we generate, and validate translations, and I am curious if you are still experiencing a crash during launch, in your own language. Thx! |
Btw, @JacksonRG , how would i do that? The setup doesn't ask about my preferred language... it doesn't even ask if i want to install in a different folder. -.- These 2 are the only choices i get to make. :-| As for the latest daily, yes @jonoomph it kinda worked... Managed to not crash on that first hurdle, so i could get to editing preferences and changed the language from "default" to good old english. However, i'd still like to know WHICH bit was the culprit, so that it could get fixed. :-) |
And in case i'm missing something, here's the log for the last few sessions, going back and forth between the stable and the daily. Don't see anything relevant, but i didn't really expect to, since that transition_model.py didn't get changed. |
@C80 I'm a little confused, as there have been a few suggested solutions, and I'm not sure what's worked. What Openshot behavior are you currently experiencing? Is openshot still failing to open? And does |
@JacksonRG well i'd consider them work-arounds, since IMO a solution would make the default (release) version work out of the box. Currently, it doesn't do that; i can only open the app if i start the daily version, or if i start the release with --lang. And about my previous question, how do i "reinstall in English" ... you seem to have no comment? ^^ As for the initial "more details about how this error happened"... guess you don't care about identifying which part of the RO translation is invalid, considering that you now DO have some sort of failsafe for it? |
We are still interested in finding the problem translation. I just wanted re-establish what issues we're trying to fix. If the daily version works without the |
Since this is fixed in the daily build, I'm closing this issue. The fix will make it into the next release version. |
Hi.
Is there no failsafe that allows the app to function even when it wasn't allowed through the firewall? The GUI just shuts down without even an error message, and then the cli sort-of gives more detail, but imo not enough for me to troubleshoot the issue myself. :-|
The text was updated successfully, but these errors were encountered: