Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] FreeCAD fails since python 3.8.1
@ 2020-01-17 22:48 voidlinux-github
  2020-01-19 20:20 ` [ISSUE] [CLOSED] " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2020-01-17 22:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3063 bytes --]

New issue by yopito on void-packages repository

https://github.com/void-linux/void-packages/issues/18353

Description:

<!-- FreeCAD fails since python 3.8.1 -->

### System

* xuname: same traceback on both glibc and musl:
  - `Void 5.4.12_1 x86_64 GenuineIntel uptodate rrFF`
  - `Void 5.4.11_1 x86_64-musl GenuineIntel uptodate rrnFFF`

* packages:
  * `freecad-0.18.4_2`
  * `libpyside2-python3-5.11.2_3`
  * `libshiboken2-5.11.2_4`
  * `python3-3.8.1_1`
  * `python3-pyside2-5.11.2_3`
  * `qt5-5.13.2_2`


### Expected behavior

FreeCAD is usable and FreeCAD self-tests are fine too.

### Actual behavior

Launch self-tests for instance:

```
$ FreeCAD -t 0
FreeCAD 0.18.4, Libs: 0.18.4R2_voidlinux
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

No module named 'WebGui'
Traceback (most recent call last):
  File "<string>", line 38, in <module>
  File "/usr/lib/freecad/Mod/Test/TestApp.py", line 27, in <module>
    import unittest
  File "/usr/lib/python3.8/unittest/__init__.py", line 60, in <module>
    from .async_case import IsolatedAsyncioTestCase
  File "/usr/lib/python3.8/unittest/async_case.py", line 1, in <module>
    import asyncio
  File "/usr/lib/python3.8/asyncio/__init__.py", line 8, in <module>
    from .base_events import *
  File "/usr/lib/python3.8/asyncio/base_events.py", line 18, in <module>
    import concurrent.futures
  File "/usr/lib/python3.8/concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 7, in <module>
    import logging
  File "/usr/lib/python3.8/logging/__init__.py", line 28, in <module>
    from string import Template
  File "/usr/lib/python3.8/string.py", line 80, in <module>
    class Template(metaclass=_TemplateMetaclass):
<class 'TypeError'>: 'Shiboken.ObjectType' object is not iterable
```

### Steps to reproduce the behavior

see command above


### Packaging constraints

* only pyside 5.14.0 supports python 3.8.1 (see [1])
* pyside 5.14.0 supports only Qt 5.14.0: Qt 5.13.2 is not supported, see [2]
* Qt 5.14 is not yet available in VoidLinux (PR #15310 in progress)

[1] https://bugreports.qt.io/browse/PYSIDE-939
[2] https://bugreports.qt.io/browse/PYSIDE-1191

### Ways to fix

1. wait for Qt 5.14.0 and pyside 5.14.0 in distribution ; in the meantime, FreeCAD is still broken

2. update pyside from 5.11 to 5.13.2 and remove all specificities of Qt 5.14 support from it : it will then support Qt 5.13.2 (last previous Qt revision).  
  Might be tricky to achieve and time consuming for a short-live workaround ?  
  Will be ready before Qt 5.14 ?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ISSUE] [CLOSED] FreeCAD fails since python 3.8.1
  2020-01-17 22:48 [ISSUE] FreeCAD fails since python 3.8.1 voidlinux-github
@ 2020-01-19 20:20 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2020-01-19 20:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3066 bytes --]

Closed issue by yopito on void-packages repository

https://github.com/void-linux/void-packages/issues/18353

Description:

<!-- FreeCAD fails since python 3.8.1 -->

### System

* xuname: same traceback on both glibc and musl:
  - `Void 5.4.12_1 x86_64 GenuineIntel uptodate rrFF`
  - `Void 5.4.11_1 x86_64-musl GenuineIntel uptodate rrnFFF`

* packages:
  * `freecad-0.18.4_2`
  * `libpyside2-python3-5.11.2_3`
  * `libshiboken2-5.11.2_4`
  * `python3-3.8.1_1`
  * `python3-pyside2-5.11.2_3`
  * `qt5-5.13.2_2`


### Expected behavior

FreeCAD is usable and FreeCAD self-tests are fine too.

### Actual behavior

Launch self-tests for instance:

```
$ FreeCAD -t 0
FreeCAD 0.18.4, Libs: 0.18.4R2_voidlinux
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

No module named 'WebGui'
Traceback (most recent call last):
  File "<string>", line 38, in <module>
  File "/usr/lib/freecad/Mod/Test/TestApp.py", line 27, in <module>
    import unittest
  File "/usr/lib/python3.8/unittest/__init__.py", line 60, in <module>
    from .async_case import IsolatedAsyncioTestCase
  File "/usr/lib/python3.8/unittest/async_case.py", line 1, in <module>
    import asyncio
  File "/usr/lib/python3.8/asyncio/__init__.py", line 8, in <module>
    from .base_events import *
  File "/usr/lib/python3.8/asyncio/base_events.py", line 18, in <module>
    import concurrent.futures
  File "/usr/lib/python3.8/concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 7, in <module>
    import logging
  File "/usr/lib/python3.8/logging/__init__.py", line 28, in <module>
    from string import Template
  File "/usr/lib/python3.8/string.py", line 80, in <module>
    class Template(metaclass=_TemplateMetaclass):
<class 'TypeError'>: 'Shiboken.ObjectType' object is not iterable
```

### Steps to reproduce the behavior

see command above


### Packaging constraints

* only pyside 5.14.0 supports python 3.8.1 (see [1])
* pyside 5.14.0 supports only Qt 5.14.0: Qt 5.13.2 is not supported, see [2]
* Qt 5.14 is not yet available in VoidLinux (PR #15310 in progress)

[1] https://bugreports.qt.io/browse/PYSIDE-939
[2] https://bugreports.qt.io/browse/PYSIDE-1191

### Ways to fix

1. wait for Qt 5.14.0 and pyside 5.14.0 in distribution ; in the meantime, FreeCAD is still broken

2. update pyside from 5.11 to 5.13.2 and remove all specificities of Qt 5.14 support from it : it will then support Qt 5.13.2 (last previous Qt revision).  
  Might be tricky to achieve and time consuming for a short-live workaround ?  
  Will be ready before Qt 5.14 ?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-19 20:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-17 22:48 [ISSUE] FreeCAD fails since python 3.8.1 voidlinux-github
2020-01-19 20:20 ` [ISSUE] [CLOSED] " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).