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

Windows Vista install python problem #156

Closed
bdurr opened this issue Apr 13, 2016 · 9 comments
Closed

Windows Vista install python problem #156

bdurr opened this issue Apr 13, 2016 · 9 comments

Comments

@bdurr
Copy link

bdurr commented Apr 13, 2016

I installed OpenShot on a Vista laptop, which seemed to go ok. When I try and start it I get a bunch of python errors. The report frame is titled cx_Freeze: Python error in main script. It won't let me copy and paste the contents easily. The traceback references a bunch of python paths that don't exist. I do have Python 3.5 installed but the real path is not what's shown in the long traceback list. Is there something I failed to specify?

@jonoomph
Copy link
Member

I haven't personally tested OpenShot on Vista, but in theory it should work. What version are you testing with? Please grab the latest daily build: www.openshot.org/download (and click the 'Other Installers' link). Also, please "uninstall" the previous version before installing the new one.

Once you do that, if it still errors, please take a screenshot and post the pic here. Thx!

@bdurr
Copy link
Author

bdurr commented Apr 14, 2016

I uninstalled the 2.0.7 stable version and installed the latest, which was v2.0.7-12-ga42479f-47-531-x86_32.msi. The same issue occurred. Screenshot attached I hope. None of the paths listed exist - python3.5 is installed but a totally different path. Thanks for the help.

capture

@NValerij
Copy link

It seems I faced the very look like this problem - OpenShot starts with error with the same title.
In its error description OpenShot says that it can't write to some file in Users directory:

cx_Freeze: Python error in main script

Traceback (most recent call last):
File "C:\Program Files (x86)\OpenShot Video Editor\classes\json_data.py", line 143, in write_to_file
with open(file_path.encode('UTF-8'), 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: b'C:\Users**\xd0\x92\xd0\xb0\xd0\xbb\xd0\xb5\xd1\x80\xd0\xb8\xd0\xb9**.openshot_qt\openshot.settings'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program Files (x86)\OpenShot Video Editor\classes\app.py", line 76, in init
self.settings.load()
File "C:\Program Files (x86)\OpenShot Video Editor\classes\settings.py", line 100, in load
return self.write_to_file(file_path, self._data)
File "C:\Program Files (x86)\OpenShot Video Editor\classes\json_data.py", line 148, in write_to_file
raise Exception(msg)
Exception: Couldn't save user settings file:
C:\Users\Валерий.openshot_qt\openshot.settings
[Errno 2] No such file or directory: b'C:\Users**\xd0\x92\xd0\xb0\xd0\xbb\xd0\xb5\xd1\x80\xd0\xb8\xd0\xb9**.openshot_qt\openshot.settings'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Python34\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in
File "openshot_qt/launch.py", line 77, in
File "openshot_qt/launch.py", line 70, in main
File "C:\Program Files (x86)\OpenShot Video Editor\classes\app.py", line 79, in init
exit()
NameError: name 'exit' is not defined


ОК

Something mixed with encodings (my account name is written in Cyrillic).
To fix this problem I just deleted bold text in italic-marked line.

Now I have the same issue as #29 =)

@jonoomph
Copy link
Member

I have made some improvements to fix some encoding issues. Have you tried the latest daily build?

Please visit www.openshot.org/download, click 'Other Downloads', and install the latest daily build of OpenShot. Thx!

@bdurr
Copy link
Author

bdurr commented Apr 22, 2016

I uninstalled the previous version and installed the latest version - unfortunately with exactly the same result. And the same error message as above. Thanks.

@NValerij
Copy link

As of me uninstall/install again helped. Now it starts Ok out of the box.
Note for @bdurr: it is easy to copy error message with Ctrl-C. Hope it can help locate error.

@bdurr
Copy link
Author

bdurr commented Apr 26, 2016

Uninstalled the last version and installed the 4-24 3:46 pm version. Exactly the same result. I'm wondering why it looks in the wrong place for python support.

@jonoomph
Copy link
Member

jonoomph commented Jul 1, 2016

I think the python paths are misleading... and are reporting the path on my build server. The error indicates it can't load the openshot DLL / python modules... still not sure what's happening.

@DylanC
Copy link
Collaborator

DylanC commented Aug 24, 2017

Issue has been resolved in #374 and the linked tickets inside that one. Closing for now since all issues related have been solved.

@DylanC DylanC closed this as completed Aug 24, 2017
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

4 participants