[GeoNode-users] ImportError: cannot import name Partner
Paolo Corti
pcorti at gmail.com
Wed Dec 12 13:36:38 PST 2018
Most likely because the old .pyc is still there
Best
Paolo
On Wed, Dec 12, 2018, 09:52 Berger, Steffen <s.berger at atenekom.eu wrote:
> Alright, in the meantime i found out, that the error comes from
> geonode/client/admin.py. The thing is, that the class "Partner" is not
> there (anymore), since it has been moved to geonode/themes.
>
> The weird thing is, that geonode/client/admin.py does not exist in the
> source code anymore.
>
> Please, do you have any hints?
>
> Regards,
> Steffen
>
> Am Mittwoch, den 12.12.2018, 06:31 -0800 schrieb
> geonode-users-request at lists.osgeo.org:
>
> Send geonode-users mailing list submissions to
>
> geonode-users at lists.osgeo.org
>
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
> or, via email, send a message with subject or body 'help' to
>
> geonode-users-request at lists.osgeo.org
>
>
> You can reach the person managing the list at
>
> geonode-users-owner at lists.osgeo.org
>
>
> When replying, please edit your Subject line so it is more specific
>
> than "Re: Contents of geonode-users digest..."
>
>
>
> Today's Topics:
>
>
> 1. ImportError: cannot import name Partner (Berger, Steffen)
>
> 2. Problem with legend in Geoexplorer (Jose Cáceres)
>
>
>
> ----------------------------------------------------------------------
>
>
> Message: 1
>
> Date: Wed, 12 Dec 2018 10:44:15 +0000
>
> From: "Berger, Steffen" <s.berger at atenekom.eu>
>
> To: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
>
> Subject: [GeoNode-users] ImportError: cannot import name Partner
>
> Message-ID:
>
> <4be02f4c48da968e0b23ac679284caba41ac0b7c.camel at atenekom.eu>
>
> Content-Type: text/plain; charset="utf-8"
>
>
> Hi,
>
> When setting up GeoNode using Docker as described here: docker-compose -f docker-compose.yml -f docker-compose.override.localhost.yml up --build
>
>
> While starting up the image and doing "makemigrations" the import error appears.
>
>
> I could find the module Partner in geonode/theme/models.py, thats why i'm wondering why this error appears.
>
>
> Do you have an idea to solve this issue?
>
>
> Thanks!
>
>
> Steffen
>
> -------------- next part --------------
>
> An HTML attachment was scrubbed...
>
> URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181212/5a2c01a7/attachment-0001.html>
>
>
> ------------------------------
>
>
> Message: 2
>
> Date: Wed, 12 Dec 2018 08:31:34 -0600
>
> From: Jose Cáceres <jose.atyus at gmail.com>
>
> To: geonode-users at lists.osgeo.org
>
> Subject: [GeoNode-users] Problem with legend in Geoexplorer
>
> Message-ID:
>
> <CAEDNwnN5NN2PrD21A3ujC-ZTBYDnvVomewOSUaXXa45YwGX6MA at mail.gmail.com>
>
> Content-Type: text/plain; charset="utf-8"
>
>
> Hi everyone,
>
>
> I'm running Geonode 2.8 on this site: http://206.189.229.38/, is supposed
>
> to be open so no worries sharing that, besides any feedback will be
>
> appreciated as I'm not and expert on development.
>
>
> Anyway my specific problem this time is on how the style of the layers are
>
> display in Geoexplorer, they're showing pretty big on the layers panel in
>
> Geoexplorer as shown in the attachment. I've change some thing in the
>
> base.css file and index.html file but I don't think I've change anything
>
> related to that. I've load the same layers on the Geonode Demo, as seen in
>
> the attachment, and it does shows a normal size as it was showing before on
>
> my site, and I can't find in the debug console where is the style coming
>
> from.
>
>
> Please any help or guidance will be much appreciated.
>
>
> Kind Regards,
>
>
> José
>
>
>
> _______________________________________________
> 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/20181212/8708551d/attachment.html>
More information about the geonode-users
mailing list