[GeoNode-users] EXIF photo issues

Toni Schönbuchner toni.schoenbuchner at csgis.de
Mon Aug 7 22:43:05 PDT 2017


Hi Franklin,

> TemplateDoesNotExist at /documents/172
> exif/_exif_document_detail.html
> Request Method:


have you checked that the template is in
the right place?

> https://github.com/GeoNode/geonode/tree/2.4.x/geonode/contrib/exif/templates/exif <https://github.com/GeoNode/geonode/tree/2.4.x/geonode/contrib/exif/templates/exif>

and enabled as documented here:

> https://github.com/GeoNode/geonode/tree/2.4.x/geonode/contrib/exif <https://github.com/GeoNode/geonode/tree/2.4.x/geonode/contrib/exif>

cheers,

Toni



-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil	+49/ (0) 176 6680 3198
Tel 		+49/ (0) 341 24 04 738
Fax 		+49/ (0) 341 24 04 73
Web		http://csgis.de
-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung,
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.

> Am 08.08.2017 um 02:26 schrieb geonode-users-request at lists.osgeo.org:
> 
> 1. EXIF photo issues (Franklin, Chris)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 8 Aug 2017 00:25:54 +0000
> From: "Franklin, Chris" <CFranklin at AngloGoldAshanti.com <mailto:CFranklin at anglogoldashanti.com>>
> To: "geonode-users at lists.osgeo.org <mailto:geonode-users at lists.osgeo.org>" <geonode-users at lists.osgeo.org <mailto:geonode-users at lists.osgeo.org>>
> Subject: [GeoNode-users] EXIF photo issues
> Message-ID:
> 	<AM4PR07MB3474126A5815651192934783CE8A0 at AM4PR07MB3474.eurprd07.prod.outlook.com <mailto:AM4PR07MB3474126A5815651192934783CE8A0 at am4pr07mb3474.eurprd07.prod.outlook.com>>
> 
> Content-Type: text/plain; charset="utf-8"
> 
> TemplateDoesNotExist at /documents/172
> exif/_exif_document_detail.html
> Request Method:
> 
> GET
> 
> Request URL:
> 
> http://***********/documents/172 <http://***********/documents/172>
> 
> Django Version:
> 
> 1.6.11
> 
> Exception Type:
> 
> TemplateDoesNotExist
> 
> Exception Value:
> 
> exif/_exif_document_detail.html
> 
> Exception Location:
> 
> C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\django\template\loader.py in find_template, line 131
> 
> Python Executable:
> 
> C:\GeoNode-2.4.x\Apache2\bin\Apache.exe
> 
> Python Version:
> 
> 2.7.10
> 
> Python Path:
> 
> ['C:\\GeoNode-2.4.x\\geonode-2.4.x\\geonode\\Lib\\site-packages' <smb://GeoNode-2.4.x//geonode-2.4.x//geonode//Lib//site-packages'>,
> 'C:\\GeoNode-2.4.x\\Python27\\python27.zip' <smb://GeoNode-2.4.x//Python27//python27.zip'>,
> 'C:\\GeoNode-2.4.x\\geonode-2.4.x\\DLLs' <smb://GeoNode-2.4.x//geonode-2.4.x//DLLs'>,
> 'C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib' <smb://GeoNode-2.4.x//geonode-2.4.x//lib'>,
> 'C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\plat-win' <smb://GeoNode-2.4.x//geonode-2.4.x//lib//plat-win'>,
> 'C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\lib-tk' <smb://GeoNode-2.4.x//geonode-2.4.x//lib//lib-tk'>,
> 'C:\\GeoNode-2.4.x\\Apache2\\bin' <smb://GeoNode-2.4.x//Apache2//bin'>,
> 'C:\\GeoNode-2.4.x\\Python27\\Lib' <smb://GeoNode-2.4.x//Python27//Lib'>,
> 'C:\\GeoNode-2.4.x\\Python27\\DLLs' <smb://GeoNode-2.4.x//Python27//DLLs'>,
> 'C:\\GeoNode-2.4.x\\Python27\\Lib\\lib-tk' <smb://GeoNode-2.4.x//Python27//Lib//lib-tk'>,
> 'C:\\GeoNode-2.4.x\\geonode-2.4.x' <smb://GeoNode-2.4.x//geonode-2.4.x'>,
> 'C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages' <smb://GeoNode-2.4.x//geonode-2.4.x//lib//site-packages'>,
> 'C:\\GeoNode-2.4.x\\Apache2'] <smb://GeoNode-2.4.x//Apache2']>
> 
> Server time:
> 
> Wed, 2 Aug 2017 13:41:16 +0800
> 
> Template-loader postmortem
> Django tried loading these templates, in this order:
> *        Using loader django.template.loaders.filesystem.Loader:
> o   C:\GeoNode-2.4.x\geonode-2.4.x\geonode\templates\exif\_exif_document_detail.html (File does not exist)
> *        Using loader django.template.loaders.app_directories.Loader:
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\django\contrib\auth\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\django\contrib\admin\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\django\contrib\sitemaps\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\django\contrib\gis\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\pagination\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\leaflet\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\autocomplete_light\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\mptt\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\pinax_theme_bootstrap_account\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\pinax_theme_bootstrap\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\django_forms_bootstrap\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\account\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\avatar\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\agon_ratings\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\announcements\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\actstream\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\tastypie\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\polymorphic\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\lib\site-packages\guardian\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\geonode\people\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\geonode\base\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\geonode\layers\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\geonode\maps\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\geonode\social\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\geonode\catalogue\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\geonode\documents\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\geonode\groups\templates\exif\_exif_document_detail.html (File does not exist)
> o   C:\GeoNode-2.4.x\geonode-2.4.x\geonode\services\templates\exif\_exif_document_detail.html (File does not exist)
> Error during template rendering
> In template C:\GeoNode-2.4.x\geonode-2.4.x\geonode\documents\templates\documents\document_detail.html, error at line 79
> exif/_exif_document_detail.html
> 69
> 
>        {% endif %}
> 
> 70
> 
>        <h4>{% trans 'Average Rating' %}</h4>
> 
> 71
> 
>        {% overall_rating resource "document" as document_rating %}
> 
> 72
> 
>        {% num_ratings resource as num_votes %}
> 
> 73
> 
>        <div class="overall_rating" style="float:left" data-score="{{ document_rating }}"></div> ({{num_votes}})
> 
> 74
> 
>        <!-- TODO: Add display of who gave what rating based -->
> 
> 75
> 
>      </article>
> 
> 76
> 
> 
> 
> 77
> 
>      {% if EXIF_ENABLED and exif_data %}
> 
> 78
> 
>        {% with "exif/_exif_document_detail.html" as exif_template %}
> 
> 79
> 
>            {% include exif_template %}
> 
> 80
> 
>        {% endwith %}
> 
> 81
> 
>      {% endif %}
> 
> 82
> 
>    </div>
> 
> 83
> 
>  </div>
> 
> 84
> 
> 
> 
> 85
> 
>  <div class="col-md-4">
> 
> 86
> 
> 
> 
> 87
> 
>    <ul class="list-group">
> 
> 88
> 
>      <li class="list-group-item">
> 
> 89
> 
>      {% if "download_resourcebase" in perms_list %}
> 
> Im loading GPS ref images into Geonode 2.4 on windows but im getting this error when trying to view the, I have the EXIF funtion turned on in the settings file, any suggestions welcome
> 
> This email, and its attachments, is subject to important warnings and disclaimers which are legally incorporated into this email in terms of Section 11(3) of the South African Electronic Communications and Transactions Act, 25 of 2002. The full text of the warnings and disclaimers, together with the company details and directors is available by clicking on http://www.anglogoldashanti.com/en/Pages/legal.aspx <http://www.anglogoldashanti.com/en/Pages/legal.aspx>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170808/a57c7500/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170808/a57c7500/attachment-0001.sig>


More information about the geonode-users mailing list