Le Forum de l'Alliance Francophone

Nouvelles:

Auteur Sujet: Signature for BOINC users website  (Lu 1859 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne Frank

  • P'tit Nouveau
  • *
  • Messages: 14
  •   
le: 11 November 2018 à 10:30
Hello,
i`m not sure if the Taverne is the right place for my problem, but maybe i`ll find help here...?
I`ve tried to register in the forum of the Signature-Website to write a bug-report, but the forum said : Sorry, but we think you are bot. You cant register on this forum.  :cpopossib: :cry:

If i want to see my next badges on the site, behind all WCG-Projects i see Wrong Verification code.
I insert my Verification Code, press OK and see the following:
MOD_PYTHON ERROR

ProcessId:      31689
Interpreter:    'signature.statseb.fr'

ServerName:     'signature.statseb.fr'
DocumentRoot:   '/web/sebastien/Stats_users/html'

URI:            '/next_badges.py'
Location:       None
Directory:      '/web/sebastien/Stats_users/html/'
Filename:       '/web/sebastien/Stats_users/html/next_badges.py'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'mod_python.publisher'

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target
    result = object(arg)

  File "/usr/lib/python2.7/dist-packages/mod_python/publisher.py", line 213, in handler
    published = publish_object(req, object)

  File "/usr/lib/python2.7/dist-packages/mod_python/publisher.py", line 425, in publish_object
    return publish_object(req,util.apply_fs_data(object, req.form, req=req))

  File "/usr/lib/python2.7/dist-packages/mod_python/util.py", line 554, in apply_fs_data
    return object(**args)

  File "/web/sebastien/Stats_users/html/next_badges.py", line 86, in index
    cur.execute('UPDATE wcg_code SET wcg_code="'+wcg_code+'" WHERE userid='+str(userid))

  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)

  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue

OperationalError: (1054, "Unknown column 'wcg_code' in 'field list'")


MODULE CACHE DETAILS

Accessed:       Sun Nov 11 10:27:38 2018
Generation:     2

_mp_b0806b6c9e1ad12476d1f082bc16ac90 {
  FileName:     '/web/sebastien/Stats_users/html/next_badges.py'
  Instance:     1 [IMPORT]
  Generation:   3
  Modified:     Sun Oct 28 16:20:17 2018
  Imported:     Sun Nov 11 10:27:38 2018
}

Could this be fixed please ?  Thanks a lot !  :love:
Frank


Hors ligne Sébastien

  • Gentil admin
  • Boinc'eur devant l'éternel
  • *******
  • Messages: 2455
  •   
Réponse #1 le: 11 November 2018 à 13:08
I fixed the problem.



Hors ligne Frank

  • P'tit Nouveau
  • *
  • Messages: 14
  •   
Réponse #2 le: 11 November 2018 à 13:39
 :oki: It works, thanks a lot Sebastien !
Btw : Nice Race at PG in FB ;)


Hors ligne JeromeC

  • CàA
  • Boinc'eur devant l'éternel
  • *****
  • Messages: 31106
  •   
Réponse #3 le: 11 November 2018 à 19:20
Je ne connaissais pas l'existence de la "brigade Franco Allemande", intéressant.

A quoi bon prendre la vie au sérieux, puisque de toute façon nous n’en sortirons pas vivants ? (Alphonse Allais)