error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- hobbes1069
- Posts: 291
- Joined: Wed Nov 09, 2011 3:49 pm
- Location: Southaven, MS
Re: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
You're right, it confused me because of the reference to coin, I took a look at the Coin4 package in Fedora and it doesn't need Python, but I had forgotten about python-pviy.
Thanks!
Thanks!
- hobbes1069
- Posts: 291
- Joined: Wed Nov 09, 2011 3:49 pm
- Location: Southaven, MS
Re: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
Whoops, got my lines crossed. The error output is from my Fedora 35 desktop which is still on Python 3.10 so that part is OK, but what is the error about?
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
From here I gather that fedora 35 uses pivy 0.6.5: http://fedora.mirror.constant.com/fedor ... x86_64.rpm
If I'm not mistaken pivy 0.6.5 has many issues with python 3.10, can you upgrade to 0.6.7? or where the fixes backported in Fedora?
If I'm not mistaken pivy 0.6.5 has many issues with python 3.10, can you upgrade to 0.6.7? or where the fixes backported in Fedora?
- hobbes1069
- Posts: 291
- Joined: Wed Nov 09, 2011 3:49 pm
- Location: Southaven, MS
Re: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
Fedora 35 and 36 is on 0.6.6, but I can upgrade them to 0.6.7.
- hobbes1069
- Posts: 291
- Joined: Wed Nov 09, 2011 3:49 pm
- Location: Southaven, MS
Re: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
I updated python-pivy for Fedora 35 and 36 and am just waiting until the update hits testing again so I can try it out.
- hobbes1069
- Posts: 291
- Joined: Wed Nov 09, 2011 3:49 pm
- Location: Southaven, MS
Re: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
I can confirm up pivy updated to 0.6.7 the errors are gone.
Thanks!
Thanks!
- hobbes1069
- Posts: 291
- Joined: Wed Nov 09, 2011 3:49 pm
- Location: Southaven, MS
Re: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
As far the the original error, it looks like the two commits for Python 3.11 compatibility did not make it into the 0.20.1 release?
Thanks,
Richard
Thanks,
Richard
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
@wmayer should these be backported?
Re: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
If it's needed there then it should also be backported.