[Erp5-dev] Site Error List Action
Tomasz Brzezina
tomasz at brzezina.pl
Fri Mar 28 14:05:33 CET 2008
Why there's an error?
Module Products.ERP5Form.ListBox, line 1633, in query
1631 | self.current_page = 0
1632 | else:
1633>| self.total_pages = int(max(self.total_size - 1, 0) /
max_lines) + 1
1634 | if start >= self.total_size:
1635 | start = max(self.total_size - 1, 0)
TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
where should I set max_lines?
--
Tomasz Brzezina
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3327 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080328/e33e449e/attachment.bin>
More information about the Erp5-dev
mailing list