[genropy] Errore dopo aggiornamento

  • From: Luigi Renna <luigi@xxxxxxxxxxxxx>
  • To: genropy <genropy@xxxxxxxxxxxxx>
  • Date: Sun, 17 Mar 2019 21:02:44 +0100

Ho appena fatto l'aggiornamento sul server (ubuntu) e mi da questi errori, su windows funziona, non funziona neppure gnrwsgiserve caf --debug --port 8989 e nuppure gunicorn.

Ciao Luigi

genro@webapp:~$ gnrdbsetup caf
Traceback (most recent call last):
  File "/usr/local/bin/gnrdbsetup", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/home/genro/Sviluppo/genropy/scripts/gnrdbsetup", line 178, in <module>
    app, storename = get_app()
  File "/home/genro/Sviluppo/genropy/scripts/gnrdbsetup", line 137, in get_app
    return GnrApp(instance_path, debug=debug), storename
  File "/home/genro/Sviluppo/genropy/gnrpy/gnr/app/gnrapp.py", line 701, in __init__
    self.init(forTesting=forTesting,restorepath=restorepath)
  File "/home/genro/Sviluppo/genropy/gnrpy/gnr/app/gnrapp.py", line 787, in init
    self.db.startup(restorepath=restorepath)
  File "/home/genro/Sviluppo/genropy/gnrpy/gnr/sql/gnrsql.py", line 181, in startup
    self.model.build()
  File "/home/genro/Sviluppo/genropy/gnrpy/gnr/sql/gnrsqlmodel.py", line 104, in build
    _doObjMixinConfig(tblmix, pkgsrc)
  File "/home/genro/Sviluppo/genropy/gnrpy/gnr/sql/gnrsqlmodel.py", line 82, in _doObjMixinConfig
    objmix.config_db(pkgsrc)
  File "/home/genro/Sviluppo/genropy/gnrpy/gnr/app/gnrdbo.py", line 1155, in config_db
    mastertbl.attributes['atc_attachmenttable'] = '%s.%s' %(pkgname,tblname)
AttributeError: 'NoneType' object has no attribute 'attributes'



Other related posts: