This problem was fixed in trunk some time ago.

On Tuesday, 24 April 2012 08:15:11 UTC-5, Bruce Wade wrote:
>
> There is a bug with version 1.99.7 especially if you want to use 
> postgresql. If you don't have psycopg2 installed then it will give the an 
> error about get can't find .... you need to change the connection string if 
> you want to use the built in driver that comes with this version of web2py, 
> I have posted about this a while back.
>
> If your error is this: AttributeError: 'list' object has no attribute 
> 'get'
>
> Then this is the problem: 
>
> Line 1999 in trunk:
>                  self.driver = drivers.get('pg8000')
> Should be:
>                  self.driver = self.drivers.get('pg8000')
>
>
>
> On Tue, Apr 24, 2012 at 4:52 AM, Johann Spies <[email protected]>wrote:
>
>> On 24 April 2012 05:10, Goronmon <[email protected]> wrote:
>>
>>> I'm trying to use web2py on a Ubuntu install. I can start it up from the 
>>> console, but as soon as I navigate to it in the browser I the internal 
>>> error about not being able to import the driver.
>>>
>>> I haven't touched anything or done any type of special configuration. 
>>> I've gotten it to work in WIndows just fine, but for some reason I just 
>>> can't get it working on Ubuntu. I've spent all evening trying to get around 
>>> the issue but have had no luck so far.
>>>
>>> I would really appreciate any help anyone can give me in getting around 
>>> this error.
>>>
>>
>> If you want us to help you, please provide more information.  Did you 
>> click on the url provided by the 'Internal error' mesage?  If so what did 
>> the ticket tell you?
>>
>> There is a script that comes with Ubuntu which can install web2py with 
>> all the necessary ubuntu packages and configure it to work with Apache.  
>> Did you try that?
>>
>> Regards
>> Johann.
>> -- 
>> Because experiencing your loyal love is better than life itself, 
>> my lips will praise you.  (Psalm 63:3)
>>
>>  
>
>
> -- 
> -- 
> Regards,
> Bruce Wade
> http://ca.linkedin.com/in/brucelwade
> http://www.wadecybertech.com
> http://www.fittraineronline.com - Fitness Personal Trainers Online
> http://www.warplydesigned.com
>
>  

Reply via email to