maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Announce] GnGeo-gui (https://talk.maemo.org/showthread.php?t=72574)

MarkyboyUK 2012-12-02 15:28

Re: [Announce] GnGeo-gui
 
ok here we go.

~ $ ls -ld /home/user/.gngeo-gui/
drwxr-xr-x 2 user users 4096 Nov 21 15:09 /home/user/.gngeo-gui/

~ $ ls -l /home/user/.gngeo-gui/
-rw-r--r-- 1 user users 49 Nov 21 15:09 gngeo-gui.cfg
-rw-r--r-- 1 user users 0 Nov 22 14:05 gngeo-output.log


~ $ cat /home/user/.gngeo-gui/gngeo-gui.cfg
exec_path /opt/gngeo/bin
exit_after_launch false

$ dpkg --get-selections|grep -E "python2.5-qt4-gui|python2.5-qt4-core|python2.5-qt4-maemo5|python-pyside.qtgui|python-pyside.qtcore|python-pyside.qtmaemo5"
python-pyside.qtcore install
python-pyside.qtgui install
python-pyside.qtmaemo5 install
python2.5-qt4-core install
python2.5-qt4-gui install
python2.5-qt4-maemo5 install
~ $

Note: The above command didn't like the "-Ew" switch so I dropped the "w" from it.

~ $ strace python /opt/gngeo-gui/gngeo-gui.py
-sh: strace: not found


Looks like I don't have the "strace" program?

Thanks Ade











Quote:

Originally Posted by ade (Post 1300130)
In that case, let give it a try.
Good to know gngeo itself works, that rules out a big part.

Then it comes down to python or configs in my mind. If it is a config issue, I would expect gngeo-gui to complain about it.

Good you give me output of the following commands:
Code:

ls -ld /home/user/.gngeo-gui/

ls -l /home/user/.gngeo-gui/

cat /home/user/.gngeo-gui/gngeo-gui.cfg

dpkg --get-selections|grep -Ew "python2.5-qt4-gui|python2.5-qt4-core|python2.5-qt4-maemo5|python-pyside.qtgui|python-pyside.qtcore|python-pyside.qtmaemo5"

And about the last 20 lines from the output of:
Code:

strace python /opt/gngeo-gui/gngeo-gui.py
when it has crashed with a segmentation fault.

You can attach the output in a textfile if you think the output is somewhat too big.


ade 2012-12-02 15:57

Re: [Announce] GnGeo-gui
 
All looks fine. Please install strace (apt-get install strace) for the last test.

B-RUNO 2012-12-02 22:35

Re: [Announce] GnGeo-gui
 
Sorry Ade to bother, but I have been try to install gngeo and your gui but I keep geting this erro.
Code:

--- 2012-12-02 22:29:54 ---
Start reading package lists
--- 2012-12-02 22:30:11 ---
Finished reading package lists
--- 2012-12-02 22:30:11 ---
Start fetching package dates
--- 2012-12-02 22:30:11 ---
need to fetch date for 0 packages
--- 2012-12-02 22:30:11 ---
sent 0 requests, received 0 replies with 0 errors
--- 2012-12-02 22:30:11 ---
Finished fetching package dates
--- 2012-12-02 22:30:28 ---
/usr/bin/apt-get -qsy --allow-unauthenticated -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts="" --auto-remove install gngeo
--- 2012-12-02 22:31:20 ---
Output from last process:
---
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  gngeo
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Inst gngeo (0.7.0-2 Extras-devel:2.0/fremantle)
Conf gngeo (0.7.0-2 Extras-devel:2.0/fremantle)
W: Ignoring Provides line with DepCompareOp for package binutils
W: You may want to run apt-get update to correct these problems

--- 2012-12-02 22:31:26 ---
/usr/bin/apt-get -qy --allow-unauthenticated -o DPkg::options::=--force-confnew -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts="" --auto-remove install gngeo
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  gngeo
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 0B/420kB of archives.
After this operation, 2277kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  gngeo
Authentication warning overridden.
(Reading database ... 26069 files and directories currently installed.)
Unpacking gngeo (from .../gngeo_0.7.0-2_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/gngeo_0.7.0-2_armel.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/gngeo_0.7.0-2_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any sugestion?
Thanks

gleydsonpr 2012-12-02 23:32

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by ade (Post 1300436)
I always get a bit lost when I read your answers :)

Does it work fine when you start gngeo without gngeo-gui? If so check if you have the correct gngeo path in gngeo-gui in the config menu -> path def. If you are referring to the wrong version of gngeo, that could be the cause.

If it's correct, I don't know anymore.

The path I have is /home/user/gngeo/bin

Sorry, I know my replies are difficult to understand because I'm brazilian, don't know much English... And I mencion other things sometimes in my posts (off topic) .

ade 2012-12-03 07:53

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by gleydsonpr (Post 1300799)
The path I have is /home/user/gngeo/bin

Sorry, I know my replies are difficult to understand because I'm brazilian, don't know much English... And I mencion other things sometimes in my posts (off topic) .

/home/user/gngeo/bin, are you kidding me? That's not my gngeo version over there. I should have removed this path choice earlier. How could it have been that the hotkeys worked with you? Please set the path to /home/opt/gngeo/bin/

@B-RUNO:
Version 0.7.2 had an issue when it is a fresh install.
Please use version 0.7.3, as it has also fixed the fullscreen issue. Unfortunally I can't put this version in extras-devel because of the autobuilder issues.

MarkyboyUK 2012-12-03 11:00

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by ade (Post 1300651)
All looks fine. Please install strace (apt-get install strace) for the last test.

last few lines from strace. Not sure how i would capture the whole thing to a file using the n900.

fstat64(4, {st_mode=S_IFREG|0644, st_size=51228, ...}) = 0
mmap2(NULL, 80148, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x41010000
mprotect(0x4101c000, 28672, PROT_NONE) = 0
mmap2(0x41023000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xb) = 0x41023000
close(4) = 0
open("/usr/lib/libexpat.so.1", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\10 \242KA4\0\0\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=124692, ...}) = 0
mmap2(0x414b8000, 154540, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x41024000
mprotect(0x41041000, 28672, PROT_NONE) = 0
mmap2(0x41048000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1c) = 0x41048000
close(4) = 0
open("/usr/lib/libXau.so.6", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0T\2 11PA4\0\0\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=8336, ...}) = 0
mmap2(0x41508000, 38540, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x404a8000
mprotect(0x404aa000, 28672, PROT_NONE) = 0
mmap2(0x404b1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1) = 0x404b1000
close(4) = 0
open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\20 \217QA4\0\0\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=17188, ...}) = 0
mmap2(0x41518000, 47380, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x4104a000
mprotect(0x4104e000, 28672, PROT_NONE) = 0
mmap2(0x41055000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x3) = 0x41055000
close(4) = 0
open("/lib/libsrv_um.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libsrv_um.so", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\31 4\35\0\0004\0\0\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=82228, ...}) = 0
mmap2(NULL, 111204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x41056000
mprotect(0x41069000, 32768, PROT_NONE) = 0
mmap2(0x41071000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x13) = 0x41071000
close(4) = 0
futex(0x41023910, FUTEX_WAKE, 2147483647) = 0
brk(0x290000) = 0x290000
munmap(0x40483000, 41944) = 0
brk(0x2b1000) = 0x2b1000
brk(0x2d5000) = 0x2d5000
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41072000
brk(0x2f6000) = 0x2f6000
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x410b3000
brk(0x317000) = 0x317000
brk(0x338000) = 0x338000
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x410f4000
munmap(0x410f4000, 266240) = 0
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x410f4000
brk(0x359000) = 0x359000
mmap2(NULL, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41135000
brk(0x37b000) = 0x37b000
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41146000
munmap(0x41146000, 266240) = 0
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41146000
munmap(0x41146000, 266240) = 0
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41146000
munmap(0x41146000, 266240) = 0
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41146000
brk(0x39c000) = 0x39c000
close(3) = 0
futex(0x118f88, FUTEX_WAKE, 1) = 0
stat64("/usr/lib/python2.5/site-packages/PySide/QtMaemo5", 0xbea49040) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.5/site-packages/PySide/QtMaemo5.so", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=279736, ...}) = 0
open("/usr/lib/python2.5/site-packages/PySide/QtMaemo5.so", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\35 4\344\0\0004\0\0\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=279736, ...}) = 0
mmap2(NULL, 311212, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x41284000
mprotect(0x412c7000, 28672, PROT_NONE) = 0
mmap2(0x412ce000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x42) = 0x412ce000
close(4) = 0
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=41944, ...}) = 0
mmap2(NULL, 41944, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40483000
close(4) = 0
open("/usr/lib/libQtMaemo5.so.4", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\21 4|\0\0004\0\0\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=58128, ...}) = 0
mmap2(NULL, 89572, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x41187000
mprotect(0x41194000, 32768, PROT_NONE) = 0
mmap2(0x4119c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xd) = 0x4119c000
close(4) = 0
munmap(0x40483000, 41944) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
~ $

gleydsonpr 2012-12-03 17:45

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by ade (Post 1300867)
/home/user/gngeo/bin, are you kidding me? That's not my gngeo version over there. I should have removed this path choice earlier. How could it have been that the hotkeys worked with you? Please set the path to /home/opt/gngeo/bin/

@B-RUNO:
I will update this post later for you.

Ok, thanks Ade I'll set it again and hopefully the bug will be gone, one thing I noticed is that in the opening of kof96 the fps is about 55/60 without overclock, I think it has increased, will change the path and test again.

I've changed the path but still get the bug especially if I minimize and return, volumen changing sometimes doesn't crash... But as I said this version seems to be faster with less slowdowns and more fps. Thanks Ade. Forgot to answer about the hotkeys, the hotkeys are written on the gngeorc txt file, so is the same as all the other keys, I think. I have to check because I remember I set them up on your gui directly, but maybe they get printten on gngeorc as we change the configurations on the gui and I have set them since you introduced the feature.

B-RUNO 2012-12-04 18:05

Re: [Announce] GnGeo-gui
 
Quote:

@B-RUNO:
Version 0.7.2 had an issue when it is a fresh install.
Please use version 0.7.3 (http://dl.dropbox.com/u/42147901/gng....0-3_armel.deb), as it has also fixed the fullscreen issue. Unfortunally I can't put this version in extras-devel because of the autobuilder issues.
Thank you very much Ade for your response but unfortunately I get this erro;
Code:

Nokia-N900:/home/user/MyDocs# dpkg -i gngeo_0.7.0-3_armel.deb
(Reading database ... 25515 files and directories currently installed.)
Unpacking gngeo (from gngeo_0.7.0-3_armel.deb) ...
dpkg: error processing gngeo_0.7.0-3_armel.deb (--install):
 error creating directory `opt/gngeo/bin': No such file or directory
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 gngeo_0.7.0-3_armel.deb

Thanks for your patience

ade 2012-12-04 19:32

Re: [Announce] GnGeo-gui
 
Sorry for the inconvenience.
Now that I can upload to extras devel again, I will doublecheck everything for first time installers, and upload a new version.

edit:
version 0.7.0-maemo4 in the repo. Clean install worked fine.

Still found a flaw if directory exists (mkdir: can't create directory '/home/user/.gngeo': File exists), but that is not fatal.

B-RUNO 2012-12-04 21:46

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by ade (Post 1301404)
Sorry for the inconvenience.
Now that I can upload to extras devel again, I will doublecheck everything for first time installers, and upload a new version.

edit:
version 0.7.0-maemo4 in the repo. Clean install worked fine.

Still found a flaw if directory exists (mkdir: can't create directory '/home/user/.gngeo': File exists), but that is not fatal.

No Sorry for the inconvenience. Ade your are the one keeping this project alive thank you for this great project and patience.


All times are GMT. The time now is 09:20.

vBulletin® Version 3.8.8