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) wrote:

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)
- 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/Gqt6trAQd0Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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, 2013 3:14:34 AM UTC+2, Massimo Di Pierro wrote:
>
> 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.
>>
>> 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.


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

2013-08-29 Thread Razvan Teslaru
 __version__ = '$Revision: 1.30 $'.split()[1]
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(52)()
-> 'reserved for NCS compatibility', 'specified in RFC 4122',
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(53)()
-> 'reserved for Microsoft compatibility', 'reserved for future definition']
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(55)()
-> class UUID(object):
(Pdb)
--Call--
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(55)UUID()
-> class UUID(object):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(55)UUID()
-> class UUID(object):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(95)UUID()
-> """
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(97)UUID()
-> def __init__(self, hex=None, bytes=None, fields=None, int=None,
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(98)UUID()
-> version=None):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(167)UUID()
-> def __cmp__(self, other):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(172)UUID()
-> def __hash__(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(175)UUID()
-> def __int__(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(178)UUID()
-> def __repr__(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(181)UUID()
-> def __setattr__(self, name, value):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(184)UUID()
-> def __str__(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(189)UUID()
-> def get_bytes(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(195)UUID()
-> bytes = property(get_bytes)
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(197)UUID()
-> def get_fields(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(201)UUID()
-> fields = property(get_fields)
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(203)UUID()
-> def get_time_low(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(206)UUID()
-> time_low = property(get_time_low)
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(208)UUID()
-> def get_time_mid(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(211)UUID()
-> time_mid = property(get_time_mid)
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(213)UUID()
-> def get_time_hi_version(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(216)UUID()
-> time_hi_version = property(get_time_hi_version)
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(218)UUID()
-> def get_clock_seq_hi_variant(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(221)UUID()
-> clock_seq_hi_variant = property(get_clock_seq_hi_variant)
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(223)UUID()
-> def get_clock_seq_low(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(226)UUID()
-> clock_seq_low = property(get_clock_seq_low)
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(228)UUID()
-> def get_time(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(232)UUID()
-> time = property(get_time)
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(234)UUID()
-> def get_clock_seq(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(238)UUID()
-> clock_seq = property(get_clock_seq)
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(240)UUID()
-> def get_node(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(243)UUID()
-> node = property(get_node)
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(245)UUID()
-> def get_hex(self):
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(248)UUID()
-> hex = property(get_hex)
(Pdb)
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(250)UUID()
-> def get_urn(self):
(Pdb) u
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(55)()
-> class UUID(object):
(Pdb)
> /home/eraztes/web2py/gluon/utils.py(16)()
-> import uuid
(Pdb) d
> /usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(55)()
-> class UUID(object):
(Pdb) next
> 
/usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(274)()
-> def _ifconfig_getnode():
(Pdb)
> 
/usr/lib/python2.7/site-packages/uuid-1.30-py2.7.egg/uuid.py(288)()
-> def _ipconfig_getnode():

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


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


[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 
executed at all.

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.


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


[web2py] Starting web2py fails silently with Cygwin python

2013-08-28 Thread Razvan Teslaru
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.


[web2py] Why is the plugins list empty in the wizard?

2013-08-28 Thread Razvan Teslaru
I'm trying out the "New Application Wizard" -- in step 1, however, the 
plugins box is empty. I searched around and came across an older bug, where 
the plugins where there but were not visible due to a 'overflow-y: auto' 
value. 

However, this is a different issue: the plugins are not listed at all (I 
inspected the page source); playing around with overflow-y' doesn't help 
either. The 'ul class="ms-list"' is definitely empty. 

Tested in Windows and CentOS, with Chrome and IE.

Does anyone else experience the same issue? Or is it something I'm (not) 
doing?

Thanks!

-- 

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