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

Trying to override the "version"setting on PPC #12

Open
Yabe-uke opened this issue Jun 9, 2018 · 4 comments
Open

Trying to override the "version"setting on PPC #12

Yabe-uke opened this issue Jun 9, 2018 · 4 comments

Comments

@Yabe-uke
Copy link

Yabe-uke commented Jun 9, 2018

This maybe has no answer, and I'm just asking out of curiosity:
The script has been working wonders in all my computers, except for one specific kind: old PowerPC Macs. I know, it was not designed to run on Blender 2.63a (the last working version on PPC cpus), but I feel like it is feasable. I had to install Python 2.7 (last owrking version) and an implementation of pathlib for that specific version, because it doesn't come standard with Python 2.X. After a little bit of tweaking, I was able to make it run, but right now I find that only thing stopping me from making it work is that the script is trying to get the attribute "version" from the .blend file and the program, and it looks like 2.63a doesn't have that, for some reason, so it is unable to do continue.I know almost close to nothing of Python, so I am kind of lost. I'm also guessing I should understand how blender files work in the first place, wich I don't. So, is there any way we can make it work on PowerPC OS X? I know probably no one will use this feature, so if you think I'm asking too much, just say it, I totally understand, and I already took a lot of your time making you read this. Thanks anyway for your wonderful script, it is wonderful!

@mikeycal
Copy link
Owner

mikeycal commented Jun 9, 2018

The "version test" code was implemented so that I could convert 2 scripts into 1 script that works with 2.7 or higher. In the cases that you are using a very old version of blender (pre 2.7.0), I have left the older version of my script up. You can download it here:
https://github.com/mikeycal/the-video-editors-render-script-for-blender/tree/master/old_version_scripts

@Yabe-uke
Copy link
Author

Yabe-uke commented Jun 9, 2018

Wow, I didn't realize! Thanks a ton! Have a great weekend!
P.S: Can't wait for Blender 2.80 and new videos from you ;)

@Yabe-uke
Copy link
Author

So I've tried to run it, and it gives me this error
screen shot 2018-06-10 at 12 53 18 pm
This was done on a i386 version of OS X, but the same error is generated when run on PowerPC. I don't know anything about python, but something must be terribly wrong, because the second line references line 180, but line 180 is an uncommented line, so I got kinda lost trying to figure out what went wrong. Maybe I did something wrong? Sorry to bother you, I know nobody else uses PPC for video rendering in 2018.

@mikeycal
Copy link
Owner

This script refers to python and internal python scripts that are both shipped with the version of blender you are using. It looks like there may be some significant changes in some of those scripts that are breaking my script. This is why my script is only compatible with 2.7.0 and higher. Every once and a while, the blender team alters something on blender that changes the fundamental parts of blender. Recently, this happened when they released 2.79 and I had to adapt the script. So, unfortunately, this script would probably have to get a bit of a rewrite to be backward compatible with older versions of blender.

You might have more luck trying to build the current version of blender for osx ppc.

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

2 participants