From: Guillaume Le Vaillant <glv@posteo.net>
To: Jacob Hrbek <kreyren@rixotstudio.cz>
Cc: 54011@debbugs.gnu.org
Subject: bug#54011: FreeCAD: Unable to import STEP files
Date: Wed, 16 Feb 2022 13:45:43 +0000 [thread overview]
Message-ID: <87pmnmudcq.fsf@kitej> (raw)
In-Reply-To: <87tucztc3n.fsf@kitej>
[-- Attachment #1: Type: text/plain, Size: 2810 bytes --]
Guillaume Le Vaillant <glv@posteo.net> skribis:
> Jacob Hrbek <kreyren@rixotstudio.cz> skribis:
>
>> [[PGP Signed Part:No public key for ADD37D14AB42FCA9 created at 2022-02-15T15:56:38+0100 using EDDSA]]
>> Importing zipped STEP file: 15:50:27 Traceback (most recent call last):
>>
>> [...]
>>
>> from PySide2.QtSvg import *
>>
>> File
>> "/gnu/store/aps2s0h5l3a9w30qrsygpc0prhrmp5ap-python-shiboken-2-5.15.2/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py",
>> line 142, in _import
>>
>> return original_import(name, *args, **kwargs)
>>
>> <class 'ModuleNotFoundError'>: No module named 'PySide2.QtSvg'
>>
>> [...]
>
> There is an issue with the python-pyside-2 package. It fails to activate
> support for the Qt components that are not in the qtbase package (like
> qtxmlpatterns, qtmultimedia, qtsvg, etc):
>
> ...
I pushed a fix for python-pyside-2, but importing the STEP file in
freecad still fails because of other errors.
When importing the zip file:
--8<---------------cut here---------------start------------->8---
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/gnu/store/pd0pxvnr3qdgcz37p80v6q8p0wk9xyfh-freecad-0.19.3-0.09a05a9/Mod/Arch/importSH3D.py", line 47, in open
read(filename)
File "/gnu/store/pd0pxvnr3qdgcz37p80v6q8p0wk9xyfh-freecad-0.19.3-0.09a05a9/Mod/Arch/importSH3D.py", line 79, in read
homexml = z.read("Home.xml")
File "/gnu/store/mhbnni58w5hvpr304jxc5kws1vrp2l1i-python-3.9.9/lib/python3.9/zipfile.py", line 1463, in read
with self.open(name, "r", pwd) as fp:
File "/gnu/store/mhbnni58w5hvpr304jxc5kws1vrp2l1i-python-3.9.9/lib/python3.9/zipfile.py", line 1502, in open
zinfo = self.getinfo(name)
File "/gnu/store/mhbnni58w5hvpr304jxc5kws1vrp2l1i-python-3.9.9/lib/python3.9/zipfile.py", line 1429, in getinfo
raise KeyError(
<class 'KeyError'>: "There is no item named 'Home.xml' in the archive"
--8<---------------cut here---------------end--------------->8---
When decompressing the zip file and importing the STEP file:
--8<---------------cut here---------------start------------->8---
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/gnu/store/cwfgf3xb2vfqckxqv196jz8xpbigxkqj-python-shiboken-2-5.15.2/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
<class 'ImportError'>: /gnu/store/pd0pxvnr3qdgcz37p80v6q8p0wk9xyfh-freecad-0.19.3-0.09a05a9/lib/Import.so: undefined symbol: _ZN3tbb6detail2r122cancel_group_executionERNS0_2d118task_group_contextE
--8<---------------cut here---------------end--------------->8---
I guess now we have to find where
'_ZN3tbb6detail2r122cancel_group_executionERNS0_2d118task_group_contextE'
is coming from.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
next prev parent reply other threads:[~2022-02-16 13:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-15 14:56 bug#54011: FreeCAD: Unable to import STEP files Jacob Hrbek
2022-02-16 8:55 ` Guillaume Le Vaillant
2022-02-16 13:45 ` Guillaume Le Vaillant [this message]
2022-02-18 16:00 ` Guillaume Le Vaillant
2022-02-18 16:07 ` Jacob Hrbek
2022-02-19 21:55 ` Jacob Hrbek
2022-02-19 22:48 ` Guillaume Le Vaillant
2022-02-20 1:05 ` Jacob Hrbek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pmnmudcq.fsf@kitej \
--to=glv@posteo.net \
--cc=54011@debbugs.gnu.org \
--cc=kreyren@rixotstudio.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.