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

[BUG] Not able to run as CLI command #11

Open
1 task done
anonim1133 opened this issue Nov 30, 2024 · 2 comments
Open
1 task done

[BUG] Not able to run as CLI command #11

anonim1133 opened this issue Nov 30, 2024 · 2 comments

Comments

@anonim1133
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I'm trying to run slicing in cli using docker image.
It does not work, and returns me error:

error: XDG_RUNTIME_DIR is invalid or not set in the environment.
[2024-11-30 09:53:52.228661] [0x0000796b6b24db00] [error]   error_code 65544, description: Wayland: Failed to connect to display

Expected Behavior

CLI slicing works

Steps To Reproduce

Run bash in container.
Run command: ./AppRun --slice 0 --debug 2 --export-3mf output.3mf /var/www/var/storage/default/674ae0a1be039file.stl

Environment

- OS:
- How docker service was installed:

CPU architecture

x86-64

Docker creation

Docker file:

FROM linuxserver/bambustudio:01.10.01

RUN apt update  &&\
    apt install -y php8.2-cli &&\
    apt clean

docker-compose service:


  slicer:
    build:
      context: docker/slicer
    working_dir: /var/www/
    volumes:
      - .:/var/www/


### Container logs

```bash
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
[2024-11-30 09:53:52.095925] [0x0000796b6b24db00] [error]   error_code 65544, description: Wayland: Failed to connect to display

[2024-11-30 09:53:52.095949] [0x0000796b6b24db00] [error]   glfwInit return error, code 65544

error: XDG_RUNTIME_DIR is invalid or not set in the environment.
[2024-11-30 09:53:52.228661] [0x0000796b6b24db00] [error]   error_code 65544, description: Wayland: Failed to connect to display

[2024-11-30 09:53:52.228674] [0x0000796b6b24db00] [error]   glfwInit return error, code 65544
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Issues
Development

No branches or pull requests

2 participants