-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
box_maker_generic_generator and Festi's Boxes.py extensions do not work #146
Comments
Hi, i am sorry but from your posted details i cannot see what the problem should be. its a generic error in io library. also there is no file called "box.py". Do you mean the boxes.py extensions from Florian Festi? |
HI stderr: Fatal Python error: init_sys_streams: can't initialize sys standard streams I also tried adding an interpreter:
But the result is the same! |
HI Many extensions work fine (I haven't tried them all)! Unfortunately the "box_maker_generic_generator" extension doesn't work either... Traceback (most recent call last): Do you have any solution? |
Hi. At least i removed an obsolete import from the generic box maker. it works again. See a61c354 about Boxes.py: please check your boxes output from console manually. Maybe your pip installation has some trouble. Its hard to say. You can also refer to the open issue #144 which is same topic about Boxes.py. That comment might help you: #144 (comment) |
btw. there is also 1.3.2 as portable version: https://portableapps.com/de/apps/graphics_pictures/inkscape_portable |
Hi @Deltaplc. I spent some time to this boxes.py issue. Can you check what happens when you install the requirements.txt without quiet mode? You will need to install some modules with pip like affine, qrcode and then the boxes module itself. The pip install git+https://github.com/florianfesti/boxes.git will not work maybe. i put some documentation at florianfesti/boxes#667 as i opened some issue about installation on Windows. I do not use WIndows that often so i just might have missed some points. On my other machine boxes.py works without trouble. |
Good morning Without using the python interpreter, "box_maker_generic_generator" Now IT WORKS!! |
Unfortunately the "boxs.py by Florian Festi" extension does NOT work.
|
Before redoing the inkscape installation I also ran all the "pip"... |
C:\Windows\system32>pip install boxes [notice] A new release of pip is available: 23.2.1 -> 24.0 C:\Windows\system32> |
C:\Windows\system32>pip install git+https://github.com/florianfesti/boxes.git [notice] A new release of pip is available: 23.2.1 -> 24.0 C:\Windows\system32> [notice] A new release of pip is available: 23.2.1 -> 24.0 C:\Windows\system32>cd %AppData%..\Local\Programs\Python\Python39\Scripts C:\Users\Davide\AppData\Local\Programs\Python\Python39\Scripts>python -m pip install --upgrade pip #upgrade pip first C:\Users\Davide\AppData\Local\Programs\Python\Python39\Scripts>pip install --upgrade --quiet --no-cache-dir -r %AppData%\inkscape\extensions\mightyscape-1.2\requirements.txt [notice] A new release of pip is available: 23.2.1 -> 24.0 C:\Users\Davide\AppData\Local\Programs\Python\Python39\Scripts> C:\Users\Davide\AppData\Local\Programs\Python\Python39\Scripts>pip install shapely [notice] A new release of pip is available: 23.2.1 -> 24.0 C:\Users\Davide\AppData\Local\Programs\Python\Python39\Scripts> |
On the PC I'm using at the moment I'm using a version of inkscape 1.1 (installed in c:) where I had cloned part of an old version of "mightyscape"... |
I tried one more time!!!
|
PS: |
Good morning |
Everything works even without adding the python interpreter line! |
This is my python interpreter line!
|
I tried to install (on the same PC) inkscape 1.2 and also 1.3 directly in C: for all users! |
Hi sorry to bother you...
I have installed ten extensions of this wonderful package on Inkscape 1.2 (portable app) with Win10.
All work except 2: "box.py" and "box_maker_generic_generator".
As for "box_maker_generic_generator" it's not a big problem for me because I used an older version of it that I used on inkscape 1.1 and once I ported it to 1.2 it worked fine!
As for "box.py" I would have liked to use this new version because it has some new applications but it really doesn't want to work!! I tried and tried but it doesn't work!
I attach some errors that are generated:
stderr: Fatal Python error: init_sys_streams: can't initialize sys standard streams
Python runtime state: core initialized
Traceback (most recent call last):
File "C:\Users\Davide\Documents\Inkscape_portatile\InkscapePortable_1.2.2.paf\InkscapePortable\App\Inkscape\lib\python3.10\io.py", line 54, in
ImportError: cannot import name 'text_encoding' from 'io' (unknown location).
I also tried installing box.py on another PC... with inkscape 1.2 installed in c: and python 10 & win10..
But unfortunately it doesn't work in this case either.
I also tried with "python-interpreter" etc.... But it doesn't work!
Maybe I'm doing something wrong??
Can you give me some advice to solve the problem?
Thank you!
Greetings
Davide
The text was updated successfully, but these errors were encountered: