[GeoNode-users] Installation error 2.10 on CentOS

Alessio Fabiani alessio.fabiani at geo-solutions.it
Fri Feb 8 06:09:48 PST 2019


Hello Federico,
it looks like you have an old version of geonode-oauth-toolkit

Coult you try a

pip freeze | grep oauth

You should get the following results:

geonode-oauth-toolkit==1.1.2rc0
oauthlib==2.1.0
requests-oauthlib==1.0.0


Il giorno ven 8 feb 2019 alle ore 11:35 Federico Gianoli <
alpacagis at gmail.com> ha scritto:

> Dear all, I am trying to install GeoNode 2.10 on Centos.
> I am following this guide (
> https://docs.google.com/document/d/1jNg2BKn2H9Haoyqpe7XkK_Nj-siL7PUlhP40hGi9OZ8/edit
> <https://www.google.com/url?q=https://docs.google.com/document/d/1jNg2BKn2H9Haoyqpe7XkK_Nj-siL7PUlhP40hGi9OZ8/edit&sa=D&source=hangouts&ust=1549686966108000&usg=AFQjCNFJm4OMOTuTsHR3fuPFWeZZT4cdfQ> ),
> everything works fine until the command paver syn that returns this error.
> Someone else experieced the same issue or have any suggestion to solve it?
>
> Thanks a lot
>
>
>
>
>
> paver sync
> ---> pavement.sync
>  python -W ignore manage.py makemigrations --noinput
> No changes detected
>  python -W ignore manage.py migrate --noinput
> Operations to perform:
>   Apply all migrations: account, actstream, admin, agon_ratings,
> announcements, auth, avatar, base, contenttypes, dialogos, documents,
> geonode_client, geonode_themes, groups, guardian, invitations, layers,
> maps, oauth2_provider, people, pinax_notifications, services, sessions,
> sites, socialaccount, taggit, tastypie, upload, user_messages
> Running migrations:
>   Applying contenttypes.0001_initial... OK
>   Applying taggit.0001_initial... OK
>   Applying taggit.0002_auto_20150616_2121... OK
>   Applying contenttypes.0002_remove_content_type_name... OK
>   Applying auth.0001_initial... OK
>   Applying auth.0002_alter_permission_name_max_length... OK
>   Applying auth.0003_alter_user_email_max_length... OK
>   Applying auth.0004_alter_user_username_opts... OK
>   Applying auth.0005_alter_user_last_login_null... OK
>   Applying auth.0006_require_contenttypes_0002... OK
>   Applying people.24_initial... OK
>   Applying account.0001_initial... OK
>   Applying account.0002_email_max_length... OK
>   Applying actstream.0001_initial... OK
>   Applying actstream.0002_remove_action_data... OK
>   Applying admin.0001_initial... OK
>   Applying admin.0002_logentry_remove_auto_add... OK
>   Applying agon_ratings.0001_initial... OK
>   Applying announcements.0001_initial... OK
>   Applying announcements.0002_auto_20190207_1459... OK
>   Applying auth.0007_alter_validators_add_error_messages... OK
>   Applying auth.0008_alter_user_username_max_length... OK
>   Applying avatar.0001_initial... OK
>   Applying base.24_initial... OK
>   Applying base.24_to_26... OK
>   Applying base.26_to_27... OK
>   Applying base.0027_auto_20170801_1228... OK
>   Applying base.0028_resourcebase_is_approved... OK
>   Applying base.0029_auto_20171114_0341... OK
>   Applying base.0030_auto_20180309_0833... OK
>   Applying base.0031_auto_20180309_0837... OK
>   Applying base.0032_auto_20180329_1844... OK
>   Applying base.0033_auto_20180330_0951... OK
>   Applying base.0034_auto_20180606_1543... OK
>   Applying base.0035_resourcebase_dirty_state... OK
>   Applying base.0036_auto_20190207_1459... OK
>   Applying dialogos.0001_initial... OK
>   Applying documents.24_initial... OK
>   Applying documents.25_add_documentresourcelink_table... OK
>   Applying documents.26_move_data_to_documentresourcelink_table... OK
>   Applying documents.27_drop_resource_columns_from_document_table... OK
>   Applying documents.0028_auto_20170801_1228... OK
>   Applying documents.0029_auto_20180301_1947... OK
>   Applying documents.0030_auto_20180302_0430... OK
>   Applying documents.0031_auto_20180409_1238... OK
>   Applying documents.0032_auto_20180412_0822... OK
>   Applying documents.0033_auto_20180414_2120... OK
>   Applying geonode_client.0001_initial... OK
>   Applying geonode_client.0002_auto_20180412_1039... OK
>   Applying
> geonode_client.0003_geonodethemecustomization_jumbotron_welcome_hide... OK
>   Applying geonode_client.0004_auto_20180416_1319... OK
>   Applying geonode_client.0005_auto_20181015_1201... OK
>   Applying geonode_themes.0001_initial... OK
>   Applying geonode_themes.0002_auto_20181015_1208... OK
>   Applying
> geonode_themes.0003_remove_geonodethemecustomization_identifier... OK
>   Applying groups.24_initial... OK
>   Applying groups.26_to_27... OK
>   Applying groups.0027_auto_20180105_1631... OK
>   Applying groups.0028_auto_20180606_1543... OK
>   Applying guardian.0001_initial... OK
>   Applying invitations.0001_initial... OK
>   Applying invitations.0002_auto_20151126_0426... OK
>   Applying invitations.0003_auto_20151126_1523... OK
>   Applying layers.24_initial... OK
>   Applying services.24_initial... OK
>   Applying services.0025_harvestjob... OK
>   Applying services.0026_auto_20171130_0600... OK
>   Applying services.0027_harvestjob_details... OK
>   Applying services.0028_auto_20171201_0640... OK
>   Applying services.0029_auto_20171203_1624... OK
>   Applying services.0030_auto_20171212_0518... OK
>   Applying layers.24_to_26... OK
>   Applying layers.26_to_27... OK
>   Applying layers.0027_auto_20170801_1228... OK
>   Applying layers.0028_auto_20171218_0249... OK
>   Applying layers.0029_layer_service... OK
>   Applying layers.0030_auto_20180228_0812... OK
>   Applying layers.0031_uploadsession_resource... OK
>   Applying layers.0032_auto_20180424_1638... OK
>   Applying layers.0033_auto_20180606_1543... OK
>   Applying maps.24_initial... OK
>   Applying maps.0025_auto_20170801_1228... OK
>   Applying maps.0026_auto_20180301_1947... OK
>   Applying maps.0027_auto_20180302_0430... OK
>   Applying maps.0028_auto_20180409_1238... OK
>   Applying maps.0029_auto_20180412_0822... OK
>   Applying maps.0030_auto_20180414_2120... OK
>   Applying oauth2_provider.0001_initial... OK
>   Applying oauth2_provider.0002_08_updates... OK
>   Applying oauth2_provider.0003_auto_20160316_1503... OK
>   Applying oauth2_provider.0004_auto_20160525_1623... OK
>   Applying people.0025_auto_20170924_0932... OK
>   Applying people.0026_auto_20171120_0730... OK
>   Applying people.0027_auto_20180414_2120... OK
>   Applying people.0028_auto_20180606_1543... OK
>   Applying pinax_notifications.0001_initial... OK
>   Applying pinax_notifications.0002_auto_20171003_2006... OK
>   Applying services.0031_auto_20180301_1947... OK
>   Applying services.0032_auto_20180302_0430... OK
>   Applying services.0031_service_proxy_base... OK
>   Applying services.0033_merge... OK
>   Applying services.0034_auto_20180309_0917... OK
>   Applying services.0035_auto_20180327_0846... OK
>   Applying services.0036_auto_20180331_1039... OK
>   Applying services.0037_auto_20180409_1238... OK
>   Applying services.0038_auto_20180412_0822... OK
>   Applying services.0039_auto_20180414_2120... OK
>   Applying sessions.0001_initial... OK
>   Applying sites.0001_initial... OK
>   Applying sites.0002_alter_domain_unique... OK
>   Applying socialaccount.0001_initial... OK
>   Applying socialaccount.0002_token_max_lengths... OK
>   Applying socialaccount.0003_extra_data_default_dict... OK
>   Applying tastypie.0001_initial... OK
>   Applying upload.24_initial... OK
>   Applying user_messages.0001_initial... OK
>   Applying user_messages.0002_auto_20171107_1128... OK
>   Applying user_messages.0003_auto_20171108_1037... OK
>   Applying user_messages.0004_auto_20171108_1101... OK
>  python -W ignore manage.py loaddata sample_admin.json
> Installed 1 object(s) from 1 fixture(s)
>  python -W ignore manage.py loaddata
> geonode/base/fixtures/default_oauth_apps.json
> Traceback (most recent call last):
>   File "manage.py", line 29, in <module>
>     execute_from_command_line(sys.argv)
>   File
> "/home/webbonimar/.venvs/geonode/lib/python2.7/site-packages/django/core/management/__init__.py",
> line 364, in execute_from_command_line
>     utility.execute()
>   File
> "/home/webbonimar/.venvs/geonode/lib/python2.7/site-packages/django/core/management/__init__.py",
> line 356, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File
> "/home/webbonimar/.venvs/geonode/lib/python2.7/site-packages/django/core/management/base.py",
> line 283, in run_from_argv
>     self.execute(*args, **cmd_options)
>   File
> "/home/webbonimar/.venvs/geonode/lib/python2.7/site-packages/django/core/management/base.py",
> line 330, in execute
>     output = self.handle(*args, **options)
>   File
> "/home/webbonimar/.venvs/geonode/lib/python2.7/site-packages/modeltranslation/management/commands/loaddata.py",
> line 61, in handle
>     return super(Command, self).handle(*fixture_labels, **options)
>   File
> "/home/webbonimar/.venvs/geonode/lib/python2.7/site-packages/django/core/management/commands/loaddata.py",
> line 69, in handle
>     self.loaddata(fixture_labels)
>   File
> "/home/webbonimar/.venvs/geonode/lib/python2.7/site-packages/django/core/management/commands/loaddata.py",
> line 109, in loaddata
>     self.load_label(fixture_label)
>   File
> "/home/webbonimar/.venvs/geonode/lib/python2.7/site-packages/django/core/management/commands/loaddata.py",
> line 166, in load_label
>     for obj in objects:
>   File
> "/home/webbonimar/.venvs/geonode/lib/python2.7/site-packages/django/core/serializers/json.py",
> line 88, in Deserializer
>     six.reraise(DeserializationError, DeserializationError(e),
> sys.exc_info()[2])
>   File
> "/home/webbonimar/.venvs/geonode/lib/python2.7/site-packages/django/core/serializers/json.py",
> line 82, in Deserializer
>     for obj in PythonDeserializer(objects, **options):
>   File
> "/home/webbonimar/.venvs/geonode/lib/python2.7/site-packages/django/core/serializers/python.py",
> line 129, in Deserializer
>     field = Model._meta.get_field(field_name)
>   File
> "/home/webbonimar/.venvs/geonode/lib/python2.7/site-packages/django/db/models/options.py",
> line 619, in get_field
>     raise FieldDoesNotExist("%s has no field named '%s'" %
> (self.object_name, field_name))
> django.core.serializers.base.DeserializationError: Problem installing
> fixture '/srv/www/geonode/geonode/base/fixtures/default_oauth_apps.json':
> Application has no field named 'updated'
>
>
> Captured Task Output:
> ---------------------
>
> ---> pavement.sync
>  python -W ignore manage.py makemigrations --noinput
>  python -W ignore manage.py migrate --noinput
>  python -W ignore manage.py loaddata sample_admin.json
>  python -W ignore manage.py loaddata
> geonode/base/fixtures/default_oauth_apps.json
>
> Build failed running pavement.sync: Subprocess return code: 1
> Jan 25, 9:54
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>


-- 

==

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

@alfa7691
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
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190208/b9112e3c/attachment-0001.html>


More information about the geonode-users mailing list