Installation

56 views
Skip to first unread message

David Swarbrick

unread,
Apr 5, 2020, 2:07:46 AM4/5/20
to web2py-users
Seeking to run web2py on a windows 10 machine
I downloaded and extracted all to a directory. I click on web2py.exe in that directory. 
It looks like it is throwing up a dos box, but the box just closes and exits.

I have python 3.7 installed elsewhere.

Any suggestion (please) where I might start?

Val K

unread,
Apr 5, 2020, 3:29:32 AM4/5/20
to web2py-users
Try run web2py.exe from cmd/shell to see an error

David Swarbrick

unread,
Apr 5, 2020, 6:08:30 AM4/5/20
to web...@googlegroups.com
Many thanks

That worked so that I could see the error message:

Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 128, in <module>
  File "__main__web2py__.py", line 33, in <module>
TypeError: start() takes no arguments (1 given)


David Swarbrick da...@swarb.co.uk - dsw...@gmail.com - swarb.co.uk Tel 0795 457 9992 / +44(0)1484 380326



On Sun, 5 Apr 2020 at 08:29, Val K <valq...@gmail.com> wrote:
Try run web2py.exe from cmd/shell to see an error

--
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 web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/607633b4-3628-4800-acdc-246350f6982b%40googlegroups.com.

David Swarbrick

unread,
Apr 5, 2020, 6:19:59 AM4/5/20
to web2py-users
I also tried the alternative suggestion on the installation page of running

python web2py.py

 . . but there is of course no such file in the directory. There are plenty of .pyd files (what are they?), but no .py files.

And again - many thanks


On Sunday, 5 April 2020 11:08:30 UTC+1, David Swarbrick wrote:
Many thanks

That worked so that I could see the error message:

Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 128, in <module>
  File "__main__web2py__.py", line 33, in <module>
TypeError: start() takes no arguments (1 given)


David Swarbrick da...@swarb.co.uk - dsw...@gmail.com - swarb.co.uk Tel 0795 457 9992 / +44(0)1484 380326



On Sun, 5 Apr 2020 at 08:29, Val K <valq...@gmail.com> wrote:
Try run web2py.exe from cmd/shell to see an error

--
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 web2py+unsubscribe@googlegroups.com.

Kevin Keller

unread,
Apr 5, 2020, 6:25:46 AM4/5/20
to web2py-users
Thanks for reporting this.

Maybe there is something wrong with the one click installer at the moment. 

Just download the source version for normal users (py3) extract it and run python3 web2py.py.

That should get you going. 



On Sun, 5 Apr 2020, 12:20 David Swarbrick, <dsw...@gmail.com> wrote:
I also tried the alternative suggestion on the installation page of running

python web2py.py

 . . but there is of course no such file in the directory. There are plenty of .pyd files (what are they?), but no .py files.

And again - many thanks


On Sunday, 5 April 2020 11:08:30 UTC+1, David Swarbrick wrote:
Many thanks

That worked so that I could see the error message:

Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 128, in <module>
  File "__main__web2py__.py", line 33, in <module>
TypeError: start() takes no arguments (1 given)


David Swarbrick da...@swarb.co.uk - dsw...@gmail.com - swarb.co.uk Tel 0795 457 9992 / +44(0)1484 380326



On Sun, 5 Apr 2020 at 08:29, Val K <valq...@gmail.com> wrote:
Try run web2py.exe from cmd/shell to see an error

--
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 web2py+un...@googlegroups.com.

--
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 web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/320d8cca-881b-4b03-9d7a-6797b0f3b047%40googlegroups.com.

David Swarbrick

unread,
Apr 5, 2020, 6:46:20 AM4/5/20
to web2py-users
Thank you so much.

That worked.
To unsubscribe from this group and stop receiving emails from it, send an email to web...@googlegroups.com.

--
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 web...@googlegroups.com.

Nico Zanferrari

unread,
Apr 5, 2020, 6:50:40 AM4/5/20
to web...@googlegroups.com
Hi,

unfortunately, web2py binaries on the official download page are currently not working at all. 

You can use my updated versions on https://github.com/nicozanf/web2py-pyinstaller until it'll be fixed.

Nico  

To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/742ed5af-800c-42e9-a68e-24019febaf2c%40googlegroups.com.

Val K

unread,
Apr 5, 2020, 7:29:31 AM4/5/20
to web2py-users
as hotfix you can edit gluon/widget.py

# find 'start' at the end of file and add '**kw':
def start(**kw):

also I checked what is `kw` - it is  {cron:True}, i.e. it is not  important arg 

Jobin Antony

unread,
Apr 5, 2020, 8:47:53 AM4/5/20
to web2py-users
Its not python problem its frame work problem.... need to use a different frame work.

Val K

unread,
Apr 5, 2020, 10:19:00 AM4/5/20
to web2py-users
Yes, no binaries - no problems!
Reply all
Reply to author
Forward
0 new messages