Skip to content

Interpolate and Pattern along path fail (`[WinError 87] The parameter is incorrect`) Windows 7

Summary:

I cant seem to make neither Interpolate or Pattern Along Path work through Extensions -> Generate from Path. When I click on preview or apply, an error code window pops up without executing the action. This happens everytime and Inkscape does not crash.

Steps to reproduce:

Interpolate crash reproduction:

  • open Inkscape
  • create 2 circles
  • object to path on both circles
  • select both circles, Extensions -> Generate from Path > Interpolate
  • Exponent - 0, Interpolation steps - 5, Interpolation method - 2
  • duplicate endpaths, interpolate style, use z order = all 3 un-selected
  • click on live preview or apply

Pattern along path crash reproduction:

  • open Inkscape
  • create 2 circles of varied sizes
  • object to path on both circles
  • with smaller circle on top, select both circles, Extensions -> Generate from Path > Pattern along path
  • copies - repeated, deformation type - snake, space between copies / normal offset / tangential offset - 0
  • pattern is vertical / duplicate the pattern before deformation = both un-selected
  • click on live preview or apply

What happened?!![Pattern_Along_Path_Bug]

This error code pops up during Interpolate execution:

`Traceback (most recent call last):
  File "interp.py", line 27, in <module>
    from inkex.bezier import csplength, cspbezsplitatlength, cspbezsplit, bezlenapprx
  File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\bezier.py", line 29, in <module>
    import numpy
  File "C:\Program Files\Inkscape\lib\python3.8\site-packages\numpy\__init__.py", line 142, in <module>
    from . import core
  File "C:\Program Files\Inkscape\lib\python3.8\site-packages\numpy\core\__init__.py", line 106, in <module>
    from . import _dtype_ctypes
  File "C:\Program Files\Inkscape\lib\python3.8\site-packages\numpy\core\_dtype_ctypes.py", line 26, in <module>
    import ctypes
  File "C:\Program Files\Inkscape\lib\python3.8\ctypes\__init__.py", line 457, in <module>
    pythonapi = PyDLL("libpython%d.%d%s.dll" % (_sys.version_info[:2] + (_sys.abiflags,)), None)
  File "C:\Program Files\Inkscape\lib\python3.8\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 87] The parameter is incorrect`

This error appears in Pattern along path execution:

`Traceback (most recent call last):
  File "pathalongpath.py", line 36, in <module>
    from inkex.bezier import pointdistance, beziersplitatt, tpoint
  File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\bezier.py", line 29, in <module>
    import numpy
  File "C:\Program Files\Inkscape\lib\python3.8\site-packages\numpy\__init__.py", line 142, in <module>
    from . import core
  File "C:\Program Files\Inkscape\lib\python3.8\site-packages\numpy\core\__init__.py", line 106, in <module>
    from . import _dtype_ctypes
  File "C:\Program Files\Inkscape\lib\python3.8\site-packages\numpy\core\_dtype_ctypes.py", line 26, in <module>
    import ctypes
  File "C:\Program Files\Inkscape\lib\python3.8\ctypes\__init__.py", line 457, in <module>
    pythonapi = PyDLL("libpython%d.%d%s.dll" % (_sys.version_info[:2] + (_sys.abiflags,)), None)
  File "C:\Program Files\Inkscape\lib\python3.8\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 87] The parameter is incorrect`

What should have happened?

Interpolate and Pattern along Path should have executed like they used to prior to upgradiding to 1.0.

Sample attachments: Pattern_Along_Path_Bug Interpolate_Bug

Version Info:

- Inkscape Version: 1.0 (4035a4fb49, 2020-05-01)
- Operating System: Windows 7, 64 bit
- Operating System version: Professional, service pack 1
Edited by Nathan Lee
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information