discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Problem with saving and exporting images.

L
larry
Tue, Apr 19, 2022 4:27 AM

I was running an Appimage of some snapshot (can't remember which one),
and When I tried to save a program or export an image, the OpenSCAD
window just disappeared.

So a few days ago, I downloaded an Appimage for Linux;

OpenSCAD version 2022.04.13.ai11638 (git e62afcf5d)

And it's giving me the same problem.

Is this a known problem?

I was running an Appimage of some snapshot (can't remember which one), and When I tried to save a program or export an image, the OpenSCAD window just disappeared. So a few days ago, I downloaded an Appimage for Linux; OpenSCAD version 2022.04.13.ai11638 (git e62afcf5d) And it's giving me the same problem. Is this a known problem?
TP
Torsten Paul
Tue, Apr 19, 2022 7:46 AM

Yes, known issue, unfortunately no known solution:

https://github.com/openscad/openscad/issues/3523

There are a couple of workarounds mentioned in the discussion
though.

ciao,
Torsten.

Yes, known issue, unfortunately no known solution: https://github.com/openscad/openscad/issues/3523 There are a couple of workarounds mentioned in the discussion though. ciao, Torsten.
GH
gene heskett
Tue, Apr 19, 2022 8:23 AM

On Tuesday, 19 April 2022 03:46:52 EDT Torsten Paul wrote:

Yes, known issue, unfortunately no known solution:

https://github.com/openscad/openscad/issues/3523

There are a couple of workarounds mentioned in the discussion
though.

I've had that occur also, but on close inspection, it was still showing
in the toolbar, to the right of the workspace pager, and a left click on
that openscad button restored it. Nothing lost. Some hot key must have
triggered the hiding of terminal that launched it, and my short fat
fingers touching an adjacent key must have triggered it.

Mother spent 5 years trying to make a piano player out of me, but 80
years later I still can't span an octave on the piano keyboard.

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
.

Cheers, Gene Heskett.

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.

  • Louis D. Brandeis
On Tuesday, 19 April 2022 03:46:52 EDT Torsten Paul wrote: > Yes, known issue, unfortunately no known solution: > > https://github.com/openscad/openscad/issues/3523 > > There are a couple of workarounds mentioned in the discussion > though. I've had that occur also, but on close inspection, it was still showing in the toolbar, to the right of the workspace pager, and a left click on that openscad button restored it. Nothing lost. Some hot key must have triggered the hiding of terminal that launched it, and my short fat fingers touching an adjacent key must have triggered it. Mother spent 5 years trying to make a piano player out of me, but 80 years later I still can't span an octave on the piano keyboard. > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > . Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
L
larry
Tue, Apr 19, 2022 4:39 PM

On Tue, 2022-04-19 at 09:46 +0200, Torsten Paul wrote:

Yes, known issue, unfortunately no known solution:

https://github.com/openscad/openscad/issues/3523

There are a couple of workarounds mentioned in the discussion
though.

Thanks Torsten!

I followed the instructions posted by 'atroly', to update libcairo.
It was easy and quick, and solved the problem (for 2021.01, which also
had the problem).

I wanted to fix the nightly I downloaded as well, so I made up a short
bash script from the instructions. It's pretty rudimentary, but in case
anyone wants it, here it is:

I called it fix_scad_appimage.
Usage: fix_scad_appimage <name of appimage>

#!/bin/bash

#Open a terminal and cd to the directory containing the OpenSCAD
AppImage.

Extract the AppImage:

This creates a directory called squashfs-root)

$1 --appimage-extract

Find your current libcairo shared library and copy it over the

OpenSCAD version:

cp /usr/lib/x86_64-linux-gnu/libcairo.so.2 ./squashfs-
root/usr/lib/libcairo.so.2

Download the AppImage creation tool and make it executable:

Uncomment the following two lines if appimagetool is already in this

directory

wget

https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
#chmod +x appimagetool-x86_64.AppImage

Make a new AppImage using the updated directory:

./appimagetool-x86_64.AppImage squashfs-root

This will create an updated AppImage named OpenSCAD-x86_64.AppImage

On Tue, 2022-04-19 at 09:46 +0200, Torsten Paul wrote: > Yes, known issue, unfortunately no known solution: > > https://github.com/openscad/openscad/issues/3523 > > There are a couple of workarounds mentioned in the discussion > though. Thanks Torsten! I followed the instructions posted by 'atroly', to update libcairo. It was easy and quick, and solved the problem (for 2021.01, which also had the problem). I wanted to fix the nightly I downloaded as well, so I made up a short bash script from the instructions. It's pretty rudimentary, but in case anyone wants it, here it is: I called it fix_scad_appimage. Usage: fix_scad_appimage <name of appimage> #!/bin/bash #Open a terminal and cd to the directory containing the OpenSCAD AppImage. # Extract the AppImage: # This creates a directory called squashfs-root) $1 --appimage-extract # Find your current libcairo shared library and copy it over the # OpenSCAD version: cp /usr/lib/x86_64-linux-gnu/libcairo.so.2 ./squashfs- root/usr/lib/libcairo.so.2 # Download the AppImage creation tool and make it executable: # Uncomment the following two lines if appimagetool is already in this directory # wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage #chmod +x appimagetool-x86_64.AppImage # Make a new AppImage using the updated directory: ./appimagetool-x86_64.AppImage squashfs-root # This will create an updated AppImage named OpenSCAD-x86_64.AppImage