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

python3.5下 执行报错 #5

Closed
Knight-ZXW opened this issue Mar 8, 2019 · 1 comment
Closed

python3.5下 执行报错 #5

Knight-ZXW opened this issue Mar 8, 2019 · 1 comment

Comments

@Knight-ZXW
Copy link

Traceback (most recent call last):
File "/Users/hb/code/pyhtonproject/Delete-my-hisroy-in-tieba/DeleteMyHistory.py", line 254, in
main()
File "/Users/hb/code/pyhtonproject/Delete-my-hisroy-in-tieba/DeleteMyHistory.py", line 218, in main
threadList = getThreadList(sess, config["thread"]["start"], config["thread"]["end"])
File "/Users/hb/code/pyhtonproject/Delete-my-hisroy-in-tieba/DeleteMyHistory.py", line 47, in getThreadList
html = bs4.BeautifulSoup(res.text, "lxml")
File "/Users/hb/code/art/ArtAppBackend/pyenv/lib/python3.5/site-packages/bs4/init.py", line 281, in init
self._feed()
File "/Users/hb/code/art/ArtAppBackend/pyenv/lib/python3.5/site-packages/bs4/init.py", line 342, in _feed
self.builder.feed(self.markup)
File "/Users/hb/code/art/ArtAppBackend/pyenv/lib/python3.5/site-packages/bs4/builder/_lxml.py", line 287, in feed
self.parser.feed(markup)
File "src/lxml/parser.pxi", line 1242, in lxml.etree._FeedParser.feed
File "src/lxml/parser.pxi", line 1285, in lxml.etree._FeedParser.feed
File "src/lxml/parser.pxi", line 855, in lxml.etree._BaseParser._getPushParserContext
File "src/lxml/parser.pxi", line 872, in lxml.etree._BaseParser._createContext
File "src/lxml/parsertarget.pxi", line 111, in lxml.etree._TargetParserContext._setTarget
File "src/lxml/parsertarget.pxi", line 41, in lxml.etree._PythonSaxParserTarget.cinit
File "/Users/hb/.pyenv/versions/stackless-3.5.4/lib/python3.5/inspect.py", line 1057, in getfullargspec
def getfullargspec(func):
SystemError: error return without exception set

@rmb122
Copy link
Owner

rmb122 commented Mar 11, 2019

Traceback 到 lxml 里面去了 0.0 换个 python 版本试试 感觉有点玄学

@rmb122 rmb122 closed this as completed Jun 14, 2020
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