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

元素收集 报错 #1

Open
ntuwang opened this issue Dec 31, 2017 · 0 comments
Open

元素收集 报错 #1

ntuwang opened this issue Dec 31, 2017 · 0 comments

Comments

@ntuwang
Copy link

ntuwang commented Dec 31, 2017

Hi 大神
我使用元素收集,点击 跳转显示OK,但celery 如下报错,元素查询 确实没有数据。(pymysql的源码我也修改的)
[2017-12-31 08:37:41,217: ERROR/PoolWorker-2] Task dbms.tasks.get_matedata[8a50b951-c61f-472c-81df-945adc17e36c] raised unexpected: Error('Already closed',)
Traceback (most recent call last):
File "/home/wangchao/.virtualenvs/aquila_v2/lib/python3.5/site-packages/celery/app/trace.py", line 367, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/wangchao/.virtualenvs/aquila_v2/lib/python3.5/site-packages/celery/app/trace.py", line 622, in protected_call
return self.run(*args, **kwargs)
File "/home/wangchao/PycharmProjects/djdba/dbms/tasks.py", line 83, in get_matedata
conn_info.clean_item()
File "/home/wangchao/PycharmProjects/djdba/dbms/tasks.py", line 405, in clean_item
self.cur.close()
File "/home/wangchao/PycharmProjects/djdba/scripts/functions.py", line 64, in close
self.conn.close()
File "/home/wangchao/.virtualenvs/aquila_v2/lib/python3.5/site-packages/pymysql/connections.py", line 728, in close
raise err.Error("Already closed")
pymysql.err.Error: Already closed

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