I get an error after typing in my supplier settings (Digi-Key and Mouser) and clicking "Test".
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\marku\Documents\kintree\env-kintree\Lib\site-packages\multiprocess\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\marku\Documents\kintree\env-kintree\Lib\site-packages\multiprocess\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\marku\Documents\kintree\env-kintree\Lib\site-packages\dill\_dill.py", line 313, in load
return Unpickler(file, ignore=ignore, **kwds).load()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\marku\Documents\kintree\env-kintree\Lib\site-packages\dill\_dill.py", line 525, in load
obj = StockUnpickler.load(self)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\marku\Documents\kintree\env-kintree\Lib\site-packages\dill\_dill.py", line 659, in _create_code
if len(args) == 16: return CodeType(*args)
^^^^^^^^^^^^^^^
TypeError: code() argument 13 must be str, not int
By updating dill to the recent version 0.3.6, the problem is gone:
$ pip install -U dill
Requirement already satisfied: dill in c:\users\marku\documents\kintree\env-kintree\lib\site-packages (0.3.4)
Collecting dill
Using cached dill-0.3.6-py3-none-any.whl (110 kB)
Installing collected packages: dill
Attempting uninstall: dill
Found existing installation: dill 0.3.4
Uninstalling dill-0.3.4:
Successfully uninstalled dill-0.3.4
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
wrapt-timeout-decorator 1.3.12.2 requires dill<0.3.5,>0.3.0; sys_platform == "win32", but you have dill 0.3.6 which is incompatible.
Successfully installed dill-0.3.6
I run into the exact same behavior/error when cloning the source and running the application in the python debugger.
Not sure, which package requirement is broken here (not inside Ki-nTree) but I do not want to dig deeper.
Not sure if now there is something wrong with wrapt_timeout_decorator and if I will run into other issues.
Thought sharing this could be helpful for other people! Maybe there is a more elegant solution?
Thanks for reporting this issue, I have labeled it as documentation for reference for future user, I did not experience it myself but maybe it can help someone, great feedback!
Hey, first: THANKS for sharing this beautiful tool!
After installing (using pip under windows)
I get an error after typing in my supplier settings (Digi-Key and Mouser) and clicking "Test".
My package versions:
By updating dill to the recent version 0.3.6, the problem is gone:
I run into the exact same behavior/error when cloning the source and running the application in the python debugger.
Not sure, which package requirement is broken here (not inside Ki-nTree) but I do not want to dig deeper. Not sure if now there is something wrong with wrapt_timeout_decorator and if I will run into other issues.
Thought sharing this could be helpful for other people! Maybe there is a more elegant solution?
Thanks! Markus