maposmatic-dev
[Top][All Lists]
Advanced

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

Re: [Maposmatic-dev] Exception during rendering


From: Maxime Petazzoni
Subject: Re: [Maposmatic-dev] Exception during rendering
Date: Mon, 2 Apr 2012 19:12:04 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

* Thomas Petazzoni <address@hidden> [2012-04-02 22:37:18]:

> Hello,
> 
> Job #423 failed to render today. The Python exception was:
> 
> 2012-04-02 18:14:20,722 - address@hidden - ERROR - Rendering of job #423 
> failed (exception occurred during rendering)!
> Traceback (most recent call last):
>   File "/home/maposmatic/maposmatic-dev/maposmatic/scripts/render.py", line 
> 232, in run
>     output_formats, prefix)
>   File "/home/maposmatic/maposmatic-dev/ocitysmap/ocitysmap2/__init__.py", 
> line 461, in render
>     file_prefix)
>   File "/home/maposmatic/maposmatic-dev/ocitysmap/ocitysmap2/__init__.py", 
> line 516, in _render_one
>     renderer = renderer_cls(self._db, config, tmpdir, dpi, file_prefix)
>   File 
> "/home/maposmatic/maposmatic-dev/ocitysmap/ocitysmap2/layoutlib/single_page_renderers.py",
>  line 601, in __init__
>     SinglePageRenderer.__init__(self, db, rc, tmpdir, dpi, file_prefix, 
> 'bottom')
>   File 
> "/home/maposmatic/maposmatic-dev/ocitysmap/ocitysmap2/layoutlib/single_page_renderers.py",
>  line 78, in __init__
>     rc.i18n)
>   File 
> "/home/maposmatic/maposmatic-dev/ocitysmap/ocitysmap2/indexlib/../indexlib/indexer.py",
>  line 67, in __init__
>     + self._list_villages(db, polygon_wkt))
>   File 
> "/home/maposmatic/maposmatic-dev/ocitysmap/ocitysmap2/indexlib/../indexlib/indexer.py",
>  line 286, in _list_streets
>     return self._convert_street_index(sl)
>   File 
> "/home/maposmatic/maposmatic-dev/ocitysmap/ocitysmap2/indexlib/../indexlib/indexer.py",
>  line 223, in _convert_street_index
>     cat_name = self._i18n.upper_unaccent_string(street_name[0])
> AttributeError: i18n_generic instance has no attribute 'upper_unaccent_string'

I remember seeing a change about this recently. i18n_generic should
implement a no-op upper_unaccent_string method IMHO.

/Max
-- 
Maxime Petazzoni <http://www.bulix.org>
 ``One by one, the penguins took away my sanity.''
Writing software in California

Attachment: signature.asc
Description: Digital signature


reply via email to

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