Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled request. Did you select a folder to serve? #71

Closed
lbaroncini opened this issue Sep 29, 2016 · 12 comments
Closed

Unhandled request. Did you select a folder to serve? #71

lbaroncini opened this issue Sep 29, 2016 · 12 comments

Comments

@lbaroncini
Copy link

I don't understand what's happening, I have an index.html with a form pointing at a processform.py script in the same folder. I have selected this folder for the server, but it gives me this error:
Unhandled request. Did you select a folder to serve?
Please, help.
Thanks,
Leo

@kzahel
Copy link
Owner

kzahel commented Sep 29, 2016

Can you open a new tab and put in chrome://version and paste in the info you get

@lbaroncini
Copy link
Author

Hi Kzahel, Thank you for replying so quickly!

Now I'm getting this message:

"External Protocol Request
Google Chrome OS does not support launching an external application to handle localhost links. The link requested is localhost:8887/processform.py"

I am very new to Google Chrome, so I don't know how to get the version, but this laptop is few days old so I guess it has the lastest OS version, whichever that is.

@kzahel
Copy link
Owner

kzahel commented Sep 29, 2016

screen shot 2016-09-28 at 7 09 01 pm

I need to know which version of chrome and OS etc so that I can try and figure out what might cause the problem... because I don't see it on any of my computers.

You should be able to open a new tab and type chrome://version into a tab, and then you can copy and paste that information here, or take a screenshot

@lbaroncini
Copy link
Author

Oh, I see, ok this is what I got:

Google Chrome 53.0.2785.103 (Official Build) (64-bit)
Revision 303f356b3441ee792fbd8a53a492eb9280c5e9e6-refs/branch-heads/2785@{#845}
Platform 8530.81.0 (Official Build) stable-channel terra
Blink 537.36 (@303f356b3441ee792fbd8a53a492eb9280c5e9e6)
JavaScript V8 5.3.332.43
Flash 22.0.0.209-r1
User Agent Mozilla/5.0 (X11; CrOS x86_64 8530.81.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.103 Safari/537.36

@lbaroncini
Copy link
Author

I have done it just now. Thanks!

On Sep 28, 2016 9:54 PM, "Kyle Graehl" notifications@github.com wrote:

Can you open a new tab and put in chrome://version and paste in the info
you get


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#71 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVN7VrYcAKFuyY-4QpWK85kr_eDnbJKhks5quxo6gaJpZM4KJfaz
.

@kzahel
Copy link
Owner

kzahel commented Sep 29, 2016

Ok everything looks good to me there. Did you click on Choose Folder button in the app? And choose a directory? And you still get the error "unhandled request..."

@lbaroncini
Copy link
Author

I have chosen a directory yes, and now this is the message I get:
"External Protocol Request
Google Chrome OS does not support launching an external application to handle localhost links. The link requested is localhost:8887/processform.py"

@kzahel
Copy link
Owner

kzahel commented Sep 29, 2016

Ok, can you maybe try opening a new browser tab, and typing in the URL: http://127.0.0.1:8887/

@lbaroncini
Copy link
Author

I have, and it automatically opens my index.html file with my form pointing at my python script "processform.py" and then as soon as I click on the submit button it gives me the message I pasted above...

@kzahel
Copy link
Owner

kzahel commented Sep 29, 2016

Oh, okay. Well I think the problem you're having is beyond the scope of what I can help you with. This project only serves static files. It cannot do any dynamic form processing out of the box. You might need to use Apache or something else. On a chromebook, you can look into using "crouton" which can let you install that.

@lbaroncini
Copy link
Author

Oh ok, I will try that. Thank you so much for your help and time.

@kzahel
Copy link
Owner

kzahel commented Sep 29, 2016

👍

@kzahel kzahel closed this as completed Sep 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants