-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
osgeo64/processing: bag magic number in yaml #24098
Comments
Author Name: Nyall Dawson (@nyalldawson) Reassigning to Jürgen- this seems an error in the yaml package itself, not in processing.
|
Author Name: Jürgen Fischer (@jef-n) Not reproducable here. Apparently it's a stale pyc. Is python3-pyyaml installed? qgis-dev depends on it. |
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Nyall Dawson (@nyalldawson) Ok - confirmed. Removing all .pyc files from the osgeo4w folder and restarting fixed this for me. |
Author Name: Richard Duivenvoorde (@rduivenvoorde) Thanks for looking into it. I cannot confirm untill next week when I'm working on that machine again. So this is a left over from a qgis.2x run in the same folder? What I'm curious now for is if this could also happen when you install both 2.x and 3/2.99 in same osgeo4w64 folder and first run 2.x (generating .pyc files) and then try to run 3 (picking up those files?)... Feel free to close it, I will open it when it does not fix my problem. |
Author Name: Jürgen Fischer (@jef-n) Richard Duivenvoorde wrote:
The python3 and python2 installs are different directories. Interesting would be which file it actually is.
That should work. |
Author Name: Jérôme Guélat (Jérôme Guélat) I had the same problem... Deleting C:\OSGeo4W64\apps\qgis-dev\python\yaml\init.pyc seemed to help... Is it safe to remove it? |
Author Name: Jürgen Fischer (@jef-n) Jérôme Guélat wrote:
Yes - that's from an previous python2 based qgis-dev. Fixed in 702d4cc.
|
Author Name: Richard Duivenvoorde (@rduivenvoorde) Yep, confirmed here too. Removed all *.pyc files and works! |
Author Name: Richard Duivenvoorde (@rduivenvoorde)
Original Redmine Issue: 16188
Affected QGIS version: master
Redmine category:windows_package
Assignee: Jürgen Fischer
Just installed current dev version (bb2a6c8) on Windows here (next to 2.14) which fails to start processing because of
ImportError: bad magic number in 'yaml': b'\x03\xf3
'
see screendump
FYI: this is 64bit Windows Server 2008 R2 Enterprise install
The text was updated successfully, but these errors were encountered: