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

Error with python while trying to run script for first time... #8

Open
conorfenlon opened this issue Nov 1, 2017 · 3 comments
Open

Comments

@conorfenlon
Copy link

Hi Mikey, I can't seem to run this script without getting an error. This is the first time I'm attempting to use the script. I'll post the traceback below.
I'm using Ubuntu 16.04 LTS

I'm not very python savvy, so I would appreciate any hep you might be able to offer me. Thanks in advance.

blender -b 1.blend -P video_editors_render_script.py
found bundled python: /usr/lib/blender/2.79/python
Traceback (most recent call last):
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 665, in exec_module
File "", line 222, in _call_with_frames_removed
File "/usr/lib/blender/2.79/python/lib/python3.5/importlib/init.py", line 57, in
import types
File "/usr/lib/blender/2.79/python/lib/python3.5/types.py", line 166, in
import functools as _functools
File "/usr/lib/blender/2.79/python/lib/python3.5/functools.py", line 23, in
from weakref import WeakKeyDictionary
File "/usr/lib/blender/2.79/python/lib/python3.5/weakref.py", line 12, in
from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'

During handling of the above exception, another exception occurred:

SystemError: returned a result with an error set
Read blend: /home/conor/Desktop/Render Script/1.blend
Traceback (most recent call last):
File "/home/conor/Desktop/Render Script/video_editors_render_script.py", line 79, in
import platform # | Bash Shell, Blender and FFmpeg.
File "/usr/lib/blender/2.79/python/lib/python3.5/platform.py", line 117, in
import sys, os, re, subprocess
File "/usr/lib/blender/2.79/python/lib/python3.5/subprocess.py", line 50, in
import signal
File "/usr/lib/blender/2.79/python/lib/python3.5/signal.py", line 3, in
from functools import wraps as _wraps
File "/usr/lib/blender/2.79/python/lib/python3.5/functools.py", line 23, in
from weakref import WeakKeyDictionary
File "/usr/lib/blender/2.79/python/lib/python3.5/weakref.py", line 12, in
from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'

Blender quit

@Flaick
Copy link

Flaick commented Jun 25, 2020

Did you resolve the problem, I have the same issue here

@mikeycal
Copy link
Owner

@Flaick
Make sure that you download the latest copy of the script. I am also primarily running on Ubuntu Linux (20.04LTS), so I usually notice issues there first. :)

You can Right Click and "Save Link As..." the following link for the latest version of my script:
https://github.com/mikeycal/the-video-editors-render-script-for-blender/raw/master/video_editors_render_script.py

@Flaick
Copy link

Flaick commented Jun 25, 2020

Thank you I will try that

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

3 participants