[web2py] Re: Starting web2py fails silently with Cygwin python

2014-02-11 Thread Kiran Subbaraman
Thanks for this observation; I was trying to run this in cygwin64, and no luck. cygwin32 makes it work. On Saturday, November 23, 2013 2:21:41 AM UTC+5:30, Raul Romay Barrero wrote: > > I had exactly the same behavior when using cygwin x64. > > I installed cygwin x32 version and web2py was work

Re: [web2py] Re: Starting web2py fails silently with Cygwin python

2013-11-23 Thread Razvan Teslaru
Interesting — never thought of that. Wondering if it’s cygwin or web2py that’s causing the problem.  Thanks for the feedback — hope this helps someone — in the meantime I gave up Win altogether and moved to MacOS.   --  Razvan  On 22 Nov 2013 at 21:53:34, Raul Romay Barrero (rjro...@gmail.com)

[web2py] Re: Starting web2py fails silently with Cygwin python

2013-11-22 Thread Raul Romay Barrero
I had exactly the same behavior when using cygwin x64. I installed cygwin x32 version and web2py was working ok (but AVG detected python.exe as a virus...) Regards, Raúl. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code

[web2py] Re: Starting web2py fails silently with Cygwin python

2013-08-31 Thread Razvan Teslaru
I uninstalled Cygwin and the Windows Python, and reinstalled Cygwin to make sure there's no conflict between the two Python versions. Unfortunately I get the same behavior. As mentioned before, the last statement traced is "func = self._FuncPtr((name_or_ordinal, self))". On Friday, August 30, 2

[web2py] Re: Starting web2py fails silently with Cygwin python

2013-08-29 Thread Massimo Di Pierro
I think the version in trunk (and the nightly build) does not. On Thursday, 29 August 2013 14:36:03 UTC-5, Razvan Teslaru wrote: > > Interesting; I tried following the solution outlined there (installed > xinit, started X Server, export DISPLAY=:0.0), but the behavior remains > exactly the same.

[web2py] Re: Starting web2py fails silently with Cygwin python

2013-08-29 Thread Razvan Teslaru
Here is the stack trace: /usr/lib/python2.7/bdb.py(400)run() -> exec cmd in globals, locals (1)() /home/eraztes/web2py/web2py.py(19)() -> import gluon.widget /home/eraztes/web2py/gluon/__init__.py(15)() -> from globals import current /home/eraztes/web2py/gluon/globals.py(21)() -> from ht

[web2py] Re: Starting web2py fails silently with Cygwin python

2013-08-29 Thread Razvan Teslaru
Interesting; I tried following the solution outlined there (installed xinit, started X Server, export DISPLAY=:0.0), but the behavior remains exactly the same. In any case, ./web2py -a "passwd" (which behaves the same way under X too) should not even attempt to bring up any GUI at all. On Thur

[web2py] Re: Starting web2py fails silently with Cygwin python

2013-08-29 Thread Niphlod
isn't it related to tk and cygwin being a little bit stubborn ? see http://stackoverflow.com/questions/9393462/cannot-launch-git-gui-using-cygwin-on-windows On Thursday, August 29, 2013 4:52:47 PM UTC+2, Razvan Teslaru wrote: > > PS: I have both cygwin python and Windows python installed on the s

[web2py] Re: Starting web2py fails silently with Cygwin python

2013-08-29 Thread Massimo Di Pierro
very weird. On Thursday, 29 August 2013 09:34:55 UTC-5, Razvan Teslaru wrote: > > This is really strange -- apparently, the execution never seems to reach > gluon/widget.py at all. > > I edited widget.py and now the first line is a 'print "1"' statement, > which never gets executed. Still no e

[web2py] Re: Starting web2py fails silently with Cygwin python

2013-08-29 Thread Razvan Teslaru
PS: I have both cygwin python and Windows python installed on the same machine, if relevant. On Thursday, August 29, 2013 3:29:53 PM UTC+2, Massimo Di Pierro wrote: > > I have experienced the same problem. Yet I do not have a windows/cygwin > machine here to debug it. Can you help us and figure

[web2py] Re: Starting web2py fails silently with Cygwin python

2013-08-29 Thread Razvan Teslaru
This is really strange -- apparently, the execution never seems to reach gluon/widget.py at all. I edited widget.py and now the first line is a 'print "1"' statement, which never gets executed. Still no error messages. This seems to imply that the 'import gluon.widget' statement does not get

[web2py] Re: Starting web2py fails silently with Cygwin python

2013-08-29 Thread Massimo Di Pierro
I have experienced the same problem. Yet I do not have a windows/cygwin machine here to debug it. Can you help us and figure out exactly where in gluon/widget.py it gets stuck? On Thursday, 29 August 2013 08:04:26 UTC-5, Razvan Teslaru wrote: > > Update: I managed to trace execution in web2py.py

[web2py] Re: Starting web2py fails silently with Cygwin python

2013-08-29 Thread Razvan Teslaru
Update: I managed to trace execution in web2py.py until "import gluon.widget" -- execution doesn't continue in web2py.py after that line, but again, no error message. On Thursday, August 29, 2013 12:00:20 AM UTC+2, Razvan Teslaru wrote: > > Trying to run web2py under cygwin. Python 2.7.5 install