Git Product home page Git Product logo

oxce-docker's People

Contributors

pedroterzero avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

oxce-docker's Issues

Failed to run on Mac (with Docker Desktop)

Describe the bug
Cannot start latest container on MacOs 11.1

$ ll -h
total 0
drwxr-xr-x  45 bekbasov  staff   1.4K Apr 27 12:14 TFTD
drwxr-xr-x  54 bekbasov  staff   1.7K Apr 27 12:13 UFO
drwxr-xr-x   2 bekbasov  staff    64B May 17 14:45 config
drwxr-xr-x   4 bekbasov  staff   128B May 17 14:47 user

$ docker run --name oxce -u "$(id -u):$(id -g)" -e DISPLAY -v "/tmp/.X11-unix:/tmp/.X11-unix" -v "/run/user/$(id -u)/pulse:/run/user/1000/pulse" -v "/etc/machine-id:/etc/machine-id" -v "${PWD}/config:/home/oxce/.config/openxcom" -v "${PWD}/UFO:/app/UFO" -v "${PWD}/TFTD:/app/TFTD" -v "${PWD}/user:/app/user" pedroterzero/oxce:latest
[17-05-2022_11-47-01]	[ERROR]	Failed to write //.config/openxcom/options.cfg: Couldn't open //.config/openxcom/options.cfg
[17-05-2022_11-47-01]	[WARN]	Failed to save //.config/openxcom/options.cfg
Error opening terminal: unknown.

Fails to run in ubuntu 22.10

Describe the bug
container fails to save options.cfg, then segfaults.
I guess it's related to permissions?

To Reproduce

  1. follow the command in dockerhub
docker run \
  --name oxce-docker-run \
  -u "$(id -u):$(id -g)" \
  -e DISPLAY \
  -v "/tmp/.X11-unix:/tmp/.X11-unix" \
  -v "/run/user/$(id -u)/pulse:/run/user/1000/pulse" \
  -v "/etc/machine-id:/etc/machine-id" \
  -v "${PWD}/config:/home/oxce/.config/openxcom" \
  -v "${PWD}/UFO:/app/UFO" \
  -v "${PWD}/TFTD:/app/TFTD" \
  -v "${PWD}/user:/app/user" \
  pedroterzero/oxce:latest
  1. it crashes
[23-02-2023_06-26-07]   [ERROR] Failed to write /home/oxce/.config/openxcom/options.cfg: Couldn't open /home/oxce/.config/openxcom/options.cfg
[23-02-2023_06-26-07]   [WARN]  Failed to save /home/oxce/.config/openxcom/options.cfg
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
OpenXcom has crashed: Segmentation fault.
Log file: ./user/openxcom.log
If this error was unexpected, please report it on OpenXcom forum or discord.
The following can help us solve the problem:
1. a saved game from just before the crash (helps 98%)
2. a detailed description how to reproduce the crash (helps 80%)
3. a log file (helps 10%)
4. a screenshot of this error message (helps 5%)

Desktop (please complete the following information):

  • OS: Ubuntu 22.10

Additional context

.
├── config
├── user
└── vendor
    └── original
        ├── TFTD
        └── UFO

tree result

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.