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

build / start not working #81

Closed
lwinfree opened this issue Aug 23, 2021 · 4 comments
Closed

build / start not working #81

lwinfree opened this issue Aug 23, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@lwinfree
Copy link
Member

Hi @roll! I am going through the docs and am getting errors when trying to build / start the site.

First, I created a new project without an index.md and got errors, and I also tried it after creating an index.md file and got the same errors. Here are the errors:

livemark build:
'str' object has no attribute 'setdefault'

I also tried livemark start & got an error:
AttributeError: 'str' object has no attribute 'copy'

Then, I tried building the site from this repo and also got errors.

livemark build:
to_snap() got an unexpected keyword argument 'json'

and

livemark start:
TypeError: to_snap() got an unexpected keyword argument 'json'

I'm on Python 3.8 & Livemark 0.39.0

Any ideas? Thanks!

@roll roll added the bug Something isn't working label Aug 24, 2021
@roll
Copy link
Member

roll commented Aug 25, 2021

Hi @lwinfree,

Please try:

pip install --upgrade frictionless
pip install --upgrade livemark

I think it's fixed in the latest versions

@roll roll closed this as completed Aug 25, 2021
@lwinfree
Copy link
Member Author

@roll I'm still getting an error (although it is different now!)

livemark build :
[Errno 2] No such file or directory: '/usr/local/opt/pyenv/versions/3.8.1/lib/python3.8/site-packages/livemark/plugins/table/markup.html'

livemark start :
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/opt/pyenv/versions/3.8.1/lib/python3.8/site-packages/livemark/plugins/table/markup.html'

This is after upgrading both frictionless (v 4.16.2) & livemark (v 0.44), and within the livemark directory (which I just did a git pull on, so it is updated too)

@lwinfree lwinfree reopened this Aug 25, 2021
@roll
Copy link
Member

roll commented Aug 25, 2021

@lwinfree
It seems that something is wrong with the virtualenv.

It's anyway better to try in a new directory (not a livemark one) so it will be closer to a new user. It's also fine just to use a system python

@roll
Copy link
Member

roll commented Aug 25, 2021

FIXED in livemark@0.45

@roll roll closed this as completed Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants