Problem with make_project

Message boards : Server programs : Problem with make_project
Message board moderation

To post messages, you must log in.

AuthorMessage
kiopzx

Send message
Joined: 19 Dec 09
Posts: 2
Chile
Message 30266 - Posted: 19 Dec 2009, 15:05:32 UTC

Hello.
Yesterday, I downloaded Boinc by the command:
svn co http://boinc.berkeley.edu/svn/trunk/boinc

Given by:
http://www.boinc-wiki.info/Creating_a_Project_-_Getting_the_source
Well,I run the boinc under Ubuntu 9.04 operative system and I have python-mysqldb and I have python 2.6
I have some problem when I make a project(which I search by this forum and google but I don't find anything):


Traceback (most recent call last):
File "./make_project", line 226, in <module>
project.install_project()
File "/home/myuser/boinc/py/Boinc/setup_project.py", line 533, in install_project
drop_first = options.drop_db_first
File "/home/myuser/boinc/py/Boinc/database.py", line 264, in create_database
connect(config, nodb=True)
File "/home/myuser/boinc/py/Boinc/database.py", line 251, in connect
passwd=config.__dict__.get('db_passwd', ''))
File "/home/myuser/boinc/py/Boinc/db_base.py", line 498, in do_connect
cursorclass=MySQLdb.cursors.DictCursor)
File "/var/lib/python-support/python2.6/MySQLdb/__init__.py", line 74, in Connect
return Connection(*args, **kwargs)
File "/var/lib/python-support/python2.6/MySQLdb/connections.py", line 170, in __init__
super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (1045, "Access denied for user 'myuser'@'localhost' (using password: NO)")

Before of this warning I have:

var/lib/python-support/python2.6/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/home/myuser/boinc/py/Boinc/tools.py:4: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import os, md5, shutil, binascii, filecmp


I hope I received some answers
ID: 30266 · Report as offensive
Rehabaam
Avatar

Send message
Joined: 18 Jun 10
Posts: 1
Syria
Message 33445 - Posted: 18 Jun 2010, 19:03:18 UTC - in response to Message 30266.  

Hi klopzx,
The solution for your problem is fairly easy. Just remove root's password (no need for password) and everything will work like a charm.
B.R
ID: 33445 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 33508 - Posted: 23 Jun 2010, 22:39:14 UTC - in response to Message 30266.  

You need to pass --db_passwd= to make_project, with the password corresponding to your MySQL user.
ID: 33508 · Report as offensive

Message boards : Server programs : Problem with make_project

Copyright © 2024 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.