View Issue Details

IDProjectCategoryView StatusLast Update
0003607FreeCADBugpublic2019-08-30 16:17
Reportertraverseda Assigned Tolooo  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.17 
Target Version0.18Fixed in Version0.18 
Summary0003607: "Ship" WB doesn't work using latest appimage release.
Description"Ship" mode doesn't work using latest appimage release.

/tmp/.mount_FreeCAXTk6Zh/usr/lib/python2.7/dist-packages/matplotlib/__init__.py:764: UserWarning: Could not find matplotlibrc; using defaults
  warnings.warn('Could not find matplotlibrc; using defaults')
/tmp/.mount_FreeCAXTk6Zh/usr/lib/python2.7/dist-packages/matplotlib/__init__.py:880: UserWarning: could not find rc file; returning defaults
  warnings.warn(message)
'NoneType' object has no attribute 'endswith'
Traceback (most recent call last):
  File "<string>", line 39, in Initialize
  File "/tmp/.mount_FreeCAXTk6Zh/usr/lib/freecad/Mod/Plot/Plot.py", line 34, in <module>
    import matplotlib.pyplot as plt
  File "/tmp/.mount_FreeCAXTk6Zh/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 24, in <module>
    import matplotlib.colorbar
  File "/tmp/.mount_FreeCAXTk6Zh/usr/lib/python2.7/dist-packages/matplotlib/colorbar.py", line 29, in <module>
    import matplotlib.collections as collections
  File "/tmp/.mount_FreeCAXTk6Zh/usr/lib/python2.7/dist-packages/matplotlib/collections.py", line 23, in <module>
    import matplotlib.backend_bases as backend_bases
  File "/tmp/.mount_FreeCAXTk6Zh/usr/lib/python2.7/dist-packages/matplotlib/backend_bases.py", line 50, in <module>
    import matplotlib.textpath as textpath
  File "/tmp/.mount_FreeCAXTk6Zh/usr/lib/python2.7/dist-packages/matplotlib/textpath.py", line 11, in <module>
    import matplotlib.font_manager as font_manager
  File "/tmp/.mount_FreeCAXTk6Zh/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py", line 1356, in <module>
    _rebuild()
  File "/tmp/.mount_FreeCAXTk6Zh/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py", line 1341, in _rebuild
    fontManager = FontManager()
  File "/tmp/.mount_FreeCAXTk6Zh/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py", line 971, in __init__
    paths = [os.path.join(rcParams['datapath'], 'fonts', 'ttf'),
  File "/tmp/.mount_FreeCAXTk6Zh/usr/lib/python2.7/posixpath.py", line 77, in join
    elif path == '' or path.endswith('/'):

Report


Steps To ReproduceUse the appimage on archlinux

Select "ship" mode.
Additional InformationOS: "Arch Linux"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git) AppImage
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Canada (en_CA)
TagsNo tags attached.
FreeCAD Information

Activities

Kunda1

2018-09-22 09:09

administrator   ~0011805

Last edited: 2018-09-22 09:13

Can confirm on 0.18dev appimage as well
OS: "Manjaro Linux"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14784 (Git) AppImage
Build type: Release
Branch: master
Hash: ac21bcc35c56b360e03c646f5cfdcf15e5769717
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

Kunda1

2018-09-22 09:12

administrator   ~0011806

It doesn't crash on
OS: "Manjaro Linux"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: makepkg
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.15
Qt version: 5.11.1
Coin version: 3.1.3
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

but gives error:
/usr/lib/python2.7/site-packages/matplotlib/__init__.py:907: MatplotlibDeprecationWarning: The backend.qt4 rcParam was deprecated in version 2.2.  In order to force the use of a specific Qt binding, either import that binding first, or set the QT_API environment variable.
  mplDeprecation)

Kunda1

2018-09-22 09:28

administrator   ~0011807

opened up forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=31086

yorik

2019-01-21 00:31

administrator   ~0012475

In any case this is a bug in matplotlib and not in freecad, because all that the plot module does is: "import matplotlib.pyplot". Probably a problem with the matplotlib version bundled in the appimage...

Kunda1

2019-08-29 23:31

administrator   ~0013486

Opened a ticket in the FreeCAD.ship repo: https://github.com/FreeCAD/freecad.ship/issues/6

Kunda1

2019-08-30 13:59

administrator   ~0013491

@traverseda since Ship WB was moved out of core and became an external WB([1] I don't think this is an issue anymore.

[1] https://github.com/FreeCAD/freecad.ship

This ticket most likely is obsolete

Issue History

Date Modified Username Field Change
2018-09-22 00:11 traverseda New Issue
2018-09-22 09:09 Kunda1 Status new => confirmed
2018-09-22 09:09 Kunda1 Note Added: 0011805
2018-09-22 09:10 Kunda1 Target Version => 0.18
2018-09-22 09:10 Kunda1 Summary "Ship" mode doesn't work using latest appimage release. => "Ship" WB doesn't work using latest appimage release.
2018-09-22 09:12 Kunda1 Note Added: 0011806
2018-09-22 09:13 Kunda1 Note Edited: 0011805
2018-09-22 09:28 Kunda1 Note Added: 0011807
2019-01-21 00:31 yorik Note Added: 0012475
2019-08-29 23:31 Kunda1 Note Added: 0013486
2019-08-30 13:59 Kunda1 Note Added: 0013491
2019-08-30 13:59 Kunda1 Tag Attached: #tobeclosed
2019-08-30 16:17 Kunda1 Assigned To => looo
2019-08-30 16:17 Kunda1 Status confirmed => closed
2019-08-30 16:17 Kunda1 Resolution open => fixed
2019-08-30 16:17 Kunda1 Fixed in Version => 0.18
2019-08-30 16:17 Kunda1 Tag Detached: #tobeclosed