GithubHelp home page GithubHelp logo

cr-docker's People

Contributors

jeducious avatar smilebags avatar zocker-160 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cr-docker's Issues

ModuleNotFoundError: No module named 'zmq'

I am trying to install crowdrender for the first time, prepared a new machine with a fresh install of Linux Lite (Ubuntu 22 based)
installed everything required for GPU, and I keep getting a error

Digest: sha256:6f744e4202d06c16a669977adb498b1a4d98a774c67951beca4ed09a0abe5e5c

Status: Downloaded newer image for crowdrender/blender-crowdrender:latest

machine_uuid is not set...generating new unique UUID.....

downloading version latest of crowdrender......

download token given with length of 137

downloading latest CR version!

############################################################################################################################################################### 100.0%

installing crowdrender addon.......

Blender 3.2.1 (hash a2d59b2dac9e built 2022-07-05 23:53:28)

addon_utils.disable: crowdrender not disabled

Modules Installed (crowdrender) from '/CR/latest.zip' into '/root/.config/blender/3.2/scripts/addons'

Info: Modules Installed (crowdrender) from '/CR/latest.zip' into '/root/.config/blender/3.2/scripts/addons'

Info: Modules Installed (crowdrender) from '/CR/latest.zip' into '/root/.config/blender/3.2/scripts/addons'

Exception in module register(): /root/.config/blender/3.2/scripts/addons/crowdrender/init.py

Traceback (most recent call last):

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/bl_addon/init.py", line 91, in

import zmq

ModuleNotFoundError: No module named 'zmq'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/usr/local/blender/3.2/scripts/modules/addon_utils.py", line 371, in enable

mod.register()

File "/root/.config/blender/3.2/scripts/addons/crowdrender/init.py", line 141, in register

cr_source.register()

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/init.py", line 78, in register

select_versions()

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/init.py", line 67, in select_versions

from . import bl_addon

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/bl_addon/init.py", line 115, in

raise ImportError(

ImportError: CrowdRender is not able to run because it can't import necessarycomponents, please e-mail us at [email protected] to report this.

Error: Traceback (most recent call last):

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/bl_addon/init.py", line 91, in

import zmq

ModuleNotFoundError: No module named 'zmq'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/usr/local/blender/3.2/scripts/modules/addon_utils.py", line 371, in enable

mod.register()

File "/root/.config/blender/3.2/scripts/addons/crowdrender/init.py", line 141, in register

cr_source.register()

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/init.py", line 78, in register

select_versions()

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/init.py", line 67, in select_versions

from . import bl_addon

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/bl_addon/init.py", line 115, in

raise ImportError(

ImportError: CrowdRender is not able to run because it can't import necessarycomponents, please e-mail us at [email protected] to report this.

Error: Traceback (most recent call last):

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/bl_addon/init.py", line 91, in

import zmq

ModuleNotFoundError: No module named 'zmq'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/usr/local/blender/3.2/scripts/modules/addon_utils.py", line 371, in enable

mod.register()

File "/root/.config/blender/3.2/scripts/addons/crowdrender/init.py", line 141, in register

cr_source.register()

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/init.py", line 78, in register

select_versions()

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/init.py", line 67, in select_versions

from . import bl_addon

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/bl_addon/init.py", line 115, in

raise ImportError(

ImportError: CrowdRender is not able to run becaError: Python: Traceback (most recent call last):

File "/CR/./install_addon.py", line 7, in

bpy.ops.preferences.addon_enable(module='crowdrender')

File "/usr/local/blender/3.2/scripts/modules/bpy/ops.py", line 115, in call

ret = _op_call(self.idname_py(), None, kw)

RuntimeError: Error: Traceback (most recent call last):

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/bl_addon/init.py", line 91, in

import zmq

ModuleNotFoundError: No module named 'zmq'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/usr/local/blender/3.2/scripts/modules/addon_utils.py", line 371, in enable

mod.register()

File "/root/.config/blender/3.2/scripts/addons/crowdrender/init.py", line 141, in register

cr_source.register()

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/init.py", line 78, in register

select_versions()

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/init.py", line 67, in select_versions

from . import bl_addon

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/bl_addon/init.py", line 115, in

raise ImportError(

ImportError: CrowdRender is not able to run because it can't import necessarycomponents, please e-mail us at [email protected] to report this.

... truncated

Blender quit

Blender launch test:

Blender 3.2.1 (hash a2d59b2dac9e built 2022-07-05 23:53:28)

Blender 3.2.1

build date: 2022-07-05

build time: 23:53:28

build commit date: 2022-07-05

build commit time: 15:44

build hash: a2d59b2dac9e

build platform: Linux

build type: release

build c flags: -Wall -Wcast-align -Werror=implicit-function-declaration -Werror=return-type -Werror=vla -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wlogical-op -Wundef -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wformat-signedness -Wrestrict -Wnonnull -Wabsolute-value -Wuninitialized -Wredundant-decls -Wshadow -Wno-error=unused-but-set-variable -Wimplicit-fallthrough=5 -std=gnu11 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off -msse2 -D_GLIBCXX_USE_CXX11_ABI=0

build c++ flags: -Wuninitialized -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wundef -Wmissing-declarations -Wimplicit-fallthrough=5 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off -msse2 -D_GLIBCXX_USE_CXX11_ABI=0

build link flags: -Wl,--version-script='/home/blender/git/blender-v320/blender.git/source/creator/blender.map'

build system: CMake

replacing CR_PATH for CR >= 0.4.0...

starting crowdrender server in CLOUD MODE.....................

Blender 3.2.1 (hash a2d59b2dac9e built 2022-07-05 23:53:28)

Error: Python: Traceback (most recent call last):

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/core/serv_int_start.py", line 84, in

from cr_source.core import server_interface

File "/root/.config/blender/3.2/scripts/addons/crowdrender/cr_source/core/server_interface.py", line 32, in

import zmq

ModuleNotFoundError: No module named 'zmq'

python3 is already bundled in ubuntu, so I don't know what is missing here, I am using the command given by this github page and my login token, this is a fresh new install of Linux

[beta] new version is not starting

Hi,
I just wanted to give the neww beta version a try, but there is a problem.
I think in

/usr/local/blender/blender -b -noaudio --python /root/.config/blender/2.83/scripts/addons/crowdrender/src/py_3_7/serv_int_start.py -- -p "$persistent" -ct "$token" -t "server_int_proc" -ak "$machine_uuid"

needs to be distinguished between blender versions.

Logs in order to see the error:

installing crowdrender addon.......

Blender 2.91.0 (hash 0f45cab862b8 built 2020-11-25 08:51:08)

found bundled python: /usr/local/blender/2.91/python

Info: Modules Installed (crowdrender) from '/CR/cr_029_bl280.zip' into '/root/.config/blender/2.91/scripts/addons'

Writing userprefs: '/root/.config/blender/2.91/config/userpref.blend' ok

addon_utils.disable: crowdrender not disabled

Modules Installed (crowdrender) from '/CR/cr_029_bl280.zip' into '/root/.config/blender/2.91/scripts/addons'

Info: Modules Installed (crowdrender) from '/CR/cr_029_bl280.zip' into '/root/.config/blender/2.91/scripts/addons'

dodgy, but trying to unregister anyway

blender launch test:

Blender 2.91.0 (hash 0f45cab862b8 built 2020-11-25 08:51:08)

Blender 2.91.0

	build date: 2020-11-25

	build time: 08:51:08

	build commit date: 2020-11-25

	build commit time: 08:34

	build hash: 0f45cab862b8

	build platform: Linux

	build type: Release

	build c flags:  -Wall -Wcast-align -Werror=implicit-function-declaration -Werror=return-type -Werror=vla -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wlogical-op -Wundef -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wformat-signedness -Wrestrict -Wnonnull -Wabsolute-value -Wuninitialized -Wredundant-decls -Wshadow -Wno-error=unused-but-set-variable -Wimplicit-fallthrough=5  -fuse-ld=gold -std=gnu11   -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -msse2 -D_GLIBCXX_USE_CXX11_ABI=0

	build c++ flags:  -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wformat-signedness -Wrestrict -Wuninitialized -Wundef -Wmissing-declarations -Wimplicit-fallthrough=5  -fuse-ld=gold -std=c++17   -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -msse2 -D_GLIBCXX_USE_CXX11_ABI=0

	build link flags:  -Wl,--version-script='/home/sources/buildbot-worker-linux_centos7/linux_291/blender.git/source/creator/blender.map'

	build system: CMake

starting crowdrender server.....................

Blender 2.91.0 (hash 0f45cab862b8 built 2020-11-25 08:51:08)

Read prefs: /root/.config/blender/2.91/config/userpref.blend

found bundled python: /usr/local/blender/2.91/python

Crowd Render Server Interface Process ready

dodgy, but trying to unregister anyway

Crowd Render add-on Disabled

OSError: Python file "/root/.config/blender/2.83/scripts/addons/crowdrender/src/py_3_7/serv_int_start.py" could not be opened: No such file or directory

Blender quit

Blender 2.93.5: Node not using GPUs even with correct Cuda version and devices found

I built a new image based on this repo's Dockerfile.cuda11 and https://github.com/zocker-160/blender-docker/blob/master/Dockerfile.cuda11 to use Blender 2.93.5 (latest at this moment). I only modified the major/minor version numbers and set the "local" flag to "true".

My cards are recognized on the host and use Cuda 11
image

The container also reports those devices:

found following CUDA devices:
[<bpy_struct, CyclesDeviceSettings("NVIDIA GeForce RTX 2080 Ti") at 0x7f6ff663a408>, <bpy_struct, CyclesDeviceSettings("NVIDIA GeForce RTX 2080 Ti") at 0x7f6ff663a488>, <bpy_struct, CyclesDeviceSettings("Intel Core i9-9900KF CPU @ 3.60GHz") at 0x7f6ff663a508>]
dodgy, but trying to unregister anyway
using workaround for source CR version...
starting crowdrender server in LOCAL MODE.....................

I am using a docker-compose file to run the service as such:

services:
  blender-crowd:
    build:
      context: .
    network_mode: host
    environment:
      - token=<redacted>
    container_name: blender-crowd
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]

When i run a network render on my master machine, I notice that the docker container on the remote node is only using the cpu to render. Is there a way to use the two GPUs instead or additionally?

If yes, how so?

Best,
Val

EDIT: I had forgotten to setup the node to use Cuda, which is now done, but it doesn't help

image

Users cannot connect to more than one docker container

According to issues on the crowdrender forum, some people are having trouble with connecting to more than one container.

As a result, I took a look at how the container is started start_cr_server.sh, the command to start a server is:

# start the CR server echo "starting crowdrender server....................." /usr/local/blender/blender -b -noaudio --python /root/.config/blender/2.83/scripts/addons/crowdrender/src/py_3_7/serv_int_start.py -- -ct "$token" -t "server_int_proc" }

This does not account for the option to set an 'access key' which in fact is a misnomer, sorry everyone :S, the access key is an internal name we cooked up for the ability to set a different hardware uuid for the machine, allowing you to use a secret so only you can connect to the node.

It serves a dual purpose though, and also allows you to set unique hardware uuids for containers. Virtual machines will all have the same hardware uuid if you check them. This is because the hardware is virtual I guess :) but anyway, using the usual methods for introspection (such as look at /etc/machine-id on linux) will just give you the same hardware uuid for each instance of the container.

The implication of this is that crowdrender will only ever report one render node, no matter how many containers you start. Since the start_cr_server.sh script and the gpu equivalent don't set the -ak option, then unfortunately all users are bound to just one container.

We can fix this though, here's how to use the -ak option to automagically generate a unique uuid which will be propagated to the users crowdrender account, and cause each container to show up as a unique node.

/usr/local/blender/blender -b -noaudio --python /root/.config/blender/2.83/scripts/addons/crowdrender/src/py_3_7/serv_int_start.py -- -ct "$token" -t "server_int_proc" -ak $(cat /proc/sys/kernel/random/uuid)

This will generate a random unique id and cause the crowdrender server to set it as its hardware uuid, meaning it will be unique amounts all the render nodes started using containers this way.

One other consideration might be to allow users to set the -ak option directly if they want to set something else should they find the above method doesn't work on their platform (no idea why it wouldn't but taking control away from the user by setting the -ak option for them seems like a plausible way to invite the kraken to strike).

So, in summary, lets create a way to set the -ak option when starting the cr-docker container so as to allow more than one container to be used by a single CR account. I am pretty sure this will make the container many times more useful!

Don't obfuscate email addresses, send to a contact form

What's up?

The need to filter spam is very real, so we have in the past and continue today to use the info at crowdrender dot com dot au format for email address obsfuctation however @Smilebags makes a great point that this might also turn off both bots and real people. The former is intentional, the latter is not.

What can we do about it?

We can send people to a contact form. This is the easiest way to make it easy for a real person to get in touch, and hard for bots to spam us. The contact form should have some way of either rate limiting or perhaps using some other form of bot denial (like captcha).

agent registering with wrong IP behind LoadBalancer/ with multiple networks

If I have a Node with two networks attached, one private and one public, I can't tell the agent, on which IP address it should listen.
Problem here: The agent is registered with the private IP.
If I Change the IP in the Plugin in Blender, I can connect to it, but it gets automatically reset after a few seconds.

Proposal:
Add an env var, with which I can override the IP Address, the agent is registering with.

The Crowdrender image's docker CLI options don't support use on a local network well

What's up?

After recently trying to help someone get a container up and running that uses the containers on a locally hosted compute cluster running linux, I came to realise our support of this particular use case sucks.

In detail, what exactly is the problem

There are some gotcha's that need addressing;

  • First, there's the problem of running multiple containers, one on each computer node (assuming that's what most folk would do).
  • Then, there's the problem of securing containers so only the person who creates them has the ability to use them, this is important if you want to expose your docker instance to the internet. Useful if you plan to connect from a remote location, and you don't want to run a VPN.

Dealing with the first issue, Crowdrender's addon currently has a bad design when it comes to the handling of docker images. This is because an image will always have the same hardware uuid everywhere its run, and this isn't great because that hardware uuid is how your Crowdrender client tells machines apart. So off the bat, if each container runs the same image, then you can only really connect to one of those at a time from a master or client.

Then there's the issue of making sure your containers can't be hijacked by the unscrupulous hackers out there. This was taken care of by allowing users to specify the -ak option when starting a server that will set an access key (secret), only known to the person setting up the container. Any request reaching the server running in the container that doesn't have the key is dropped.

When dealing with both of these issues, we, or rather I acted on the misguided belief that killing two birds with one stone is always a good idea, word to the wise, its not.

The -ak option was used to set a secret AND to modify the hardware uuid. Bad idea.

Fast forward to having the "local" env var for running a Crowdrender container on a local network, this sort of worked. Basically it just didn't set the hardware uuid at all. But what this meant was that now, only one container can truly be used at a time on the local network. Boo.

Of course you can set the -ak option to fix this, but then you can run into another problem. The secret that is set, an be invisible to you, the person setting up the container if you set local=false and don't specify the machine_uuid env var. Yep, that's right, the secret, or -ak option is populated by the override value for the hardware uuid. See how confusing this all is?

Anyways, with an invisible secret, all is not lost, you can still use all your hardware, but, your client/master MUST be logged in to your cloud account, cause otherwise, you won't get the secret set for that server sent to you from your cloud account. And the connection will just fail with no information about why. GREAT.

what shall be done about this!?!

This is going to require an update to both the scripts run inside the container to start a crowdrender server, and the software of the server. Basically I am going to introduce a new option that only overrides the hardware uuid, and the current -ak option will only set the secret. This will allow those who wish to use the addon on an isolated, local network the ability to override the hardware uuid of the image and run as many containers as they like and be able to use all of them, not internet or account required.

I am also removing the "local" environment variable and its effects. Instead, I'll document the crowdrender CLI properly in the readme.md file here in the cr_docker repo and just pass through the options as env vars. Basically this will just expose the add-on's CLI to the docker run command, and anyone will then be able to run the addon as they see fit. If they want to set a secret, they can, if they need to override the hardware uuid, they can (although it will be overridden by default with a freshly generated uuid each time so things work out of the box with less envs required for the docker run cmd).

This should make the user experience less terrible.

Blender can't connect to nodes - "Registering this machine again loop"

When i start the docker image it outputs

Read prefs: /root/.config/blender/2.93/config/userpref.blend
CR.UTILS successfully created /root/cr/logging
Crowd Render Server Interface Process ready
Registering this machine again

And then it prints Registering this machine again every 30-60 seconds.

Container is running in debian. Blender client is running on Arch, debian host is accessible, no firewall in the middle.

Any ideas?

should be documented that beta version fails with error unless you pay

Just lost an hour debugging and installing this Docker only to find out that reason is that latest beta is not available to me. I guess downloader fails to download beta and instead of notifying about the reasons (which would still be too late to inform us about it), it just fails with a weird error.

If I'm correct that this is the reason for the error, it would be only fair to state this requirement on this page and on Dockerhub page instructions next to "beta" version description. I'm sure it would save time and frustration to many people trying this out.

None of the supported tools for extracting zip archives (unzip 7z busybox) were found. Please install one of them and try again.

I am trying to deploy the latest docker image release (crowdrender/blender-crowdrender:latest) but I get the following error

Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
less is already the newest version (487-0.1+b1).
software-properties-common is already the newest version (0.96.20.2-2).
wget is already the newest version (1.20.1-1.1).
curl is already the newest version (7.64.0-4+deb10u7).
locales is already the newest version (2.28-10+deb10u2).
openssh-server is already the newest version (1:7.9p1-10+deb10u3).
sudo is already the newest version (1.8.27-1+deb10u5).
tmux is already the newest version (2.8-3+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
rsync is already the newest version (3.1.3-6).
git is already the newest version (1:2.20.1-2+deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4707  100  4707    0     0  11856      0 --:--:-- --:--:-- --:--:-- 11826

None of the supported tools for extracting zip archives (unzip 7z busybox) were found. Please install one of them and try again.

rm: cannot remove '/etc/forward_port2': No such file or directory

-e token="mytoken" -e CR_VERSION=cr_063_bl280

How do I use a specific blender version for latest?

downloading the latest version of cr-Docker seems to auto download blender 3.2, the issue is I am using Blender 3.1 stable currently and don't want to update right now because several of my addons stopped working on the most recent build. Documentation mentions both master and clients need to be on the same version on blender, the page says the latest crowdrender works on 2.8 - 3.2, so how do I make the client computers run on the same blender 3.1? I keep getting "sync failed" and crashes instantly when I hit render image probably because of this

Docker example not working in 19.03

With Docker 19.03 the provided examples are not working, because token is not prepended with --env. For use with GPU and port forwarding it would be better to provide a more complete example

docker run -t -d -p 9000-9025:9000-9025 --restart always --gpus all --name "crowdrender-Server" --env token=<token> zocker160/blender-crowdrender:nvidia

Use download latest addon file endpoint

This issue is here as a reminder to create and use a new endpoint which will download the latest available addon version for the current user. This simplifies the docker image and should reduce maintenance costs here. This will be updated once the server supports this feature.

--net=host option doesn't work on windows

What's up?

Dockers documentation reveals that the host driver is only available on linux, testing on both linux and windows confirms that using;

docker run -t \
 --name "Crowdrender-Server" \
 -e token=<login_token> \
 --net=host \
zocker160/blender-crowdrender:latest

...doesn't work on windows. What's more is that there's no obvious warning about this in the readme.md file, nor from docker itself when running the above command in windows. So anyone using the instructions from the readme.md would likely not know where to start.

Good news is

As it turns out, the -p option works, this is described in the readme file, so I think a small modification to the documentation here on GitHub would go a long way since I've proved today you can use docker on windows with the crowdrender images. You just replace the --net=host option with -p 9669-9694:9669-9694 which causes docker to forward those ports to the container.

The docker image doesnt work on CR 0.3.2

Trying to start the container with CR version 0.3.2 results in the following error
Traceback (most recent call last): File "/root/.config/blender/2.93/scripts/addons/crowdrender/src/py_3_9/serv_int_start.py", line 78, in <module> server_interface = crowdrender.src.py_3_9.server_interface AttributeError: module 'crowdrender.src' has no attribute 'py_3_9' dodgy, but trying to unregister anyway Crowd Render add-on Disabled

"dodgy, but trying to unregister anyway" on start

Here is a complete log from trying to run from the command line. I used the correct token but hide it from here obviously.

root@Server:~# docker run -t --name "Crowdrender-Server2" -e "token=/" --net=host zocker160/blender-crowdrender:beta
Unable to find image 'zocker160/blender-crowdrender:beta' locally
beta: Pulling from zocker160/blender-crowdrender
69692152171a: Pull complete
0796c8418f29: Pull complete
3d83dd03cdcb: Pull complete
4436b827bd44: Pull complete
c4c6e6367b7a: Pull complete
e1441d19916c: Pull complete
47dc695821fa: Pull complete
728e9758f25e: Pull complete
9c4a8d943a5d: Pull complete
36db375ec3dd: Pull complete
536e45ffc87c: Pull complete
966bbade7a51: Pull complete
Digest: sha256:a01d93db1f7f9c0e5b6543af6575a6a47bad66f804c9a86f80670e3e2d192dc1
Status: Downloaded newer image for zocker160/blender-crowdrender:beta
machine_uuid is not set...generating new unique UUID.....
downloading version latest of crowdrender......
using token for login....
your download token is: /
downloading latest CR version!
############################################################################################################################# 100.0%
installing crowdrender addon.......
Blender 2.93.0 (hash 84da05a8b806 built 2021-06-02 11:29:24)
Modules Installed () from '/CR/latest.zip' into '/root/.config/blender/2.93/scripts/addons'
Info: Modules Installed () from '/CR/latest.zip' into '/root/.config/blender/2.93/scripts/addons'
Info: Modules Installed () from '/CR/latest.zip' into '/root/.config/blender/2.93/scripts/addons'
Traceback (most recent call last):
File "/usr/local/blender/2.93/scripts/modules/addon_utils.py", line 351, in enable
mod = import(module_name)
ModuleNotFoundError: No module named 'crowdrender'

Error: Traceback (most recent call last):
File "/usr/local/blender/2.93/scripts/modules/addon_utils.py", line 351, in enable
mod = import(module_name)
ModuleNotFoundError: No module named 'crowdrender'

Error: Traceback (most recent call last):
File "/usr/local/blender/2.93/scripts/modules/addon_utils.py", line 351, in enable
mod = import(module_name)
ModuleNotFoundError: No module named 'crowdrender'

Traceback (most recent call last):
File "/CR/./install_addon.py", line 7, in
bpy.ops.preferences.addon_enable(module='crowdrender')
File "/usr/local/blender/2.93/scripts/modules/bpy/ops.py", line 132, in call
ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Traceback (most recent call last):
File "/usr/local/blender/2.93/scripts/modules/addon_utils.py", line 351, in enable
mod = import(module_name)
ModuleNotFoundError: No module named 'crowdrender'

Blender quit
blender launch test:
Blender 2.93.0 (hash 84da05a8b806 built 2021-06-02 11:29:24)
Blender 2.93.0
build date: 2021-06-02
build time: 11:29:24
build commit date: 2021-06-02
build commit time: 11:21
build hash: 84da05a8b806
build platform: Linux
build type: release
build c flags: -Wall -Wcast-align -Werror=implicit-function-declaration -Werror=return-type -Werror=vla -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wlogical-op -Wundef -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wformat-signedness -Wrestrict -Wnonnull -Wabsolute-value -Wuninitialized -Wredundant-decls -Wshadow -Wno-error=unused-but-set-variable -Wimplicit-fallthrough=5 -fuse-ld=gold -std=gnu11 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off -msse2 -D_GLIBCXX_USE_CXX11_ABI=0
build c++ flags: -Wuninitialized -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wundef -Wmissing-declarations -Wimplicit-fallthrough=5 -fuse-ld=gold -std=c++17 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off -msse2 -D_GLIBCXX_USE_CXX11_ABI=0
build link flags: -Wl,--version-script='/home/blender/git/blender-v293/blender.git/source/creator/blender.map'
build system: CMake
INFO: running in CPU only mode!
starting crowdrender server in CLOUD MODE.....................
Blender 2.93.0 (hash 84da05a8b806 built 2021-06-02 11:29:24)
OSError: Python file "/root/.config/blender/2.93/scripts/addons/crowdrender/src/py_3_9/serv_int_start.py" could not be opened: No such file or directory

Eevee CrowdRender fails.

Trying out cr-docker in in portainer on a dell R730 with Dual Xeonand 512GRAM.
First Cycles test was 5 times faster, but still not as fast as local eevee, but when running crowdrender with eevee it fails with very vague message:
Render Failed: {'error_message': [], 'node_uuid': 'f5a413a6-fcf5-4965-xxxxxxxxxxxxx', 'node_name': 'Dock-CR', 'state': 4}

don't have a GPU... can eevee work with CPU only?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.