If I define de DAL in __init__ and make a query in the constructor (just
for trying), it works. But it doesn't on the run method, I can not make any
query outside the constructor.
*Solved:*
I have to define the DAL in the run method again. I dont know why but now
it works.
def run(self):
I've added this line in my code:
db = DAL('mysql://mydatabase',
folder='applications/gestion/databases',auto_import
=True)
But the result was the same I got at the beginig:
raise errorclass, errorvalue
InterfaceError: (0, '')
El lunes, 7 de mayo
h
> web2py thread pooling mechanism. Even if it did not, we do not know the db
> driver it thread safe. Each thread must have it's own db=DAL() connection.
>
> On Monday, 7 May 2012 05:21:17 UTC-5, Samuel Mac wrote:
>>
>> First of all, I've been searching other g
First of all, I've been searching other google group theads and they help
me doing all I wanted but now I'm stuck.
I was looking for getting some hardware information from a computer using 3
threads. This threads save the info in the Database. To do that i follow
the instructions founded in thi
#x27;,
}
But, If I make some changes on the es-es.py file now, all the changes
will be overwritten when user logs off. This is how es-es.py file
remains after that:
# coding: utf8
{
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
'Are you su
wrote:
> As that thread recommends, do you have this
> installed:http://sourceforge.net/projects/pywin32/?
>
>
>
>
>
>
>
> On Wednesday, September 21, 2011 7:05:53 AM UTC-4, Samuel Mac wrote:
>
> > I don't know if it helps, but I've read this similar pos
I don't know if it helps, but I've read this similar post this
morning:
http://groups.google.com/group/web2py/browse_thread/thread/ade440fe69428517/9bbb4d362d74ecad
One of the first answers is another question about Windows. I'm using
windows now, is this a problem?
On 21 Set, 12
Both. First of all I was editing es-es.py file using an editor. But I
read in this group a recomendation using web admin app. But I still
have the same problem: If I edit the es-es.py file, it gets reseted
when another user logs in.
On 21 Set, 12:51, Kenneth Lundström
wrote:
> Have you tried to u
Hello,
I've tried to edit my language files but my changes are all the time
overwritten when user logs off.
For example, on my menu.py I have:
(T('Adm Area'),False,URL('appadmin','index'),[])]
and in my es-es.py language file:
'Adm Area': 'Área administrativa',
The problem is, when the user log o
Hi,
I've been searching for older threads but I can't find the solution,
so I decided to ask you.
I have a problem with the encoding. For example, in the menu.py file,
one of my fields is:
(("Área Téncica"),False,URL('default','vision_casos'),[]),
But when I run the aplication, it is showed as: "?
10 matches
Mail list logo