View Single Post
Old 15-09-2007, 11:13 AM   #21 (permalink)
rocket357
Security freak
 
rocket357's Avatar
 
Join Date: Jul 2007
Location: 01100001 01110100 00100000 01101000 01101111 01101101 01100101 00100001
Posts: 227
Default Re: GeoXPlanet now available at Sourceforge.net

Quote:
Originally Posted by vish786
How to use it.
installed both xplanet/xearth also.
command : geoplanet.py
error: command not found.

and i didnt see any windows related files in downloaded files, then how can it run in win
The project is coded in Python. You need to have Python installed for it to run (Python runs on Windows, Linux, *BSD, etc...). If you do have Python installed the underlying OS doesn't matter (other than paths for finding file names, availability of certain tools outside of Python, a very few Python internals, etc...)

What you need to do is this:

If you're on Windows, download GeoXPlanet-0.3.1.zip, if you're on *nix, download the GeoXPlanet-0.3.1.tar.bz2. *These archives are EXACTLY the same files!!*, the zip is provided as a convenience for Windows users (WinZip/7zip/etc... can open tar.bz2 files, but some people don't know that). Once you download the archive of your choice, extract it to a directory of your choice (for Windows users, Desktop is probably best, since there is a compatibility issue with winXPlanetBG that's currently unresolved (I'll get to it this weekend, if I can)). Once you've extracted it, enter the directory where you extracted the project, and run "./GeoXPlanet.py" for *nix (Note the "X" in the name, and the capitalization!), and for Windows "python.exe GeoXPlanet.py" (assuming python.exe is on your PATH), though you might be able to type simply "GeoXPlanet.py". On my XP machine at work when I double click the GeoXPlanet.py file, it opens a command prompt and runs it. Perhaps I have a setting that needs to be outlined in the README?

Once the script is running, it should display "Performing lookup on <ip address>", but it's obviously only going to do that if you have active connections. I have a modification planned (implemented on my machine at home) that spits out a "Waiting for connections..." statement if no connections are found on the first pass, and that will be released soon with fixes for a few other issues.

By 0.4 I hope to have the Windows support working much better =\

Quote:
Originally Posted by mehulved
In Installation section of README, I can't find anything about making the GeoXPlanet.py file as executable. And the file wasn't executable too. I extracted the tarball with
Code:
sudo tar xjpvf GeoXPlanet-0.3.1.tar.bz2
A small quirk but it may confuse new users.
ACK!

Thanks for pointing that out! If you're running GeoXPlanet on *nix, you need to run:

chmod 700 GeoXPlanet.py

and if you run gnome, you need to run:

chmod 700 gnome.sh

My apologies if this caused any confusion! This will be fixed in later releases...

EDIT -

GeoXPlanet-0.3.2 is out...

This release includes arcs, colors, and titling the points with the port numbers of the connections.

http://sourceforge.net/project/scree...roup_id=205209
__________________
Linux Admin by profession. OpenBSD user by choice.

Last edited by rocket357; 15-09-2007 at 11:15 AM. Reason: Automerged Doublepost
rocket357 is offline