Hi Marcus,

Thanks for the help. Upgrading Django to 2.x.x version, deleting db.sqlite3
file and re-starting from the beginning fixed the issue :)

Regards,
Lahiru

On Wed, 15 May 2019 at 02:36, Christie, Marcus Aaron <machr...@iu.edu>
wrote:

> Hi Lahiru,
>
>
>
> Looks like that Django issue got fixed in 2.x but not in 1.11 [1]. You can
> give 2.0.13 a try with “pip install Django==2.0.13”.
>
>
>
> However, if it’s only load_default_gateway that fails, you can just leave
> it out unless you need to have the wagtail CMS running.
>
>
>
> [1] https://github.com/django/django/pull/10733
>
>
>
> *From: *Lahiru Jayathilake <lahiruj...@cse.mrt.ac.lk>
> *Reply-To: *"dev@airavata.apache.org" <dev@airavata.apache.org>
> *Date: *Tuesday, May 14, 2019 at 12:18 PM
> *To: *"dev@airavata.apache.org" <dev@airavata.apache.org>
> *Subject: *Re: Setup a development environment for Airavata
>
>
>
> Hi Marcus,
>
>
>
> Yes "*python3 manage.py migrate*" ran successfully with no errors.
>
> Python version - 3.7.3
>
> OS - macOS Mojave version 10.14.4
>
>
>
> Regards,
>
> Lahiru
>
>
>
> On Tue, 14 May 2019 at 03:26, Christie, Marcus Aaron <machr...@iu.edu>
> wrote:
>
> Hi Lahiru,
>
>
>
> Did “python3 manage.py migrate” finish without errors?
>
>
>
> Also what version of python and what os are you using?
>
>
>
> Thanks,
>
>
>
> Marcus
>
> Sent from my iPhone
>
>
> On May 4, 2019, at 2:26 PM, Lahiru Jayathilake <lahiruj...@cse.mrt.ac.lk>
> wrote:
>
> Hi Everyone,
>
>
>
> I have been setting up the development environment and faced several
> issues and found the following solutions.
>
>
>
> 1. When running *org.apache.airavata.ide.integration.APIServerStarter*
>
> *Error* - [
> <https://mail.google.com/mail/u/1?ui=2&ik=6205547991&attid=0.1&permmsgid=msg-a:r1891336976375952133&view=att&disp=safe&realattid=f_jv9rpwbx0>
>
> *error-APIServerStarter.pdf
> <https://mail.google.com/mail/u/1?ui=2&ik=6205547991&attid=0.1&permmsgid=msg-a:r1891336976375952133&view=att&disp=safe&realattid=f_jv9rpwbx0>*
>
> ]
>
> *Solution* - Updated the *ide-integration/pom.xml *to have
> *org.apache.openjpa* plugin
>
>
>
> <Screen Shot 2019-05-02 at 11.21.19 PM.png>
>
>
>
> Tried several times running the *APIServerStarter* and got the
> same error. After fixing the issue with afore-mentioned solution, I tried
> one more time reverting back and that time APIServerStarter ran as expected.
>
>
>
> 2. When running *pip install -r requirements.txt *in
> airavata-django-portal
>
> *Error* - [
> <https://mail.google.com/mail/u/1?ui=2&ik=6205547991&attid=0.4&permmsgid=msg-a:r1891336976375952133&view=att&disp=safe&realattid=f_jv9rpwc13>
>
> *error-pillow.pdf
> <https://mail.google.com/mail/u/1?ui=2&ik=6205547991&attid=0.4&permmsgid=msg-a:r1891336976375952133&view=att&disp=safe&realattid=f_jv9rpwc13>*
>
> ] because wagtail 2.0 has requirement of *Pillow<5.0,>=2.6.1*
>
> *Solution* - Added '*pillow==2.6.1*' in the *requirements.txt*
>
>
>
> 3. When running *python3 manage.py migrate *
>
> *Error - *[
>
> *error-django-verison.pdf
> <https://mail.google.com/mail/u/1?ui=2&ik=6205547991&attid=0.3&permmsgid=msg-a:r1891336976375952133&view=att&disp=safe&realattid=f_jv9rpwc01>*
>
> ]
>
> *Solution* - Updated the version of Django to 1.11.20
>
>
>
> And now I am having the issue when running *python3 manage.py
> load_default_gateway *
>
> The error was [
>
> *error-no-such-table-wagtailcore_page__old.pdf
> <https://mail.google.com/mail/u/1?ui=2&ik=6205547991&attid=0.2&permmsgid=msg-a:r1891336976375952133&view=att&disp=safe&realattid=f_jv9rpwc12>*
>
> ]  *django.db.utils.OperationalError: Problem installing fixtures: no
> such table: wagtailcore_page__old*
>
> I found an article related to this [1] according to the article, the
> problem is with sqlite version so I tried the solution which is downgrading
> sqlite (to 3.24.0) but still I am getting the same error. Can anyone help
> me with this?
>
>
>
> [1] - https://github.com/wagtail/wagtail/issues/4941
>
>
>
> Cheers!
>
> Lahiru
>
>
>
> On Fri, 15 Mar 2019 at 23:51, Christie, Marcus Aaron <machr...@iu.edu>
> wrote:
>
> Hi Keerthi,
>
>
>
> On Mar 15, 2019, at 2:15 PM, Keerthi N <keerthi4...@gmail.com> wrote:
>
>
>
> It got resolved after npm version update. It was 3.6.2 previously and got
> updated to 6.9.0, everything works fine now.
>
>
>
>
>
> Glad to hear it. Can you please submit a PR to update the README [1]
> regarding prerequisites? I would suggest you add something about installing
> the latest LTS release of Node [2].  Thanks.
>
>
>
> [1]
> https://github.com/apache/airavata/blob/develop/modules/ide-integration/README.md
>
> [2] https://nodejs.org/en/download/
>
>
>
>
>
>
> --
>
> Lahiru Jayathilake
>
> Department of Computer Science and Engineering,
>
> Faculty of Engineering,
>
> University of Moratuwa
>
>
>
> [image:
> https://docs.google.com/uc?id=0B5tEBQ-dYBjOQndlTjdfUUNzTXM&export=download]
> <https://lk.linkedin.com/in/lahirujayathilake>
>
> <error-APIServerStarter.pdf>
>
> <error-no-such-table-wagtailcore_page__old.pdf>
>
> <error-django-verison.pdf>
>
> <error-pillow.pdf>
>
>
>
>
> --
>
> Lahiru Jayathilake
>
> Department of Computer Science and Engineering,
>
> Faculty of Engineering,
>
> University of Moratuwa
>
>
>
> [image:
> https://docs.google.com/uc?id=0B5tEBQ-dYBjOQndlTjdfUUNzTXM&export=download]
> <https://lk.linkedin.com/in/lahirujayathilake>
>


-- 
Lahiru Jayathilake
Department of Computer Science and Engineering,
Faculty of Engineering,
University of Moratuwa

<https://lk.linkedin.com/in/lahirujayathilake>

Reply via email to