Massimo, can you apply this patches ?
Why my posts was completely ignored ?
patches:
http://groups.google.com/group/web2py/browse_thread/thread/6ceafe4a7f0beb6c
http://groups.google.com/group/web2py/browse_thread/thread/bd3dde6a13608549
What's wrong for them ?
Hello
I want to run web2py from a user that is not root on a debian vserver.
The problem is that only the root user is allowed to start
applications that use port 80.
>From what I understand right now I have to create an init script
under /etc/init.d/ that will allow a certain user to use prot 80.
Only two possibilities come to mind:
- unable to write on filesystem
- sqllite driver missing or corrupted
On Jun 16, 7:17 am, Cory Coager wrote:
> See above, post #5.
>
> On Jun 15, 11:42 pm, mdipierro wrote:
>
> > No. the error you reported was with postgresql 8.1. What is the
> > problem w
The file is in request.vars[fieldname].file
the only issue is that if you read from it, you need to rewind it with
request.vars[fieldname].file.seek(0)
On Jun 16, 9:17 am, weheh wrote:
> I will try this. How about how to open the upload file during
> validation (see my previous post)?
>
> On J
onaccept=lambda form: (f1(form),f2(form),f3(form),...)
On Jun 16, 10:00 am, szimszon wrote:
> Hello!
>
> I wonder if somebody could help me.
>
> Can I chain somehow the onaccept functions or specify more functions
> on onaccept?
>
> I need crud.archive and I need some custom computing if the crud
The problem is, you cannot compare (<,>,<=,>=) with None. so the
select should only be executed if request.vars.desde and
request.vars.hasta are not None. Please check that is the problem.
Else we can debug more.
On Jun 16, 12:18 pm, greenpoise wrote:
> Oops my bad. This one
>
> desde=datetime.da
Let me think about this one...
On Jun 16, 12:26 pm, MikeEllis wrote:
> Massimo,
> Many, many thanks for adding formstyle functions in 179.1. You've
> provided a solution for the one aspect of SQLFORM that has given me
> the most headaches in trying to customize the presentation of form
> items,
a HTML validation of my web2py site states
Line 171, Column 24: value of attribute "id" invalid: "9" cannot start
a name
//-->loading...
It is possible that you violated the naming convention for this
attribute. For example, id and name attributes must begin with a
letter, not a digit.
and
Lin
Python as an import mechanism.
import mymodule
and as long as mymodule is in a folder that is in sys.path everything
works. This works in web2py as in any other other Python application.
web2py provides a folder web2py/site-packages where you can put your
modules and it will be added to the pa
I did apply the latter. I forgot about the former. I will do so soon.
On Jun 17, 2:27 am, "ont.rif" wrote:
> Massimo, can you apply this patches ?
> Why my posts was completely ignored ?
>
> patches:http://groups.google.com/group/web2py/browse_thread/thread/6ceafe4a7f...http://groups.google.com/g
I was also getting this error on my first go at sending mail using
gae.
I looked at the code in gluon/tools.py for sending gae mail :
elif self.settings.server == 'gae':
from google.appengine.api import mail
attachments = attachments and [(a.my_filename,a.my_payload) for a
in attachment
Env info:
Python version: '2.6.5 (r265:79063, Apr 16 2010, 13:57:41) \n[GCC
4.4.3]'
Eclipse version: Version: 3.5.2 Build id: M20100211-1343
PyDev version: PyDev for Eclipse 1.5.7.2010050621
org.python.pydev.feature.feature.group
OS: Ubuntu 10.04
Problem:
I am trying to develop a module usi
please check fix in trunk
On Jun 17, 7:18 am, selecta wrote:
> a HTML validation of my web2py site states
>
> Line 171, Column 24: value of attribute "id" invalid: "9" cannot start
> a name
> //-->loading...
>
> It is possible that you violated the naming convention for this
> attribute. For exam
Any news on this problem ?
(not that I'm in a hurry, but I'd like to be able to use that feature in a
not so far future)
-Mathieu
On Thu, Jun 3, 2010 at 21:18, mdipierro wrote:
> I will look into this hopefully tomorrow.
>
> On Jun 3, 12:36 pm, Mathieu Clabaut wrote:
> > Hello,
> >
> > Is
see http://web2py.com/book/default/section/4/15
In the top web2py folder, there is a routes.example.py
On Jun 16, 11:59 pm, KR wrote:
> routes.py is the way to do it
> it's a standard file of web2py
>
> On 16 juin, 20:36, Michelle Jun wrote:
>
>
>
> > hi
>
> > i am wondering if i can do these
looks better but I still get
Line 169, Column 18: required attribute "type" not specified
will upload your suggested fix to trunk soon.
On Jun 17, 6:16 am, Larry wrote:
> I was also getting this error on my first go at sending mail using
> gae.
>
> I looked at the code in gluon/tools.py for sending gae mail :
>
> elif self.settings.server == 'gae':
> from google.appengine.api im
crud.settings.formstyle='table2cols' or 'table3cols' or 'divs' or 'ul'
and for every field you have
db.table.field.label='...'
db.table.field.comment='...'
db.table.field.wdiget=
On Jun 17, 8:35 am, rochacbruno wrote:
> hello I did not find any documentation or example explaining how to
> c
required should be True or False. if required=True web2py prevents an
explicit insert without a value and value can be None. If notnull=True
then value cannot be None. The later check is enforced at the db
level. requires are the validators.
On Jun 17, 9:43 am, Jean-Guy wrote:
> Hello dear web2py
On Jun 16, 2010, at 11:36 AM, Michelle Jun wrote:
> i am wondering if i can do these things
>
> for example, i have list of businesses url links (this is generated
> from my web2py default)
>
> http://domain.com/default/business/8
> http://domain.com/default/business/9
> http://domain.com/defaul
The databases directory is chmod 777 and I have pysqlite-2.6.0 for
python 2.4 installed and included in the path PythonPath for
htaccess. Is this version not compatible?
On Jun 17, 8:11 am, mdipierro wrote:
> Only two possibilities come to mind:
> - unable to write on filesystem
> - sqllite driv
http://www.web2py.com/AlterEgo/default/show/252
fix is in trunk
On Jun 17, 10:06 am, Yarko Tymciurak
wrote:
> I was wondering what this "LOAD" function was about - new, not in
> manual (not exactly easy to track down in source)
>
> gluon/compileapp.LoadFactory
>
> Since the SCRIPT helper
> BTW, is there anything wrong in my post, they were no answers :-(
No. I apologize. I am at a conference and have connection problems. I
will check this next week. Thanks for the patience and solving the
problem yourself.
Massimo
we also had this
http://www.web2py.com/sudoku
On Jun 17, 10:50 am, mdipierro wrote:
> http://www.web2py.com/mazes
Hi,
I saw a discussion on the same topic a year back. Is there a solution
available now?
My problem is:
I want to have a datetime column in the db (for logging purpose), and
the default should be set as current timestamp, at the db level; not
at the form(crud) level.
--
Thanks
Narendran
Very nice!!
On Thu, Jun 17, 2010 at 12:51 PM, mdipierro wrote:
> we also had this
> http://www.web2py.com/sudoku
>
> On Jun 17, 10:50 am, mdipierro wrote:
> > http://www.web2py.com/mazes
I'm uploading an image field using
Field('image','upload',label=T('Image'),autodelete=True,
uploadseparate=True,
requires=(IS_NULL_OR(IS_IMAGE()),IS_NULL_OR(IS_LENGTH(128000,10,
The field is uploaded using a factory, so the filename starts with
no_table.image...jpg
The file is u
On Jun 17, 10:41 am, mdipierro wrote:
> http://www.web2py.com/AlterEgo/default/show/252
>
> fix is in trunk
Massimo -
... I see you added _type= to ONE of the html.SCRIPT() calls (the
one for no ajax); I think you wanted to add this to both calls, no?
- Yarko
>
> On Jun 17, 10:06 am, Yar
Hello everone,
I've two announcements to make.
First one is that the Hogeschool Rotterdam (HRO) about to launch a
test educational environment with web2py.
Tested on GAE and SUN. So support is on his way.
Secondly I just got an idea with a hole different approach to
packaging.
We make a program t
Very fun. I should check the source sometime as I want to make an mmorg
as a dream some day. All webbased like wizardry if anyone knows the
game.
http://www.youtube.com/watch?v=GwmZoCFd4Us&feature=PlayList&p=62B9C25C19E12695&playnext_from=PL&index=0&playnext=1
BR,
Jason
On Thu, 2010-06-17 at 13:
2010-06-17 14:13 keltezéssel, mdipierro írta:
> onaccept=lambda form: (f1(form),f2(form),f3(form),...)
>
> On Jun 16, 10:00 am, szimszon wrote:
>> Hello!
>>
>> I wonder if somebody could help me.
>>
>> Can I chain somehow the onaccept functions or specify more functions
>> on onaccept?
>>
>> I ne
great news. anything new about the linux (debian, ubuntu, redhat, ..)
web2py packages. Would be cool to install web2py from the Ubuntu or-
the-like Software-Center! :D
On 17 Jun., 19:35, Mark Breedveld wrote:
> Hello everone,
>
> I've two announcements to make.
> First one is that the Hogeschool
What I normally do is run the service on its unprivledged port and then use
iptables to forward port 80 traffic.
On Jun 17, 2010 5:16 AM, "selecta" wrote:
Hello
I want to run web2py from a user that is not root on a debian vserver.
The problem is that only the root user is allowed to start
appli
Sorry, I answered only to the author..
This code:
def crudsearch():
form=crud.search(db.posts)
return dict(form=form)
returns a form like that: http://twitpic.com/1xmrao/full
I know how to deal with the forms that way, but I'm talking about the
search controls that holds operators ( grea
There is nothing suspicious here about the filename ( it was an
example here, but it has the same effect with a file containing the
description oof the paper + all the authors ). I am almost sure that
it is related to size of the path + filename that is not correctly
handled . But i can't spot wher
Swell wrote:
don't really know but i tried with that filename :
aaa.pdf
(which containt 111 a if you trust me :) and get the error ticket ,
showing this last call
File "C:\Users\M\Deskto
On Jun 17, 4:59 pm, Swell wrote:
> There is nothing suspicious here about the filename ( it was an
> example here, but it has the same effect with a file containing the
> description oof the paper + all the authors ). I am almost sure that
> it is related to size of the path + filename that is not
thx yarko for your detailed answer.
I have not written code so far, I have been using the administrative
interface provided by web2py to manage the records in the DB.
I am going to generate another test showing this kind of behaviour
with a more regular filename.
On Jun 17, 11:51 pm, Yarko Tymci
I will make a patch to enable this.
On Jun 17, 4:24 pm, rochacbruno wrote:
> Sorry, I answered only to the author..
>
> This code:
> def crudsearch():
> form=crud.search(db.posts)
> return dict(form=form)
>
> returns a form like that:http://twitpic.com/1xmrao/full
>
> I know how to deal w
cool. Is the source code available for download?
On Jun 18, 1:50 am, mdipierro wrote:
> http://www.web2py.com/mazes
I found a way
I made a hard edit in the /gluon/tools.py
I'm trying now to find a way to override that in the Controller
and translate the texts/ change the HTML that renders
will great if there is an API to do this
{{ }}' s
---
def get_query(self, field, op, value, refsearch=False):
t
Anybody here using Opera to program? I have been a long time fan of
Opera but I cant use it with web2py because where you do the
programming (dunno the name of it) renders super slow. I was wondering
if anybody else is experiencing the same thing??
Hey Everyone,
Just got an iMac (windows switcher) and ran the latest version of
web2py from source. However when I opened a controlled in the admin
editor all the text has a drop shadow behind it which makes it really
hard to read. Only appears to be an issue with Safari though since
FireFox looks
Running very well on my Mac with Safari Version 4.0.5 (6531.22.7)
On Jun 17, 9:21 pm, Mike wrote:
> Hey Everyone,
>
> Just got an iMac (windows switcher) and ran the latest version of
> web2py from source. However when I opened a controlled in the admin
> editor all the text has a drop shadow be
On Jun 17, 2010, at 5:21 PM, Mike wrote:
> Just got an iMac (windows switcher) and ran the latest version of
> web2py from source. However when I opened a controlled in the admin
> editor all the text has a drop shadow behind it which makes it really
> hard to read. Only appears to be an issue wit
On Jun 17, 6:18 pm, Swell wrote:
> thx yarko for your detailed answer.
> I have not written code so far, I have been using the administrative
> interface provided by web2py to manage the records in the DB.
> I am going to generate another test showing this kind of behaviour
> with a more regular
I sent a patch that allows this:
form, results = crud.search(db.test,
queries = ['equals', 'not equal', 'contains'],
query_labels={'equals':'Equals',
'not equal':'Not equal'},
fields = ['id', 'children'],
field_labels = {'id':'ID','children':'Children'},
zero='Please choo
On Jun 17, 6:48 pm, Richard wrote:
> cool. Is the source code available for download?
follow the links...
>
> On Jun 18, 1:50 am, mdipierro wrote:
>
>
>
> >http://www.web2py.com/mazes
Ok, I will be waiting,
I am trying to do something like this:
http://demos.telerik.com/aspnet-ajax/filter/examples/firstlook/defaultcs.aspx
tks
{{ }}'s
On 17 jun, 21:55, "mr.freeze" wrote:
> I sent a patch that allows this:
>
> form, results = crud.search(db.test,
> queries = ['equals', 'not
I was poking around sql.py tonight and noticed something odd:
distributed_transaction_begin has code for mysql and postgres
distributed_transaction_commit has code for mysql, postgres, and firebird.
The exception in begin says it only works on postgres though it has
code for both postgres and mysq
On Jun 17, 7:45 pm, Jonathan Lundell wrote:
> On Jun 17, 2010, at 5:21 PM, Mike wrote:
>
> > Just got an iMac (windows switcher) and ran the latest version of
> > web2py from source. However when I opened a controlled in the admin
> > editor all the text has a drop shadow behind it which makes it
Same problem in IE8 on Windows 7. Actually, I have a very high res
screen, so I keep IE zoomed at 150%, and the drop shadow is really bad
at that zoom level. If I take the zoom back to 100%, I don't notice
much problem, though the text is nearly too small for me to read
comfortably at that point. A
On Jun 17, 8:21 pm, rochacbruno wrote:
> Ok, I will be waiting,
> I am trying to do something like
> this:http://demos.telerik.com/aspnet-ajax/filter/examples/firstlook/defaul...
(the demo doesn't seem to work - if you filter, the results
don't) but the way the js controls work is certainly
Massimo - I tried this approach and it didn't work for me.
Unfortunately, it seems to do absolutely nothing. No file uploaded to
the uploads folder. No database update. No error message. Nada. Argh.
On Jun 16, 2:58 am, mdipierro wrote:
> Try this:
>
> file_form=SQLFORM.factory(db.auth_user,db.ot
bump.. anyone??
On Jun 16, 11:48 pm, Pai wrote:
> Is it possible to do checkbox with constraints?? For example,
> consider following
>
> db.define_table('children', Field('name'), Field('sex'))
>
> db.children.insert('Tom', 'M')
> db.children.insert('Jerry', 'M')
> db.children.insert('Eve', 'F')
63 matches
Mail list logo