xadd error

Message boards : Server programs : xadd error
Message board moderation

To post messages, you must log in.

AuthorMessage
pjenviri

Send message
Joined: 26 Jun 15
Posts: 2
Thailand
Message 62767 - Posted: 26 Jun 2015, 13:17:32 UTC

Hello experts,
I got an error when I try to run bin/xadd command.

user014@ubuntu:/var/lib/boinc-server-test/boinctest$ sudo bin/xadd 
Processing <App#None upper_case> ...
Traceback (most recent call last):
  File "bin/xadd", line 27, in <module>
    projectxml.default_project().commit_all()
  File "/var/lib/boinc-server-test/boinctest/py/Boinc/projectxml.py", line 43, in commit_all
    do_add_object(add_object, untranslated_args_dict, skip_old=True)
  File "/var/lib/boinc-server-test/boinctest/py/Boinc/add_util.py", line 165, in do_add_object
    dbobject.commit()
  File "/var/lib/boinc-server-test/boinctest/py/Boinc/db_base.py", line 471, in commit
    self._commit_params(self._table.objdict2database_fields(self.__dict__, self._lazy_lookups))
  File "/var/lib/boinc-server-test/boinctest/py/Boinc/db_base.py", line 467, in _commit_params
    self.id = _commit_object(self._table.table, paramdict, self.id)
  File "/var/lib/boinc-server-test/boinctest/py/Boinc/db_base.py", line 82, in _commit_object
    equalcommands.append("%s='%s'"%(key,dbconnection.escape_string(str(value))))
TypeError: must be impossible<bad format char>, not str


Please suggest me how can I solve this issue.

With thanks,
PJenviri

PS. Here is my project.xml:
<boinc>
 <app>
  <name>upper_case</name>
  <user_friendly_name>upperCASE</user_friendly_name>
 </app>
 <platform>
  <name>i686-pc-linux-gnu</name>
  <user_friendly_name>Linux/x86 32bit</user_friendly_name>
 </platform>
 <platform>
  <name>x86_64-pc-linux-gnu</name>
  <user_friendly_name>Linux/amd64 64bit</user_friendly_name>
 </platform>
</boinc>
ID: 62767 · Report as offensive
rebirther
Avatar

Send message
Joined: 21 Jun 06
Posts: 156
Germany
Message 62768 - Posted: 26 Jun 2015, 19:23:32 UTC
Last modified: 26 Jun 2015, 19:23:56 UTC

I dont know if the error is related to the special characters in project.xml but try to change the lines without "/"

<user_friendly_name>Linux x86 32bit</user_friendly_name>
ID: 62768 · Report as offensive
rebirther
Avatar

Send message
Joined: 21 Jun 06
Posts: 156
Germany
Message 62776 - Posted: 27 Jun 2015, 12:19:05 UTC - in response to Message 62768.  

I dont know if the error is related to the special characters in project.xml but try to change the lines without "/"

<user_friendly_name>Linux x86 32bit</user_friendly_name>


We are using also special characters at BU so the problem could be the python or mysql version which you have installed.
ID: 62776 · Report as offensive

Message boards : Server programs : xadd error

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.