need immidiate help..!!!

40 views
Skip to first unread message

shobhit suman

unread,
Oct 16, 2011, 3:45:32 PM10/16/11
to google-a...@googlegroups.com
I am trying to run my first application in python on google sdk. this is a simple datbase with a query statement . but I am getting an unexpected error statement of module not found.please help me asap..

--
SHOBHIT SUMAN
B.Tech(II year)
Computer Science Engineering
The LNM Institute of Information Technology
Jaipur, India.

sss.py

Steve Sherrie

unread,
Oct 16, 2011, 3:48:51 PM10/16/11
to google-a...@googlegroups.com
"from google.appengine.ext import db" instead of "from google_appengine.ext import db".

Steve
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Brian Quinlan

unread,
Oct 16, 2011, 3:48:38 PM10/16/11
to google-a...@googlegroups.com
You wrote:
from google_appengine.google.ext import db

When you should write:
from google.appengine.google.ext import db

Cheers,
Brian

shobhit suman

unread,
Oct 16, 2011, 3:53:54 PM10/16/11
to google-a...@googlegroups.com
sir,

I rectified this mistake but still I am getting the same error message.It will be kind enough if u cud please please run the code on your system for it  might be possibl that my sdk has got sum problm.

Steve Sherrie

unread,
Oct 16, 2011, 3:57:30 PM10/16/11
to google-a...@googlegroups.com
Please include the error and the stacktrace, and we'll be able to help. It's a bit much to ask someone to fix your script and give it back to you :)

Steve

shobhit suman

unread,
Oct 16, 2011, 4:13:36 PM10/16/11
to google-a...@googlegroups.com
 File "sss.py", line 2, in <module>
    from google.appengine.google.ext import db
ImportError: No module named appengine.google.ext

this is the error statement its showing.

Steve Sherrie

unread,
Oct 16, 2011, 4:16:08 PM10/16/11
to google-a...@googlegroups.com
You corrected it incorrectly :)  "from google.appengine.google.ext import db" should be "from google.appengine.ext import db".

shobhit suman

unread,
Oct 16, 2011, 4:28:52 PM10/16/11
to google-a...@googlegroups.com
sir

srry to flood ur inbox, but its still showing, I do hav dis module named appengine.ext..

  File "sss.py", line 2, in <module>
    from google.appengine.ext import db
ImportError: No module named appengine.ext


On Mon, Oct 17, 2011 at 1:46 AM, Steve Sherrie <st...@wasteofpaper.com> wrote:
You corrected it incorrectly :)  "from google.appengine.google.ext import db" should be "from google.appengine.ext import db".

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Fdn-5-apNtkJ.

To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Steve Sherrie

unread,
Oct 16, 2011, 4:33:18 PM10/16/11
to google-a...@googlegroups.com
Hmmm, not sure. That line is definitely right. Which OS are you using? Just so we have a better idea of your environment.

Steve

shobhit suman

unread,
Oct 16, 2011, 4:35:28 PM10/16/11
to google-a...@googlegroups.com

sir

 I am using a virtual machine with ubuntu running ||ly on my windows 7
On Mon, Oct 17, 2011 at 2:03 AM, Steve Sherrie <st...@wasteofpaper.com> wrote:
Hmmm, not sure. That line is definitely right. Which OS are you using? Just so we have a better idea of your environment.

Steve

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Fkz-ZitOpgMJ.

To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Steve Sherrie

unread,
Oct 16, 2011, 5:03:02 PM10/16/11
to google-a...@googlegroups.com
And can you describe where you put the script (in relation to the appengine-sdk) and how you are running the application?

Steve
Reply all
Reply to author
Forward
0 new messages