[web2py:18149] Re: error using the shell

2009-03-16 Thread Kirby Turner
Please ignore my previous email. I now think the problem is in my model code. Apologies for the fault alarm. -KIRBY On Mar 16, 2009, at 4:26 PM, Kirby Turner wrote: > > When I try to run my app through the shell when the -M (-- > import_models) flag I get the following error: &

[web2py:18148] error using the shell

2009-03-16 Thread Kirby Turner
When I try to run my app through the shell when the -M (-- import_models) flag I get the following error: python web2py.py -S orders --import_models WARNING:root:URL rewrite is on. configuration in route.py default applications appear to be installed already web2py Enterprise Web Framework Crea

[web2py:17203] Re: IIS6+web2py+MSSQL

2009-03-01 Thread Kirby Turner
>> >>> I am using web2py as a service on Windows Server 2008 and IIS 7 in >>> combination with the Helicon ISAP_Rewrite-module. >> >>> =>http://www.isapirewrite.com/ >> >>> If you like, I can give you some more information. >> >>&

[web2py:17004] Re: IIS6+web2py+MSSQL

2009-02-26 Thread Kirby Turner
The suggested fix did work! But now I'm encountering an error with wsgiref.py. I'm out snowboarding today and tomorrow so it will probably be this weekend before I can return to the detective work. -KIRBY On Feb 26, 2009, at 3:55 PM, Kirby Turner wrote: > Found t

[web2py:17003] Re: IIS6+web2py+MSSQL

2009-02-26 Thread Kirby Turner
le. > > => http://www.isapirewrite.com/ > > If you like, I can give you some more information. > > _p_ > > On 26 Feb., 21:38, Kirby Turner wrote: >> Unfortunately it doesn't help but gives me something more to >> research. I'll also post a message to the isapi-wsgi gr

[web2py:16995] Re: IIS6+web2py+MSSQL

2009-02-26 Thread Kirby Turner
Found this. http://code.google.com/p/isapi-wsgi/issues/detail?id=2 Turns out to be a known bug with isapi-wsgi. There is a suggested fix that I'm trying now. -KIRBY On Feb 26, 2009, at 3:38 PM, Kirby Turner wrote: > > Unfortunately it doesn't help but gives me something mo

[web2py:16994] Re: IIS6+web2py+MSSQL

2009-02-26 Thread Kirby Turner
> http://www.usenet-forums.com/php-language/24828-remote_addr-iis.html > http://wiki.pylonshq.com/display/pylonscookbook/Serving+a+Pylons+app+with+IIS > > It seems in IIS ISAPI environment variables are not the environment > being bassed. > > Massimo > > > On Feb 26, 1:39 pm,

[web2py:16989] Re: IIS6+web2py+MSSQL

2009-02-26 Thread Kirby Turner
> > into > >application=gluon.main.wsgibase > > You'd lose the ability to run cron jobs but once the problem is > isolated we can fix it. > Let us know. > > Massimo > > On Feb 26, 8:07 am, Kirby Turner wrote: >> Hi All, >> >> I feel

[web2py:16978] Re: IIS6+web2py+MSSQL

2009-02-26 Thread Kirby Turner
Hi All, I feel close to having this working using IIS6+isapi-wsgi+web2py +mssql. I have encountered an issue within web2py and I'm not sure how to get around it. I'll talk about the error at the end of this message, but first here is the basics for setting up isapi-wsgi with web2py under

[web2py:16930] Re: isapi-wsgi+web2py almost working

2009-02-25 Thread Kirby Turner
id=78018&atid=551954 -KIRBY On Feb 25, 2009, at 9:12 AM, Kirby Turner wrote: > > By the way, I should add that I have no problems running web2py.py > from the command line. My applications run fine. The import only > fails when I try to run with isapi-wsgi. > > Thanks, > -

[web2py:16920] Re: IIS6+web2py+MSSQL

2009-02-25 Thread Kirby Turner
Will do. I'm close to having it working. Just getting a strange import error on _socket. I posted a separate thread on that problem, though it's not really a web2py issue. -KIRBY On Feb 25, 2009, at 9:05 AM, Paul Eden wrote: > > +1 on that! > > Paul > > On Wed, Feb 25, 2009 at 6:50 AM,

[web2py:16916] Re: isapi-wsgi+web2py almost working

2009-02-25 Thread Kirby Turner
By the way, I should add that I have no problems running web2py.py from the command line. My applications run fine. The import only fails when I try to run with isapi-wsgi. Thanks, -KIRBY On Feb 25, 2009, at 9:08 AM, Kirby Turner wrote: > > Hi All, > > I'm very close

[web2py:16914] isapi-wsgi+web2py almost working

2009-02-25 Thread Kirby Turner
Hi All, I'm very close to having web2py running under IIS using isapi-wsgi. I have included below the isapi-wsgihandler.py file I created (see below). It's based on web2py's own wsgihandler.py and has been modified to include code needed for isapi-wsgi. I'll post to the FAQ once I have

[web2py:16898] Re: IIS6+web2py+MSSQL

2009-02-25 Thread Kirby Turner
ompatible and there is a wsgi adapter >> for >> IIS (http://code.google.com/p/isapi-wsgi/). >> >> I have used MSSQL 2005 with python using the pymssql module and with >> pyodbc both with great results. Pymssql is easier to setup, but uses >> a deprecated MS C li

[web2py:16885] IIS6+web2py+MSSQL

2009-02-24 Thread Kirby Turner
Hi All, There is a possibility I can convince a customer of mind to switch from ASP.NET MVC to web2py. The catch? It must run under IIS 6 with SQL Server 2005. Are there others hosting production web2py apps under IIS 6 with MSSQL 2005? If so, how was the setup experience? Difficult,

[web2py:14640] Re: Invalid function on web2py_wiki

2009-01-06 Thread Kirby Turner
Thanks Yarko and Timothy. -KIRBY On Jan 6, 2009, at 2:15 PM, Timothy Farrell wrote: > www.web2pywiki.com will point you to where you need to go. > > Kirby Turner wrote: >> >> On Jan 4, 2009, at 8:04 AM, mdipierro wrote: >> >> >>> you may also want to

[web2py:14637] Invalid function on web2py_wiki

2009-01-06 Thread Kirby Turner
On Jan 4, 2009, at 8:04 AM, mdipierro wrote: > you may also want to consider (in addition, not in alternative) to > post on > > http://mdp.cti.depaul.edu/web2py_wiki I'm getting "invalid function" when I go to the URL above. -KIRBY --~--~-~--~~~---~--~~ You re

[web2py:14595] Re: Postgres error

2009-01-05 Thread Kirby Turner
Here is a link to the Postgres documentation that talks about identifiers and key words. http://www.postgresql.org/docs/8.3/interactive/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS I didn't have the URL handy when I sent the previous reply. -KIRBY On Jan 5, 2009, at 8:25 PM, Kirby T

[web2py:14594] Re: Postgres error

2009-01-05 Thread Kirby Turner
Enclosing the name in double quotes is Postgres's way of allowing you to override the name rules. In other words, it basically allows you to name the table anything you want. However, it's use it not standard across all database engines. Different database engines have different ways to

[web2py:14491] retrieve raw post data

2009-01-03 Thread Kirby Turner
I'm working on an app that will be called by an external system. The external system will send a post request to my server passing XML as raw data. My app needs to retrieve the raw post data. Searching the group I discovered that I can retrieve the raw post data using: request.body.read(

[web2py:14290] code of conduct - open source organization

2008-12-29 Thread Kirby Turner
I read through the current draft of the organization charter and it seems like a great start. But parts of the Code of Conduct seem too restrictive especially for my situation. I am self-employed - been in business for just over 5 years. I recently discovered web2py and think its a grea

[web2py:14257] Re: open source organization again

2008-12-29 Thread Kirby Turner
Found the URL in the other message with the subject "web2py google docs". -KIRBY On Dec 29, 2008, at 10:27 AM, Kirby Turner wrote: > Also, it seems I can't get to the document today. Did the URL change? --~--~-~--~~~---~--~~ You rec

[web2py:14256] Re: open source organization again

2008-12-29 Thread Kirby Turner
I have some questions regarding the code of conduct. Is it okay post the questions here in the user group or as comments in the document? Also, it seems I can't get to the document today. Did the URL change? -KIRBY On Dec 27, 2008, at 2:18 PM, mdipierro wrote: > > Some of you may remember

[web2py:13978] Re: accepting space charaters as %20 on request.args

2008-12-21 Thread Kirby Turner
I'm fairly new to web2py and not sure how much my opinion counts, but I have been doing web development for years. I have always found embedded spaces in URL to be a bad thing. The URL can be mis- interrupted. And %20 is just down right ugly. Plus, I'm not convinced that embedded spaces

[web2py:13229] Re: embedded dashes in controller name

2008-12-09 Thread Kirby Turner
On Dec 9, 2008, at 3:32 PM, mdipierro wrote: > Done. it is in trunk. was easier than I thought. Wow! I would still be staring at the regex expression. Thanks for the quick fix. I tested the change and it works great. -KIRBY --~--~-~--~~~---~--~~ You receiv

[web2py:13216] Re: embedded dashes in controller name

2008-12-09 Thread Kirby Turner
erro wrote: > > There is no deep reason. It can be changed. You are the first to bring > this up. > > If no objections I will change it in the next version. > > Massimo > > > On Dec 9, 1:10 pm, Kirby Turner <[EMAIL PROTECTED]> wrote: >> Thanks Massimo. I unders

[web2py:13213] Re: embedded dashes in controller name

2008-12-09 Thread Kirby Turner
y and map '-' into '_' for each controller. > > routes_in=[ > ('yourappname/controller-name/(?P.*)','yourappname/ > controller_name/\g'),, > ] > > Massimo > > > On Dec 9, 12:40 pm, Kirby Turner <[EMAIL PROTECTED]> wrote: &g

[web2py:13207] embedded dashes in controller name

2008-12-09 Thread Kirby Turner
Hi All, I'm new to web2py (today is my second day using it) but I really like what I see. I have started migrating an ASP.NET site over to web2py and I'm amazed at how fast the migration is going. My original site uses dashes in some of its URLs. In migrating over I originally defined a