Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3468 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 23
2191
1
thg 8 22
2148
1
thg 7 25
354
1
thg 12 24
4067
0
thg 11 24
1668