...and even worse, the shell could be any number of applications (well -
python or ipython at least...)
On Wed, Apr 8, 2009 at 11:26 AM, mdipierro wrote:
>
> No. It is just not obvious to me. Moreover I did not create the shell
> code myself so I am not sure about details.
>
> Massimo
>
> On Apr
Note: If you serve static files like this, you will run into (potentially)
one problem:
If (as is common) a link to someplace in the static place _assumes_
index.htm or index.html, and the link is only to a directory, it will not
work on web2py (it will work probably everyplace else in the web wo
Thank you !
On Apr 13, 6:30 am, mdipierro wrote:
> fixed in trunk
>
> On Apr 12, 4:00 pm, desfrenes wrote:
>
> > Hi!
>
> > The translation string used in fr-fr for the datetime (%d-%m-%Y- %H:%M:
> > %S) breaks the compatibility with the calendar widget (because db
> > wants %Y-%m-%d %H:%M:%S).
On Tue, Apr 7, 2009 at 9:43 AM, Michal Jursa wrote:
>
> Whops, sorry, didn't know that, won't do it any more.
>
> Michal
You can do - the thread name doesn't need to have an ID number (text is
enough) so you can reply, change subject ... just change _completely_ ;-)
>
>
> AchipA wrote:
> >
>
The page (https://rpxnow.com/docs) has example code in C#, Java, PHP
and RoR.
Not in Python, but supposedly the program in C# or Java can be called
by Python... ?
---
Teru
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
In trunk you can now do
db.define_table('person : Name, Birthday date, Telephone')
db.define_table('dog: Name, Owner person, Picture upload')
Is this useful? Look at the source. Is the syntax reasonable?
Massimo
--~--~-~--~~~---~--~~
You received this message bec
???
On Mon, Apr 6, 2009 at 11:24 AM, mdipierro wrote:
>
> Thanks Michael Thamm!
>
> Massimo
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to w
This contains a brief description of intents on Android (as I promised):
http://www.openexpo.ch/fileadmin/documents/2008Zuerich/Slides/33_Printemps.pdf
On Sun, Apr 5, 2009 at 11:25 PM, mdipierro wrote:
>
> Here is one more demo:
>
> http://www.web2py.com/events/default/index
>
> Here is the so
Can you send me a patch?
On Apr 13, 12:59 am, Iceberg wrote:
> Nothing wrong, but it seems people tends to forget pressing the
> cleanup button before packing, at least I've downloaded some apps in
> the open repository (http://mdp.cti.depaul.edu/appliances) and find
> some of them include unnec
Nothing wrong, but it seems people tends to forget pressing the
cleanup button before packing, at least I've downloaded some apps in
the open repository (http://mdp.cti.depaul.edu/appliances) and find
some of them include unnecessary errors/* and sessions/*
Shall we look at this in a different an
This is not an easy one. The problem is that the routes code is
outside any app. Currently if there is a bug in routes, web2py does
not start. If you allow changes at runtime: 1) you make web2py slower
because changes have to be monitored; 2) what happens if there is a
bug in routes?
Massimo
On
Thanks for the update, David.
On Mon, Apr 6, 2009 at 8:51 AM, David Niergarth wrote:
>
> On Apr 1, 9:20 pm, Yarko Tymciurak wrote:
> > > http://www.postgresql.org/docs/8.3/interactive/sql-createrule.html
> >
> > and looking at this, it seems fairly straight forward:
>
> Yes it does. The manual
If you use web2py with WSGI, web2py does not start any thread. WSGI is
responsible for all thread handling.
I am not sure I understand the problem anyway. Why not set a smaller
number of minsparethereads and mintreadsperchild?
Massimo
On Apr 12, 4:39 pm, Skip Montanaro wrote:
> I'm trying to g
fixed in trunk
On Apr 12, 4:00 pm, desfrenes wrote:
> Hi!
>
> The translation string used in fr-fr for the datetime (%d-%m-%Y- %H:%M:
> %S) breaks the compatibility with the calendar widget (because db
> wants %Y-%m-%d %H:%M:%S).
> The translated string should probably not be used with SQLForm.
http://www.web2py.com/examples/static/the_pass.png
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this g
just as a point of curiosity - is a single web2py _appliction_ with multiple
folders in controllers more (?) useful (and I wonder how you will correlate
controllers to views, etc) more useful than a web2py installation with
multiple cooperating apps within?
On Mon, Apr 6, 2009 at 12:06 AM, m
web2py 1.61 is out. The main reason is that 1.60 *may* have been
broken on GAE. This is not because of a bug in web2py but because
web2py relied on a bug on GAE (lack of imp.get_magic()) to detect GAE.
That bug may have been fixed (according to Guido at Pycon) so I used
Robin's suggestion of not t
OK. done. check the trunk and let me know what you think. I am also
reposting this as 1.61 for now because 1.60 may be broken on GAE.
Massimo
On Apr 12, 12:35 pm, Robin B wrote:
> There is a problem, GAE does not allow setting os environ variables
> (they are read only for security).
>
> os.env
Hello,
is there an way to web2py 'feel' that routes.py changed and reload it?
Always I restart webserver (even using CherryPy or Apache with WSGI)
to web2py reload routes.py.
It can be a big problem if we think in hosting companies: how a client
(normal user) can restart the whole webserver, only
What is wrong with pressing the cleanup button before the pack all
button?
I think any file delettion has to be explicit.
Massimo
On Apr 12, 9:33 pm, Iceberg wrote:
> By the way, I always hope the pack function in web2py admin can do an
> automatical cleanup before packing.
>
> Hopefully Massim
By the way, I always hope the pack function in web2py admin can do an
automatical cleanup before packing.
Hopefully Massimo is reading this post. :-)
On Apr13, 10:01am, Speedbird wrote:
> That has been fixed since Beta 2 ;). Thanks.
>
> http://www.pyforum.org/pyforum/default/view_topic/27
>
> O
That has been fixed since Beta 2 ;). Thanks.
http://www.pyforum.org/pyforum/default/view_topic/27
On Apr 12, 4:38 pm, Boris Manojlovic
wrote:
> small suggestion about beta release (and other releases),
>
> please remove pyforum/sessions/* and pyforum/errors/*
> (or just before packing applicat
(I posted this a few hours ago but after checking a couple times never
saw it. Sorry if this is a
duplicate.)
I have an Ubuntu Intrepid virtual server (1gb RAM, 50gb disk). I
installed web2py today and
followed the directions here to run it behind Apache using wsgi:
http://jdoe.asidev.com
Hello:)
I want to send a form using get method, so i make form like this:
form=FORM('Package name: ',
INPUT(_name='name', requires=IS_LENGTH(25), value=''),
'Arch: ',
SELECT(OPTION('Wszystkie', _value='all'),
OPTION('i686', _value='32'),
OPTION('x86_64', _value='64'),
requ
I'm trying to get web2py installed and running w/ WSGI on an Ubuntu
Intrepid
virtual server. Apache by itself was working just fine. After
installing WSGI and
setting up web2py using these instructions:
http://jdoe.asidev.com/2009/02/26/configure-web2py-to-run-behind-apache-with-wsgi-mod_w
small suggestion about beta release (and other releases),
please remove pyforum/sessions/* and pyforum/errors/*
(or just before packing application from web interface press cleanup)
as it will put size from 2 mb to less than 150k (after gzipping it of course
:) )
On Mon, Apr 13, 2009 at 12:14
Correct, however I'd suggest read the topics in the "pyForum Help and
Announcements (Official)" forum at
http://www.pyforum.org/pyforum/default/view_forum/2
Thanks,
On Apr 12, 1:28 pm, Angel Cruz wrote:
> Wow. The links are very quick as well. Looks promising.
>
> One thing I need clarificat
Right, please see "What will it take to take the forum out of beta
status" at http://www.pyforum.org/pyforum/default/view_topic/26
Thanks!
On Apr 12, 1:55 pm, Álvaro Justen [Turicas]
wrote:
> On Sun, Apr 12, 2009 at 5:16 PM, Speedbird wrote:
> > OK, folks, beta 1 of pyforum downloadable now, p
Hi!
The translation string used in fr-fr for the datetime (%d-%m-%Y- %H:%M:
%S) breaks the compatibility with the calendar widget (because db
wants %Y-%m-%d %H:%M:%S).
The translated string should probably not be used with SQLForm. Of
course it's trivial to change in the admin but since it's the
On Sun, Apr 12, 2009 at 5:16 PM, Speedbird wrote:
> OK, folks, beta 1 of pyforum downloadable now, please read the topics
> here:
>
> http://www.pyforum.org/pyforum/default/view_forum/2
If I click in link in your nick on a post, pyForum sends me to:
http://www.pyforum.org/pyforum/default/message
Wow. The links are very quick as well. Looks promising.
One thing I need clarification on the install instructions:
" Create your SQL database and add the appropriate users and permissions to
it. pyForum currently uses MySQL 5.0"
This does not preclude me from using PostgreSQL, correct?
On
OK, folks, beta 1 of pyforum downloadable now, please read the topics
here:
http://www.pyforum.org/pyforum/default/view_forum/2
To get started,
Cheers
On Apr 10, 2:25 pm, Speedbird wrote:
> Here's the last of my "pets", I present you with pyForum, the FIRST
> message board written exclusivel
I think this is your problem:
prodj=db(db.prodj.id==request.args[0]).select()[0]
and then doing this:
discuss=db(db.discuss.prodj==prodj).select ..
should it not be discuss=db(db.discuss.prodj==prodj.id).select (or
whatever column is designed to hold the LONG variable)
cheers,
Julio
On
Hi there,
I am not sure if I am doing anything wrong with my controller code.
Here's the behavior -
User tries to submit a form and has to enter atleast 3 fields (Name,
Notebook, Page). Other fields like Project, Source and Resistance are
pre-selected from database. When the user tries to submit
There is a problem, GAE does not allow setting os environ variables
(they are read only for security).
os.environ['WEB2PY_RUNTIME'] = "GOOGLE" # will not have any effect.
Instead of os.environ, how about a web2py.environ global dict which
serves the same purpose and works on GAE?
Also the logs
I did what you suggest. Please give it a try. If the imp.get_magic
works on gae then web2py may have been slower on GAE that it is
supposed to be. This should fix it.
Massimo
On Apr 11, 7:59 pm, Robin B wrote:
> I am not sure if that is true or not.
>
> To test for GAE, I would set 'is_gae' to
The only other way is by making a widget
SQLField(...widget=...)
there are some examples in gluon/sqlhtml.py but your way of doing it
is the easiest way.
Massimo
On Apr 12, 11:13 am, annet wrote:
> In a form_factory form I created a drop box using the following lines
> of code:
>
> keywordrow
In a form_factory form I created a drop box using the following lines
of code:
keywordrows=db().select
(db.event.sleutelwoord,distinct=True,orderby=db.event.sleutelwoord)
keywordlist=[keywordrows[i]['sleutelwoord'] for i in range(len
(keywordrows))] form=form_factory(SQLField
('sleutelwoord',lab
I think the problem is that there are two places date is manipulated:
serverside (and you have taken care of it) and clientside (by the
popup calendar).
a) The quick fix is to edit the views/web2py_ajax.html and set the
date format to be the same DD-MM-.
b) The best way is to let the locale
Massimo,
Happy Easter to you too.
Your reply solved my problem, however, I encountered another problem.
The function of this use case reads like:
def byplace():
form=form_factory(SQLField('plaats',requires=IS_NOT_EMPTY(),\
widget=lambda self, value:INPUT
(_id='eventbyplace',_name='plaa
replace {{=event.datum}} with {{=db.event.datum.format(event.datum)}}
happy Easter.
Massimo
On Apr 12, 10:12 am, annet wrote:
> I have got the following model:
>
> db.define_table('event',
> SQLField('bedrijf', db.bedrijf, default='', notnull=True),
> SQLField('event', length=54, defau
I have got the following model:
db.define_table('event',
SQLField('bedrijf', db.bedrijf, default='', notnull=True),
SQLField('event', length=54, default='', notnull=True),
SQLField('datum', type='date', default='', notnull=True,),
SQLField('einddatum', type='date'),
SQLField(
Thanks that was helpful. I followed your advice.
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from
43 matches
Mail list logo