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

jrnl wont run after setup #661

Closed
majkaz opened this issue Sep 25, 2019 · 6 comments
Closed

jrnl wont run after setup #661

majkaz opened this issue Sep 25, 2019 · 6 comments
Labels
bug Something isn't working 🔒 Outdated
Milestone

Comments

@majkaz
Copy link

majkaz commented Sep 25, 2019

I have just installed the pypi version on win 10 using cygwin, and python3 installed as part of cygwin, not as standalone win app.

The installation runs fine, the first initialisation is without any problems. The first entry in journal.txt is created.

On the next run however, following error message comes up:

Traceback (most recent call last):
  File "/usr/bin/jrnl", line 10, in <module>
    sys.exit(run())
  File "/usr/lib/python3.6/site-packages/jrnl/cli.py", line 146, in run
    config = install.load_or_install_jrnl()
  File "/usr/lib/python3.6/site-packages/jrnl/install.py", line 88, in load_or_install_jrnl
    config = util.load_config(config_path)
  File "/usr/lib/python3.6/site-packages/jrnl/util.py", line 144, in load_config
    return yaml.load(f, Loader=yaml.FullLoader)
AttributeError: module 'yaml' has no attribute 'FullLoader'

Is this a problem with the python version or it is something else?

@wren
Copy link
Member

wren commented Sep 25, 2019

This is a problem with required modules. There's a PR for a fix of this (#660), that we'll test and put into a release soon.

@wren wren added the bug Something isn't working label Sep 25, 2019
@wren wren added this to the v2.0.1 milestone Sep 25, 2019
@majkaz
Copy link
Author

majkaz commented Sep 26, 2019

Thanks for the explanation. In my case, the solution was simply to update pyyaml.

@wren wren closed this as completed Oct 5, 2019
@jrmoreau
Copy link

Thanks for the explanation. In my case, the solution was simply to update pyyaml.

how did you do this?

@wren
Copy link
Member

wren commented Jan 20, 2020

@jrmoreau pip install --upgrade pyyaml is the direct answer to your question.

You shouldn't need to do this with the latest jrnl, though (this issue has been fixed for a while). What version are you running?

@lock
Copy link

lock bot commented May 20, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the 🔒 Outdated label May 20, 2020
@lock
Copy link

lock bot commented May 20, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working 🔒 Outdated
Projects
None yet
Development

No branches or pull requests

3 participants