Processing 3.3.6 - Could not save the Preference File

edited January 2018 in Raspberry PI

Hello, i want to run on my raspberry 3 with raspbian processing 3.3.6. After the flawless installation (curl hhtps://processing.org/download/install-arm.sh | sudo sh), i get the start of processing (whether by start over terminal or menu) following error: "Could not save the Preference File".

What is the problem there. Thanks

Answers

  • @merida That's odd? You're using a stock (full) Raspbian distribution? Are you running as the default "pi" user?

    What's the output when you do ls -l ~/.processing/preferences.txt? (Also try with ~/.processing and ~.)

  • edited January 2018

    Thank you for the answer.

    Yes, i use stock (full) raspbian distribution und yes i running as the default "pi" user.

    output:

    pi@raspberrypi:~ $ ls -l ~/.processing/preferences.txt
    -rw-rw-rw- 1 root root 3087 Jan 10 15:00 /home/pi/.processing/preferences.txt
    
    pi@raspberrypi:~ $ ls -l ~/.processing
    insgesamt 112
    drwxrwxrwx 2 root root  4096 Jan 15 08:31 console
    -rw-r--r-- 1 root root 95030 Jan 10 14:12 contribs.txt
    -rw-rw-rw- 1 root root     2 Jan 10 14:12 language.txt
    -rw-rw-rw- 1 root root  3087 Jan 10 14:12 preferences.old
    -rw-rw-rw- 1 root root  3087 Jan 10 15:00 preferences.txt
    
    pi@raspberrypi:~ $ ls -l ~ .
    .:
    insgesamt 76
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:41 Bilder
    -rw-------  1 root root  331 Jan 12 20:12 blink11.py
    -rwxr--r--  1 root root  297 Jan 12 20:12 Desktop
    drwxr-xr-x  5 pi   pi   4096 Jan 12 21:05 Documents
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:41 Dokumente
    drwxr-xr-x  3 pi   pi   4096 Jan 10 10:48 Downloads
    drwxr-xr-x  4 pi   pi   4096 Jan 10 16:46 install
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:41 Musik
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:41 Öffentlich
    drwxr-xr-x  4 pi   pi   4096 Jan  9 22:49 oldconffiles
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:11 python_games
    drwxr-xr-x  2 pi   pi   4096 Jan 12 20:39 Schreibtisch
    drwxr-xr-x  2 pi   pi   4096 Jan 12 13:52 Scratch
    drwxr-xr-x  2 pi   pi   4096 Jan 12 20:16 simplesi_scratch_handler
    drwxr-xr-x  7 root root 4096 Jan 10 14:12 sketchbook
    drwxr-xr-t  2 pi   pi   4096 Dez 28 20:21 thinclient_drives
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:41 Videos
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:41 Vorlagen
    drwxr-xr-x 11 pi   pi   4096 Jan 12 20:31 wiringPi
    
    /home/pi:
    insgesamt 76
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:41 Bilder
    -rw-------  1 root root  331 Jan 12 20:12 blink11.py
    -rwxr--r--  1 root root  297 Jan 12 20:12 Desktop
    drwxr-xr-x  5 pi   pi   4096 Jan 12 21:05 Documents
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:41 Dokumente
    drwxr-xr-x  3 pi   pi   4096 Jan 10 10:48 Downloads
    drwxr-xr-x  4 pi   pi   4096 Jan 10 16:46 install
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:41 Musik
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:41 Öffentlich
    drwxr-xr-x  4 pi   pi   4096 Jan  9 22:49 oldconffiles
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:11 python_games
    drwxr-xr-x  2 pi   pi   4096 Jan 12 20:39 Schreibtisch
    drwxr-xr-x  2 pi   pi   4096 Jan 12 13:52 Scratch
    drwxr-xr-x  2 pi   pi   4096 Jan 12 20:16 simplesi_scratch_handler
    drwxr-xr-x  7 root root 4096 Jan 10 14:12 sketchbook
    drwxr-xr-t  2 pi   pi   4096 Dez 28 20:21 thinclient_drives
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:41 Videos
    drwxr-xr-x  2 pi   pi   4096 Aug 16 03:41 Vorlagen
    drwxr-xr-x 11 pi   pi   4096 Jan 12 20:31 wiringPi
    
  • edited January 2018

    If I switch to root with "sudo su", the error message does not come anymore.

    But does not that quite right "rw" does not mean that other users (even pi) have write permissions?

    pi@raspberrypi:~ $ ls -l ~/.processing/preferences.txt
    -rw-rw-rw- 1 root root 3087 Jan 10 15:00 /home/pi/.processing/preferences.txt)
    

    What should I change to start "processing" under pi correctly?

  • You must have executed Processing as root the the firs time it was run. This created a preferences.txt, which your normal user can't modify any longer.

    Delete your preferences by executing sudo rm -Rf /home/pi/.processing.

Sign In or Register to comment.