unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#52652: FreeCAD requires write access to store for parsetab.py
@ 2021-12-19  3:07 Jacob Hrbek
  2021-12-31 10:44 ` Guillaume Le Vaillant
  0 siblings, 1 reply; 4+ messages in thread
From: Jacob Hrbek @ 2021-12-19  3:07 UTC (permalink / raw)
  To: 52652


[-- Attachment #1.1: Type: text/plain, Size: 948 bytes --]

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
[<Part::PartFeature>]
End processing CSG file

-- 
-- Jacob Hrbek


[-- Attachment #1.2: publickey - kreyren@rixotstudio.cz - 1677db82.asc --]
[-- Type: application/pgp-keys, Size: 713 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

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

* bug#52652: FreeCAD requires write access to store for parsetab.py
  2021-12-19  3:07 bug#52652: FreeCAD requires write access to store for parsetab.py Jacob Hrbek
@ 2021-12-31 10:44 ` Guillaume Le Vaillant
  2021-12-31 13:26   ` Jacob Hrbek
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Le Vaillant @ 2021-12-31 10:44 UTC (permalink / raw)
  To: Jacob Hrbek; +Cc: 52652

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

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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

* bug#52652: FreeCAD requires write access to store for parsetab.py
  2021-12-31 10:44 ` Guillaume Le Vaillant
@ 2021-12-31 13:26   ` Jacob Hrbek
  2021-12-31 13:29     ` Guillaume Le Vaillant
  0 siblings, 1 reply; 4+ messages in thread
From: Jacob Hrbek @ 2021-12-31 13:26 UTC (permalink / raw)
  To: Guillaume Le Vaillant; +Cc: 52652


[-- Attachment #1.1: Type: text/plain, Size: 809 bytes --]

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


[-- Attachment #1.2: publickey - kreyren@rixotstudio.cz - 1677db82.asc --]
[-- Type: application/pgp-keys, Size: 713 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

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

* bug#52652: FreeCAD requires write access to store for parsetab.py
  2021-12-31 13:26   ` Jacob Hrbek
@ 2021-12-31 13:29     ` Guillaume Le Vaillant
  0 siblings, 0 replies; 4+ messages in thread
From: Guillaume Le Vaillant @ 2021-12-31 13:29 UTC (permalink / raw)
  To: Jacob Hrbek; +Cc: 52652-done

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

Jacob Hrbek <kreyren@rixotstudio.cz> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

end of thread, other threads:[~2021-12-31 13:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-19  3:07 bug#52652: FreeCAD requires write access to store for parsetab.py Jacob Hrbek
2021-12-31 10:44 ` Guillaume Le Vaillant
2021-12-31 13:26   ` Jacob Hrbek
2021-12-31 13:29     ` Guillaume Le Vaillant

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).