I hope we never get to find out.
On Aug 24, 6:45 pm, suiato wrote:
> I posted on reddit for the first time :
> frequent updates that don't break code is an important point to be
> made. Linux kernel development is, of course, far larger in scale, but
> the same principle applies. Its statistics
That color scheme is based on the color wheel by Itten. It is the same
used here
http://www.web2py.com/layouts.
In fact I have rewritten the algorithm in Python.
The problem is that I lack the software to make button, banners, etc.
Massimo
On Aug 24, 7:00 pm, "mr.freeze" wrote:
> It may just
Not that I know but we can help you want to do it.
On Aug 24, 11:39 pm, suiato wrote:
> recently installed Tokyo Cabinet/Tyrant on my test server.
> interested in using it from within web2py thru memcached or RESTful
> http interface...
> any activities along this line of development?
>
> --
> T
So how should one remove the path without knowing whether is a Linux
or a Windows path?
Massimo
On Aug 25, 12:39 am, Richard wrote:
> if there is a Windows path passed to my Linux based web2py server,
> then os.path.basename() is not going to remove the directory. Could
> that be the problem?
>
We have this:
http://bazaar.launchpad.net/~mdipierro/web2conf/devel/annotate/head%3A/views/default/maps.html
and we have
from gluon.tools import geocode
(lo,la)=geocode('243 S Wabash Ave, Chicago, IL")
On Aug 24, 11:58 pm, rondevu wrote:
> Is there any examples of implementation of GoogleMap
On Aug 25, 1:45 am, Richard wrote:
> A few questions/comments from my experience implementing this:
>
> tickets2db.py needs an update because of a new interface for
> RestrictedError():
> 40) error.load(filename) -> error.load(request, request.app,
> filename)
will fix it, thanks.
> If I want
I have been trying to use web2py with Enthought Python. It seems that
cron break something. No error not the web server does not start. I do
not have much time to look into this so any help will be appreciated.
--~--~-~--~~~---~--~~
You received this message because
Got it captured. Actually upload process fails quite often with Safari
(4.0.3):
http://www.screencast.com/users/mmstud/folders/Jing/media/bc50ae72-c826-4184-af40-4dcad5c95517
On Aug 25, 9:44 am, mmstud wrote:
> Didnt happen with Firefox yesterday. I try today with Safari again.
>
> On Aug 24, 8
There are two issues here:
1) cgi.FieldStorage behaves differently between 2.5 and 2.6. There is
NO WAY around this problem. For example if the request.get_vars
contain {'x', 'y'} and the request.post_vars contain {'x': ['y','z']}
does it mean that x=y is in the body of the POST or that python is
Fixed in trunk! Thanks for reporting the problem.
On Aug 24, 8:16 pm, Jose wrote:
> Version: 1.66.2
> Rev: 1187 (svn)
>
> Model:
>
> db.define_table('unatabla',
> Field('nombre'),
> Field('foto', 'upload')
> )
> db.unatabla.foto.requires = IS_NULL_OR(IS_IMAGE(maxsize=(600, 400)))
>
> Hi,
On 25 ago, 08:57, mdipierro wrote:
> Fixed in trunk! Thanks for reporting the problem.
>
Thank you!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py
I have seen this before. I do not know what the problem is. Somebody
needs to do a tcpdump of the conversation and figure out why the
timeout occurs.
Massimo
On Aug 25, 3:09 am, mmstud wrote:
> Got it captured. Actually upload process fails quite often with Safari
> (4.0.3):
>
> http://www.scre
I tried to add the following code in the db.py
from gluon.contrib.login_methods.ldap_auth import ldap_auth
auth.settings.login_methods = [ldap_auth(mode='ad',
server='my.domain.controller', base_dn='ou=Users,dc=domain,dc=com')]
but it gives the failure.
gluon.contrib.login_methods.ldap_auth impo
Do you have python ldap API installed? It does not come with web2py.
On Aug 25, 4:41 am, max wrote:
> I tried to add the following code in the db.py
>
> from gluon.contrib.login_methods.ldap_auth import ldap_auth
> auth.settings.login_methods = [ldap_auth(mode='ad',
> server='my.domain.controlle
yeap, I am uploading it now!
On Aug 24, 11:29 pm, Joe Barnhart wrote:
> That's a good idea and a nicely done site. In light of Massimo's plea for
> more visibility, do you think you could put a "created using web2py" message
> somewhere on the page?
>
> On Mon, Aug 24, 2009 at 8:53 AM, Jon Rome
it's ready :)
I would be very glad if web2py.com was using the service and of course
other opensource developers.
On Aug 25, 12:53 pm, Jon Romero wrote:
> yeap, I am uploading it now!
>
> On Aug 24, 11:29 pm, Joe Barnhart wrote:
>
> > That's a good idea and a nicely done site. In light of Mass
Congratulations !!! Jon.
Very good !.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
w
thanks. now i installed it.
On 25 Aug., 11:52, mdipierro wrote:
> Do you have python ldap API installed? It does not come with web2py.
>
> On Aug 25, 4:41 am, max wrote:
>
> > I tried to add the following code in the db.py
>
> > from gluon.contrib.login_methods.ldap_auth import ldap_auth
> > au
i installed python-ldap and now i can load it. Then i tried it with
cas by changing the cas_auth by editting it like this.
But it still it works only for the local database.
What i need is that the web2py user (ad user name )identifies against
the active directory password after first registra
1) you changed the check() action from my example. I do not understand
what it does anymore. I thought it would remove or add a single part
but now it has a loop. why?
2) did you try calling the check/[prod_id]/[part_id] action without
ajax? That will give you a ticket that helps debugging.
3) You
i installed python-ldap and now i can load it. Then i tried it with
cas by changing the cas_auth by editting it like this.
But it still it works only for the local database.
What i need is that the web2py user (ad user name )identifies against
the active directory password after first registra
excellent work!
On Aug 25, 5:55 am, ProfessionalIT wrote:
> Congratulations !!! Jon.
> Very good !.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@g
Guy's thanks for your help yesterday.
Massimo, I am developing for app engine so the "&" selects do not work
and I had to modify '=' to '==' in a couple of places to get the view
to load without GAE errors.
It is still not quite working, I nested 'if's' for GAE selects perhaps
you will see what ne
On Aug 24, 11:45 pm, Álvaro Justen [Turicas]
wrote:
> Paste the SSH command you created that tunnel - I think the error is in that.
In Putty it would be something like
L8000 we2py-ip:8000
if you are thinking
L8000 127.0.0.1:8000
that does not work, in Firefox you would get:
"The connectio
I downloade ipython and it installed it in python26\lib\site packages
\ipython as per the installer..(I am running Windows Vista)
I ran ipython and typed in
records=db(db.person.last_name==request.vars.last_name)\
.select(orderby=db.person.last_name)
-
It didn't like db.
I dont see
Hi,
I was trying to get it to work without the syntax errors, I changed
back to your controller code and get the following error:
INFO 2009-08-25 13:31:35,296 dev_appserver.py] "GET /fab3/default/
m230/8?keepThi
" 500 -
INFO 2009-08-25 13:32:09,000 dev_appserver.py] "GET /fab3/default/
g/a
Hello Jon,
Nice app, and great idea. Is there a way to restrict by the kind
of ads one would add to his website?. I mean, mantaining a profesional
website, I wouldnt mind linking to other profesional sites, but it
doesnt make sense to link to say a retail store or gaming site or
whatever.
As Yarko mentioned, you need to start web2py in shell mode by typing:
>>python web2py.py -S yourapp -M
This will create all of the variables you need in the shell such as
db.
I highly recommend going through the book from start to end. It will
save you many hours of frustration and only costs $1
On Aug 25, 2009, at 1:45 AM, mdipierro wrote:
>
> There are two issues here:
>
> 1) cgi.FieldStorage behaves differently between 2.5 and 2.6. There is
> NO WAY around this problem. For example if the request.get_vars
> contain {'x', 'y'} and the request.post_vars contain {'x': ['y','z']}
> does i
def check():
part_id=request.args(1)
if not db((db.prodj_refs.prodj_id==request.args(0))& \
(db.prodj_refs.part_id==part_id)).delete()
return 'jQuery('#selector%i' % part_id).html('not
selected')
else:
db.prodj_refs.insert(prodj_id=request.
OK, here's the deal. There is something timing-related about having a large
amount of markup to process and whether the controller is called once or
twice. On small amounts of text, the controller is called once for each
press of the "show" or "save" buttons. On large text blocks, where there is
I've just downloaded 1.66.2 and am getting further.
I'm getting this ticket...
Traceback (most recent call last):
File "G:\My Documents\Carl\projects\TestOrbit\web2py\gluon\main.py",
line 412, in wsgibase
session._try_store_on_disk(request, response)
File "G:\My Documents\Carl\projects\T
Yes. That issues was fixed in 1.66.2
On Aug 20, 4:24 am, Carl wrote:
> hi,
>
> I upgraded from 1.65.5 to 1.66.1 this morning but had the following
> issue.
>
> I'm using WinXP with sqlite.
>
> recent call stack (most recent call at bottom)...
>
> gluon/main.py line 470 inwsgibase session._unlock
I have a radical proposal of changing the default length of string,
upload, password fields to 512. This will cause a migration in all
existing apps.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" gro
Hi,
I want to program our intranet site with web2py (because it is really
the best framework I found).
Because this is sort of an ERP application I need a lot of
customizations of the SQLFORMs in HTML, e.g. group the address or
communication fields in a special way.
I learned from the manual that
EARN MONEY $1000-25000 PER MONTH
TAKE SIMPLE ONLINE SURVEYS
CREATE FREE ACCOUNT OTHER DETAILS LOG ON TO
*
http://www.AWSurveys.com/HomeMain.cfm?RefID=sangeethap77
***
On Aug26, 12:53am, mdipierro wrote:
> I have a radical proposal of changing the default length of string,
> upload, password fields to 512. This will cause a migration in all
> existing apps.
What is the default length of string currently?
If I modified my old apps to define an explicit length
IMHO the welcome app, web2py.com and the admin interface should have
the same color scheme and styles to give them a unified look and
feel.
On Aug 25, 2:47 am, mdipierro wrote:
> That color scheme is based on the color wheel by Itten. It is the same
> used herehttp://www.web2py.com/layouts.
> In
On Aug25, 9:57pm, whs wrote:
> Hi,
>
> I want to program our intranet site with web2py (because it is really
> the best framework I found).
> Because this is sort of an ERP application I need a lot of
> customizations of the SQLFORMs in HTML, e.g. group the address or
> communication fields in a
thanks!
On 25/08/2009, mdipierro wrote:
>
>
> Yes. That issues was fixed in 1.66.2
>
> On Aug 20, 4:24 am, Carl wrote:
> > hi,
> >
> > I upgraded from 1.65.5 to 1.66.1 this morning but had the following
> > issue.
> >
> > I'm using WinXP with sqlite.
> >
> > recent call stack (most recent call a
I would not be surprised if this is the same / closely related issue
we've seen w/ download.
If my memory serves, webkit based browsers send a things in a little
different order. If it's what I suspect, a tcpdump will not show it,
as it is a timing / recovery issue within cherrypy.
Just a thou
I suggested you have ipython installed, because web2py shell will use
ipython if it's available (and you then get completion facilities).
Sorry for any confusion.
On Tue, Aug 25, 2009 at 8:52 AM, mr.freeze wrote:
>
> As Yarko mentioned, you need to start web2py in shell mode by typing:
>>>python
btw - webkit browsers are Safari and Google Chrome
On Tue, Aug 25, 2009 at 1:18 PM, Yarko Tymciurak wrote:
> I would not be surprised if this is the same / closely related issue
> we've seen w/ download.
>
> If my memory serves, webkit based browsers send a things in a little
> different ord
On Aug 25, 12:21 pm, Iceberg wrote:
> On Aug26, 12:53am, mdipierro wrote:
>
> > I have a radical proposal of changing the default length of string,
> > upload, password fields to 512. This will cause a migration in all
> > existing apps.
>
> What is the default length of string currently?
32
I was working under the opposite assumption so that new users do now
get confused on what is what.
On Aug 25, 12:22 pm, "mr.freeze" wrote:
> IMHO the welcome app, web2py.com and the admin interface should have
> the same color scheme and styles to give them a unified look and
> feel.
>
> On Aug
the old default was 32 I think; you do not need to migrate if you
have explicitly defined lengths.
If you used default in apps, and did not set "migrate=False" then
WARNING this change will change (migrate) your db.
That's what Massimo was getting at I think.
On Tue, Aug 25, 2009 at 12:22 PM,
(oops! - accidentally posted this in the wrong place - should have
gone to the "radical ..." thread)
On Tue, Aug 25, 2009 at 1:31 PM, Yarko Tymciurak wrote:
> the old default was 32 I think; you do not need to migrate if you
> have explicitly defined lengths.
> If you used default in apps, and
On Aug 25, 2009, at 9:53 AM, mdipierro wrote:
> I have a radical proposal of changing the default length of string,
> upload, password fields to 512. This will cause a migration in all
> existing apps.
This might be a good opportunity to make an explicit contract on
default fields with respect
Hello,
Lately i've to use web2py's cron, and @reboot "function" but it didn't
work, so I checked it and created patch. Use it if you want.
http://paste.pagenoare.net/default/show/136
Regards.
--~--~-~--~~~---~--~~
You received this message because you are subscri
I agree
On Aug 25, 2:08 pm, Jonathan Lundell wrote:
> On Aug 25, 2009, at 9:53 AM, mdipierro wrote:
>
> > I have a radical proposal of changing the default length of string,
> > upload, password fields to 512. This will cause a migration in all
> > existing apps.
>
> This might be a good opportu
I am also trying to authenticate against a LDAP server (not working).
I cannot get the ldapwhoami command to work, but ldap search does work
for me. I do not think the server can respond to the command.
ldapsearch does work:
ldapsearch -b 'ou=yp,o=company.com' -H ldaps://yp.company.com -x
'mail=
On Aug 25, 2009, at 11:42 AM, mdipierro wrote:
>
> I was working under the opposite assumption so that new users do now
> get confused on what is what.
I think that's a good move.
>
> On Aug 25, 12:22 pm, "mr.freeze" wrote:
>> IMHO the welcome app, web2py.com and the admin interface should hav
In trunk! thanks.
On Aug 25, 2:14 pm, Kacper Krupa wrote:
> Hello,
>
> Lately i've to use web2py's cron, and @reboot "function" but it didn't
> work, so I checked it and created patch. Use it if you want.
>
> http://paste.pagenoare.net/default/show/136
>
> Regards.
--~--~-~--~~--
In trunk. Give this is a try. please.
On Aug 25, 2:20 pm, mdipierro wrote:
> I agree
>
> On Aug 25, 2:08 pm, Jonathan Lundell wrote:
>
> > On Aug 25, 2009, at 9:53 AM, mdipierro wrote:
>
> > > I have a radical proposal of changing the default length of string,
> > > upload, password fields to 5
I took a look at the source code and I see that the "mode" option has
a specific set of accepted values. our user names are based on the
"mail" field in the ldap record. not uid. So this would not work at
all. unless I change the source.
On Aug 25, 3:24 pm, Don wrote:
> I am also trying to au
Please send me a patch to allow this.
Massimo
On Aug 25, 2:47 pm, Don wrote:
> I took a look at the source code and I see that the "mode" option has
> a specific set of accepted values. our user names are based on the
> "mail" field in the ldap record. not uid. So this would not work at
> al
mdipierro schrieb:
> We have this:
>
> http://bazaar.launchpad.net/~mdipierro/web2conf/devel/annotate/head%3A/views/default/maps.html
>
> and we have
>
> from gluon.tools import geocode
> (lo,la)=geocode('243 S Wabash Ave, Chicago, IL")
I succeded in using OpenLayers.
Quite easy with web2py.
On Tue, Aug 25, 2009 at 2:24 PM, sherdim wrote:
>
> I agree that the problem exists.
>
> In my app a manager regularly complains on this error when uploading
> photos.
>
> attempts to increase timeout in the class HttpServer didn't help
> error can emerge through a couple of seconds
>
> His system
This user is banned; this mail must have accidentally been let thru
(we moderate all "new" users, and then filter spam vs. actual web2py
mail - sometimes, on a very busy night of spam, it is easy to click
the wrong box, and accidentally let one mail through. Thankfully,
this happens very rarely)
what web server are you using?
Have you configured for Windows IIS-6? windows apache + wsgi?
web2py's included cherrypy? (etc.)?
On Tue, Aug 25, 2009 at 3:24 PM, sherdim wrote:
>
> I agree that the problem exists.
>
> In my app a manager regularly complains on this error when uploading
> photo
I made a mistake. ldapsearch does in fact return a uid. I do not
manage the ldap server, so I did not know how it was setup. I think
when we authenticate against postgress, it takes our e-mai addresses,
finds the uid/dn (which in our case is a cryptic serial number) and
then attempts to authent
Anyone can ban this user?
On Tue, Aug 25, 2009 at 14:14, gurudon s wrote:
>
> EARN MONEY $1000-25000 PER MONTH
> TAKE SIMPLE ONLINE SURVEYS
> CREATE FREE ACCOUNT OTHER DETAILS LOG ON TO
> *
I agree that the problem exists.
In my app a manager regularly complains on this error when uploading
photos.
attempts to increase timeout in the class HttpServer didn't help
error can emerge through a couple of seconds
His system: Windows Vista, IE7
Server: Windows Server 2003, web2py in sour
I thought the following code would work, but I am not getting any response.
===
if mode == 'company':
# search company ldap database via the e-mail address to figure out the
dn
con.simple_bind_s("", "")
filter = '(mail='+username+')'
> Nice app, and great idea. Is there a way to restrict by the kind
> of ads one would add to his website?.
By choosing the category of your site, your banner is displayed only
to sites from the same category (and you are getting relevant banners
for your site).
This feature for now is disable
Ok I have a better understanding (i read a jquery ajax tutorial) of
what you where trying to do in your first reply. I have amended "=" to
"==" and added ":" in the "if not" statement which where missing and
caused syntax errors.
The problem is that in the view: onclick="{{=URL
(r=request,f='check
Thanks I have the book. I downloaded the book and then printed it . I
don't remember any ipython. i have the web2py windows installed and
python 26 installed. I have downloaded ipython installed in python
folder in script , but I don't have a web2py.py file. Do I need a
ppython file of web2py to
Yes, you'll need the source code. You can get it here...:
http://www.web2py.com/examples/static/web2py_src.zip
...then extract it to the folder of your choice (c:\web2py for me)
Now open a command prompt, cd into that folder and type:
python web2py.py -S yourapp -M
The -S switch is for shell m
I finally have this working!! I just had to read a lot of code and the
manual as well. For my companies special LDAP server setup, I had to modify
ldap_auth.py and add the following section of code:
==
i
69 matches
Mail list logo