Project

General

Profile

Actions

Bug #9527

open

myami-pymysql fails sinedon.directq connection ping function from trunk

Added by Anchi Cheng about 4 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
11/11/2020
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.5
Show in known bugs:
No
Workaround:

Description

  File "/usr/lib/python2.7/site-packages/sinedon/directq.py", line 32, in ping
    if db.stat() == 'MySQL server has gone away':
AttributeError: 'Connection' object has no attribute 'stat'

pymysql syntax and function is different from mysqldb. It has built-in reconnection when calls own its connection.ping

No data to display

Actions

Also available in: Atom PDF