[web2py] Re: WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking still showing up

2012-04-20 Thread Chris
I figured out part of the problem. It's not win32con, it's win32file that's 
not importing. I'm disabling cron locally, and I posted a question on 
StackOverflow in case anyone wants to try and decipher this mystery 
(http://stackoverflow.com/questions/10256531/using-eclipse-with-pywin32).


On Monday, December 19, 2011 4:46:48 PM UTC-5, Chris wrote:

 (The first one is from Python started independently, the second from 
 Eclipse and the running instance of my app.)



[web2py] Re: WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking still showing up

2011-12-19 Thread Chris
Here's what I've got:

Python 2.6 (r26:66721, Oct  2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)] 
on win
32
Type help, copyright, credits or license for more information.
 import win32con
 win32con
module 'win32con' from 
'C:\Python26\lib\site-packages\win32\lib\win32con.pyc'

The mystery gets weirder! I opened up an Eclipse PDB session in my web2py 
app:
(Pdb) import win32con
(Pdb) win32con
module 'win32con' from 
'C:\Python26\Lib\site-packages\win32\lib\win32con.pyc'
(Pdb) import sys
(Pdb) sys.version_info
(2, 6, 0, 'final', 0)


[web2py] Re: WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking still showing up

2011-12-19 Thread Chris
(The first one is from Python started independently, the second from 
Eclipse and the running instance of my app.)

[web2py] Re: WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking still showing up

2011-12-15 Thread nick name
Are you sure you got the right win32? e.g. it needs to match the Python 
version number (2.6) and bit width (32? 64?) of your interpreter.

If you start Python independently, can you import win32con without error?