pkg2appimage icon indicating copy to clipboard operation
pkg2appimage copied to clipboard

Issue with GoogleEarth Appimage creation

Open pehlm opened this issue 8 years ago • 7 comments

Hi, i'm using the script "run_this_script_to_generate_the_AppImage.sh" to create the Google Earth appimage but running it stops with:

['/tmp/.mount_N5I91O/package', './GoogleEarth.AppDir/', '../out/GoogleEarth-7.1.7.2606-x86_64.AppImage'] /tmp/.mount_N5I91O/xdg/IconTheme.py:344: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if iconname + "." + extension in values[1]: /tmp/.mount_N5I91O/xdg/IconTheme.py:353: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if iconname + "." + extension in values[1]: Icon could not be found based on information in desktop file, aborting

I'm on Ubuntu 16.04. The AppDir is created as it should and the application is executable through the "GoogleEarth.AppDir" but the appimage is never created. Wanted to inform about this.

pehlm avatar Jan 11 '17 18:01 pehlm

Strange, just tried it again, works for me on xubuntu-16.04-desktop-amd64.iso.

Which language is your system set to? What happens if you run it like this: export LANG=C; ./run_this_script_to_generate_the_AppImage.sh?

probonopd avatar Jan 11 '17 18:01 probonopd

It is the same output. System is set to swedish. Ubuntu 16.04 amd64 (Unity).

pehlm avatar Jan 11 '17 18:01 pehlm

Nevermind, I was creating the appimage in a folder with swedish characters in the foldername thereof the error. I moved to a folder with usual characters, and now it works. Thanks anyway!

pehlm avatar Jan 12 '17 17:01 pehlm

Thanks for checking! Possibly we need to add quotes to some paths in the script?

probonopd avatar Jan 12 '17 18:01 probonopd

Yes maybe changing a little bit in the script to allow appimage creation in paths with unusual characters, for nonenglish speaking people it would be surely good if they could create the appimage in whatever directory they select.

pehlm avatar Jan 13 '17 15:01 pehlm

I have a similar problem but the script exits with the error "stat: No such file or directory" I am running Fedora 28, will the deb compile or would I need the RPM file? It exits with all the directories but no appimage. Full terminal results below:


[user@localhost Earth]$ sudo '/home/user/Downloads/Earth/Recipe.sh' 
--2018-07-19 00:06:18--  https://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb
Resolving dl.google.com (dl.google.com)... 172.217.164.110, 2607:f8b0:4005:80b::200e
Connecting to dl.google.com (dl.google.com)|172.217.164.110|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 56488360 (54M) [application/vnd.debian.binary-package]
Saving to: ‘google-earth-stable_current_amd64.deb’

google-earth-stable_current_amd64.de 100%[===================================================================>]  53.87M  4.08MB/s    in 14s     

2018-07-19 00:06:32 (3.97 MB/s) - ‘google-earth-stable_current_amd64.deb’ saved [56488360/56488360]

--2018-07-19 00:06:32--  https://nixos.org/releases/patchelf/patchelf-0.9/patchelf-0.9.tar.bz2
Resolving nixos.org (nixos.org)... 54.217.220.47
Connecting to nixos.org (nixos.org)|54.217.220.47|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 159956 (156K) [application/x-bzip2]
Saving to: ‘patchelf-0.9.tar.bz2’

patchelf-0.9.tar.bz2                 100%[===================================================================>] 156.21K   288KB/s    in 0.5s    

2018-07-19 00:06:33 (288 KB/s) - ‘patchelf-0.9.tar.bz2’ saved [159956/159956]

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
Setting page size to 4096
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating patchelf.spec
config.status: executing depfiles commands
Making all in src
make[1]: Entering directory '/home/user/Downloads/Earth/GoogleEarth/patchelf-0.9/src'
g++ -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"patchelf\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.9\" -DPAGESIZE=4096 -I.    -Wall -g -O2 -MT patchelf.o -MD -MP -MF .deps/patchelf.Tpo -c -o patchelf.o patchelf.cc
mv -f .deps/patchelf.Tpo .deps/patchelf.Po
g++ -Wall -g -O2   -o patchelf patchelf.o  
make[1]: Leaving directory '/home/user/Downloads/Earth/GoogleEarth/patchelf-0.9/src'
Making all in tests
make[1]: Entering directory '/home/user/Downloads/Earth/GoogleEarth/patchelf-0.9/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user/Downloads/Earth/GoogleEarth/patchelf-0.9/tests'
make[1]: Entering directory '/home/user/Downloads/Earth/GoogleEarth/patchelf-0.9'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/user/Downloads/Earth/GoogleEarth/patchelf-0.9'
stat: No such file or directory


Futureknows avatar Jul 19 '18 07:07 Futureknows

Please ask Google to provide an AppImage of Google Earth. We are happy to help them, should they have questions. AppImageKit is a set of tools to make it easy for application authors to distribute their software to end uses. We don't generally encourage third-party re-packaging.

probonopd avatar Jul 19 '18 16:07 probonopd