Skip to content

Problem with lto sample #17

@neroita

Description

@neroita

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions