View Single Post
Posts: 34 | Thanked: 3 times | Joined on Jan 2010 @ Berlin
#6
here is the code from x term. I'm sorry but I'm not able to sort out what is important for you and what not because I'm not familiar with stuff like that.




BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ libelluleapp
Qype
('DuplicateSectionError', Section 'Setup' already exists)
nan nan
True
Yahoo Local search
nan nan
True
nan nan
True
nan nan
True
nan nan
True
nan nan
True
nan nan
True
nan nan
True
nan nan
True
nan nan
True
http://api.qype.com/v1/place_categor...i8z6jsPxPSMrWA
nan 1271242985.0
False
nan 1271242986.0
False
nan 1271242987.0
False
nan 1271242988.0
False
nan 1271242989.0
False
http://api.qype.com/v1/place_categor...i8z6jsPxPSMrWA
{'883': 'Eating & Drinking', '10': 'Education', '885': 'Transportation', '884': 'Health & Beauty', '610': 'Children', '333': 'Pets', '3': 'Shopping', '2': 'Nightlife', '5': 'Hotels & Holidays', '4': 'Arts & Entertainment', '7': 'Sport', '8': 'Services'}
10
Is categories
nan 1271242990.0
False
nan 1271242991.0
False
nan 1271242992.0
False
{'category': '551', 'latitude': 52.505051326006651, 'consumer_key': 'HAx8kcrVi8z6jsPxPSMrWA', 'longitude': 13.464138060808182}
http://api.qype.com/v1/positions/52....i8z6jsPxPSMrWA
[{'rating': '4', 'title': 'Volkshochschule Friedrichshain-Kreuzberg', 'url': None, 'longitude': '13.4621', 'hours': None, 'phone': '+49 30902984 600', 'street': 'Frankfurter Allee', 'city': 'Berlin', 'postcode': '10247', 'latitude': '52.5151', 'stars_img': <gtk.gdk.Pixbuf object at 0x40c84af8 (GdkPixbuf at 0x3cf790)>, 'housenumber': '37', 'id': 'tag:api.qype.com,2010-02-14:/places/1260994', 'distance': '1.1'}, {'rating': '2', 'title': 'WBS TRAINING AG', 'url': 'http://www.wbstraining.de/weiterbildung-in/berlin/', 'longitude': '13.4679', 'hours': 'Monday - Friday: 7:00 - 17:00\nSaturday - Sunday: closed', 'phone': '+49 30 42017845', 'street': 'Voigtstr. ', 'city': 'Berlin', 'postcode': '10247', 'latitude': '52.5154', 'stars_img': <gtk.gdk.Pixbuf object at 0x40c84a08 (GdkPixbuf at 0x3cf678)>, 'housenumber': '3', 'id': 'tag:api.qype.com,2008-09-16:/places/230653', 'distance': '1.1'}]
Is places
Enter alter_places_window
Adding Volkshochschule Friedrichshain-Kreuzberg in treeview
Adding WBS TRAINING AG in treeview
disable selected item
nan 1271242993.0
False
nan 1271242994.0
False
nan 1271242995.0
False
place_tv_changed
(0,)
0
Selected place : Volkshochschule Friedrichshain-Kreuzberg
{'rating': '4', 'title': 'Volkshochschule Friedrichshain-Kreuzberg', 'url': None, 'longitude': '13.4621', 'hours': None, 'phone': '+49 30902984 600', 'street': 'Frankfurter Allee', 'city': 'Berlin', 'postcode': '10247', 'latitude': '52.5151', 'stars_img': <gtk.gdk.Pixbuf object at 0x40c84af8 (GdkPixbuf at 0x3cf790)>, 'housenumber': '37', 'id': 'tag:api.qype.com,2010-02-14:/places/1260994', 'distance': '1.1'}
<libellule.qype.Place instance at 0x40c85760>
/usr/lib/python2.5/site-packages/libellule/qype/__init__.py:184: GtkWarning: gtk_label_set_label: assertion `str != NULL' failed
label = gtk.Label(self.data['hours'])
<type 'gtk.Image'>
setting window title
nan 1271242996.0
False
nan 1271242997.0
False
nan 1271242998.0
False
http://m.qype.co.uk/mobile/places/1260994
nan 1271242999.0
False
nan 1271243000.0
False
http://gmap-app.appspot.com/libellul...g_dest=13.4621
nan 1271243001.0
False
nan 1271243002.0
False
nan 1271243003.0
False
nan 1271243004.0
False
nan 1271243005.0
False
~ $