Articole tematice

Cum se poate pierde identitatea unui monument istoric. Distrugerea patrimoniul „minor”

Traceback (most recent call last):
  File "/srv/www/arhitectura-1906.ro/python/rarh/a906/elements/gallery.py", line 58, in repl
    if count > 1 or images[0].is_landscape:
IndexError: list index out of range

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/srv/www/arhitectura-1906.ro/python/rarh/articles/models.py", line 412, in _get_text_fmt
    return Markup(filter_text(self, text))
  File "/srv/www/arhitectura-1906.ro/python/rarh/a906/elements/__init__.py", line 6, in filter_text
    return replace_galleries(article, replace_video_youtube(text))
  File "/srv/www/arhitectura-1906.ro/python/rarh/a906/elements/gallery.py", line 116, in replace_galleries
    return rx.sub(repl, text)
  File "/srv/www/arhitectura-1906.ro/python/rarh/a906/elements/gallery.py", line 64, in repl
    raise ValueError(tete) from err
ValueError: {'files_cache': {2028: <File: 2012/06/6b.jpg>}, 'auto_cache': {}}