[web2py] Re: WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking still showing up
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
(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
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 The mystery gets weirder! I opened up an Eclipse PDB session in my web2py app: (Pdb) import win32con (Pdb) win32con (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
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?