[web2py] SQLFORMGRID - CSS - LAYOUT

2019-12-04 Thread L c
Hi, Soory but i do not find answer: I did that : 1. Create a subfolder of static (example "css_template") 2. Move template files to static/css_template 3. Move static/css_template/index.html to views/layout.html 4. Edit views/layout.html to fix *href* and *src* to static files using

[web2py] debian 10 : mysql Ver 8.0.19 f : mysql_secure_installation

2020-04-21 Thread L c
Hello, I cannot access to a mysql database, il am sure the login/pwd are ok, tested on command line On my old sever it was ok, no pb and now impossible :( Have you an idea ? thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

Re: [web2py] Pack a big app

2020-04-27 Thread L c
web2py of serverv1, then zip your app, then move it through SSH or other > method to the new server, and place it in the "applications" folder of > web2py of server 2. Reload routes in web2py admin app. I haven't > experienced troubles with this method. > >

[web2py] Pack a big app

2020-04-27 Thread L c
Hello, I would like to transfer an app from server 1 to server 2 (size of the app 700Mb) first test : try to pack to build a w2p package --> internal error (it works for app 400 Mb) Second test : i create a tar from server 1 and i transfer to server 2 --> the app tells me no function (note

Re: [web2py] Pack a big app

2020-04-27 Thread L c
you were right, reload routes was good, sorry and thank you again good day Le lundi 27 avril 2020 18:13:02 UTC+2, L c a écrit : > > thank neither do i, this is the first time :(, i did no reload the routes, > i am going to try > > thank you again > > > > Le lundi 2

[web2py] Re: debian 10 : mysql Ver 8.0.19 f : mysql_secure_installation

2020-04-21 Thread L c
ome/www-data/web2py/gluon/contrib/pymysql/charset.py", line 38, in by_id return self._by_id[id] KeyError: 255 Le mardi 21 avril 2020 17:37:56 UTC+2, L c a écrit : > > Hello, > I cannot access to a mysql database, il am sure the login/pwd are ok, > tested on command line >

[web2py] Re: debian 10 : mysql Ver 8.0.19 f : mysql_secure_installation

2020-04-21 Thread L c
tables -> ; +-+ | Tables_in_4test | +-+ | personnel | +-+ 1 row in set (0,00 sec) Le mardi 21 avril 2020 17:37:56 UTC+2, L c a écrit : > > Hello, > I cannot access to a mysql database, il am sure the login/pwd are ok, > t

[web2py] Re: debian 10 : mysql Ver 8.0.19 f : mysql_secure_installation

2020-04-21 Thread L c
if i test with a new app, new bdd a simple one it does not work :( (credentials are good, port 3306 open .. checked by command line or phpmyadmin) Le mercredi 22 avril 2020 00:59:12 UTC+2, L c a écrit : > > New server > same app > same credentials > thank you > > > Le m

Re: [web2py] Re: debian 10 : mysql Ver 8.0.19 f : mysql_secure_installation

2020-04-21 Thread L c
("sqlite://storage.sqlite") dbun.define_table('personnel', Field('login', type = 'string' , length = 25 ), Field('nom', type = 'string' , length = 20 ), migrate=True) Le mercredi 22 avril 2020 02:05:33 UTC+2, L c a écrit : > > No > > Le mercredi 22 avril 2020

Re: [web2py] Re: debian 10 : mysql Ver 8.0.19 f : mysql_secure_installation

2020-04-23 Thread L c
Thank you again, i was feeling alone . Le mercredi 22 avril 2020 21:11:44 UTC+2, Jim S a écrit : > > I'm happy you got it working. > > -Jim > > On Wed, Apr 22, 2020 at 1:39 PM L c > > wrote: > >> oh i forgot i have hollowed your advice, updating pymysql >>

[web2py] Re: debian 10 : mysql Ver 8.0.19 f : mysql_secure_installation

2020-04-21 Thread L c
; -Jim > > On Tuesday, April 21, 2020 at 2:30:15 PM UTC-5, L c wrote: >> >> Failure to connect, tried 5 times: >> Traceback (most recent call last): File >> "/home/www-data/web2py/gluon/packages/dal/pydal/base.py", line 457, in >> __init__ self

Re: [web2py] Re: debian 10 : mysql Ver 8.0.19 f : mysql_secure_installation

2020-04-21 Thread L c
No Le mercredi 22 avril 2020 01:41:39 UTC+2, Jim S a écrit : > > Is the DB on a separate server from the web application? > > Jim > > > On Tue, Apr 21, 2020, 5:59 PM L c > > wrote: > >> New server >> same app >> same credentials >> thank you

Re: [web2py] Re: debian 10 : mysql Ver 8.0.19 f : mysql_secure_installation

2020-04-21 Thread L c
no idea ? Le mercredi 22 avril 2020 02:12:43 UTC+2, L c a écrit : > > if i try to create a new app with that it does not work, why ?? i don't > know first time it happens. mysql-server well installed , with sqlite it > works fine ... i don't know what to do , thank you again f

Re: [web2py] Re: debian 10 : mysql Ver 8.0.19 f : mysql_secure_installation

2020-04-22 Thread L c
oh i forgot i have hollowed your advice, updating pymysql thanks again Le mercredi 22 avril 2020 20:38:09 UTC+2, L c a écrit : > > for now it works i don't know why (i have insttalled mysql connector but i > don't think this is the reason) > after a reboot (2 in fact) it is now ok

Re: [web2py] Re: debian 10 : mysql Ver 8.0.19 f : mysql_secure_installation

2020-04-22 Thread L c
t; >>> In your second post above you're connecting to mysql with user usertest >>> and a password. >>> >>> In you web2py example you're connecting with user root. >>> >>> I'm guessing that is not the issue but can you confirm that you're usin

[web2py] Re: html e-mail newsletter

2020-07-01 Thread L c
Hello, The url http://www.web2pyslices.com/main/slices/take_slice/69 is no longer available. I need an example , do you have some ? Thank you Le samedi 6

[web2py] How to call other (and retrieve data/dictionnary ... ) web2py applications from within a web2py application

2020-06-22 Thread L c
Hello, there is an item on this subject however the links do not work anymore. Is there a simple, functional recipe to this question. Thank you in advance PS: I've looked in the book and I can't find a clear answer. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -