Code Monkey home page Code Monkey logo

Comments (5)

jezs00 avatar jezs00 commented on June 2, 2024

Check your install directory and path, could also possibly be a permissions issue. At least the last time you ran it, it couldn't find the config file and ran defaults, which would not output to the screen, just to mock epd. You can also check if that file is being created successfully.

2024-01-11 17:04:16 INFO /home/mini3/pycasso/.config does not exist. Copying /home/mini3/pycasso/examples/.config-example to /home/mini3/pycasso/.config

from pycasso.

Rocky56gh9 avatar Rocky56gh9 commented on June 2, 2024

Check your install directory and path, could also possibly be a permissions issue. At least the last time you ran it, it couldn't find the config file and ran defaults, which would not output to the screen, just to mock epd. You can also check if that file is being created successfully.

2024-01-11 17:04:16 INFO /home/mini3/pycasso/.config does not exist. Copying /home/mini3/pycasso/examples/.config-example to /home/mini3/pycasso/.config

Interesting. I did note that if I run "ls" from the root folder, the .config file is not even visible. I have to run sudo nano to open it otherwise it says I don't have permission. I'll see if I can figure out how to unlock the root.

from pycasso.

jezs00 avatar jezs00 commented on June 2, 2024

Yeah if that's the case and the directory paths in the error log are correct, then could likely be permission problems. Do a recursive chown and chmod to ensure that the user that runs pycasso has read write and execute for the directory and its contents.

from pycasso.

Rocky56gh9 avatar Rocky56gh9 commented on June 2, 2024

That was it! The .config file's permissions were assigned to root rather than with everything else. I had to manually create the images and prompts folder structures, but it's running now.

This is really nifty!

drwxr-xr-x 9 mini3 mini3 4096 Jan 11 20:05 .
drwxr-xr-x 3 mini3 mini3 4096 Jan 11 19:31 ..
-rw-r--r-- 1 root root 2205 Jan 11 20:05 .config
-rw-r--r-- 1 mini3 mini3 9429 Jan 11 19:31 .config_1
-rw-r--r-- 1 mini3 mini3 146 Jan 11 20:05 .creds
drwxr-xr-x 4 mini3 mini3 4096 Jan 11 19:31 examples
drwxr-xr-x 8 mini3 mini3 4096 Jan 11 19:31 .git
drwxr-xr-x 3 mini3 mini3 4096 Jan 11 19:31 .github
-rw-r--r-- 1 mini3 mini3 2053 Jan 11 19:31 .gitignore
-rw-r--r-- 1 mini3 mini3 1068 Jan 11 19:31 LICENSE
-rw-r--r-- 1 mini3 mini3 314 Jan 11 19:31 pycasso.service.template
-rw-r--r-- 1 mini3 mini3 80 Jan 11 19:31 pyproject.toml
-rw-r--r-- 1 mini3 mini3 77 Jan 11 19:31 pytest.ini
-rw-r--r-- 1 mini3 mini3 28128 Jan 11 19:31 README.md
-rw-r--r-- 1 mini3 mini3 210 Jan 11 19:31 requirements.txt
drwxr-xr-x 4 mini3 mini3 4096 Jan 11 19:31 resources
drwxr-xr-x 2 mini3 mini3 4096 Jan 11 19:31 scripts
-rw-r--r-- 1 mini3 mini3 982 Jan 11 19:31 setup.cfg
-rw-r--r-- 1 mini3 mini3 37 Jan 11 19:31 setup.py
-rw-r--r-- 1 mini3 mini3 11732 Jan 11 19:31 setup.sh
drwxr-xr-x 3 mini3 mini3 4096 Jan 11 19:31 src
drwxr-xr-x 7 mini3 mini3 4096 Jan 11 19:31 tests
mini3@mini3:/pycasso $ sudo chown mini3:mini3 .config
mini3@mini3:
/pycasso $ ls -la
total 128
drwxr-xr-x 9 mini3 mini3 4096 Jan 11 20:05 .
drwxr-xr-x 3 mini3 mini3 4096 Jan 11 19:31 ..
-rw-r--r-- 1 mini3 mini3 2205 Jan 11 20:05 .config
-rw-r--r-- 1 mini3 mini3 9429 Jan 11 19:31 .config_1
-rw-r--r-- 1 mini3 mini3 146 Jan 11 20:05 .creds
drwxr-xr-x 4 mini3 mini3 4096 Jan 11 19:31 examples
drwxr-xr-x 8 mini3 mini3 4096 Jan 11 19:31 .git
drwxr-xr-x 3 mini3 mini3 4096 Jan 11 19:31 .github
-rw-r--r-- 1 mini3 mini3 2053 Jan 11 19:31 .gitignore
-rw-r--r-- 1 mini3 mini3 1068 Jan 11 19:31 LICENSE
-rw-r--r-- 1 mini3 mini3 314 Jan 11 19:31 pycasso.service.template
-rw-r--r-- 1 mini3 mini3 80 Jan 11 19:31 pyproject.toml
-rw-r--r-- 1 mini3 mini3 77 Jan 11 19:31 pytest.ini
-rw-r--r-- 1 mini3 mini3 28128 Jan 11 19:31 README.md
-rw-r--r-- 1 mini3 mini3 210 Jan 11 19:31 requirements.txt
drwxr-xr-x 4 mini3 mini3 4096 Jan 11 19:31 resources
drwxr-xr-x 2 mini3 mini3 4096 Jan 11 19:31 scripts
-rw-r--r-- 1 mini3 mini3 982 Jan 11 19:31 setup.cfg
-rw-r--r-- 1 mini3 mini3 37 Jan 11 19:31 setup.py
-rw-r--r-- 1 mini3 mini3 11732 Jan 11 19:31 setup.sh
drwxr-xr-x 3 mini3 mini3 4096 Jan 11 19:31 src
drwxr-xr-x 7 mini3 mini3 4096 Jan 11 19:31 tests

from pycasso.

jezs00 avatar jezs00 commented on June 2, 2024

Thanks mate, have fun

from pycasso.

Related Issues (20)

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.