Giter Site home page Giter Site logo

freecad-ppd's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

luzpaz

freecad-ppd's Issues

FEM - No module named 'yaml'

When running FEM inside Freecad, the subjects error message appears.

I know the meaning of the error message. It means that the Freecad is unable to locate python's yaml -module.

What I don't know, what is the correct way to add dependency to snap freacad. Since I have in local system python-yaml installed, but it is not used by snap instances.

Rogue UI artifact

Start up freecad-ppd
The rogue lines are visible on the startwb and subsequent windows

image

OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.27402 (Git)
Build type: Release
Branch: master
Hash: 6b45122a46368cc2e11d34b8e5b6ff2b4560ded7
Python version: 3.8.10
Qt version: 5.15.3
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United States (en_US)

Can't reproduce on AppImage
OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.27319 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 67706b1)
Hash: 67706b14df32b91b948952ea2c9350948ba4d4db
Python version: 3.9.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: English/United States (en_US)

Missing PySide2.QtUiTools ?

Found in https://forum.freecadweb.org/viewtopic.php?f=20&t=67124&p=585325#p585325

$ freecad-ppd.cmd 
FreeCAD 0.20, Libs: 0.20R28580 (Git)
.
.
.
[FreeCAD Console mode <Use Ctrl-D (i.e. EOF) to exit.>]
>>> from PySide2 import QtUiTools
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'QtUiTools' from 'PySide2' (/snap/freecad-ppd/214/usr/lib/python3/dist-packages/PySide2/__init__.py)
$ freecad-ppd.cmd --version --verbose
FreeCAD 0.20 Revision: 28580 (Git)

Library versions:
boost    1_71
Coin3D   4.0.0
Eigen3   3.3.7
OCC      7.6.1
Qt       5.15.3
Python   3.8.10
PySide   5.14.0
shiboken 5.14.0
VTK      7.1.1
xerces-c 3.2.2

issues with older xdg-desktop-portal versions

Older portal versions proxy everything through the document portal.

Problems:

  • Files get lost when saving because FreeCAD appends a suffix, which is not allowed via the document portal
  • Opening files with external links fail because the externally linked files are not available via the document portal

Possible solutions:

  • simply do not use the native file dialog (ugly, can access fewer locations on the system)
  • reject paths starting with /run/user and switch to the internal dialog at runtime. Would have to be patched upstream to be maintainable. Also an ugly solution.

Problem with main menu

Hello,
I just encountered your snap and gave it a go since official snap is on some old revision. But I have a question about main menu - it works on 'freecad' snap, but on 'freecad-ppd' is not (my DE is Unity and I am on Ubuntu 20.04). Do you have idea why that would be?
'freecad stable':
freecad-stable
'freecad-ppd stable'
freecad-ppd-stable

No module named 'PySide2.QtWebEngineWidgets (on r27397)

During initialization the error "No module named 'PySide2.QtWebEngineWidgets'" occurred in /snap/freecad-ppd/146/usr/Mod/AddonManager/InitGui.py
Please look into the log file for further information
Unknown command 'Std_AddonMgr'

OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.27397 (Git)
Build type: Release
Branch: master
Hash: e54b6e167a5d5ab863e8d4db68e4add65b1525ba
Python version: 3.8.10
Qt version: 5.15.3
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United States (en_US)

Absolute paths become inaccessible when snap revisions get garbage collected

18:39:57  Line Group File: /snap/freecad-ppd/214/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
18:39:57  Svg Hatch File: /snap/freecad-ppd/107/usr/share/Mod/TechDraw/Patterns/simple.svg is not readable
18:39:57  Pat Hatch File: /snap/freecad-ppd/107/usr/share/Mod/TechDraw/PAT/FCPAT.pat is not readable

Demo: test(1).FCStd.zip

OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28580 (Git)
Build type: Release
Branch: master
Hash: 8ccaac7264742da9e58a8238cc4d9d973bb57e98
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, OCC 7.6.1
Locale: English/United States (en_US)
Installed mods: 
  * ToolbarStyle
  * Assembly4 0.11.10
  * stickframe
  * sheetmetal 0.2.49
  * pinger
  * Assembly3 0.11.1
  * Behave-Dark-Colors 0.0.1
  * Curves 0.3.0
  * Ship
  * BIM 2021.12.0
  * A2plus 0.4.55

cannot import name 'QtNetwork' from 'PySide2'

16:10:33  During initialization the error "cannot import name 'QtNetwork' from 'PySide2' (/snap/freecad-ppd/93/usr/lib/python3/dist-packages/PySide2/__init__.py)" occurred in /snap/freecad-ppd/93/usr/Mod/AddonManager/InitGui.py
16:10:33  Please look into the log file for further information

Ship latest OCCT

It would be very good to Snap work with the latest OCC version

SIGSEGV: Coin3D crashes on Wayland: XDefaultScreenOfDisplay

im not sure if this is the proper place to post this crash but the file has a "missing attribute error" and crashes the snap on trying to open it. it opens fine in the flatpak and appimage versions of freecad. im on edge:

$ snap list
Name                               Version                     Rev    Tracking       Publisher         Notes
freecad-ppd                        0.20-ge0220e78              167    latest/edge    ppd               -

system specs:

Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-30-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-5600U CPU @ 2.60GHz
Memory: 11.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500

file:
fanBlade-test.zip

External A2plus workbench reporting it can't find wb SVG icon (when AppImage can)

Forum post: https://forum.freecadweb.org/viewtopic.php?p=585577#p585577

Steps to recreate:

  • Go to Addon Manager
  • Install latest A2plus (ATM it's A2plus v0.4.55a)
  • Restart FC
  • Open A2plus workbench
    Result:
14:00:30  Cannot open file '/home/foo/icons/ConstraintDiagnostics.svg', because: No such file or directory
14:00:30  Cannot open file '/home/foo/icons/ConstraintDiagnostics.svg', because: No such file or directory
OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28601 (Git)
Build type: Release
Branch: master
Hash: 9500706d6f2a98a3543a441083ceba475b7cfd86
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, OCC 7.6.1
Locale: English/United States (en_US)
Installed mods: 
  * ToolbarStyle
  * Assembly4 0.11.10
  * stickframe
  * sheetmetal 0.2.49
  * pinger
  * Assembly3 0.11.1
  * Behave-Dark-Colors 0.0.1
  * Curves 0.3.0
  * Ship
  * BIM 2021.12.0
  * A2plus 0.4.55a

This isn't reproduced in the AppImage

OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28567 (Git) AppImage
Build type: Release
Branch: (HEAD detached at eb65256)
Hash: eb652569c1bc905b9ece89598ce99e2a2549acae
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods: 
  * Behave-Dark-Colors 0.0.1
  * A2plus 0.4.55a

Updating to python 3.9 so we can match Blender's python version?

Hey @ppd there is an issue with blender interoperability that is due to conflicting python versions. See nortikin/sverchok#4005

The AppImage is currently using 3.9.12

OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28567 (Git) AppImage
Build type: Release
Branch: (HEAD detached at eb65256)
Hash: eb652569c1bc905b9ece89598ce99e2a2549acae
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/United States (en_US)

Is this something we can consider for Snap edge ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.