Skip to content

TypeError: __init__() got an unexpected keyword argument 'colWidths #5

@maxwellIragu

Description

@maxwellIragu

I keep getting this error

File "/usr/local/lib/python3.9/dist-packages/pyinvoice/templates.py", line 314, in finish self.build(self._story, **kwargs) File "/usr/local/lib/python3.9/dist-packages/reportlab/platypus/doctemplate.py", line 1315, in build BaseDocTemplate.build(self,flowables, canvasmaker=canvasmaker) File "/usr/local/lib/python3.9/dist-packages/reportlab/platypus/doctemplate.py", line 1080, in build self.handle_flowable(flowables) File "/usr/local/lib/python3.9/dist-packages/reportlab/platypus/doctemplate.py", line 937, in handle_flowable S = frame.split(f,canv) File "/usr/local/lib/python3.9/dist-packages/reportlab/platypus/frames.py", line 251, in split r = flowable.split(self._aW, h) File "/usr/local/lib/python3.9/dist-packages/reportlab/platypus/tables.py", line 1546, in split return self._splitRows(availHeight) File "/usr/local/lib/python3.9/dist-packages/reportlab/platypus/tables.py", line 1390, in _splitRows R0 = self.__class__( data[:n], colWidths=self._colWidths, rowHeights=splitH[:n], TypeError: __init__() got an unexpected keyword argument 'colWidths'

Dont know where the issue is?

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