On Wednesday, February 7, 2018 at 10:52:11 PM UTC-8, Johann Spies wrote:
>
> Apologies for waisting your time. The new day has opened my eyes. I
> had a db.db.sometable (result of a manual copy and paste) later on in
> the function which caused this db-problem.
>
> There is still another
Apologies for waisting your time. The new day has opened my eyes. I
had a db.db.sometable (result of a manual copy and paste) later on in
the function which caused this db-problem.
There is still another problem but I will first try and out what is
going on here.
Thanks for your attention to
On 7 February 2018 at 22:14, Dave S wrote:
>
>
> I thought web2py always ran the model files before calling the controller
> function,
> part of the overhead of each call (and the reason for lazy tables and tables
> defined in modules).
>
> Johann, is this function in the
On Wednesday, February 7, 2018 at 6:23:55 AM UTC-8, Richard wrote:
>
> You define table into za_arts_and_reviews()??
>
> If you it may occurs that this controller is call before db.py where you
> define your db connection...
>
I thought web2py always ran the model files before calling the
You define table into za_arts_and_reviews()??
If you it may occurs that this controller is call before db.py where you
define your db connection...
Richard
On Wed, Feb 7, 2018 at 9:18 AM, Johann Spies wrote:
> No.
>
> Regards
> Johann
>
> On 7 February 2018 at 16:10,
No.
Regards
Johann
On 7 February 2018 at 16:10, Richard Vézina wrote:
> Do you make a module function call without passing the db to it??
>
> Richard
>
> On Wed, Feb 7, 2018 at 8:42 AM, Johann Spies wrote:
>>
>> Version
Do you make a module function call without passing the db to it??
Richard
On Wed, Feb 7, 2018 at 8:42 AM, Johann Spies wrote:
> Version 2.16.1-stable+timestamp.2017.11.14.05.54.25
>
>
> Traceback (most recent call last):
> File "/home/js/web2py/gluon/restricted.py",
Version 2.16.1-stable+timestamp.2017.11.14.05.54.25
Traceback (most recent call last):
File "/home/js/web2py/gluon/restricted.py", line 219, in restricted
exec(ccode, environment)
AttributeError: 'DAL' object has no attribute 'db'
During handling of the above exception, another exception
8 matches
Mail list logo