Building Boinc on SUSE 10 Linux

Message boards : Server programs : Building Boinc on SUSE 10 Linux
Message board moderation

To post messages, you must log in.

AuthorMessage
David

Send message
Joined: 16 May 06
Posts: 1
United States
Message 4360 - Posted: 16 May 2006, 18:54:49 UTC

Dear All,

I am quite new to Boinc.

My system is:
Suse Linux 10
MySQL 4.1.13
Php 4.4.0
mysqldb 1.2.1
Python 2.4.1

It seemed I successfully installed mysqldb and boinc since there was no error. After that, I entered boinc/tools, and tried to create a new project with "make_project cplan". Unfortunately, Python reported some errors like followings:

File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line 34, in ? from sets import ImmutableSet
ImportError: cannot import name ImmutableSet

I guess it might be a problem associated with mysqldb or python.

Any inputs are very welcome!!

Many thanks

David
ID: 4360 · Report as offensive
andreas

Send message
Joined: 16 Jun 06
Posts: 1
Iceland
Message 4739 - Posted: 16 Jun 2006, 16:40:53 UTC

Hi MR.

I experienced the same problem when running the test/test_sanity.py script with python2.4 and MySQLdb1.2.1

I found a fix on the following page:

http://code.djangoproject.com/wiki/InstallationPitfalls

In short.
1 Goto the site-packages library for your current version of python and MySQLdb. (In my case: /usr/lib/python2.4/site-packages/MySQLdb)

2 Remove: sets.py, sets.pyc and sets.pyo

Everything was set :-) then in my case.

Cheers Andreas
ID: 4739 · Report as offensive

Message boards : Server programs : Building Boinc on SUSE 10 Linux

Copyright © 2018 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.