Looks like that line should refer to self.config._db.uri rather 
than self.config.db.uri.

On Sunday, May 19, 2013 10:50:17 AM UTC-4, Osswalt wrote:
>
> Thank you Samuel.
>
> Tried to play around with Foxter...
> If I run it from my web2py I got this internal error:
>
> <type 'exceptions.AttributeError'> 'NoneType' object has no attribute 'uri'
> Traceback (most recent call last):
>   File "/home/myname/Dropbox/py/web2py/gluon/restricted.py", line 212, in 
> restricted
>     exec ccode in environment
>   File 
> "/home/myname/Dropbox/py/web2py/applications/Foxter/controllers/default.py", 
> line 90, in <module>
>   File "/home/myname/Dropbox/py/web2py/gluon/globals.py", line 194, in 
> <lambda>
>     self._caller = lambda f: f()
>   File 
> "/home/myname/Dropbox/py/web2py/applications/Foxter/controllers/default.py", 
> line 18, in index
>     home = Home(['featured', 'featured_members', 'ads', 'homeblocks', 
> 'articles'])
>   File "applications/Foxter/modules/handlers/base.py", line 32, in __init__
>     self.start()
>   File "applications/Foxter/modules/handlers/home.py", line 12, in start
>     self.db = DataBase([User, ContentType, Category, Article, Ads, Page])
>   File "applications/Foxter/modules/movuca.py", line 35, in __init__
>     DAL.__init__(self, self.config.db.uri,
> AttributeError: 'NoneType' object has no attribute 'uri'
>
> Maybe I must arrange some setting before ?
>
> Greg
>
>

-- 

--- 
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/groups/opt_out.


Reply via email to