[RELEASE] XBMC Earth - Google Earth and Geocoder / Geolocation Script
Nuka1195
Skilled Python Coder Posts: 3,917 Joined: Dec 2004 Reputation: 17 |
2008-11-07 18:56
Post: #11
that looks like you need to change BASE_RESOURCE_PATH to os.getcwd()
|
| find quote |
freda
Junior Member Posts: 3 Joined: Nov 2008 Reputation: 0 |
2008-11-08 04:54
Post: #12
Nuka1195 Wrote:that looks like you need to change BASE_RESOURCE_PATH to os.getcwd() Ok thanks Nuka... I had a look into the default.py and changed: BASE_RESOURCE_PATH = os.path.join( os.getcwd().replace( ";", "" ), "resources" ) to: BASE_RESOURCE_PATH = os.path.join( os.getcwd(), "resources" ) but I still get the same: TypeError: XML File for Window is missing I also tried: BASE_RESOURCE_PATH = os.getcwd() but his led to a different error: Import language ImportError: No module named language Any ideas? Apologies if I'm missing something really obvious, I haven't played with Python scripts before. |
| find quote |
Nuka1195
Skilled Python Coder Posts: 3,917 Joined: Dec 2004 Reputation: 17 |
2008-11-08 15:53
Post: #13
no.
change PHP Code: mydisplay = MainClass("script-%s-main.xml" % ( __scriptname__.replace( " ", "_" ), ), BASE_RESOURCE_PATH, "Default", 0) to PHP Code: mydisplay = MainClass("script-%s-main.xml" % ( __scriptname__.replace( " ", "_" ), ), os.getcwd(), "Default", 0) |
| find quote |
Themicles
Junior Member Posts: 6 Joined: Nov 2005 Reputation: 0 |
2008-11-10 14:09
Post: #14
That does get the script to load, but something else in the script is broken. I suspect something changed with the Google resources, as the script loads and shows two options on the left side, both are "Invalid Id 100" and "101".
|
| find quote |
freda
Junior Member Posts: 3 Joined: Nov 2008 Reputation: 0 |
2008-11-11 14:39
Post: #15
hmm, yep likewise with the "Invalid Id 100" and "101" for me.
seems you can still actually search on a location and have it retrieve data, but it doesn't seem to display any meaningful images, so yeh... pretty much useless. oh well, thanks for trying guys |
| find quote |
MrLight
Skilled Python Coder Posts: 26 Joined: Jan 2008 Reputation: 0 |
2008-12-17 23:20
Post: #16
Hi all,
Thanks for testing my script. Because Google has changed some URl-Parameters there was now map displayed in the last Version. I have fixed that now. I have although added some Basic Panoramio-Support. Download the fixed Version from the first post... I have done some testings with the Windows Version and the Xbox Version MrLight |
| find quote |
chihau
Junior Member Posts: 7 Joined: Jan 2009 Reputation: 0 |
2009-01-26 20:50
Post: #17
I can't run the script in my xbmc 8.10 for mac
the xbmc.log output is: 15:11:35 T:2958921728 M:1158144000 NOTICE: -->Python Interpreter Initialized<-- 15:11:35 T:2958921728 M:1158144000 NOTICE: 15:11:36 T:2958921728 M:1153912832 NOTICE: XBMC Earth Version: 0.50 Date: 15-01-2009 15:11:38 T:2958921728 M:1152524288 NOTICE: Traceback (most recent call last): 15:11:38 T:2958921728 M:1152524288 NOTICE: File "/Users/chihau/Library/Application Support/XBMC/scripts/Common Scripts/XBMC Earth/default.py", line 27, in ? 15:11:38 T:2958921728 M:1152520192 NOTICE: 15:11:38 T:2958921728 M:1152520192 NOTICE: from pic import Pic_GUI 15:11:38 T:2958921728 M:1152520192 NOTICE: File "/Users/chihau/Library/Application Support/XBMC/scripts/Common Scripts/XBMC Earth/resources/lib/pic.py", line 23, in ? 15:11:38 T:2958921728 M:1152520192 NOTICE: 15:11:38 T:2958921728 M:1152520192 NOTICE: from PIL import Image, ImageFont, ImageDraw, ImageFilter 15:11:38 T:2958921728 M:1152520192 NOTICE: File "/Users/chihau/Library/Application Support/XBMC/scripts/Common Scripts/XBMC Earth/resources/lib/PIL/ImageFont.py", line 115, in ? 15:11:38 T:2958921728 M:1152520192 NOTICE: 15:11:38 T:2958921728 M:1152520192 NOTICE: class FreeTypeFont: 15:11:38 T:2958921728 M:1152520192 NOTICE: File "/Users/chihau/Library/Application Support/XBMC/scripts/Common Scripts/XBMC Earth/resources/lib/PIL/ImageFont.py", line 135, in FreeTypeFont 15:11:38 T:2958921728 M:1152516096 NOTICE: 15:11:38 T:2958921728 M:1152516096 NOTICE: def getmask2(self, text, mode="", fill=Image.core.fill): 15:11:38 T:2958921728 M:1152516096 NOTICE: File "/Users/chihau/Library/Application Support/XBMC/scripts/Common Scripts/XBMC Earth/resources/lib/PIL/Image.py", line 36, in __getattr__ 15:11:38 T:2958921728 M:1152516096 NOTICE: 15:11:38 T:2958921728 M:1152516096 NOTICE: raise ImportError("The _imaging C module is not installed") 15:11:38 T:2958921728 M:1152516096 NOTICE: ImportError 15:11:38 T:2958921728 M:1152516096 NOTICE: : 15:11:38 T:2958921728 M:1152516096 NOTICE: The _imaging C module is not installed 15:11:38 T:2958921728 M:1152516096 NOTICE: 15:11:38 T:2958921728 M:1152516096 ERROR: Scriptresult: Error |
| find quote |
MrLight
Skilled Python Coder Posts: 26 Joined: Jan 2008 Reputation: 0 |
2009-01-26 23:06
Post: #18
sorry - at this time there is no mac and no linux support...
I will fix this in a few weeks... |
| find quote |
mjnman
Junior Member Posts: 9 Joined: Dec 2008 Reputation: 0 |
2009-04-27 16:03
Post: #19
Hi,
is there a Linux version of Google Earth? thanks Matteo |
| find quote |
greatant1337
Senior Member Joined: Jul 2008 Reputation: 0 Location: Gold Coast, Australia |
2009-05-13 04:05
Post: #20
This is an awesome script. Just not a big fan of the skin, so I've made an MC360 version.
I've been unable to change the positioning of the actual map/satellite images nor will they show over any other control. If there's ever a new version of this script map position would be a really useful thing to be able to change. ![]()
(This post was last modified: 2009-05-13 04:08 by greatant1337.)
|
| find quote |


![[Image: fjqa9e.jpg]](http://i41.tinypic.com/fjqa9e.jpg)
Search
Help