Roundup Tracker - Issues

Message4482

Author schlatterbeck
Recipients richardgmcmahon, schlatterbeck
Date 2012-01-05.21:49:05
Message-id <1325800145.41.0.730974342597.issue2550539@psf.upfronthosting.co.za>
In-reply-to
I would suggest the following patch, can someone with a macos check if
the problem is still present and if yes, test the following patch?

--- a/roundup/backends/__init__.py
+++ b/roundup/backends/__init__.py
@@ -67,6 +67,9 @@ def have_backend(name):
         for name in _modules.get(name, (name,)):
             if str(e).startswith('No module named %s'%name):
                 return 0
+            myslerr = 'Cannot load MySQL client libraries'
+            if name == 'mysql' and str(e).startswith(myslerr):
+                return 0
         raise
     return 0
History
Date User Action Args
2012-01-05 21:49:05schlatterbecksetmessageid: <1325800145.41.0.730974342597.issue2550539@psf.upfronthosting.co.za>
2012-01-05 21:49:05schlatterbecksetrecipients: + schlatterbeck, richardgmcmahon
2012-01-05 21:49:05schlatterbecklinkissue2550539 messages
2012-01-05 21:49:05schlatterbeckcreate