bug#52652: FreeCAD requires write access to store for parsetab.py

2021-12-31 Thread Jacob Hrbek

I started building it after the patch was merged, it finished now and
the presented issue is no longer present.

On 12/31/21 11:44, Guillaume Le Vaillant wrote:

Hi,

With Guix at b7078d5d49d72cb5e5356d698b99540612b4d6c4, I tried to
reproduce the issue, but I didn't get any error.

I started FreeCAD with:

--8<---cut here---start->8---
guix shell freecad openscad -- FreeCAD
--8<---cut here---end--->8---

Then I selected "OpenSCAD" in the box, then the "OpenSCAD -> Add
OpenSCAD Element" menu item, then I typed "cube();", clicked "Add", and
it created a cube without any error message (I tried with the "mesh" box
ticked and unticked).

Can you still reproduce the issue on your side?


--
-- Jacob Hrbek



publickey - kreyren@rixotstudio.cz - 1677db82.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


bug#52652: FreeCAD requires write access to store for parsetab.py

2021-12-31 Thread Guillaume Le Vaillant
Jacob Hrbek  skribis:

> I started building it after the patch was merged, it finished now and
> the presented issue is no longer present.

Ok, thanks for confirming.
Closing.


signature.asc
Description: PGP signature


bug#52652: FreeCAD requires write access to store for parsetab.py

2021-12-31 Thread Guillaume Le Vaillant
Hi,

With Guix at b7078d5d49d72cb5e5356d698b99540612b4d6c4, I tried to
reproduce the issue, but I didn't get any error.

I started FreeCAD with:

--8<---cut here---start->8---
guix shell freecad openscad -- FreeCAD
--8<---cut here---end--->8---

Then I selected "OpenSCAD" in the box, then the "OpenSCAD -> Add
OpenSCAD Element" menu item, then I typed "cube();", clicked "Add", and
it created a cube without any error message (I tried with the "mesh" box
ticked and unticked).

Can you still reproduce the issue on your side?


signature.asc
Description: PGP signature


bug#52652: FreeCAD requires write access to store for parsetab.py

2021-12-18 Thread Jacob Hrbek
The FreeCAD on guix with patch 52608 to satisfy the dependency for 
python-ply requires write access to the store to work with OpenSCAD files:


Steps to reproduce:
0. Get FreeCAD and open a new project
2. Navigate to OpenSCAD workbench
3. In top-menu: OpenSCAD -> Add OpenSCAD Element...
4. Try to create `cube()` as **NON**-mesh and expect the following:

ImportCSG Version 0.6a
Start Lex
End Lex
Load Parser
WARNING: Token 'DOT' defined, but not used
WARNING: Token 'WORD' defined, but not used
WARNING: There are 2 unused tokens
WARNING: Couldn't create 'parsetab'. [Errno 30] Read-only file system: 
'/gnu/store/wga178lb0hiwyplv00mpvv6q3i74nqbr-freecad-0.19.2/Mod/OpenSCAD/parsetab.py'

Parser Loaded
Start Parser
size vector
('size', ['1', '1', '1'])
('center', 'false')
cube :  {'size': ['1', '1', '1'], 'center': 'false'}
End Cube
End Parser
[]
End processing CSG file

--
-- Jacob Hrbek



publickey - kreyren@rixotstudio.cz - 1677db82.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature