OpenSourcePhysics / tracker

Video analysis and modeling tool built on the Open Source Physics framework
GNU General Public License v3.0
206 stars 52 forks source link

Installation on Ubuntu 20.04 crashes #36

Open koenr opened 3 years ago

koenr commented 3 years ago

The installation stops with

Er is een fout opgetreden. Fout bij lezen uit bestand /root/.config/user-dirs.dirs

(an error occured. Error reading file /root/.config/users-dirs.dirs)

The problem is that the file /root/.config/users-dirs.dirs doesn't exists. Workaround: It can be created by typing sudo xdg-user-dirs-update. After that the installer runs.

cocoa1231 commented 3 years ago

Can confirm this error exists in Debian unstable

[debbiecocoa@debian ~ ]$ cat /etc/os-release            
PRETTY_NAME="Debian GNU/Linux bullseye/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
[debbiecocoa@debian ~ ]$ uname -a      
Linux debian 5.10.0-3-amd64 #1 SMP Debian 5.10.13-1 (2021-02-06) x86_64 GNU/Linux
[debbiecocoa@debian ~ ]$ java --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-post-Debian-1)
OpenJDK 64-Bit Server VM (build 11.0.10+9-post-Debian-1, mixed mode, sharing)
wakeupingear commented 3 years ago

Having the same issue on Pop!_OS 20.10.

There has been an error.
Error reading file /root/.config/user-dirs.dirs
wakeupingear commented 3 years ago

Found a workaround. Tracker is expecting xdg-user to be configured in root, but it may have been installed for your local user. To fix temporarily, copy the user-dirs.dir from ~/.config into /root/.config.