Issue 3 in ogmaps: No tiles downloaded and no html file created in folder

2 views
Skip to first unread message

codesite...@google.com

unread,
Apr 23, 2008, 5:10:14 PM4/23/08
to ogmaps-...@googlegroups.com
Issue 3: No tiles downloaded and no html file created in folder
http://code.google.com/p/ogmaps/issues/detail?id=3

New issue report by joelin21:
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Receives error while downloading. No tiles downloaded and no html file
created in folder. See additional information below...

What version of the product are you using? On what operating system?
svn 1.4.6, Windows XP

Please provide any additional information below.
Command Prompt output:
C:\Documents and Settings\HP_Owner\ogmaps>python ogmaps.py "ottawa, on"
downloading the following location: ottawa, on
location = Ottawa, ON, Canada
latitude, longitude = 45.421480, -75.691880
span-latitude, span-longitude = 0.309220, 0.330600
downloading: http://www.google.com/intl/en_us/mapfiles/94/maps2/main.js
downloading: http://www.google.com/intl/en_us/mapfiles/94/maps2/mod_cb.js
downloading:
http://www.google.com/intl/en_us/mapfiles/94/maps2/mod_traffic_app.js
downloading: http://www.google.com/intl/en_us/mapfiles/94/maps2/mod_ms.js
downloading: http://www.google.com/intl/en_us/mapfiles/94/maps2/mod_mymaps.js
downloading: http://www.google.com/intl/en_us/mapfiles/94/maps2/mod_mpl_host.js
downloading: http://www.google.com/intl/en_us/mapfiles/94/maps2/mod_kml.js
downloading: http://www.google.com/intl/en_us/mapfiles/94/maps2/mod_le.js
downloading: http://maps.google.com/intl/en_ALL/mapfiles/108/maps2.css
downloading: http://www.google.com/intl/en_ALL/images/maps_results_logo.gif
downloading: http://maps.google.com/intl/en_ALL/mapfiles/transparent.png
downloading: http://www.google.com/mapfiles/cb/bounds_cippppt.txt
downloading:
http://maps.google.com/maps/tldata?tldtype=1&hl=en&country=us&callback=_xdc_._1f9onnphn
downloading: http://www.google.com/intl/en_us/mapfiles/arrow-white.png
downloading: http://www.google.com/intl/en_us/mapfiles/arrow.png
downloading: http://www.google.com/intl/en_us/mapfiles/lmc.png
downloading: http://www.google.com/intl/en_us/mapfiles/lmc-bottom.png
downloading: http://www.google.com/intl/en_us/mapfiles/slider.png
downloading: http://www.google.com/intl/en_us/mapfiles/scale.png
downloading: http://www.google.com/intl/en_us/mapfiles/arrowtransparent.png
downloading: http://www.google.com/intl/en_us/mapfiles/overcontract.gif
downloading: http://maps.google.com/mapfiles/etna.jpg
downloading: http://www.google.com/intl/en_us/mapfiles/drag_cross_67_16.png
downloading: http://www.google.com/intl/en_us/mapfiles/iws2.png
downloading: http://www.google.com/intl/en_us/mapfiles/iw2.png
downloading: http://www.google.com/intl/en_us/mapfiles/iw_close.gif
downloading: http://www.google.com/intl/en_us/mapfiles/iw_plus.gif
downloading: http://www.google.com/intl/en_us/mapfiles/iw_fullscreen.gif
downloading: http://www.google.com/intl/en_us/mapfiles/iw_minus.gif
downloading: http://www.google.com/intl/en_us/mapfiles/transparent.gif
Traceback (most recent call last):
File "ogmaps.py", line 293, in ?
download(location, max_span)
File "ogmaps.py", line 260, in download
html = soup.prettify()
File "BeautifulSoup.py", line 598, in prettify
return self.__str__(encoding, True)
File "BeautifulSoup.py", line 573, in __str__
contents = self.renderContents(encoding, prettyPrint, indentContents)
File "BeautifulSoup.py", line 610, in renderContents
s.append(c.__str__(encoding, prettyPrint, indentLevel))
File "BeautifulSoup.py", line 573, in __str__
contents = self.renderContents(encoding, prettyPrint, indentContents)
File "BeautifulSoup.py", line 610, in renderContents
s.append(c.__str__(encoding, prettyPrint, indentLevel))
File "BeautifulSoup.py", line 573, in __str__
contents = self.renderContents(encoding, prettyPrint, indentContents)
File "BeautifulSoup.py", line 610, in renderContents
s.append(c.__str__(encoding, prettyPrint, indentLevel))
File "BeautifulSoup.py", line 526, in __str__
if self.containsSubstitutions and '%SOUP-ENCODING%' in val:
TypeError: 'in <string>' requires character as left operand

Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply all
Reply to author
Forward
0 new messages