Hi,

I used git clone  from https://github.com/web2py/web2py.git -- that is
probably problem
adapter always prints as:  <pydal.adapters.sqlite.SQLite object at
0x7fc701680450>

now I downloaded *_src.zip
and I get  <pydal.adapters.sqlite.SQLiteAdapter object at 0x7f30cea8f510>

Thanks, probably I shouldn't use git... (but thought would be easier to
update to newest with pull..)


On Thu, Dec 22, 2016 at 3:36 AM, Anthony <abasta...@gmail.com> wrote:

> What version of web2py, and are you sure it includes the proper version of
> PyDAL?
>
> What is the object type of db._adapter (a) immediately after db is created
> in db.py and (b) when db is assigned from current.db in the module?
>
> Your traceback shows object type "SQLite", but the adapter is not of that
> type.
>
> Anthony
>
>
> On Wednesday, December 21, 2016 at 11:57:24 AM UTC-5, Jurgis Pralgauskis
> wrote:
>>
>>
>> > That's odd. Hard to say what's going on without seeing the code. Maybe
>> attach a minimal app that reproduces the problem.
>>
>> https://github.com/dz0/web2py_grand_helpers/blob/master/app/
>> modules/plugin_search_form/search_form.py#L188
>>
>> you can toggle comment with next line to see the non/working case...
>>
>> ps.: current.db is set in
>> https://github.com/dz0/web2py_grand_helpers/blob/master/app/
>> models/plugin_search_form.py
>>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/web2py/0IvASrrIDkA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jurgis Pralgauskis
tel: 8-616 77613;
Don't worry, be happy and make things better ;)
http://galvosukykla.lt

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to