[GeoNode-users] backup error, geonode 2.6 => backup.py=> import error: no moduled named simplejson

Alessio Fabiani alessio.fabiani at geo-solutions.it
Thu Apr 27 05:09:04 PDT 2017


Dear all,
currently the backup and restore utility should be aligned with latest
updates I guess. There are also several issues / improvements we are
working on to improve this tool.

We will find some spare time soon to devote to those tasks. We will send
updates as soon as possible.

Best Regards,
Alessio Fabiani.

==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Ing. Alessio Fabiani
@alfa7691
github <https://github.com/afabiani?tab=overview>
Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686

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.

---------------------------------------------------------------------

On Thu, Apr 27, 2017 at 1:50 PM, Simone Dalmasso <simone.dalmasso at gmail.com>
wrote:

> Hi Federico,
>
> there seems to be an issue in the commands, simplejson is not available
> anymore, json has to be used. we should fix it.
> @afabiani, is that correct?
>
> https://github.com/GeoNode/geonode/blob/2.6.x/geonode/
> base/management/commands/restore.py#L28
> https://github.com/GeoNode/geonode/blob/2.6.x/geonode/
> base/management/commands/backup.py#L26
>
> 2017-04-27 12:11 GMT+02:00 Federico Gianoli <alpacagis at gmail.com>:
>
>> Dear all,
>>
>> I would like to create a backup of my geonode project and I am using this
>> guide: http://docs.geonode.org/en/master/tutorials/admin/backup_restore/
>>
>> From my django admin page (Base => backups) I tried to do a backup, but,
>> when I run the backup, on a fully writable folder (777), there is this
>> server error:
>> Internal Server Error
>>
>> The server encountered an internal error or misconfiguration and was
>> unable to complete your request.
>> I have double checked the settings.ini file, and I have noted that the
>> configuration file is not yet update for the 2.6 version, it has these
>> lines:
>>
>> #Migrate from GN 2.4 to GN 2.4
>> migrations = base.resourcebase,layers.layer,layers.attribute,maps.map,
>> maps.maplayer
>> manglers   = gn24_to_24.ResourceBaseMangler,gn24_to_24.LayerMangler,gn24_
>> to_24.LayerAttributesMangler,gn24_to_24.DefaultMangler,
>> gn24_to_24.MapLayersMangler
>>
>> Is it correct? Have I to change these lines accordingly to the 2.6
>> version? (e.g. gn26_to_26.ResourceBaseMangler ...)?
>>
>> When I try to run the backup from command line there is the following
>> error about the file backup.py
>>
>> import error: no moduled named simplejson
>>
>> How can I solved this issue?
>>
>> Tanks a lot
>>
>> Federico
>>
>>
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>>
>
>
> --
> Simone
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170427/23d027a6/attachment.html>


More information about the geonode-users mailing list