Hello,
Thanks to the team for the great tool !
I have minor issues on Mac OS Mavericks, just wanted to check before
creating an issue on google code.
System
Mac OS 10.9.2
$ which python
/usr/bin/python
$ python --version
Python 2.7.5
Steps
download web2py_src.zip
unzip the archive into $basedir
from an Mac administrator account, launch Terminal
$ cd $basedir
$ python web2py.py
...
Version 2.9.4-stable+timestamp.2014.03.05.04.44.09
...
The web2py graphical interface launches
Leave "server ip" on "local"
Set "Server Port" to "80"
Enter a password in "Choose password" field
Click on "start server"
Expected result
web2py framework, start listening on port 80
Actual result
The terminal output :
ERROR:Rocket.Errors.Port80:Socket 127.0.0.1:80 in use by other process and
it won't share.
WARNING:Rocket.Errors.Port80:Listener started when not ready.
What have I tried
Check active ports with Apple's network utility (port scan) : no active
port between 10 and 100
Use
$ sudo python web2py.py
instead of
$ python web2py.py
Then you can actually launch web2py on port 80
Terminal output :
...
please visit:
http://127.0.0.1/
starting browser...
It seems this is related to Mac OS policy to keep use of some ports for
it's own usage.
My question is wether this is a bug or an enhancement request to have an
error message in the graphical web2py launch app to inform user ?
(When using the Mac OS package instead of the source version, you don't
have any feedback on this issue, the server is just not starting).
As this is my first post on this list, let me know if I made any mistake.
thanks,
Manuel
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.