countersheetsextension
countersheetsextension copied to clipboard
Not able to create countersheet with Inkscape 1.2.1 and latest extension
I'm following the instructions and when I choose one of the template .csv files, I get an error. Seems to happen with every one of them. I get errors like this (some seem to be deprecation warnings). I have a feeling the bolded line is the issue.
c:\Users<user>\Downloads\uf\inkscape-1.2.1_2022-07-14_9c6d41e410-x64\share\inkscape\extensions\countersheet.py:1350: DeprecationWarning: inkex.elements._svg.width -> Use :func:viewport_width
instead
self.logwrite("svg.width: %s\n" % self.svg.width)
c:\Users<user>\Downloads\uf\inkscape-1.2.1_2022-07-14_9c6d41e410-x64\share\inkscape\extensions\countersheet.py:1351: DeprecationWarning: inkex.elements._svg.height -> Use :func:viewport_height
instead
self.logwrite("svg.height: %s\n" % self.svg.height)
Unable to find rectangle with id 'card' that was specified in the CSV data file.
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='c:\Users\
I'm sure I'm doing something wrong, but the instructions seem pretty straight forward - stage the extension, choose the Boardgame -> Create Countersheet option, select a csv template and then hit apply.
I tried it on Windows Inkscape 1.2.1 a few weeks ago and it worked. I tried it again today with the very latest version (master-branch, downloaded ZIP) and it also worked. For instance the prototype_cards.svg together with prototype_cards_all.csv.
There are ugly errors though. The deprecated viewport attributes and also I see some i/o errors printed. The resulting sheets of cards look correct as far as I can tell, so not sure what it is complaining about.