GeoXPlanet now available at Sourceforge.net

Status
Not open for further replies.
OP
rocket357

rocket357

Security freak
^^ check to see if there is a triplet of images in GeoXPlanetDir/temp/images

Should be something to the effect of "Monitor_0_Output0.png", "Monitor_0_Output1.png", and "Output1.png" (or "Output0.png"). If those images are all the same, then something is triggering GeoXPlanet to update when it shouldn't be updating (or the images being generated aren't correct). If they're different, then something is going wrong in the way GeoXPlanet is setting the background image.

PS - did you set Monitor_0_projection to something other than None? Here's the list (and sample images) of each projection:

*cweiske.de/xplanet-projections/
 

gary4gar

GaurishSharma.com
I ran the GeoXPlanet but the homeLAT
homeLON values are wrong. will try & correct them.

*www.imgx.org/pthumbs/small/6410/Screenshot.png
 
OP
rocket357

rocket357

Security freak
^^^hostip.info doesn't have your ip address information. You can add it manually, or you can jump over to *www.ip2location.com/ to get the information that way.

NOTE:
ip2location is a pay-for service, but when you visit the main page it gives you *your own* ip geolocation information, so you can check your homeLAT/homeLON there =)
 

gary4gar

GaurishSharma.com
Correct valued in GeoXPlanet.conf
now it looks like this
*www.imgx.org/pthumbs/small/6411/Screenshot.png
Do i live in africa, that too in the sea, maybe under water submarine

Code:
################################################
###  This file was generated by configGUI.py ###
################################################
[General]
DESKTOP=gnome
DEBUG=True
delay=15.0
useNetstat=True
defaultColor=0xFFFFFF
homeName=Home
homeLAT=26.917
homeLON=75.817 
xplanetExe=/usr/bin/xplanet

[Display]
Xinerama=False
NumberOfDisplays=1
Monitor_0_geometry=1280x1024
Monitor_0_trace=True
Monitor_0_arcs=True
Monitor_0_projection=None
Monitor_0_titles=True
Monitor_0_titleType=port
Monitor_0_colors=False
Monitor_0_symbolsize=7
Monitor_0_showNations=False
Monitor_0_showCoast=False
Monitor_0_showStates=False
Monitor_0_nationColor=0x777777
Monitor_0_coastColor=0x002277
Monitor_0_stateColor=0x004400
Monitor_0_showClouds=False
Monitor_0_latitude=0.0
Monitor_0_longitude=0.0

[Database]
useDatabase=False
dbHost=
dbName=
dbUser=
dbPassword=
preferreddbmodule=
 
OP
rocket357

rocket357

Security freak
^^^

Change "Monitor_0_latitude" to the same value as homeLAT
Change "Monitor_0_longitude" to the same value as homeLON

You want it to look like this:

Monitor_0_latitude=26.917
Monitor_0_longitude=75.817
 

gary4gar

GaurishSharma.com
Now looks somewhat better but still not up to the mark.
1) the arc are more like lines, the projection(cuves) is missing.
2) instead of round, how about making it flat. it renders much better
3) Also label name of places
*www.imgx.org/pthumbs/small/6412/Screenshot-1.png
 
OP
rocket357

rocket357

Security freak
^^^ set

Monitor_0_projection=mercator

and restart GeoXPlanet

As for naming places, I've got the files necessary, but I hadn't included them yet...heh.

You always seem to be a step ahead of me, man!

Praka123, any luck with it yet? Did you check for those images in the temp/images directory?
 

gary4gar

GaurishSharma.com
used Monitor_0_projection=rectangular
*www.imgx.org/thumbs/small/14523_l06gu/Screenshot.png
It looks good now;)

Nice work
My desktop looks cool now:D

Like Mission control:lol:

Huston we got a problem, My Landing pads have jammed!:D
As for naming places, I've got the files necessary, but I hadn't included them yet...heh.

work fast:p
 
OP
rocket357

rocket357

Security freak
work fast:p

Aww man...it's gonna be like that, ehh? hahaha

Look for city/country names around 0.4.5 or so...perhaps sooner (if I can find *more* GPL'd lists). I need to get 0.4.3 out the door quickly, though, to fix the string conversion bug. (and a Windows bug that causes GeoXPlanet to attempt to lookup the lat and long of "").

Sigh...ain't multiplatform fun? heh
 

gary4gar

GaurishSharma.com
Again getting some errors.
Code:
gaurish@gaurish-desktop:~/file:/GeoXPlanet-0.4.2/src$ ./GeoXPlanet.py 

GeoXPlanet contains GPL code/files from the following sources:

clouds.py and controller.py now contain code from:
download_clouds.py ver. 1.1
Taken from: 
*xplanet.sourceforge.net//Extras/download_clouds.py
(C) 2004 Michal Pasternak <michal@pasternak.w.lub.pl>
This file has been modified by rocket357 for use in GeoXPlanet.

arcFiles directory: (boundaries_c, coast_c, and states_c)
Taken from: 
*xplanet.sourceforge.net/Extras/boundaries_c.gz
*xplanet.sourceforge.net/Extras/coast_c.gz
*xplanet.sourceforge.net/Extras/states_c.gz
These files are only used when GeoXPlanet.conf is set
with any of the following set to "True":
showNations, showCoast, and showStates

These files are, to the best of the author's knowledge,
GPL'd source.  If you know that this is not the case, please
contact: rocket357 (at) users (dot) sourceforge (dot) net
so the files can be removed from distribution.

Looking for the GeoXPlanet.conf file:
        /home/gaurish/file:/GeoXPlanet-0.4.2/src/GeoXPlanet.conf...
Found the config file!
Location of xplanet executable: /usr/bin/xplanet
Detecting environment settings...

Environment Variables:

        GNOME_DESKTOP_SESSION_ID:       Default
        WINDOWPATH:     7
        LESSOPEN:       | /usr/bin/lesspipe %s
        LOGNAME:        gaurish
        USER:   gaurish
        HOME:   /home/gaurish
        PATH:   /home/gaurish/mono-1.2.6/bin:/home/gaurish/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
        LD_LIBRARY_PATH:        /home/gaurish/mono-1.2.6/lib:
        SSH_AGENT_PID:  13163
        LANG:   en_IN
        TERM:   xterm
        SHELL:  /bin/bash
        XDG_SESSION_COOKIE:     c40f2813ebc3702ee4a12a0047a41500-1207076980.102190-501351592
        SESSION_MANAGER:        local/gaurish-desktop:/tmp/.ICE-unix/13122
        SHLVL:  1
        DISPLAY:        :0.0
        WINDOWID:       52428882
        MANPATH:        /home/gaurish/mono-1.2.6/share/man:
        USERNAME:       gaurish
        GDM_XSERVER_LOCATION:   local
        COLORTERM:      gnome-terminal
        SSH_AUTH_SOCK:  /tmp/ssh-qsRHv13122/agent.13122
        GNOME_KEYRING_SOCKET:   /tmp/keyring-VqVcT3/socket
        GDMSESSION:     gnome
        PKG_CONFIG_PATH:        /home/gaurish/mono-1.2.6/lib/pkgconfig:
        DBUS_SESSION_BUS_ADDRESS:       unix:abstract=/tmp/dbus-tBgG8JTipK,guid=946facb6ef5f464965da180047f28874
        _:      ./GeoXPlanet.py
        XAUTHORITY:     /home/gaurish/.Xauthority
        DESKTOP_SESSION:        gnome
        LESSCLOSE:      /usr/bin/lesspipe %s %s
        GNOME_KEYRING_PID:      13119
        OLDPWD: /home/gaurish
        GDM_LANG:       en_IN
        HISTCONTROL:    ignoreboth
        XDG_DATA_DIRS:  /usr/local/share/:/usr/share/:/usr/share/gdm/
        PWD:    /home/gaurish/file:/GeoXPlanet-0.4.2/src
        DESKTOP_STARTUP_ID:
        GTK_RC_FILES:   /etc/gtk/gtkrc:/home/gaurish/.gtkrc-1.2-gnome2
        LS_COLORS:      no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:


        Detecting Operating System:        linux2
        Detecting Desktop Environment:     gnome
        Detecting GeoXPlanet directory:    /home/gaurish/file:/GeoXPlanet-0.4.2
Done detecting environment settings
Reading the config file options... Done reading the config file

tcp        0    506 192.168.1.3:39348       72.14.253.125:5222      ESTABLISHED

Starting Trace on 72.14.253.125
tcp   142176      0 192.168.1.3:42273       81.95.1.87:80           ESTABLISHED

Starting Trace on 81.95.1.87
tcp        0    535 192.168.1.3:52224       209.177.146.34:6667     ESTABLISHED

Starting Trace on 209.177.146.34
tcp        0    138 192.168.1.3:44409       64.12.25.77:5190        ESTABLISHED

Starting Trace on 64.12.25.77
tcp        0    460 192.168.1.3:43529       216.155.193.185:5050    ESTABLISHED

Starting Trace on 216.155.193.185
Performing lookup on 72.14.253.125
Performing lookup on 81.95.1.87
TRACE:  64.12.25.77 COMPLETE
Performing lookup on 209.177.146.34
TRACE:  216.155.193.185 COMPLETE
TRACE:  81.95.1.87 COMPLETE
TRACE:  209.177.146.34 COMPLETE
TRACE:  72.14.253.125 COMPLETE
Traceback (most recent call last):
  File "./GeoXPlanet.py", line 89, in <module>
    program.run(GUI)
  File "/home/gaurish/file:/GeoXPlanet-0.4.2/src/controller.py", line 709, in run
    self.processList(self.getActiveConnections())
  File "/home/gaurish/file:/GeoXPlanet-0.4.2/src/controller.py", line 484, in processList
    self.lookupIP(ip, port)
  File "/home/gaurish/file:/GeoXPlanet-0.4.2/src/controller.py", line 431, in lookupIP
    page = urllib.urlopen("*api.hostip.info/get_html.php?ip=%s&position=true" % ipStr)
  File "/usr/lib/python2.5/urllib.py", line 82, in urlopen
    return opener.open(url)
  File "/usr/lib/python2.5/urllib.py", line 190, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.5/urllib.py", line 328, in open_http
    errcode, errmsg, headers = h.getreply()
  File "/usr/lib/python2.5/httplib.py", line 1195, in getreply
    response = self._conn.getresponse()
  File "/usr/lib/python2.5/httplib.py", line 924, in getresponse
    response.begin()
  File "/usr/lib/python2.5/httplib.py", line 385, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.5/httplib.py", line 343, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.5/socket.py", line 331, in readline
    data = recv(1)
IOError: [Errno socket error] (110, 'Connection timed out')
gaurish@gaurish-desktop:~/file:/GeoXPlanet-0.4.2/src$

Maybe this bug is caused by too many connections?
as previous, i was just browsing the forums, now i am doing lot of tasks

Output of netstat

Code:
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 gaurish-desktop.l:38509 perfora.net:www         ESTABLISHED
tcp        0      0 localhost:7634          localhost:56322         TIME_WAIT  
tcp        0      0 gaurish-desktop.l:38681 perfora.net:www         ESTABLISHED
tcp        0      0 gaurish-desktop.l:38680 perfora.net:www         ESTABLISHED
tcp        0      0 gaurish-desktop.l:38634 perfora.net:www         ESTABLISHED
tcp        0      0 gaurish-desktop.l:36446 rsn.ipmart-forum.co:www TIME_WAIT  
tcp        0      0 gaurish-desktop.l:57935 cs25.msg.dcn.yahoo:mmcc ESTABLISHED
tcp        0      0 gaurish-desktop.l:38689 perfora.net:www         ESTABLISHED
tcp        0      0 gaurish-desktop.l:38668 perfora.net:www         ESTABLISHED
tcp        0      0 localhost:7634          localhost:56312         TIME_WAIT  
tcp        0      0 localhost:7634          localhost:41655         TIME_WAIT  
tcp        0      0 gaurish-desktop.l:36452 rsn.ipmart-forum.co:www TIME_WAIT  
tcp        0      0 localhost:7634          localhost:41647         TIME_WAIT  
tcp        0      0 localhost:7634          localhost:56316         TIME_WAIT  
tcp        0      0 gaurish-desktop.l:38682 perfora.net:www         ESTABLISHED
tcp        0      0 gaurish-desktop.l:37460 niven.freenode.net:ircd ESTABLISHED
tcp        0      0 localhost:7634          localhost:41638         TIME_WAIT  
tcp        0      0 gaurish-desktop.l:32807 171.210-193-49.idc-:www ESTABLISHED
tcp        0      0 localhost:7634          localhost:56328         TIME_WAIT  
tcp        0      0 localhost:7634          localhost:41643         TIME_WAIT  
tcp        0      0 gaurish-desktop.l:55220 rsn.ipmart-forum.co:www TIME_WAIT  
tcp        0      0 localhost:7634          localhost:41662         TIME_WAIT  
tcp        0      0 gaurish-desktop.l:55227 rsn.ipmart-forum.co:www TIME_WAIT  
tcp        0      0 localhost:7634          localhost:41663         TIME_WAIT  
tcp        0      0 gaurish-desktop.l:38635 perfora.net:www         ESTABLISHED
tcp        0      0 gaurish-desktop.l:38510 perfora.net:www         ESTABLISHED
tcp        0      0 gaurish-desktop.l:38687 perfora.net:www         ESTABLISHED
tcp        0      0 localhost:7634          localhost:41665         TIME_WAIT  
tcp        0      0 gaurish-desktop.l:36447 rsn.ipmart-forum.co:www TIME_WAIT  
tcp        0      0 localhost:7634          localhost:41658         TIME_WAIT  
tcp        0      0 localhost:7634          localhost:41660         TIME_WAIT  
tcp        0      0 gaurish-desktop.l:38512 perfora.net:www         ESTABLISHED
tcp        0      0 gaurish-desktop.l:38679 perfora.net:www         ESTABLISHED
tcp        0      0 localhost:7634          localhost:41657         TIME_WAIT  
tcp        0      1 gaurish-desktop.l:38637 perfora.net:www         FIN_WAIT1  
tcp        0      0 gaurish-desktop.l:38677 perfora.net:www         ESTABLISHED
tcp        0      0 gaurish-desktop.l:38683 perfora.net:www         ESTABLISHED
tcp        0      0 gaurish-desktop.l:33056 badges1.del.vip.re1:www TIME_WAIT  
tcp        0      0 gaurish-desktop.l:52942 perfora.net:www         ESTABLISHED
tcp        0      0 localhost:7634          localhost:41639         TIME_WAIT  
tcp        0      0 localhost:7634          localhost:41654         TIME_WAIT  
tcp        0      0 gaurish-desktop.l:36437 rsn.ipmart-forum.co:www TIME_WAIT  
tcp        0      0 localhost:7634          localhost:41656         TIME_WAIT  
tcp        0      0 gaurish-desktop.l:36428 rsn.ipmart-forum.co:www TIME_WAIT  
tcp        0      0 localhost:7634          localhost:41659         TIME_WAIT  
tcp        0      0 gaurish-desktop.l:53452 po-in-f125.:xmpp-client ESTABLISHED
tcp        0      0 gaurish-desktop.l:38678 perfora.net:www         ESTABLISHED
tcp        0      0 gaurish-desktop.l:47377 64.12.25.77:aol         ESTABLISHED
tcp        0    920 gaurish-desktop.l:52940 cf-in-f99.google.co:www ESTABLISHED
tcp        0      0 gaurish-desktop.l:55225 rsn.ipmart-forum.co:www TIME_WAIT  
tcp        0      0 gaurish-desktop.l:38633 perfora.net:www         ESTABLISHED
tcp        0      0 gaurish-desktop.l:38636 perfora.net:www         ESTABLISHED
tcp        0      0 localhost:7634          localhost:41666         TIME_WAIT  
tcp        0    117 gaurish-desktop.l:46670 dm00042.lunarpages.:www FIN_WAIT1  
tcp        0      0 gaurish-desktop.l:38511 perfora.net:www         ESTABLISHED
udp        0      0 gaurish-desktop.l:40464 resolver2.opendn:domain ESTABLISHED
udp        0      0 gaurish-desktop.l:40466 resolver1.opendn:domain ESTABLISHED
 
Last edited:

gary4gar

GaurishSharma.com
some More errors

Code:
tcp        0      0 192.168.1.3:37630       64.12.201.40:5190       ESTABLISHED

tcp        0      0 192.168.1.3:33385       72.14.253.125:5222      ESTABLISHED

tcp        0      0 192.168.1.3:38901       74.125.19.103:80        ESTABLISHED

tcp        0      0 192.168.1.3:50512       210.210.18.53:80        ESTABLISHED

tcp        0      0 192.168.1.3:44044       202.144.75.95:80        ESTABLISHED

tcp        0      0 192.168.1.3:38892       64.12.30.40:5190        ESTABLISHED

tcp        0      0 192.168.1.3:44421       207.158.1.150:6667      ESTABLISHED

tcp        0      0 192.168.1.3:54186       64.12.25.78:5190        ESTABLISHED

tcp        0      0 192.168.1.3:39665       216.155.193.180:5050    ESTABLISHED

TRACE:  target = 207.158.1.150
        hop: "59.163.16.138"
TRACE:  Adding tracepoint "59.163.16.138" from cache
        hop: "207.45.213.153"
TRACE:  Adding tracepoint "207.45.213.153" from cache
        hop: "207.45.213.150"
TRACE:  Adding tracepoint "207.45.213.150" from cache
        hop: "205.171.205.29"
TRACE:  Adding tracepoint "205.171.205.29" from cache
        hop: "205.171.13.58"
TRACE:  Adding tracepoint "205.171.13.58" from cache
        hop: "63.149.192.186"
TRACE:  Adding tracepoint "63.149.192.186" from cache
        hop: "206.251.233.61"
TRACE:  Adding tracepoint "206.251.233.61" from cache
        hop: "207.158.1.150"
TRACE:  Adding tracepoint "207.158.1.150" from cache
TRACE:  target = 64.12.30.40
        hop: "59.95.160.1"
TRACE:  Adding tracepoint "59.95.160.1" from cache
        hop: "218.248.255.10"
TRACE:  Adding tracepoint "218.248.255.10" from cache
        hop: "218.248.255.10"
TRACE:  Adding tracepoint "218.248.255.10" from cache
        hop: "202.54.185.254"
TRACE:  Adding tracepoint "202.54.185.254" from cache
        hop: "59.163.16.138"
TRACE:  Adding tracepoint "59.163.16.138" from cache
        hop: "64.86.84.129"
TRACE:  Adding tracepoint "64.86.84.129" from cache
        hop: "216.6.86.17"
TRACE:  Adding tracepoint "216.6.86.17" from cache
        hop: "216.6.33.5"
TRACE:  Adding tracepoint "216.6.33.5" from cache
        hop: "66.185.150.105"
TRACE:  Adding tracepoint "66.185.150.105" from cache
        hop: "66.185.150.96"
TRACE:  Adding tracepoint "66.185.150.96" from cache
        hop: "66.185.153.58"
TRACE:  Adding tracepoint "66.185.153.58" from cache
        hop: "66.185.144.33"
TRACE:  Adding tracepoint "66.185.144.33" from cache
        hop: "66.185.148.222"
TRACE:  Adding tracepoint "66.185.148.222" from cache
        hop: "64.12.30.40"
TRACE:  Adding tracepoint "64.12.30.40" from cache
        hop: "64.12.30.40"
TRACE:  Adding tracepoint "64.12.30.40" from cache
TRACE:  target = 74.125.19.103
        hop: "59.95.160.1"
TRACE:  Adding tracepoint "59.95.160.1" from cache
        hop: "218.248.255.22"
TRACE:  Adding tracepoint "218.248.255.22" from cache
        hop: "218.248.255.22"
TRACE:  Adding tracepoint "218.248.255.22" from cache
        hop: "220.227.57.214"
TRACE:  Adding tracepoint "220.227.57.214" from cache
        hop: "62.216.145.229"
TRACE:  Adding tracepoint "62.216.145.229" from cache
        hop: "62.216.145.229"
TRACE:  Adding tracepoint "62.216.145.229" from cache
        hop: "195.66.226.125"
TRACE:  Adding tracepoint "195.66.226.125" from cache
        hop: "209.85.255.175"
TRACE:  Adding tracepoint "209.85.255.175" from cache
        hop: "72.14.236.216"
TRACE:  Adding tracepoint "72.14.236.216" from cache
        hop: "66.249.94.235"
TRACE:  Adding tracepoint "66.249.94.235" from cache
        hop: "209.85.252.166"
TRACE:  Adding tracepoint "209.85.252.166" from cache
        hop: "72.14.238.235"
TRACE:  Adding tracepoint "72.14.238.235" from cache
        hop: "72.14.238.136"
TRACE:  Adding tracepoint "72.14.238.136" from cache
        hop: "209.85.251.34"
TRACE:  Adding tracepoint "209.85.251.34" from cache
        hop: "209.85.251.94"
TRACE:  Adding tracepoint "209.85.251.94" from cache
        hop: "209.85.251.94"
TRACE:  Adding tracepoint "209.85.251.94" from cache
        hop: "74.125.19.103"
TRACE:  Adding tracepoint "74.125.19.103" from cache
TRACE:  target = 216.155.193.180
        hop: "59.95.160.1"
TRACE:  Adding tracepoint "59.95.160.1" from cache
        hop: "218.248.255.22"
TRACE:  Adding tracepoint "218.248.255.22" from cache
        hop: "59.163.55.194"
TRACE:  Adding tracepoint "59.163.55.194" from cache
        hop: "64.86.5.5"
TRACE:  Adding tracepoint "64.86.5.5" from cache
        hop: "64.86.5.18"
TRACE:  Adding tracepoint "64.86.5.18" from cache
        hop: "216.6.51.21"
TRACE:  Adding tracepoint "216.6.51.21" from cache
        hop: "63.243.149.122"
TRACE:  Adding tracepoint "63.243.149.122" from cache
        hop: "216.115.108.5"
TRACE:  Adding tracepoint "216.115.108.5" from cache
        hop: "216.109.120.199"
TRACE:  Adding tracepoint "216.109.120.199" from cache
        hop: "216.155.193.180"
TRACE:  Adding tracepoint "216.155.193.180" from cache
        hop: "216.155.193.180"
TRACE:  Adding tracepoint "216.155.193.180" from cache
TRACE:  target = 202.144.75.95
        hop: "59.95.160.1"
TRACE:  Adding tracepoint "59.95.160.1" from cache
        hop: "218.248.255.10"
TRACE:  Adding tracepoint "218.248.255.10" from cache
        hop: "218.248.255.10"
TRACE:  Adding tracepoint "218.248.255.10" from cache
        hop: "218.248.250.205"
TRACE:  Adding tracepoint "218.248.250.205" from cache
        hop: "218.248.250.201"
TRACE:  Adding tracepoint "218.248.250.201" from cache
        hop: "218.248.249.33"
TRACE:  Adding tracepoint "218.248.249.33" from cache
        hop: "218.248.250.74"
TRACE:  Adding tracepoint "218.248.250.74" from cache
        hop: "218.248.250.86"
TRACE:  Adding tracepoint "218.248.250.86" from cache
        hop: "218.100.48.137"
TRACE:  Adding tracepoint "218.100.48.137" from cache
        hop: "221.135.101.61"
TRACE:  Adding tracepoint "221.135.101.61" from cache
        hop: "202.144.75.95"
TRACE:  Adding tracepoint "202.144.75.95" from cache
TRACE:  target = 64.12.201.40
        hop: "59.95.160.1"
TRACE:  Adding tracepoint "59.95.160.1" from cache
        hop: "218.248.255.22"
TRACE:  Adding tracepoint "218.248.255.22" from cache
        hop: "59.163.55.198"
TRACE:  Adding tracepoint "59.163.55.198" from cache
        hop: "64.86.5.5"
TRACE:  Adding tracepoint "64.86.5.5" from cache
        hop: "216.6.51.21"
TRACE:  Adding tracepoint "216.6.51.21" from cache
        hop: "63.243.149.98"
TRACE:  Adding tracepoint "63.243.149.98" from cache
        hop: "66.185.152.103"
TRACE:  Adding tracepoint "66.185.152.103" from cache
        hop: "64.12.201.40"
TRACE:  Adding tracepoint "64.12.201.40" from cache
        hop: "64.12.201.40"
TRACE:  Adding tracepoint "64.12.201.40" from cache
TRACE:  target = 72.14.253.125
        hop: "59.95.160.1"
TRACE:  Adding tracepoint "59.95.160.1" from cache
        hop: "59.163.16.138"
TRACE:  Adding tracepoint "59.163.16.138" from cache
        hop: "209.85.130.6"
TRACE:  Adding tracepoint "209.85.130.6" from cache
        hop: "72.14.232.138"
TRACE:  Adding tracepoint "72.14.232.138" from cache
        hop: "216.239.46.211"
TRACE:  Adding tracepoint "216.239.46.211" from cache
        hop: "64.233.174.125"
TRACE:  Adding tracepoint "64.233.174.125" from cache
        hop: "209.85.251.129"
TRACE:  Adding tracepoint "209.85.251.129" from cache
        hop: "74.125.31.170"
TRACE:  Adding tracepoint "74.125.31.170" from cache
        hop: "72.14.253.125"
TRACE:  Adding tracepoint "72.14.253.125" from cache
        hop: "72.14.253.125"
TRACE:  Adding tracepoint "72.14.253.125" from cache
TRACE:  target = 64.12.25.78
        hop: "59.163.16.138"
TRACE:  Adding tracepoint "59.163.16.138" from cache
        hop: "64.86.84.129"
TRACE:  Adding tracepoint "64.86.84.129" from cache
        hop: "216.6.86.17"
TRACE:  Adding tracepoint "216.6.86.17" from cache
        hop: "216.6.33.5"
TRACE:  Adding tracepoint "216.6.33.5" from cache
        hop: "66.185.150.105"
TRACE:  Adding tracepoint "66.185.150.105" from cache
        hop: "66.185.150.96"
TRACE:  Adding tracepoint "66.185.150.96" from cache
        hop: "66.185.153.58"
TRACE:  Adding tracepoint "66.185.153.58" from cache
        hop: "66.185.144.33"
TRACE:  Adding tracepoint "66.185.144.33" from cache
        hop: "66.185.152.105"
TRACE:  Adding tracepoint "66.185.152.105" from cache
        hop: "64.12.25.78"
TRACE:  Adding tracepoint "64.12.25.78" from cache
        hop: "64.12.25.78"
TRACE:  Adding tracepoint "64.12.25.78" from cache
TRACE:  target = 210.210.18.53
        hop: "59.95.160.1"
TRACE:  Adding tracepoint "59.95.160.1" from cache
        hop: "218.248.255.10"
TRACE:  Adding tracepoint "218.248.255.10" from cache
        hop: "218.248.255.10"
TRACE:  Adding tracepoint "218.248.255.10" from cache
        hop: "218.248.250.205"
TRACE:  Adding tracepoint "218.248.250.205" from cache
        hop: "218.248.250.201"
TRACE:  Adding tracepoint "218.248.250.201" from cache
        hop: "218.248.249.5"
TRACE:  Looking up tracepoint "218.248.249.5"
        hop: "218.248.249.10"
TRACE:  Looking up tracepoint "218.248.249.10"
        hop: "218.248.247.242"
TRACE:  Looking up tracepoint "218.248.247.242"
        hop: "218.248.251.26"
TRACE:  Looking up tracepoint "218.248.251.26"
        hop: "218.100.48.123"
TRACE:  Looking up tracepoint "218.100.48.123"
        hop: "124.7.127.22"
TRACE:  Looking up tracepoint "124.7.127.22"
        hop: "210.210.16.156"
TRACE:  Looking up tracepoint "210.210.16.156"
        hop: "210.210.18.53"
TRACE:  Adding tracepoint "210.210.18.53" from cache
tcp        0      0 192.168.1.3:35148       210.210.18.53:443       ESTABLISHED

tcp        0      0 192.168.1.3:37630       64.12.201.40:5190       ESTABLISHED

tcp        0      0 192.168.1.3:33385       72.14.253.125:5222      ESTABLISHED

tcp        0      0 192.168.1.3:38901       74.125.19.103:80        ESTABLISHED

tcp        0      0 192.168.1.3:50512       210.210.18.53:80        ESTABLISHED

tcp        0      0 192.168.1.3:35150       210.210.18.53:443       ESTABLISHED

tcp        0      0 192.168.1.3:38892       64.12.30.40:5190        ESTABLISHED

tcp        0      0 192.168.1.3:44421       207.158.1.150:6667      ESTABLISHED

tcp        0      0 192.168.1.3:54186       64.12.25.78:5190        ESTABLISHED

tcp        0      0 192.168.1.3:39665       216.155.193.180:5050    ESTABLISHED

tcp6       0      0 ::ffff:192.168.1.:35153 ::ffff:210.210.18.5:443 ESTABLISHED

Starting Trace on 
Traceback (most recent call last):
  File "./GeoXPlanet.py", line 89, in <module>
    program.run(GUI)
  File "/home/gaurish/file:/GeoXPlanet-0.4.2/src/controller.py", line 709, in run
    self.processList(self.getActiveConnections())
  File "/home/gaurish/file:/GeoXPlanet-0.4.2/src/controller.py", line 391, in getActiveConnections
    self.trace(ipAddy, ipPort)
  File "/home/gaurish/file:/GeoXPlanet-0.4.2/src/controller.py", line 503, in trace
    current = self.traceroute(ip, port)
  File "/home/gaurish/file:/GeoXPlanet-0.4.2/src/trace.py", line 35, in __init__
    self.ipPort = int(ipPort)
ValueError: invalid literal for int() with base 10: ''
 
OP
rocket357

rocket357

Security freak
The timeout issue is bound to happen from time to time with online lookups. I started testing a release using a SQLite MaxMind lat/long db that I built 2 days ago, which will negate online lookups, but will require SQLite ("apt-get install sqlite" for python 2.5, "apt-get install sqlite python2.4-sqlite" for python 2.4), but even with tar.bz2 compression the GeoXPlanet release is going to be over 30MB (which might be a problem for people with slower internet connections). I also want to double check with MaxMind that releasing their product is legal for GPL'd projects.

some More errors

Code:
    self.ipPort = int(ipPort)
ValueError: invalid literal for int() with base 10: ''


Interesting...that's the same bug that hit Windows yesterday.

I apologize for not getting 0.4.3 out yesterday...I got home from work and passed out, as I'd been awake for nearly 40 hours at that point. I intended to get 0.4.3 out yesterday, but as it stands it'll be more likely to happen tonight.

Again, my apologies...and thanks everyone for reporting as much as you have...you're really helping me improve the quality of GeoXPlanet =)
 
Last edited:
OP
rocket357

rocket357

Security freak
0.4.3 is in the queue, I haven't released because I still need to check the MaxMind license to fully ensure it's legal for me to redistribute their GeoLiteCity database data. The new engine will run SQLite or PostgreSQL (online lookups if preferred, though SQLite is a much more accurate and powerful system), and using SQLite will only require one additional command for Ubuntu/Debian users ("apt-get install sqlite3" for Python 2.5 users and "apt-get install python2.4-sqlite sqlite3" for Python 2.4 users). The rest (sqlite config/setup/etc...) is handled by GeoXPlanet automatically.

No more timeouts =)

I'll likely release 0.4.3 in the morning when I've had a chance to contact MaxMind...
 

ray|raven

Think Zen.
^He needs testers to do that, he said he was running gentoo.
Thats where you guys come in ;)

Btw, dude rocket, why dont you make a blog abt GeoXPlanet.
And posts all updates/problems/fiex there.
Easier to track that way than in a thread IMO.
 
F

FilledVoid

Guest
would be more than happy to test it on Ubuntu GG 64 bit. But the problem is I do not quite understand what it does.

GeoXPlanet is a program that integrates geolocation technology and xplanet. View the earth, with a geographic plot of the computers you've connected to, directly on your desktop background in near real-time

Does it show the location of the servers of whatever I'm communicating to on the Internet. I'd appreciate a bit more in the description. I have a data cap so how much data transfer will the application require once it is installed. If there is any data transferred at all. I have downloaded it now and reading through the readme so Ill see if I can install it and then give you whatever I come up with :).

rocket357@desktop:~/GeoXPlanet-(version)$ chmod 700 GeoXPlanet.py

As per Readme file this is the instructions. The file is not in the folder but rather in the ~/GeoXPlanet-(version)/src folder. Just pointing out random stuff I come across :).

rocket357@desktop:~/GeoXPlanet-(version)$ ./GeoXPlanet.py
On running the command shown above I get the popup which indicates that it couldn't find my longitude and Latitude and for me to go to www.hostip.info to enter it or I could enter in the configuration tool. The Ok or close button on the popup don't seem to work for me . Although the close icon on the title bar works fine :).

I think I need instructions on how to install this I think After I saved the Latitude and Longitude and ran the following i get the below error / code and DEBUG is set to TRUE in the conf file. Ok so I downloaded xplanet and then ran a ./configure and then a make and make install. After that I don't have any idea how to get this working os I think thats the problem :(. I tried running GeoXPlanet and set the location for the xplanet file in the config tool and I got the below error.

Code:
biju@Venom:~/GeoXPlanet-0.4.2/src$ ./GeoXPlanet.py 

GeoXPlanet contains GPL code/files from the following sources:

clouds.py and controller.py now contain code from:
download_clouds.py ver. 1.1
Taken from: 
*xplanet.sourceforge.net//Extras/download_clouds.py
(C) 2004 Michal Pasternak <michal@pasternak.w.lub.pl>
This file has been modified by rocket357 for use in GeoXPlanet.

arcFiles directory: (boundaries_c, coast_c, and states_c)
Taken from: 
*xplanet.sourceforge.net/Extras/boundaries_c.gz
*xplanet.sourceforge.net/Extras/coast_c.gz
*xplanet.sourceforge.net/Extras/states_c.gz
These files are only used when GeoXPlanet.conf is set
with any of the following set to "True":
showNations, showCoast, and showStates

These files are, to the best of the author's knowledge,
GPL'd source.  If you know that this is not the case, please
contact: rocket357 (at) users (dot) sourceforge (dot) net
so the files can be removed from distribution.

Looking for the GeoXPlanet.conf file:
        /home/biju/GeoXPlanet-0.4.2/src/GeoXPlanet.conf...
Found the config file!
Location of xplanet executable: /home/biju/xplanet-1.2.0/src/xplanet
Detecting environment settings...
        Detecting Operating System:        linux2
        Detecting Desktop Environment:     gnome
        Detecting GeoXPlanet directory:    /home/biju/GeoXPlanet-0.4.2
Done detecting environment settings
Reading the config file options... Done reading the config file

Performing lookup on 216.165.191.52
Generating image file: /home/biju/GeoXPlanet-0.4.2/temp/images/Monitor_0_Output1.png
XPLANET ERROR: Warning: Can't find Monitor_0_arcFile.txt in

XPLANET ERROR: /home/biju/GeoXPlanet-0.4.2/temp/arcs

XPLANET ERROR: xplanet/arcs

XPLANET ERROR: /home/biju/.xplanet/arcs

XPLANET ERROR: /usr/local/share/xplanet/arcs

XPLANET ERROR: Warning: Can't load arc file Monitor_0_arcFile.txt

XPLANET ERROR: Warning: Can't find Monitor_0_arcFile.txt in

XPLANET ERROR: /home/biju/GeoXPlanet-0.4.2/temp/arcs

XPLANET ERROR: xplanet/arcs

XPLANET ERROR: /home/biju/.xplanet/arcs

XPLANET ERROR: /usr/local/share/xplanet/arcs

XPLANET ERROR: Warning: Can't load arc file Monitor_0_arcFile.txt

Setting wallpaper!
An error has occurred: "not all arguments converted during string formatting"
If you need assistance, please set DEBUG=True in GeoXPlanet.conf
and re-run the script.  Mail the output to rocket357@users.sourceforge.net
biju@Venom:~/GeoXPlanet-0.4.2/src$
 
Last edited by a moderator:

praka123

left this forum longback
^he will release a bug fix version someday :p or just go through @rocket's reply to my queries in this thread
 
OP
rocket357

rocket357

Security freak
Guys, hey...0.4.3 is sitting at the door waiting to come out. Thanks everyone for helping out with this project, by the way. I really appreciate it!

Testing on Debian/Gnome...sure. I'll upload screenshots tonight, along with whatever I find. I don't really have the hardware for it, but I can vmware some images around my network, perhaps.

As for data transfer requirements, GeoXPlanet can use online lookups or it can use the MaxMind GeoLiteCity data set (*www.maxmind.com) so it doesn't require any data transfer (aside from the initial requirement...which is somewhat steep). Online lookups will require, well, data transfer online (to/from hostip.info), so that really depends on how often you create/break connections (though I will say that GeoXPlanet aggressively caches lookups so it doesn't have to look up the same ip twice in any session).

Code:
Generating image file: /home/biju/GeoXPlanet-0.4.2/temp/images/Monitor_0_Output1.png
XPLANET ERROR: Warning: Can't find Monitor_0_arcFile.txt in

XPLANET ERROR: /home/biju/GeoXPlanet-0.4.2/temp/arcs

XPLANET ERROR: xplanet/arcs

XPLANET ERROR: /home/biju/.xplanet/arcs

XPLANET ERROR: /usr/local/share/xplanet/arcs

You have arcs turned off in your config, and I haven't released a fix to check for that setting in the xplanet config generation step. The simplest workaround would be to set Monitor_0_arcs=True in your GeoXPlanet.conf until I can get 0.4.3 out the door.

FilledVoid said:
Does it show the location of the servers of whatever I'm communicating to on the Internet

GeoXPlanet is a program that uses xplanet to dynamically generate a desktop background for you. It determines what active internet connections you have running, runs those through a geolocation service, then generates a marker file (and optionally, an arc file) that xplanet can understand and runs xplanet to generate a desktop background that has planet earth with the *physical* locations of the connection endpoints plotted out. It does this in "near-real time", i.e. it updates the desktop background *roughly* every 15 seconds (faster if you set your config for it, and you have the hardware to handle it) with a completely new marker file/arc file (meaning it re-reads that information each time). Again, the actual lookup is cached, so it's not a big hit on your network unless you're going absolutely nuts with torrent downloads (or the like).
 
Last edited:

praka123

left this forum longback
OK :) waiting.as the drawing of lines(with IP) hadnt worked with previous versions.only if I restarted gdm and re-login can I see some line(single line) drawn.
also,my resolution is very low : 800x600@85Hz. do look at this problem :) best of Luck for your project!
 
Status
Not open for further replies.
Top Bottom