[web2py:15528] An example of MSSQL database connection and installing modules to support it

2009-01-27 Thread kgingeri
Hi all, Still a noob here and I have not found any complete examples of using MSSQL. I have purchased and downloaded the PDF manual but no help. I am on a Mac (but use Linux also). I get an error: NameError: global name 'pyodbc' is not defined and have installed pyodbc using easy_instal

[web2py:15535] Re: An example of MSSQL database connection and installing modules to support it

2009-01-27 Thread kgingeri
hon* /usr/bin/python /usr/bin/python2.5-config /usr/bin/python-config /usr/bin/pythonw /usr/bin/python2.5 /usr/bin/pythonw2.5 ...and: $ ls /Library/Frameworks/Python.framework/Versions/ 2.5 Current ...here is the python version and shell results: Kar

[web2py:15536] Re: An example of MSSQL database connection and installing modules to support it

2009-01-27 Thread kgingeri
...on a little further investigation, I found... KarlsMacBook:~ kgingeri$ l /Library/Python/ total 0 drwxrwxr-x 4 root admin 136 2 Sep 17:17 2.3 drwxrwxr-x 4 root admin 136 2 Sep 17:16 2.5 KarlsMacBook:~ kgingeri$ find /Library/Python/2.3/site-packages/ -name \*odbc\* -print

[web2py:15580] Re: An example of MSSQL database connection and installing modules to support it

2009-01-28 Thread kgingeri
@achipa it says KarlsMacBook:~ kgingeri$ python web2py.py -S welcome -P /Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python: can't open file 'web2py.py': [Errno 2] No such file or directory ...it runs as an .app install from my Appl

[web2py:15581] Re: An example of MSSQL database connection and installing modules to support it

2009-01-28 Thread kgingeri
Also, I've tried a few things and here are my responses - again, I am new at this (I had looked at web2py a year ago briefly) so don't laugh too loud ;v) # easy_install pymssql Searching for pymssql Reading http://pypi.python.org/simple/pymssql/ Reading http://pymssql.sourceforge.net No local pa

[web2py:15590] Re: An example of MSSQL database connection and installing modules to support it

2009-01-28 Thread kgingeri
Ah! Thanks Massimo! I thought it must have been something like that. I will give it a try and report back. An actual source example or tutorial would be helpful - maybe I can give you one when I get it working :v) Karl --~--~-~--~~~---~--~~ You received this

[web2py:15592] Re: An example of MSSQL database connection and installing modules to support it

2009-01-28 Thread kgingeri
/Library/ODBC or /usr/local/ etc/freetds.conf (see below) - or do I access directly via an IP and the actual db name? I think I've tried both properly. I've tried too many variations and always get as follows: Traceback (most recent call last): File "/Users/kgingeri/web2py/gluon/res

[web2py:15647] Re: An example of MSSQL database connection and installing modules to support it

2009-01-31 Thread kgingeri
Thanks Ondrej, I do have unixodbc loaded - the MacPorts program (port at a shell) is a installer, like apt-get in Linux. I also seem to have (pre-installed?) iODBC and I don't know, but I think it may be getting in the way or at least confusing the issue. I have no experience at all with ODBC on

[web2py] web2py working on my iPad! :vD

2011-02-04 Thread kgingeri
ot;just boot tethered' mode - otherwise the it will boot with jailbreaking disabled 2) pTerm does not go into background properly, so it will kill web2py if you try to use an iPad browser instead of the built in one - hopefully this is updated soon. Here's some screenshots on picasa -> https://picasaweb.google.com/kgingeri/Wep2pyOnIpad?feat=directlink

[web2py] Re: web2py working on my iPad! :vD

2011-02-05 Thread Kgingeri
5, 6:16 am, Martín Mulone wrote: > Great. > > Have to jailbreak to install python? omg, this why I hate apple things. > > 2011/2/5 kgingeri > > > > > > > I have renewed interest in using web2py for simple Google gadgets and > > CRUD updates to a web da

[web2py] Re: web2py working on my iPad! :vD

2011-02-05 Thread Kgingeri
Actually it does! I created a script... #!/bin/sh # start--- web2py startup for background # web2py/web2py.py wrote: > Wow, all that for something that can't even run in the background? It was > easier installing Debian on Android to achieve the same thing (sans the > cant-work-in-ba