Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with lto sample #17

Open
neroita opened this issue Mar 23, 2021 · 0 comments
Open

Problem with lto sample #17

neroita opened this issue Mar 23, 2021 · 0 comments

Comments

@neroita
Copy link

neroita commented Mar 23, 2021

Hi all , I'm trying to generate some lto label using lto.py in /src/reportlab/graphics/barcode.
I've see that there is a test() procedure that run if I call the file directly but when I try to run I get:
Traceback (most recent call last):
File "lto.py", line 196, in
test()
File "lto.py", line 172, in test
BaseLTOLabel("RL", count, "3").drawOn(canvas, xpos, ypos)
File "lto.py", line 44, in init
self.height = max(availheight, self.CODEBARHEIGHT)
TypeError: '>' not supported between instances of 'float' and 'NoneType'

Can't it be called directly ?
Where can I find an lto label example ?
Thank's in advance ,
marco.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant