Re: [web2py] Re: Handling (2006, 'MySQL server has gone away') from Scheduler, pythonanywhere

2015-02-03 Thread vld...@gmail.com
sometimes this error (2006, 'MySQL server has gone away') happens when parameter 'max_allowed_packet" is too small. $ sudo vim /etc/mysql/my.cnf # goto the [mysqld] section [mysqld] ... max_allowed_packet=8M <<-- change this with, for example, 500M Hope this can help you Vladyslav Kozlovsk

Re: [web2py] Pluralization and styles

2014-04-30 Thread vld...@gmail.com
you can try to use markmin in T for styling. You need to write: T.M('*%s* %%{result} %%{found}', symbols=num_offers) 29.04.14 21:28, Louis Amon написав(ла): I'm trying to print something like that in my view : *31* results found (notice the bold number) I used the pluralization engine