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

UserWarning: No parser was explicitly specified ... #364

Open
maelcum opened this issue Aug 5, 2016 · 0 comments
Open

UserWarning: No parser was explicitly specified ... #364

maelcum opened this issue Aug 5, 2016 · 0 comments

Comments

@maelcum
Copy link

maelcum commented Aug 5, 2016

Hello,

after installing geeknote (as described on github) on a MacBook OS X 10.11.6 I get the following error whenever a note is edited.

Does anybody has the same problem and can point me to a solution?

Thanks!

Creation works nicely:
$ geeknote create --title "geeknote" --content "best. evernote. client. ever."
Note has been successfully created.

Edit works as well, but has a lot of error messages going with it:

$ geeknote edit --note "geeknote" --content "WRITE"
 >> : Connect to Evernote.../Library/Python/2.7/site-packages/beautifulsoup4-4.5.1-py2.7.egg/bs4/__init__.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.

The code that caused this warning is on line 9 of the file /usr/local/bin/geeknote. To get rid of this warning, change code that looks like this:

 BeautifulSoup([your markup])

to this:

 BeautifulSoup([your markup], "lxml")

Note has been successfully saved.       

Should I really edit the source of geeknote? No problem, but I assume updates would break this again...

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

1 participant