Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Path' object has no attribute 'abspath'? #156

Open
brightmann opened this issue Nov 4, 2024 · 2 comments
Open

'Path' object has no attribute 'abspath'? #156

brightmann opened this issue Nov 4, 2024 · 2 comments

Comments

@brightmann
Copy link

hi.

(dev) root@racknerd-626f077:/usr/local/prosopopee/example# prosopopee build
2024-11-04 01:59:11,805 ERROR (utils.py:85) - 'Path' object has no attribute 'abspath'
Traceback (most recent call last):
File "/root/dev/lib/python3.10/site-packages/prosopopee/utils.py", line 70, in load_settings
Path(".").joinpath(folder, "settings.yaml").abspath(), "r"
AttributeError: 'Path' object has no attribute 'abspath'
(dev) root@racknerd-626f077:/usr/local/prosopopee/example#

how to fix it?
thank u!

@SpiritInAShell
Copy link

Same problem.

I dug into the code, used the repo version instead of pip (there is a 3 year difference!), I talked to Chat-Geppiddy, and I got nowhere.

I accidentally found https://github.com/recitale/recitale which is a fork of prosopopee (which appears to be itself a fork of of a not anymore existing repo under https://github.com/exposure)

i ran: venv:
0. python3 -m venv recitale.venv and started bin/activate.*

  1. pip3 install recitale
  2. git clone https://github.com/recitale/recitale.git
  3. cd recitale/examples
  4. recitale and it worked out of the box on the examples.

@brightmann
Copy link
Author

@SpiritInAShell ,thank u very much. it does work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants