I don't understand that Python error, so I rewrote "xadd" in PHP.
Please try the new version.
-- David

On 27-Jun-2015 12:08 PM, Patcharaporn Jenviriyakul wrote:
Dear David,

The version of mysql on my server is 14.14 Distrib 5.5.43, for debian-linux-gnu (x86_64) using readline 6.3.

Best,
Patcharaporn


On Sat, Jun 27, 2015 at 8:17 AM, David Anderson <[email protected] <mailto:[email protected]>> wrote:

    What version of MySQL are you using?
    (see mysql --version)
    -- David


    On 26-Jun-2015 7:08 AM, Patcharaporn Jenviriyakul wrote:

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

        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 <http://self.id> = _commit_object(self._table.table,
            paramdict, self.id <http://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. Sorry if it's a dummy
        question, I am totally new to BOINC.

        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>

        _______________________________________________
        boinc_dev mailing list
        [email protected] <mailto:[email protected]>
        http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
        To unsubscribe, visit the above URL and
        (near bottom of page) enter your email address.


    _______________________________________________
    boinc_dev mailing list
    [email protected] <mailto:[email protected]>
    http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
    To unsubscribe, visit the above URL and
    (near bottom of page) enter your email address.



_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to