OrangeScape Developer Community

A community for Application Developers on OrangeScape's Platform-as-a-Service

We tried to import users into our application via the bulk upload feature. But we are getting import failed error message in the front end.  On checking the logs in app engine, we found the following error.  

ImportError: cannot import name importMapping

Kindly help us solve this issue.

attachment : appengine log for the request

Views: 145

Attachments:

Reply to This

Replies to This Discussion

Hi Anbu,

While deploy, system will generate "importMapping" file. Please check this file presented in your app.zip or not?

Hi Kamal,

Yes there is a importmapping.py in app.zip in the following path 

app.zip\orangescape\application\

Attachments:

Hi Anbu,

We found and fixed the issue. Please deploy your application into the GAE and use it.

If you are using local setup, download enterprise.war file alone and use.

Hi Kamal,

i am still getting the issue

Attachments:

Hi,

Please download the source code from your appspot and download the latest gae.runtime.zip from community and compare the orangescape/model/server/Context.py file.

Kamal,

I don't have permissions to download files.  please mail me the Context.py file, i will check and revert back

Hi Anbu,

Please find the attachment.

Attachments:

The Context.py file downloaded from appspot has the following three lines missing

importMapping = unpickle(application_path, 'importmapping.pck')

from orangescape.application.importmapping import importMapping

#     from orangescape.tests.functional.server.test.importmapping import importMapping

Attachments:

Hi Anbu,

These three lines are fix for your issue.

While deploy your application should get these three lines.

Please check it.

Kamal,

I am deploying directly from the studio.  I am not doing a manual deployment,  So i think the problem is on the deployment server.  Maybe it is caching the old files or something like.

Hi Anbu,

This issue is due to cache. We are removed all cached files.

Please deploy and check the application.

RSS

© 2017   Created by OrangeScape Technologies.   Powered by

Badges  |  Report an Issue  |  Terms of Service