Re: [web2py] please help with new widgets

2016-03-13 Thread joseph simpson
Should be: http://mdipierro.github.io/stupid.css/widgets/materialize.html On Sun, Mar 13, 2016 at 11:32 PM, joseph simpson wrote: > I get a 404 on the: > > http://mdipierro.github.io/stupid.css/widgets/metarialize.html > > page.. > > Take care and have fun.. > > Joe > > On Sun, Mar 13, 2016 at

Re: [web2py] please help with new widgets

2016-03-13 Thread joseph simpson
I get a 404 on the: http://mdipierro.github.io/stupid.css/widgets/metarialize.html page.. Take care and have fun.. Joe On Sun, Mar 13, 2016 at 5:06 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > can somebody help me with this little project? > > http://mdipierro.github.io/stupid

[web2py] Re: please help with new widgets

2016-03-13 Thread xmarx
in mdipierro.github.io/stupid.css/widgets/index.html line 32: (chrome view source: view-source:http://mdipierro.github.io/stupid.css/widgets/index.html ) should be: i am not expert js or css. this is all I can do. 14 Mart 2016 Pazartesi 02:06:46 UTC+2 tarihinde Massimo Di Pierro yazdı: > > c

[web2py] Re: please help with new widgets

2016-03-13 Thread Massimo Di Pierro
can you point out the typos? On Monday, 14 March 2016 00:45:05 UTC-5, Dave S wrote: > > > > On Sunday, March 13, 2016 at 5:06:46 PM UTC-7, Massimo Di Pierro wrote: >> >> can somebody help me with this little project? >> >> http://mdipierro.github.io/stupid.css/widgets/index.html >> http://mdipierr

[web2py] Re: please help with new widgets

2016-03-13 Thread Dave S
On Sunday, March 13, 2016 at 5:06:46 PM UTC-7, Massimo Di Pierro wrote: > > can somebody help me with this little project? > > http://mdipierro.github.io/stupid.css/widgets/index.html > http://mdipierro.github.io/stupid.css/widgets/bootstrap.html > http://mdipierro.github.io/stupid.css/widgets/me

[web2py] Re: Change Grid Add Button URL

2016-03-13 Thread Jeff Riley
On Sunday, March 13, 2016 at 7:04:56 PM UTC-5, Jeff Riley wrote: > > Hello everyone, > > I am so close to having my project finished. I need to be able to > override the URL in the SQLFORM.grid 'Add Record' button. I also have the > added problem in that I have linked tables in my grid and wo

[web2py] Re: Scheduler as a service RHEL 7

2016-03-13 Thread Michael M
When I take off the '&' at the end of the command I get the following message: # systemctl restart web2py-scheduler.service Job for web2py-scheduler.service failed because a fatal signal was delivered to the control process. See "systemctl status web2py-scheduler.service" and "journalctl -xe"

[web2py] Re: Scheduler as a service RHEL 7

2016-03-13 Thread Michael M
[root@server~]# systemctl status web2py-scheduler.service -l ● web2py-scheduler.service - Web2py Scheduler service Loaded: loaded (/etc/systemd/system/web2py-scheduler.service; enabled; vendor preset: disabled) Active: activating (start) since Sun 2016-03-13 19:09:14 PDT; 38s ago Main PID:

Re: [web2py] Re: how to generate PDF documents in web2py???

2016-03-13 Thread Al Ex
One alternative could be to 1) install princexml in your server (http://www.princexml.com), check the licence for commercial use 2) in controller: def print_pdf(): response.headers['Content-Type']='application/pdf' from subprocess import Popen, PIPE # on windows (full path of binary)

[web2py] Re: Can't get rid of flash message in admin interface

2016-03-13 Thread Massimo Di Pierro
We should release a new stable this week. On Sunday, 13 March 2016 05:53:07 UTC-5, Niphlod wrote: > > this issue is still standing on the last stable. github master has the > solution already. > > On Sunday, March 13, 2016 at 6:55:21 AM UTC+1, Massimo Di Pierro wrote: >> >> What browser? What os

[web2py] Re: Update all languages not catching Markmin

2016-03-13 Thread Vinyl Darkscratch-Kazotetsu
I tried both the most recent stable, and the trunk, though neither of them have functioned, sadly. I'll attempt the trunk version once again, and see if it works... On Saturday, March 12, 2016 at 9:55:53 PM UTC-8, Massimo Di Pierro wrote: > > Most recent stable or trunk? > > On Saturday, 12 Mar

[web2py] please help with new widgets

2016-03-13 Thread Massimo Di Pierro
can somebody help me with this little project? http://mdipierro.github.io/stupid.css/widgets/index.html http://mdipierro.github.io/stupid.css/widgets/bootstrap.html http://mdipierro.github.io/stupid.css/widgets/metarialize.html Specifically, can you read the instructions? Do they make sense? can

[web2py] Change Grid Add Button URL

2016-03-13 Thread Jeff Riley
Hello everyone, I am so close to having my project finished. I need to be able to override the URL in the SQLFORM.grid 'Add Record' button. I also have the added problem in that I have linked tables in my grid and would like to override their add buttons also. I have gone through almost all

[web2py] Re: session always written if auth.user_groups is accessed

2016-03-13 Thread Alex
I assume calling the iterator changes some internal state in the C implementation of the dict which is then processed by cPickle. Therefor the current method to get the hash value from the pickled session and compare this hash if the session has changed is not optimal. One possible fix would be

[web2py] Re: Advice for small database on GAE

2016-03-13 Thread Val K
Hi! If your DB is so small and could be entirely placed in memory, you could have one yet web2py app on PythonAnywhere.com ( it's free) and use it as just data source. I mean - "every couple of months with 3 or 4 more" your GAE app reload all data from your PythonAnywhere app On Friday

[web2py] Re: Send Mail with AppRelay Server

2016-03-13 Thread Michael Messmer
That was it. Thanks! On Sunday, March 13, 2016 at 12:09:12 AM UTC-8, Dave S wrote: > > > > On Saturday, March 12, 2016 at 2:18:38 PM UTC-8, Michael M wrote: >> >> >> Hello, I was recently instructed to use our internal apprelay server for >> sending email internally. >> >> But one of the quirks

[web2py] Re: DAL: reference to FK-field causes an error

2016-03-13 Thread Val K
About my 'Let's dance' -comment - there is already opened issue https://github.com/web2py/pydal/issues/314 (SQLite syntax error in case of reference to keyed table) I opened *one* yet about reference to FK-field On Sunday, March 13, 2016 at 3:51:5

[web2py] Re: session always written if auth.user_groups is accessed

2016-03-13 Thread Alex
it makes a difference if import cPickle as pickle or import pickle is used. With the latter import the pickled sessions are equal. Only with cPickle (as used in gluon/globals.py) the pickled sessions are different. So it seems like I should avoid reading auth.user_groups if I don't want the ses

[web2py] How good a combo of MongoDB and web2py as a restful backend for a vast mobile application?

2016-03-13 Thread arihant daga
Hi all, I am trying to build a mobile application communicating to server using rest services. I am trying to build the backend with web2py. But i am feeling quiet doubtful since i am not getting much resources on web apart from the book.I am a little doubtful weather i should go for MongDb

Re: [web2py] Multiple connections/ databases with same app

2016-03-13 Thread Shane Raney
I did notice, if I pull the DB generation from a .py file in modules and move it into the the db.py file, I see it inside the web management gui. On Sun, Mar 13, 2016 at 9:33 AM, Shane Raney wrote: > Opps, that was a typo on my behalf while reproducing the code on my iPad. > Good catch though.

Re: [web2py] Multiple connections/ databases with same app

2016-03-13 Thread Shane Raney
Opps, that was a typo on my behalf while reproducing the code on my iPad. Good catch though. On Sun, Mar 13, 2016 at 9:31 AM, Paolo Caruccio wrote: > and by replacing "poolsize" to "pool_size"? > > > http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#DAL-signature

Re: [web2py] Multiple connections/ databases with same app

2016-03-13 Thread Paolo Caruccio
and by replacing "poolsize" to "pool_size"? http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#DAL-signature Il giorno domenica 13 marzo 2016 17:12:17 UTC+1, Shayn Raney ha scritto: > > Even If I rename the db's to just 'Cats' I see the same issue. > > > On Mar 13

Re: [web2py] Multiple connections/ databases with same app

2016-03-13 Thread Shane Raney
Even If I rename the db's to just 'Cats' I see the same issue. > On Mar 13, 2016, at 4:08 AM, Paolo Caruccio > wrote: > > Try to replace dash ("-") with uderscore ("_") in the variable names i.e. > db_cats > > > Il giorno sabato 12 marzo 2016 15:10:33 UTC+1, Shayn Raney ha scritto: >> >>

[web2py] session always written if auth.user_groups is accessed

2016-03-13 Thread Alex
I've found out that the session file is always updated (Session._try_store_in_file) if I access auth.user_groups. When the user is logged in I'm iterating through auth.user_groups which modifies the session. I've the following code: if auth.user_id: for role in auth.user_groups.itervalues()

[web2py] Re: Dal Field Types

2016-03-13 Thread Daniel Lafrance
Thanks Guys Le jeudi 3 mars 2016 02:23:54 UTC-5, Daniel Lafrance a écrit : > > Hi group > > I am trying to build a db dynamic app but I am stick on the following > problem. > > I am able to get the filenames of a table by the syntax ; > > fields = list(db.resultats.keys()) > > > But I am unable t

Re: [web2py] Multiple connections/ databases with same app

2016-03-13 Thread Paolo Caruccio
Try to replace dash ("-") with uderscore ("_") in the variable names i.e. db_cats Il giorno sabato 12 marzo 2016 15:10:33 UTC+1, Shayn Raney ha scritto: > > I would like to implement something like this to use two sqlite3 > databases. I've tried to create the following within a new model via t

[web2py] Re: How to know if the scheduler is running?

2016-03-13 Thread Niphlod
that's to queue programmatically "once and forget". to start it, you NEED to look around your OS's facilities and start the scheduler process as a service or under a supervisor. you can't start the scheduler from within the web application for the limitations explained earlier. http://web2py.co

Re: [web2py] Re: Optimising caching and enabling gzip for web2py on heroku?

2016-03-13 Thread Niphlod
if you're running web2py under iis (and not just using iis as a reverse proxy to the rocket webserver) you need to write a rewrite rule to serve gzipped files. if static files are handled by web2py it takes care automatically to serve the .gz file instead of the "raw" one if it's existing the r

[web2py] Re: Can't get rid of flash message in admin interface

2016-03-13 Thread Niphlod
this issue is still standing on the last stable. github master has the solution already. On Sunday, March 13, 2016 at 6:55:21 AM UTC+1, Massimo Di Pierro wrote: > > What browser? What os? > > On Saturday, 12 March 2016 23:42:06 UTC-6, Anh Tran wrote: >> >> Hi, >> >> I have this issue, when I logg

[web2py] Re: web2py tutorials?

2016-03-13 Thread Dave S
On Saturday, March 12, 2016 at 9:42:05 PM UTC-8, Moreplavec wrote: > > Greetings, > > looking for good Python framework to help me with my simple web apps. I > tried other frameworks and their recommended tutorials, but i have problem > to find any easy to follow and up-to-date for Web2Py. Please

[web2py] Re: Send Mail with AppRelay Server

2016-03-13 Thread Dave S
On Saturday, March 12, 2016 at 2:18:38 PM UTC-8, Michael M wrote: > > > Hello, I was recently instructed to use our internal apprelay server for > sending email internally. > > But one of the quirks of the server is that is does not require username > or password. > > how do I do I got about