Issue 2550539
Created on 2009-04-23 22:29 by richardgmcmahon, last changed 2019-10-11 00:59 by rouilj.
Messages | |||
---|---|---|---|
msg3695 | Author: [hidden] (richardgmcmahon) | Date: 2009-04-23 22:29 | |
I am trying to install roundup-1.4.8 on a Macos 10.5 laptop. The demo runs OK and setup.py install rgm@caml18(/data/superstore/rgm/soft/roundup/roundup-1.4.8){39}> sudo roundup-admin install Enter tracker home: /roundup Templates: classic-demo, minimal, classic Select template [classic]: After I type space I get a page of error messages that ends with: ImportError: Cannot load MySQL client libraries. The MySQL client must be installed before this package can be used. I do not have MySQL and plan to use Sqlite as the backend. The full page of errors is below: rgm@caml18(/data/superstore/rgm/soft/roundup/roundup-1.4.8){40}> sudo roundup-ad min install Enter tracker home: /roundup Templates: classic-demo, minimal, classic Select template [classic]: classic Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/Current/bin/roundup-admin" , line 3, in <module> run() File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/si te-packages/roundup/scripts/roundup_admin.py", line 38, in run sys.exit(tool.main()) File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/si te-packages/roundup/admin.py", line 1526, in main ret = self.run_command(args) File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/si te-packages/roundup/admin.py", line 1410, in run_command return self.do_install(self.tracker_home, args) File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/si te-packages/roundup/admin.py", line 407, in do_install backends = roundup.backends.list_backends() File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/si te-packages/roundup/backends/__init__.py", line 84, in list_backends if have_backend(name): File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/si te-packages/roundup/backends/__init__.py", line 66, in have_backend get_backend(name) File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/si te-packages/roundup/backends/__init__.py", line 46, in get_backend module = __import__(module_name, vars) File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/si te-packages/roundup/backends/back_mysql.py", line 38, in <module> import MySQLdb File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/si te-packages/MySQL_python-1.2.2.0003-py2.5-macosx-10.3-fat.egg/MySQLdb/__init__.p y", line 22, in <module> raise ImportError('Cannot load MySQL client libraries. '\ ImportError: Cannot load MySQL client libraries. The MySQL client must be instal led before this package can be used. |
|||
msg4482 | Author: [hidden] (schlatterbeck) | Date: 2012-01-05 21:49 | |
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 |
|||
msg6725 | Author: [hidden] (rouilj) | Date: 2019-10-11 00:59 | |
Closing as abandoned. We haven't had any interaction in years and apparently no mac users. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2019-10-11 00:59:05 | rouilj | set | priority: normal status: new -> closed resolution: abandoned messages: + msg6725 nosy: + rouilj |
2019-10-06 23:29:12 | rouilj | set | keywords: + OS-OSX |
2018-06-06 23:44:20 | rouilj | set | type: crash |
2016-07-02 20:26:45 | rouilj | set | assignee: rouilj |
2016-06-27 02:26:34 | rouilj | set | keywords: + patch |
2012-01-05 21:49:05 | schlatterbeck | set | nosy:
+ schlatterbeck messages: + msg4482 |
2009-04-23 22:29:52 | richardgmcmahon | create |