Mac Catalina 10.15.4 - Cannot run web2py binary

31 views
Skip to first unread message

Jon Paris

unread,
Apr 21, 2020, 5:28:19 AM4/21/20
to web2py-users
I have been through the relevant posts and fixes on this list but to no effect.  All quarantine settings have been cleared, I've moved the app to the Applications folder but still get nothing but "web2py error" with the options to terminate or open the console. tried opening console - nothing obviously useful there.

Are these just bad binaries?  Should I just resort to the source version?

This tool was recommended to me by a friend and seemed to be what I needed but to-date I'm disappointed.

Nico Zanferrari

unread,
Apr 21, 2020, 6:34:11 AM4/21/20
to web...@googlegroups.com
Hi Jon,

unfortunately the official binaries are currently broken. But you can use the ones on my repository (Massimo is already working in order to validate them).

Nico 

--
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/069e4126-e40f-46a8-8b9b-a1a64105e022%40googlegroups.com.

Annet

unread,
Apr 21, 2020, 10:08:37 AM4/21/20
to web2py-users
I switched to web2py source code long ago, after buying a new mac mini with
Mac OS X Catalina I decided to switch to homebrew en pyenv, there are some
caveats but if you've sorted these out, it all works well.

Kind regards,

Annet

David Swarbrick

unread,
Apr 21, 2020, 2:16:33 PM4/21/20
to web...@googlegroups.com
I had a similar problem a few days ago. The answer I received was effective.
On windows
Ensure python is pathed.  
Extract the source files from the .zip file to a directory.
Run dos box or 
Switch to the new directory created, and run
python web2py.py

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



--
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.

Jon Paris

unread,
Apr 21, 2020, 3:13:16 PM4/21/20
to web2py-users
Thanks Nico that binary works just fine.

Now to wrestle with the mis-match between the getting started docs and the sample app content.

Jon Paris

unread,
Apr 21, 2020, 3:16:29 PM4/21/20
to web2py-users
I found that myself Annet - sadly it will not build on my system - just errors everywhere and since I'm a newbie to Python and not at all Linux/Unix literate trying to resolve them has proved beyond me for now. I suspect my machine is just too much of a mess from too many past ad-hoc installs of different stuff. I have an older Macbook Pro that I intend to reload from scratch so maybe that will give me a clean start. It does seem for my current needs as if py4web is a better starting point for me.

Jim S

unread,
Apr 21, 2020, 3:56:19 PM4/21/20
to web2py-users
Jon

Do you have a working Python environment on your system?

Are you running Windows or Mac?

-Jim

Jon Paris

unread,
Apr 21, 2020, 4:11:26 PM4/21/20
to web...@googlegroups.com
Mac Catalina.

Yes Python 2 and 3.

The binary from Nico works - as did the source install.

The problem I now have with both version is that the delivered base/sample app does not match the documentation in the getting started section - so trying o wrk out what the heck is going on is a little tough.

py4web is another matter - that just won't do a thing - so I'm back to trying to resolve the documentation differences.

Jim Steil

unread,
Apr 21, 2020, 4:19:44 PM4/21/20
to web...@googlegroups.com
Jon

When you say 'getting started' section, can you share the url you are looking at?  I'm looking around the docs and such and don't see anything called 'getting started'.

-Jim


--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/StOImjI3KiY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/171BE853-F411-4407-952C-ACB2582B740F%40partner400.com.

Jon Paris

unread,
Apr 21, 2020, 5:21:56 PM4/21/20
to web...@googlegroups.com
http://web2py.com/books/default/chapter/29/03/overview#Startup

Overview - Startup 

I think my problem was probably that it doesn't mention all the extra crud that is in there to begin with and in the HTML part it just says to remove all existing content.  Not sure what I did but originally I just got the same page back with my text in a box in the top banner area.

Tried again with this latest version and it seems to be working better.

Thanks for asking.

 

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/CAERBpoBq8aX%2BHmMyHvEMD6bTqjbJS6vt3jkDD2%3DAvEsaGBUDTg%40mail.gmail.com.

Annet

unread,
Apr 22, 2020, 5:40:56 AM4/22/20
to web2py-users
Hi Jon,

When I first ran web2py using python 2.7 on Mac OS X Catalina I got this error message:

DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.
please visit:
    http://127.0.0.1:8000/
starting browser...

And after about a minute web2py quit with this message:

Illegal instruction: 4


There are a lot of people on the internet who face this problem, but sofar
I have read no solution. I suspect it has something to do with Mac OS X
Catalina no longer supporting 32 bit?

I do know how to administrate my Mac, but when I am working as a web
developer I do not want to be distracted by the OS I am running ;-)
Hence I started using Homebrew. If you need the commands to get
web2py2 and python 3 working from source on Catalina, please let
me know. I'll post them.

Kind regards

Annet
Reply all
Reply to author
Forward
0 new messages