Comments (5)
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.
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.
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.
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/pycasso $ ls -la
mini3@mini3:
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.
Thanks mate, have fun
from pycasso.
Related Issues (20)
- ModuleNotFoundError: No module named 'piblo' HOT 21
- Configuration Migrator
- Update Readme
- Installation on RasPi Zero GRPCIO fix not working HOT 1
- Rotating screen to portrait HOT 9
- Saved images are original 512x512 rather than in-filled picture HOT 5
- "Multiple" image on resultant .png file HOT 2
- A few minor things and a thank you - Bash script pycasso install HOT 14
- Fix up stable diffusion provider
- Add negative prompts for stable API
- New: Text read from file rather than image prompt HOT 4
- Override text wrapping HOT 1
- TFT-Screen HOT 1
- Don't post image to socials if it's the test image
- Error Building wheel for Pillow (PEP 517) HOT 2
- Dalle Image generation not working HOT 5
- ModuleNotFoundError: No module named 'piblo' on install HOT 1
- multiple generation lines HOT 4
- Idea for prompt HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycasso.