maposmatic-dev
[Top][All Lists]
Advanced

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

[Maposmatic-dev] [bug #36270] shapely error in /apis/papersize/: "Readin


From: David Mentré
Subject: [Maposmatic-dev] [bug #36270] shapely error in /apis/papersize/: "ReadingError: Could not create geometry because of errors while reading input"
Date: Sun, 22 Apr 2012 09:33:28 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0

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

                 Summary: shapely error in /apis/papersize/: "ReadingError:
Could not create geometry because of errors while reading input"
                 Project: MapOSMatic
            Submitted by: dmentre
            Submitted on: dim. 22 avril 2012 11:33:27 CEST
                Category: ocitysmap
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Confirmed
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
         Planned Release: None

    _______________________________________________________

Details:

Error while querying /apis/papersize/:

"""
Traceback (most recent call last):

 File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 100,
in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/home/maposmatic/maposmatic-prod/maposmatic/www/maposmatic/views.py",
line 236, in query_papersize
   bbox_wkt, area_wkt = ocitysmap.get_geographic_info(osmid)

 File "/home/maposmatic/maposmatic-prod/ocitysmap/ocitysmap2/__init__.py",
line 357, in get_geographic_info
   line_geom = self._get_geographic_info(osmid, 'line')

 File "/home/maposmatic/maposmatic-prod/ocitysmap/ocitysmap2/__init__.py",
line 334, in _get_geographic_info
   return shapely.wkt.loads(wkt)

 File "/usr/lib/pymodules/python2.6/shapely/wkt.py", line 17, in loads
   "Could not create geometry because of errors while reading input."

ReadingError: Could not create geometry because of errors while reading
input.


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'stylesheet': [u'Default'], u'layout':
[u'single_page_index_bottom'], u'osmid': [u'-1330715']}>,
COOKIES:{XXXXXXXXXXXXXXXXXXXXXX},
META:{'CONTENT_LENGTH': '65',
 'CONTENT_TYPE': 'application/x-www-form-urlencoded',
 'DOCUMENT_ROOT': '/home/maposmatic/public_html/www.maposmatic.org',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': '*/*',
 'HTTP_ACCEPT_CHARSET': 'windows-1251,utf-8;q=0.7,*;q=0.3',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
 'HTTP_ACCEPT_LANGUAGE': 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': XXXXXXXXXXXXXXXXXXXXXX,
 'HTTP_HOST': 'maposmatic.org',
 'HTTP_ORIGIN': 'http://maposmatic.org',
 'HTTP_REFERER': 'http://maposmatic.org/new/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19
(KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH_INFO': u'/apis/papersize/',
 'PATH_TRANSLATED':
'/home/maposmatic/public_html/www.maposmatic.org/maposmatic.wsgi/apis/papersize/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': 'XXXXXXXXXXXXXXXXXXXXXX',
 'REMOTE_PORT': 'XXXXXXXXXXXXXXXXXXXXXX',
 'REQUEST_METHOD': 'POST',
 'REQUEST_URI': '/apis/papersize/',
 'SCRIPT_FILENAME':
'/home/maposmatic/public_html/www.maposmatic.org/maposmatic.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '193.19.209.9',
 'SERVER_ADMIN': 'address@hidden',
 'SERVER_NAME': 'maposmatic.org',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at maposmatic.org
Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)',
 'mod_wsgi.application_group': 'maposmatic.org|',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.handler_script': '',
 'mod_wsgi.input_chunked': '0',
 'mod_wsgi.listener_host': '',
 'mod_wsgi.listener_port': '80',
 'mod_wsgi.process_group': '',
 'mod_wsgi.request_handler': 'wsgi-script',
 'mod_wsgi.script_reloading': '1',
 'mod_wsgi.version': (3, 2),
 'wsgi.errors': <mod_wsgi.Log object at 0x7f0449317070>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object
at 0x7f044956a990>,
 'wsgi.input': <mod_wsgi.Input object at 0x7f044910deb0>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 1)}>
"""




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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