bugMapOSMatic - Bugs: bug #36538, TypeError: 'NoneType' object is...


bug #36538: TypeError: 'NoneType' object is unsubscriptable

Submitted by:  David MentrĂ© <dmentre>
Submitted on:  Fri 25 May 2012 06:28:58 AM UTC  
Category:  ocitysmap Severity:  3 - Normal
Priority:  5 - Normal Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  2012.04

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 25 May 2012 06:28:58 AM UTC, original submission:

Exception "TypeError: 'NoneType' object is unsubscriptable" occured for following job.

The two longitude are the same so it might already be fixed on dev.m.o.

An error occured while rendering job #49664!

Traceback (most recent call last):
File "/home/maposmatic/maposmatic-prod/maposmatic/scripts/render.py", line 339, in run
output_formats, prefix)
File "/home/maposmatic/maposmatic-prod/ocitysmap/ocitysmap2/__init__.py", line 461, in render
File "/home/maposmatic/maposmatic-prod/ocitysmap/ocitysmap2/__init__.py", line 516, in _render_one
renderer = renderer_cls(self._db, config, tmpdir, dpi, file_prefix)
File "/home/maposmatic/maposmatic-prod/ocitysmap/ocitysmap2/layoutlib/single_page_renderers.py", line 548, in _init_
SinglePageRenderer.__init__(self, db, rc, tmpdir, dpi, file_prefix, None)
File "/home/maposmatic/maposmatic-prod/ocitysmap/ocitysmap2/layoutlib/single_page_renderers.py", line 78, in _init_
File "/home/maposmatic/maposmatic-prod/ocitysmap/ocitysmap2/indexlib/../indexlib/indexer.py", line 67, in _init_
+ self._list_villages(db, polygon_wkt))
File "/home/maposmatic/maposmatic-prod/ocitysmap/ocitysmap2/indexlib/../indexlib/indexer.py", line 294, in _list_streets
return self._convert_street_index(sl)
File "/home/maposmatic/maposmatic-prod/ocitysmap/ocitysmap2/indexlib/../indexlib/indexer.py", line 230, in _convert_street_index
TypeError: 'NoneType' object is unsubscriptable

Job information:

administrative_osmid: None
endofrendering_time: None
id: 49664
index_queue_at_submission: 0
lat_bottom_right: 33.49216
lat_upper_left: 33.56853
layout: plain
lon_bottom_right: -111.95623
lon_upper_left: -111.95623
map_language: en_US.UTF-8
maptitle: Scottsdale, AZ
paper_height_mm: 1179
paper_width_mm: 11
resultmsg: None
startofrendering_time: 2012-05-25 05:06:09.873225
status: 1
stylesheet: MapOSMatic printable
submission_time: 2012-05-25 05:06:09.263708

You can view the job page at <http://www.maposmatic.org/jobs/49664>.

David Mentré <dmentre>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by dmentre (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.4