Re: [web2py] Re: No module named PIL

2013-05-26 Thread smoggy
In my code i use: import Image On Saturday, May 25, 2013 10:11:38 PM UTC+1, Massimo Di Pierro wrote: > > web2py source yes. PIL you do not install from source on windows because > it includes binary modules that must be compiler. You must get the binary > module. > > On Saturday, 25 Ma

[web2py] Re: In openshift: Need help on why my web2py website is being constantly accessed by openshift itself

2013-05-10 Thread smoggy
Ok, apparently the commenting of option httpchk GET / like #option httpchk GET / solved the issue, now the logs do not get clogged with useless data. It was just the haproxy that failed to start. On Friday, May 10, 2013 1:37:27 AM UTC+1, smoggy wrote: > > I've checked ./

[web2py] Re: In openshift: Need help on why my web2py website is being constantly accessed by openshift itself

2013-05-09 Thread smoggy
Replogle wrote: > > If you're using haproxy are you sure it's not the heartbeat check? > > On Wednesday, May 8, 2013 5:10:51 AM UTC-5, smoggy wrote: >> >> Hi folks, >> >> So in openshift in a python 2.6 cartridge + haproxy i'm having lots of >> ac

Re: [web2py] In openshift: Need help on why my web2py website is being constantly accessed by openshift itself

2013-05-09 Thread smoggy
here is what tail_all gives me and i guess that can be relevant. How can i get the user agent or more info ? ==> python-2.6/logs/error_log-20130508-00-EST <== [Wed May 08 13:15:26 2013] [error] [client 127.9.181.129] mod_wsgi (pid=30569): Exception occurred processing WSGI script '/var/lib/

[web2py] Re: Can somebody hack a user tracker and download counter for us ?

2013-04-22 Thread smoggy
Just publishing the solution I've found for download counting. It uses the already available google analytics code and i just pasted the code in the first link into the end of the layout.html . How to track downloads with google analytics: http://www.blastam.com/blog/index.php/2013/03/how-to-trac

[web2py] Re: Can somebody hack a user tracker and download counter for us ?

2013-04-17 Thread smoggy
don't know how to do it, or you just want someone to do > your work for you? > > On Tuesday, April 16, 2013 3:16:07 PM UTC-4, smoggy wrote: >> >> I was wondering if somebody could hack a web2py slice that wraps the >> A(_href) and adds the clicks to a db, also for do

[web2py] Re: automatically generating md5 hash after a file upload

2013-03-28 Thread smoggy
Bump. Quinta-feira, 28 de Março de 2013 11:32:19 UTC, smoggy escreveu: > > Hello folks, > > So i want to generate a md5 hash of uploaded files. How can this be done ? > here is my attempt > > with the following code i get > > AttributeError: 'str' obje

[web2py] automatically generating md5 hash after a file upload

2013-03-28 Thread smoggy
Hello folks, So i want to generate a md5 hash of uploaded files. How can this be done ? here is my attempt with the following code i get AttributeError: 'str' object has no attribute 'retrieve' So obviously the row elements are not Field type, and since i'm a python newbie i couldn't figure t

[web2py] Re: Cannot submit SQLFORM :/

2013-03-26 Thread smoggy
To close this thread. The workaround: So i had this SQLFORM with default view that did not work. I couldn't fix it, so i created a new controller, pasted the function there, created a dedicated view and it worked. -- --- You received this message because you are subscribed to the Google Group

[web2py] Re: Cannot submit SQLFORM :/

2013-03-26 Thread smoggy
auto-fill a location of a file to upload. Imagine the security > holes that would open up on the web. No, users have to select the file on > their system. > > > On Tuesday, March 26, 2013 10:36:15 AM UTC-7, smoggy wrote: >> >> There is no view, it's rendered from

[web2py] Re: Cannot submit SQLFORM :/

2013-03-26 Thread smoggy
on the > user's machine? > > Anthony > > On Tuesday, March 26, 2013 9:07:43 AM UTC-4, smoggy wrote: >> >> Hi Folks, >> >> So I cannot submit SQLFORM, even the simpler ones like the following. I >> always get the "else:" that says "

[web2py] Re: web2py world conference 2013

2013-01-28 Thread smoggy
I'm from Lagos Portugal also. If in Portugal i would suggest the use of the University of Algarve installations, It has : - a nearby airport - the weather is awesome specially in the summer. - it is not-expesive. - good nightlife - awesome sea food -- --- You received this message because you

[web2py] Re: Just knew about Server-Sent Events and want to share it with you

2012-09-10 Thread smoggy
he clock example > > > Il giorno domenica 9 settembre 2012 12:00:53 UTC+2, smoggy ha scritto: >> >> Stream Updates with Server-Sent Events: >> >> Are like websockets but unidirectional, from the server to the client. >> Most modern browsers support it. >>

[web2py] Re: accessing to static folder via .load is broken

2012-03-08 Thread smoggy
just submited the ticket in google code.

[web2py] Re: JSON in templates

2011-02-11 Thread smoggy
A json template system : https://github.com/ruidlopes/minimal.js Definite win 4 web2py.

[web2py] Re: cube2py not working on GAE

2010-08-22 Thread smoggy
, 3:57 am, mdipierro wrote: > Do you get a traceback in the console? > > On Aug 21, 7:03 pm, smoggy wrote: > > > Hi there, > > > I'm trying to get cube2py working on GAE(locally) without sucess. > > > The browser loads the login page well > > :http:

[web2py] cube2py not working on GAE

2010-08-21 Thread smoggy
Hi there, I'm trying to get cube2py working on GAE(locally) without sucess. The browser loads the login page well : http://127.0.0.1:8080/cube2py/default/user/login but when i try to login and the url changes to : http://127.0.0.1:8080/cube2py/plugin_wiki/page/home I get a : 404 NOT FOUND What