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

 
 

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

Submitter:  David MentrĂ© <dmentre>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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_prefix)
 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_
   rc.i18n)
 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
   linestring[11:-1].split(','))
TypeError: 'NoneType' object is unsubscriptable


Job information:

 administrative_city:
 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
 nonce: XXXXXXXXXXXXXXXX
 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
 submitterip: XXXXXXXXXXXXXXXX

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

David Mentré <dmentre>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code