Error: at 0x7f3a9b5fe500>; 'GenericPhoto' object has no attribute 'get_display_url'
Created by: gaikman2015
I am at a loss. On a fresh install of Ubuntu 14.04 I install virtualenv 1.11.4, create a vitrual environment called 'env' and activate it. In the virtualenv I have the following installed:
argparse (1.2.1) Django (1.6.5) django-appconf (1.0.1) django-compressor (1.4) django-inventory (1.0.rc1) django-pagination (1.0.7) django-photologue (2.3) django-solo (1.0.5) Pillow (2.5.1) pip (1.5.4) setuptools (2.2) six (1.9.0) South (1.0) wsgiref (0.1.2)
I do a 'sudo pip install django-inventory==1.0.rc1', then 'django-inventory.py initialsetup' then 'runserver'.
Even on a new install of everything and running on the development server I cannot see thumbnails for pictures added to a template(inventory item).
You can go see it now at http://76.185.205.54/inventory/template/2/photos/
Imported comments:
By xrg on 2015-03-25 18:46:11 UTC
You wrote:
I am at a loss. Has anyone else experienced this problem?
You can go see it now at http://76.185.205.54/inventory/template/2/photos/
Indeed, a bug: at apps/photos/views.py:61 there is reference for: GenericPhoto.get_display_url() and GenericPhoto.get_thumbnail_url() which are not implemented.
Could it be some broken/deprecated feature of django-photologue?
(this is a note to myself, also, for further investigation)
By santino1976 on 2015-07-01 14:51:39 UTC
I am getting the same error when uploading photos.
"Error: at 0x27de0c8>; 'GenericPhoto' object has no attribute 'get_display_url'"