[GeoNode-devel] GeoNode monitoring

Cezary Statkiewicz cezary.statkiewicz at geo-solutions.it
Thu Oct 5 03:08:44 PDT 2017


From: "Paolo Corti" pcorti at gmail.com
To: "Cezary Statkiewicz" cezary.statkiewicz at geo-solutions.it
Cc: "geonode-devel" geonode-devel at lists.osgeo.org
Date: Wed, 4 Oct 2017 11:52:35 -0400
Subject: Re: [GeoNode-devel] GeoNode monitoring

 Hello,
 
> I gave another try right now. I run collect_metrics, and now I see an
> error when accessing the monitoring page:
>  
>     return self.cursor.execute(sql, params)
>   File "/home/vagrant/env_gn_master/local/lib/python2.7/site-packages/django/db/utils.py",
> line 98, in __exit__
>     six.reraise(dj_exc_type, dj_exc_value, traceback)
>   File "/home/vagrant/env_gn_master/local/lib/python2.7/site-packages/django/db/backends/utils.py",
> line 64, in execute
>     return self.cursor.execute(sql, params)
>   File "/home/vagrant/env_gn_master/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py",
> line 318, in execute
 
>     return Database.Cursor.execute(self, query, params)
> OperationalError: near "%": syntax error

 Could you add an issue for this problem? It looks like sqlite-specific problem, but I'll have to debug. 
 
> By the way, I see that with latest pushes there is some more
> requirements you need to add in requirements.txt and setup.py:
 
> user_agents
> xmljson
> psutil

They should be there already:

https://github.com/geosolutions-it/geonode/blob/monitoring/requirements.txt#L122-L124
https://github.com/geosolutions-it/geonode/blob/monitoring/setup.py#L198-L200
 
 Best Regards,

 Cezary Statkiewicz

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==
Cezary Statkiewicz
Senior Software Engineer
 
GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
 
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
 
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
 
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.



More information about the geonode-devel mailing list