Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3593 Näkymät

I don't know when this started...we don't produce many pdf reports....all the html ones are still working.   I can tell you that it was working at one point and now all are broken with this same error:

QWebException: "'NoneType' object has no attribute 'id'" while evaluating

'not user_id.id'

Full error:  http://pastebin.com/VpUv2cDX

I'm guessing this was something I did but if anyone has any insight would be appreciated.

Avatar
Hylkää
Paras vastaus

user_id is referring to id field in your model which doesn't exist.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
maalisk. 23
2258
1
elok. 22
2273
1
heinäk. 25
539
1
jouluk. 24
4491
0
marrask. 24
1830