maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [bug #36538] TypeError: 'NoneType' object is unsubscrip


From: David Mentré
Subject: [Maposmatic-dev] [bug #36538] TypeError: 'NoneType' object is unsubscriptable
Date: Fri, 25 May 2012 06:28:58 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0

URL:
  <http://savannah.nongnu.org/bugs/?36538>

                 Summary: TypeError: 'NoneType' object is unsubscriptable
                 Project: MapOSMatic
            Submitted by: dmentre
            Submitted on: ven. 25 mai 2012 08:28:58 CEST
                Category: ocitysmap
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Need Info
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 2012.04

    _______________________________________________________

Details:

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>.
"""





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?36538>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]