-
cont
-
-
Offline
-
Fresh Boarder
-
- Messaggi: 7
-
Karma: 0
-
|
Ciao,
Il messaggio di errore adesso è cambiato in:
local variable 'fp' referenced before assignment
(<type 'exceptions.UnboundLocalError'>, UnboundLocalError("local variable 'fp' referenced before assignment",), <traceback object at 0x39bccb0>)
Il bug segnalava un malfunzionamento se la data DDT non era valorizzata, ma la data DDT è corretta (per scrupolo ho anche valorizzato la data di fine sul tab "Informazioni aggiuntive").
Se può essere d'aiuto questa è la porzione di log del server (se necessario fammi sapere come posso inviare il dump e il caso d'uso, sono dati fittizi creati solo per provare).
Grazie ancora.
[2011-08-07 21:57:00,430][openerp_dev] ERROR:web-services:[01]: Exception: local variable 'fp' referenced before assignment
[2011-08-07 21:57:00,430][openerp_dev] ERROR:web-services:[02]: Traceback (most recent call last):
[2011-08-07 21:57:00,430][openerp_dev] ERROR:web-services:[03]: File "/home/openerp/lp/openerp/server/bin/service/web_services.py", line 724, in go
[2011-08-07 21:57:00,430][openerp_dev] ERROR:web-services:[04]: (result, format) = obj.create(cr, uid, ids, datas, context)
[2011-08-07 21:57:00,430][openerp_dev] ERROR:web-services:[05]: File "/home/openerp/lp/openerp/server/bin/addons/report_aeroo.zip/report_aeroo/report_aeroo.py", line 619, in create
[2011-08-07 21:57:00,430][openerp_dev] ERROR:web-services:[06]: return fnct(cr, uid, ids, data, report_xml, context)
[2011-08-07 21:57:00,430][openerp_dev] ERROR:web-services:[07]: File "/home/openerp/lp/openerp/server/bin/addons/report_aeroo.zip/report_aeroo/report_aeroo.py", line 523, in create_source_pdf
[2011-08-07 21:57:00,430][openerp_dev] ERROR:web-services:[08]: return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
[2011-08-07 21:57:00,430][openerp_dev] ERROR:web-services:[09]: File "/home/openerp/lp/openerp/server/bin/addons/report_aeroo.zip/report_aeroo/report_aeroo.py", line 453, in create_single_pdf
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[10]: return self.create_aeroo_report(cr, uid, ids, data, report_xml, context=context, output=output)
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[11]: File "/home/openerp/lp/openerp/server/bin/addons/report_aeroo.zip/report_aeroo/report_aeroo.py", line 359, in create_aeroo_report
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[12]: file_data = base64.decodestring(report_xml.report_sxw_content)
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[13]: File "/home/openerp/lp/openerp/server/bin/osv/orm.py", line 292, in __getattr__
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[14]: return self[name]
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[15]: File "/home/openerp/lp/openerp/server/bin/osv/orm.py", line 205, in __getitem__
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[16]: field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[17]: File "/home/openerp/lp/openerp/server/bin/osv/orm.py", line 2944, in read
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[18]: result = self._read_flat(cr, user, select, fields, context, load)
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[19]: File "/home/openerp/lp/openerp/server/bin/osv/orm.py", line 3064, in _read_flat
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[20]: res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[21]: File "/home/openerp/lp/openerp/server/bin/osv/fields.py", line 800, in get
[2011-08-07 21:57:00,431][openerp_dev] ERROR:web-services:[22]: res = self._fnct(obj, cr, user, ids, name, self._arg, context)
[2011-08-07 21:57:00,432][openerp_dev] ERROR:web-services:[23]: File "/home/openerp/lp/openerp/server/bin/addons/report_aeroo.zip/report_aeroo/report_xml.py", line 191, in _report_content
[2011-08-07 21:57:00,432][openerp_dev] ERROR:web-services:[24]: if fp:
[2011-08-07 21:57:00,432][openerp_dev] ERROR:web-services:[25]: UnboundLocalError: local variable 'fp' referenced before assignment
|