QR-code extension breaks if used in 1.1.x then in 1.2

In the request to create a QR-Code, the software presents this error and does not complete the request.

Steps to Replicate

  • Open Inkscape 1.1.x or older
  • Extensions > Render > QR code
  • Apply (defaults)
  • Close inkscape normally
  • Open Inkscape 1.2
  • Extensions > Render > QR code
  • Apply (defaults)

What happened?

  • No QR code created, and the following error message
usage: render_barcode_qrcode.py [-h] [--output OUTPUT] [--text TEXT]
                                [--typenumber TYPENUMBER]
                                [--correctionlevel CORRECTIONLEVEL]
                                [--qrmode QRMODE] [--encoding ENCODING]
                                [--modulesize MODULESIZE] [--invert INVERT]
                                [--drawtype {smooth,pathpreset,selection,symbol}]
                                [--smoothness {neutral,greedy,proud}]
                                [--pathtype {simple,circle}]
                                [--smoothval SMOOTHVAL] [--symbolid SYMBOLID]
                                [--groupid GROUPID] [--id IDS]
                                [--selected-nodes SELECTED_NODES]
                                [INPUT_FILE]
render_barcode_qrcode.py: error: argument --drawtype: invalid choice: 'neutral' (choose from 'smooth', 'pathpreset', 'selection', 'symbol')

What should have happened?

error code finished

Workaround

  • change the tab to a different one (choices: Smooth | Shapes | Clones | Symbols)
  • apply the extension
  • it should work now, even when changing back

Version info

Inkscape 1.2 Linux Pop!_OS 22.04 LTS.

Edited by Nathan Lee