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 Thursday, August 29, 2013 9:03:53 PM UTC+2, Niphlod wrote: > > 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 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 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 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 installed, plus all >>>>> necessary dependencies. >>>>> >>>>> Downloaded and unzipped web2py_src.zip; when running ./web2py, it >>>>> hangs for a few seconds and then exits, without any message. Initially I >>>>> thought it might attempt (and fail) to spawn the GUI to get a password, >>>>> but >>>>> starting it with -a 'passwd' yields the same behavior. >>>>> >>>>> Tried uninstalling the cygwin python and using the regular Windows >>>>> python under Cygwin -- now it works as expected, so it appears to be a >>>>> Cygwin Python + web2py specific issue, but I'm not sure how to proceed >>>>> from >>>>> here, without any sort of error message. >>>>> >>>> -- --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.