I tried loading the latest Web2Py in IronPython but I hit a few snags. I've 
changed the driver module loader to check for an additional error type 
which gets past the db drivers loader, and now it seems to stop on the 
rocket.py with some error about a string expected but got int instead. In 
any case, hopefully the patches I provided allow those of you who use 
IronPython to enjoy using pyDAL. 

If anyone has gotten Web2Py working with IronPython, I'd like to hear your 
experiences, so hopefully I can create a pull request to get fixes for it 
in mainline.

My experience has been that with the patches to pyDAL, I can run using the 
anyserver.py script like so:

ipy.exe anyserver.py -s wsgiref -i 127.0.0.1 -p 3000

now, in order to access admin, I need to create a parameters_3000.py with a 
password in it. The only line is this:
password='25d55ad283aa400af464c76d713c07ad'

Don't worry, I'm not sharing my super secret password. This is just 
12345678.

With that set, I get a ticket on startup... apparently I have to create a 
'sql.log' file in applications\admin\databases. And in 'examples'...

Examples seemed to work after that, Admin works, Welcome doesn't for some 
strange reason...

Traceback (most recent call last):
  File "E:\web2py\gluon\restricted.py", line 227, in restricted
    exec ccode in environment
  File "E:/web2py/applications/welcome/models/db.py" 
<http://127.0.0.1:3000/admin/default/edit/welcome/models/db.py>, line 58, in 
<module>
    plugins = PluginManager()
  File "E:\web2py\gluon\tools.py", line 5318, in __init__
    self.__dict__.clear()
  File "E:\web2py\gluon\tools.py", line 5330, in __getattr__

TypeError: Value cannot be null.
Parameter name: key

I tried to modify that tools.py and so the line numbers will be off slightly (I 
added a few to debug). It's a work in progress... but, it's very encouraging.


Thanks,
Derek Wilson

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to