running the google app engine

74 views
Skip to first unread message

Shraddha Bhandavle

unread,
Feb 23, 2015, 6:07:37 PM2/23/15
to google-a...@googlegroups.com
Hello all,

I have been working on the project using Google App Engine using Python. I have been making a Calendar for making the appointments online for Doctors. The code was compiled and the python27 was successfully linked with the Google App engine that is dev_appserver.py
But when I go to the localhost:8080/loginpage it gives 404 error though I have made a loginpage. I'm unable to run the Google App Engine successfully. I need your guidance for telling me and rectifying my mistakes while running the Google App Engine.

Thanking you.

Alex Martelli

unread,
Feb 23, 2015, 6:36:33 PM2/23/15
to google-a...@googlegroups.com
Hi Shradda,

can you share your app.yaml so we can, first, see what Python script `loginpage` gets routed to?  Then (assuming you're using the `webapp2` framework that comes with app engine) we'll need to see the WSGI app object you build in that script, since that app object then does its own routing.  No doubt there's something wrong in either app.yaml, or the WSGI app object, or a conflict between them.


Alex

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/a4b24bcd-53a2-42df-b299-1cb0ca715f02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shraddha Bhandavle

unread,
Feb 23, 2015, 7:51:50 PM2/23/15
to google-a...@googlegroups.com
Hi I'm sharing the file app.yml . Basically I haven't made this project but I have to run this project and submit it as it's a part of my coursework. My friend staying in my home country had made this project 2 years back in python and she is helping me by giving me this project but she herself doesn't remember how to run this project. But I really don't know what the logic is behind the python code and the app code.

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/rTJST3_XotY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.

To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
app.yml

Alex Martelli

unread,
Feb 23, 2015, 8:05:39 PM2/23/15
to google-a...@googlegroups.com
It's mis-named to `.yml` rather than `.yaml` so I'm surprised the dev_appserver even starts.

On Mon, Feb 23, 2015 at 4:47 PM, Shraddha Bhandavle <shrad...@gmail.com> wrote:
Hi I'm sharing the file app.yml . Basically I haven't made this project but I have to run this project and submit it as it's a part of my coursework. My friend staying in my home country had made this project 2 years back in python and she is helping me by giving me this project but she herself doesn't remember how to run this project. But I really don't know what the logic is behind the python code and the app code.

If simply renaming the file correctly to app.yaml doesn't help, next we need to see the routing in urlss.py -- how is the `app` object there made, and specifically how does it route `loginpage`.

Alex
 

Shraddha Bhandavle

unread,
Feb 23, 2015, 8:09:39 PM2/23/15
to google-a...@googlegroups.com
So what do I do next???? Shall i rename it as 'yaml' ?? The professor will fail me if I'm unable to run the project. Can I contact u on your personal email id?? Whats ur email id??

Alex Martelli

unread,
Feb 23, 2015, 9:27:05 PM2/23/15
to google-a...@googlegroups.com
On Mon, Feb 23, 2015 at 5:07 PM, Shraddha Bhandavle <shrad...@gmail.com> wrote:
So what do I do next???? Shall i rename it as 'yaml' ?? The professor will fail me if I'm unable to run the project. Can I contact u on your personal email id?? Whats ur email id??

Rename app.yml to app.yaml, exactly as I implied, and try again.  If no good, again as I already said, send over the `app = ` part of urlss.py.  No personal email -- I'm already making a big exception for you by helping you here rather than asking you to use StackOverflow (because I suspect your questions would be closed or deleted there as low-quality -- e.g, you obviosuly NEVER ask for help on a bug without showing your code, since it's OBVIOUS nobody can help you w/o seeing said code, so you're just wasting our time, etc, etc).


Alex

Shraddha Bhandavle

unread,
Feb 23, 2015, 10:30:33 PM2/23/15
to google-a...@googlegroups.com
Well Alex, what did u mean by showing the urlss.py ????
I can show u the entire code if u want me to.. do u want me to do that??

Shraddha Bhandavle

unread,
Feb 23, 2015, 10:34:04 PM2/23/15
to google-a...@googlegroups.com
Thank you for your words and precious time.. I'm sorry for asking you your personal email.. I didn't know that its not allowed.. I'm not a programmer by profession and hence my doubts may be silly.. But no query or doubt should be underestimated according to me..
Because these forums are made for solving problems of people, however big or small they are.. People have got different IQs and different levels of knowledge, they may not be an expert in python and google app engine but they come here with a ray of hope that their problems would be solved..!!

Thanks once again.

Alex Martelli

unread,
Feb 23, 2015, 10:35:15 PM2/23/15
to google-a...@googlegroups.com
On Mon, Feb 23, 2015 at 7:28 PM, Shraddha Bhandavle <shrad...@gmail.com> wrote:
Well Alex, what did u mean by showing the urlss.py ????
I can show u the entire code if u want me to.. do u want me to do that??

Just what gets assigned to `app` at the top (global) level of the module.

Alex
 

Alex Martelli

unread,
Feb 23, 2015, 10:43:31 PM2/23/15
to google-a...@googlegroups.com
On Mon, Feb 23, 2015 at 7:33 PM, Shraddha Bhandavle <shrad...@gmail.com> wrote:
Thank you for your words and precious time.. I'm sorry for asking you your personal email.. I didn't know that its not allowed..

It's allowed to ask, and it's allowed to say "no" to the request.
 
I'm not a programmer by profession and hence my doubts may be silly..

My background is fully hardware -- designing integrated circuits and systems.  I'm entirely self-taught in programming.
 
But no query or doubt should be underestimated according to me..
Because these forums are made for solving problems of people, however big or small they are.. People have got different IQs and different levels of knowledge, they may not be an expert in python and google app engine but they come here with a ray of hope that their problems would be solved..!!

If people believe their software's bugs can be solved *without* stopping to consider how anybody could possibly help them without seeing their buggy config and/or code files, then those people are incredibly mistaken -- as should be entirely obvious, expertise or not, to anybody with sufficient IQ to write coherent sentences.

Wasting the time of people who were *TRYING* to help you despite your making it as difficult as possible shows a total lack of consideration for those people's time and energy.  If instead of these last few messages you had done what asked, the problem would no doubt be diagnosed by now -- but, no, you chose to keep wasting time instead.  *SO* rude it's hard to conceive of it.

Best of luck with the rest of your life.  In the future, when you're asking somebody for help, stop to think if you're making it even *possible* for them to help you, or spending your time AND theirs in such futile ways.  At this point, I doubt I want to offer any further help.


Alex

Shraddha Bhandavle

unread,
Feb 23, 2015, 11:16:49 PM2/23/15
to google-a...@googlegroups.com
The word 'state' is getting assigned to the application of version 1

Shraddha Bhandavle

unread,
Feb 23, 2015, 11:34:59 PM2/23/15
to google-a...@googlegroups.com
I tried changing the extention but it is a text file and when im changing the extention from yml to yaml, it give me a warning that the file may be nomore usable.

Reply all
Reply to author
Forward
0 new messages