You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: