I too would love an invatation. :D
BR,
Jason
On Sun, 2009-11-08 at 13:29 -0800, Richard wrote:
yeah! - can invite again.
Have invited:
denes1...@yahoo.ca
roger.gicq...@gmail.com
mbelle...@gmail.com
whalb...@gmail.com
debe...@yahoo.com
digitalcry...@gmail.com
maxu...@gmail.com
On
I have to convince someone that python is better than Java (and even can
work with Java) -
Jython+Web2py is my best argument :)
On Mon, Nov 9, 2009 at 8:38 AM, mdipierro mdipie...@cs.depaul.edu wrote:
I changed it in trunk so that it is automatic and now (again) web2py
works with Jython out
On Nov 9, 12:20 am, mdipierro mdipie...@cs.depaul.edu wrote:
On Nov 8, 4:43 pm, jensk_dk jens.kristian.jen...@gmail.com wrote:
By the way, is T2 still being maintained?
No. Sorry. Something better coming out soon.
Hi Massimo
Thanks for the prompt reply - and your work on web2py.
I read
I recently setup a VPS host over at Santrex.net for testing web2py.
It took me about two shifts to get Cherokee installed and running with
Web2Py. What a pain. For those others that seemed to miss
libcherokee-mod-libssl that was a painful lesson that could have
been remarked elsewhere and
Hi Steve,
The biggest headache for me while setting up my Mac was the
pythonpath. Even though I had Python in OSX, for some reason I had
also Python from MacPorts installed and the two different
installations were confusing me.
I resorted to setting it in .bashrc so every time I launched a
oh right
On Nov 9, 10:01 am, hcvst hcv...@googlemail.com wrote:
Hi Richard,
in fact you can write
athttp://wavedirectory.appspot.com/init/default/wave/676f6f676c65776176...
too. Unfortunately you need to be logged into wave (to read or write).
The embed mechanism (an iframe) requires
So I have the following code and it's not generating tables but
perhaps my thinking isn't quite clear on this. I can't link two
tables unless one exists previously and that table cannot reference
any other table that is not created unless a reference is used
explain why this gives me Tables
I have no idea for such condition.
Maybe it is possible to add support for built-in user 'cron',
so calling functions from cron would be called as user 'cron'?
On Nov 6, 6:29 pm, mdipierro mdipie...@cs.depaul.edu wrote:
You cannot do
@auth.requires_membership()
and call it from cron
Hi.
When using reference you don't need the db. part. Only the name of the table.
Like:
Field('description', 'reference product_description'),
It uses the same database as the table you are just creating.
regards
mmlado
On Monday 09 November 2009 13:51:05 David wrote:
So I have the
Ok so I removed the db. from all the references. I am still getting a
similar error about tables not existing.
==
Traceback (most recent call last):
File /var/www/web2py/gluon/restricted.py, line 184, in restricted
exec ccode in environment
File
Hi.
Please, explain why you need a separate description table, and why is it
referencing product while the same time product references description table.
I think something is wrong with the database design. I didn't come across any
database that would need this kind of referencing. If you
It was before coffee. I see where my thinking went astray.
The product doesn't need to reference multiple objects but should have
a relationship with many pictures and reviews etc. I removed those
references and it works ok.
I am not sure at this point if I need multiple description tables or
Jython does support TCP_NODELAY, but it does so in the Java
fashion...that is to say only on a client socket. The short story is
this: most platforms allow you to set socket options to server
(accepting) sockets and the accepted (client) sockets that come from
them inherit the options from the
Hi.
In case of different descriptions for one product, one-to-many, I would
recommend leaving out description reference in the product. This way one
product can have multiple entries in description table, which are identified by
the product id. This should be enough.
I can imagine a need for
There are some doctests at the bottom of gluon/sqlhtml.py you may be
able to find some examples there.
On Nov 9, 1:25 am, Ahmed Soliman ah...@farghal.com wrote:
Yes, I would like to hear the answer of that too, what if I want to
prepare a SQLFORM variables to be passed during doctest, how can
On Nov 9, 5:16 am, jensk_dk jens.kristian.jen...@gmail.com wrote:
On Nov 9, 12:20 am, mdipierro mdipie...@cs.depaul.edu wrote:
On Nov 8, 4:43 pm, jensk_dk jens.kristian.jen...@gmail.com wrote:
By the way, is T2 still being maintained?
No. Sorry. Something better coming out soon.
Hi
Need to think about this one.
On Nov 9, 6:53 am, mika miss.from.h...@gmail.com wrote:
I have no idea for such condition.
Maybe it is possible to add support for built-in user 'cron',
so calling functions from cron would be called as user 'cron'?
On Nov 6, 6:29 pm, mdipierro
Can you send me the view that creates the regex problem in Jython. I
have seen it before and I thought it was fixed.
On Nov 9, 7:53 am, Timbo tfarr...@swgen.com wrote:
Jython does support TCP_NODELAY, but it does so in the Java
fashion...that is to say only on a client socket. The short story
Thank you M.
I ran a URL test on another Python based app and noticed that creating
a URL with accents results in a non-accented URL. So for example
creating a folder called Marie-Josée results in a folder titled
Marie-Josée (with the URL marie-josee). I am guessing they have a
little conversion
One possible solution ?
http://www.diveintopython.org/xml_processing/unicode.html
On Nov 6, 8:11 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Python 2.x does not allow special chars in function names. I think 3.x
does.
On Nov 6, 5:48 pm, Christopher Steel chris.st...@gmail.com wrote:
I
David and Pierro, Thank you both for these suggestions.
I'm pretty sure you both have identified my problem. I think
I have three Python installations now what with the original, then
an old install of IDLE and its Python, and now MacPorts.
I think when I used MacPorts to install psycopg2 it
Hi, in my controller i create a SQLFORM. I am using the slyce of the
add link. It works perfectly, tnnx renatocaliari.
I made a demo to do a multicombo, thnx Massimo for you help.
So i want to do this, i dont know if this is possible. I want to get
the combos that are in the SQLFORM, in the
thank you Richard :D
On Sun, Nov 8, 2009 at 10:29 PM, Richard richar...@gmail.com wrote:
yeah! - can invite again.
Have invited:
denes1...@yahoo.ca
roger.gicq...@gmail.com
mbelle...@gmail.com
whalb...@gmail.com
debe...@yahoo.com
digitalcry...@gmail.com
maxu...@gmail.com
On Nov 9,
Hello,
I want to divide my controller logic up into packages, where the
controller part will be 'package/subpackage/module' instead of just
'module'. Currently, I can only use a module as the controller, and
the corresponding view will be a directory with the module's name,
containing a bunch of
Hello,
when I have two templates, A and B, where A extends B. How can I call
super from A's request function. With super I mean execute the
controller that corresponds with B and optionally have its dict
automatically merge with the dict that is returned from A's request
function.
I'm currently
I would be grateful if I'd receive an invitation, too.
Thanks,
Gerhard
On Nov 8, 7:15 am, Roger Gicquel roger.gicq...@gmail.com wrote:
+1 pls.
On Nov 8, 4:37 am, DenesL denes1...@yahoo.ca wrote:
I will take one. Thank you.
On 7 nov, 16:08, Nicolás de la Torre ndelato...@gmail.com
Hi .*,
is there a way of making web2py run the validators configured in the
model on a dataset inserted via a direct db.table.insert statement? It
looks like I'm able to insert any kind of data, it's validated...
Thanks and Bye,
Frederik
--~--~-~--~~~---~--~~
Hi .*,
is there a way of making web2py run the validators configured in the
model on a dataset inserted via a direct db.table.insert statement? It
looks like I'm able to insert any kind of data, it's validated...
Thanks and Bye,
Frederik
--~--~-~--~~~---~--~~
Can you try:
@auth.requires(auth.has_membership(...) or not request.env)
On Nov 9, 6:53 am, mika miss.from.h...@gmail.com wrote:
I have no idea for such condition.
Maybe it is possible to add support for built-in user 'cron',
so calling functions from cron would be called as user 'cron'?
Sorry Sophie. I am not sure I understand how this is different from
what you have.
Massimo
On Nov 9, 9:15 am, Sophie kfarron...@gmail.com wrote:
Hi, in my controller i create a SQLFORM. I am using the slyce of the
add link. It works perfectly, tnnx renatocaliari.
I made a demo to do a
Not sure I understand. You can put modules in modules/ and you can
have a subfolder structure.
You can also have a subfolder structure in views but your actions have
to be explicit on which view to use (response.view=html).
controllers have to be files without a subfolder structure.
On Nov
Hi guys.
I'm new to web2py. I need a tutorial site for first timers. Please
help. T.Y.
Gio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
Validators apply to forms only not database insert. This is for speed
but also because the workflow would be unclear: how would error be
reported? As exceptions?
I guess you can define your own insert function that validates before
insert and throws an exception on failed validation.
Massimo
No need, it blows up for me on the admin interface. I have no special
customizations. I'm trying this on Sun JRE6/Jython2.5.1 on WinXP.
On Nov 9, 8:34 am, mdipierro mdipie...@cs.depaul.edu wrote:
Can you send me the view that creates the regex problem in Jython. I
have seen it before and I
Thanks to Michael Fig we have two new important features in trunk
1) to deal with legacy databases
db.define_table('mytable',Field('myfield','id'),Field
('otherfield'))
allows to redefine the name of the 'id' field.
2) If you mess up .table files you ca try:
delete all .table
Because web2py exec()s controllers rather than importing them,
packages are not currently an option. Whats you're reason for needing
packages? Maybe we can help you find a better solution.
On Nov 9, 4:18 am, eggy_ markflorisso...@gmail.com wrote:
Hello,
I want to divide my controller logic
You are my hero. If you ever make your way down to Oklahoma I'll take
you out for a steak dinner or something.
On Nov 8, 8:46 am, mdipierro mdipie...@cs.depaul.edu wrote:
Denese. You did a fanstatic job. This was needed for some time.
On Nov 8, 7:38 am, DenesL denes1...@yahoo.ca wrote:
A)
I cannot reproduce this with jython2.5rc3 on mac.
On Nov 9, 9:52 am, Timbo tfarr...@swgen.com wrote:
No need, it blows up for me on the admin interface. I have no special
customizations. I'm trying this on Sun JRE6/Jython2.5.1 on WinXP.
On Nov 9, 8:34 am, mdipierro mdipie...@cs.depaul.edu
Consider the web2py book here: http://web2py.com/examples/default/docs
If you know python skip chapter 2. Chapter 3 is a gentle intro.
Massimo
On Nov 9, 9:37 am, giotech27 gio.figuer...@gmail.com wrote:
Hi guys.
I'm new to web2py. I need a tutorial site for first timers. Please
help. T.Y.
I do not understand what you mean by packages. You can use python
import whatevermodule.py
On Nov 9, 9:56 am, Timbo tfarr...@swgen.com wrote:
Because web2py exec()s controllers rather than importing them,
packages are not currently an option. Whats you're reason for needing
packages? Maybe
I use apache on virtualhost at slicehost running multiple web2py
virtualhosts.
With one web2py instance, my server stands at around 90MB average for
memory, it *might* spike up to 115MB if I start some ram caching, however my
reports have never reported anything higher. I am running apache with
When will those of us who have been invited be able to invite?
-Thadeus
On Mon, Nov 9, 2009 at 6:01 AM, gkalab ka...@gmx.net wrote:
I would be grateful if I'd receive an invitation, too.
Thanks,
Gerhard
On Nov 8, 7:15 am, Roger Gicquel roger.gicq...@gmail.com wrote:
+1 pls.
On
Actually,
you don't need the link from product to product_description in this DB
structure as you define a 1:N join (multiple descriptions per product)
in the product_description table.
Maybe you want one product_description designated as the current
description of the product, in which case
Assuming the 408 layouts in http://web2py.com/layouts are not enough
you can use this:
http://code.google.com/p/web2py/source/browse/trunk/scripts/layout_make.py
It would be nice if somebody where to start a business of hosting
web2py layouts. ;-)
Massimo
@ mr.freeze: you are welcome
@ Massimo: thanks for merging it into web2py
@ Timbo: LOL, maybe someday.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
Massimo,
This is very useful. An excellent start to the plugin system.
On Mon, Nov 9, 2009 at 11:55 AM, mdipierro mdipie...@cs.depaul.edu wrote:
Assuming the 408 layouts in http://web2py.com/layouts are not enough
you can use this:
OK so I downloaded fresh versions of both. If put in the above
workaroudn for the TCP_NODELAY issue. And upon running I get:
C:\jython2.5.1jython.bat \web2py2\web2py.py
WARNING:root:no file locking
WARNING:root:unable to import dbhash
WARNING:root:GUI not available because Tk library is not
The first problem is because you did not upgraded admin in a while ;-)
cd applications/admin
tar zxvf ../../admin.w2p
The second error. Can you help me fix it?
Try each one of these models?
htmlbody{{='hello world'}/body/html
htmlbody{{='''hello world'''}/body/html
htmlbody{{=hello
I got Internal Error while trying
http://wavedirectory.appspot.com/init/default/wave?w=googlewave.com%2521w%252BDPsJaggYA
On Nov 4, 8:54 am, hcvst hcv...@googlemail.com wrote:
http://wavedirectory.appspot.com/init/default/wave?w=googlewave.com%2...
A public wave to discuss wave development on
I guess the term 'package' is not really applicable. What I meant was
that I want to have the ability to use subdirectories as part of the
controller. So that the controller part basically becomes
'somedirectory/somecontroller'. You can currently only have a
'somecontroller'.
On Nov 9, 5:03 pm,
Since web2py already have jquery included why not using jquery UI css
framework ?
http://jqueryui.pbworks.com/jQuery-UI-CSS-Framework
http://jqueryui.com/themeroller/
On Mon, Nov 9, 2009 at 7:06 PM, david bain pigeonfli...@gmail.com wrote:
Massimo,
This is very useful. An excellent start to
This would require a change in the URL convention and could make
dispatching slower.
Why do you need this? I am not saying no but I need to be convinced.
On Nov 9, 12:02 pm, eggy_ markflorisso...@gmail.com wrote:
I guess the term 'package' is not really applicable. What I meant was
that I
I think, you need more help in this kind of work.
Buenas tardes. Puedo ayudarlos revisando la traducción, por el
momento. A partir del 15 de Diciembre podría contribuir con uno o dos
capítulos.
Sin embargo, no quisiera dejar pasar la oportunidad para comentar que
existen frases que no refieren
Indeed, the fact that {{include ...}} and {{extend ...}} can't be
conditional is a problem if you need that. But if you meant your
template to be inherited from, it's not really a problem.
This is the decorator I'm currently using: http://paste.pocoo.org/show/149598/
.
You use it (in
I don't need it as such, but I want to group certain related parts
of the web application that don't necessarily need to be in the same
controller. This would be akin to a python package structure. Of
course, in python code, any program written as a set of packages and
modules can be written as a
No difference.
I think this is the bug we're dealing with:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5050507
Since it's a wont-fix, our only option is to work around it by relying
less on regexps. Is that an acceptable solution?
On Nov 9, 11:58 am, mdipierro mdipie...@cs.depaul.edu
On Nov 9, 1:15 pm, drayco antrod...@gmail.com wrote:
I think, you need more help in this kind of work.
All the help I can get ;-)
Buenas tardes. Puedo ayudarlos revisando la traducción, por el
momento. A partir del 15 de Diciembre podría contribuir con uno o dos
capítulos.
Excelente.
Sin
Same here.
On Nov 9, 12:58 pm, Vidul Petrov vidul.r...@gmail.com wrote:
I got Internal Error while
tryinghttp://wavedirectory.appspot.com/init/default/wave?w=googlewave.com%2...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Thank you, Richard!
On Nov 9, 12:29 am, Richard richar...@gmail.com wrote:
yeah! - can invite again.
Have invited:
denes1...@yahoo.ca
roger.gicq...@gmail.com
mbelle...@gmail.com
whalb...@gmail.com
debe...@yahoo.com
digitalcry...@gmail.com
maxu...@gmail.com
On Nov 9, 2:35 am, Marat
New stuff:
- bug fix in select(...,cache=)
- bug fix in internationalization with default languages
- better polish and french translations
- better support for KeyedTables (thanks Denes) and alternate names
for 'id' fields (thanks Michael). This allow better support for legacy
databases.
Please
http://www.vimeo.com/7520812
20 minutes extract from one of the IPD lectures. You need web2py
1.72.1 to use T.current_languages. There was a bug in the previous
versions.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
nevermind - i see now it's 1.71.1 to 1.72.1 - i was thinking 1.71.1
to 1.71.2
-wes
On Mon, Nov 9, 2009 at 1:15 PM, Wes James compte...@gmail.com wrote:
do you mean 1.71.2?
On Mon, Nov 9, 2009 at 1:12 PM, mdipierro mdipie...@cs.depaul.edu wrote:
New stuff:
- bug fix in
This is really nice. Hope you do not mind, I posted a link on reddit/
programming.
On Nov 9, 2:41 pm, hcvst hcv...@googlemail.com wrote:
Hi Vidul,
the wave's now
athttp://wavedirectory.appspot.com/init/default/wave/676f6f676c65776176...
But I guess I should add the old query string method
On Nov 10, 3:10 am, Thadeus Burgess thade...@thadeusb.com wrote:
I use apache on virtualhost at slicehost running multiple web2py
virtualhosts.
With one web2py instance, my server stands at around 90MB average for
memory, it *might* spike up to 115MB if I start some ram caching, however my
Could you please invite me too?
Thanks
Dave M.
2009/11/10 mdipierro mdipie...@cs.depaul.edu
This is really nice. Hope you do not mind, I posted a link on reddit/
programming.
On Nov 9, 2:41 pm, hcvst hcv...@googlemail.com wrote:
Hi Vidul,
the wave's now athttp://
Hey could i get invitation to na...@napas.lt ?
On Nov 5, 6:11 am, Richard richar...@gmail.com wrote:
sure. And if anyone else is interested post in this thread.
On Nov 5, 2:19 pm, Thadeus Burgess thade...@thadeusb.com wrote:
Richard, could you keep me in mind when the invites start back
http://python.org/dev/peps/pep-3003/
--~--~-~--~~~---~--~~
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
Invite please?
On Nov 7, 4:00 pm, Thadeus Burgess thade...@thadeusb.com wrote:
I think we should all start a public web2py wave! :)
-Thadeus
On Sat, Nov 7, 2009 at 3:54 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I have account. I just have not figured out what I am supposed to do
If you have sudo access to a fresh ubuntu install just run this script
sudo setup-web2py.sh
and it will:
1) install a bunch of packages you need including ssh, emacs, apache2,
python2.5, postgresql
2) download and start web2py on port 8123 as user www-data
3) configure apache to prosy web2py
On 9 Nov., 15:26, mdipierro mdipie...@cs.depaul.edu wrote:
Can you shed some light on the upcoming replacement? Has web2py
developed so much since T2 was written that it actually implements
some of the higH level patterns that T2 implements?
Almost everything in T2 but the wiki and
I use MySQL and auth. When i try to login, Web2py 1.72.1 give me this
error. But With Web2py 1.71.1 this dosen't happend.
Traceback (most recent call last):
File /media/RESPALDO/web2py/gluon/restricted.py, line 184, in
restricted
exec ccode in environment
File
invited:
encomp...@gmail.com
ka...@gmx.net
monch1...@gmail.com
na...@napas.lt
mp.ch...@gmail.com
(4 invites left)
On Nov 10, 9:40 am, mikech mp.ch...@gmail.com wrote:
Invite please?
On Nov 7, 4:00 pm, Thadeus Burgess thade...@thadeusb.com wrote:
I think we should all start a public
http://www.reddit.com/r/programming/comments/a2k4b/pep_3003_python_language_moratorium_is_accepted/c0fk610
My two cents
On Nov 9, 4:38 pm, mikech mp.ch...@gmail.com wrote:
http://python.org/dev/peps/pep-3003/
--~--~-~--~~~---~--~~
You received this message
please check 1.72.2
On Nov 9, 5:06 pm, drayco antrod...@gmail.com wrote:
I use MySQL and auth. When i try to login, Web2py 1.72.1 give me this
error. But With Web2py 1.71.1 this dosen't happend.
Traceback (most recent call last):
File /media/RESPALDO/web2py/gluon/restricted.py, line 184,
Can you send me an invitation please, Richard?
Thanks
2009/11/10 Richard richar...@gmail.com:
invited:
encomp...@gmail.com
ka...@gmx.net
monch1...@gmail.com
na...@napas.lt
mp.ch...@gmail.com
(4 invites left)
--
Luyun Xie
谢路云
http://magefromhell.blogspot.com/
Hi guys,
Do any of you know a way to get data from a web table using its url?
Thanks in advance and best regards,
MrGoni
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group,
Something like this?
Controller
--
def call():
session.forget()
return service()
@service.xml
def tableservice():
limitby = (int(request.vars.start),int(request.vars.count))
table = SQLTABLE(db().select(db
[request.vars.table].ALL,limitby=limitby))
return table
URL
Whoops, limitby should be:
limitby = (int(request.vars.start),int(request.vars.start)+int
(request.vars.count))
On Nov 9, 9:14 pm, mr.freeze nat...@freezable.com wrote:
Something like this?
Controller
--
def call():
session.forget()
return service()
@service.xml
def
Hi
I've a controller function as a cron job, which fetches some data from
a remote server and updates local db. It runs correctly when accessed
directly from browser. But as a cron job, web2py just keep saying:
WARNING:root:WEB2PY CRON Call returned code 1: No error message available
and
This:
@service.xml
def tableservice():
limitby = (int(request.vars.start),int(request.vars.count))
table = SQLTABLE(db().select(db
[request.vars.table].ALL,limitby=limitby))
return table
should be
@service.xml
def tableservice(start,count):
limitby =
I am sorry cron errors need to be improved. You can add some
try:
except Exception,e: print e
in the cron task.
On Nov 9, 9:21 pm, XieTian mft...@gmail.com wrote:
Hi
I've a controller function as a cron job, which fetches some data from
a remote server and updates local db. It runs
Off topic.
Recently web2py evolutes with many great enhancement. That is, without
doubt, a good thing. Yet it will be better if the new features are
documented, even roughly mentioned, in some well-known place. So that
people who missed a post in google mail list (and google-maillist-
search
I will update the documentation as soon as possible. If you can send
me a patch it will happen sooner.
On Nov 9, 11:07 pm, Iceberg iceb...@21cn.com wrote:
Off topic.
Recently web2py evolutes with many great enhancement. That is, without
doubt, a good thing. Yet it will be better if the new
I don't need this right now, but it's great to have this flexibility
in the future.
Thanks
On Nov 10, 3:57 am, DenesL denes1...@yahoo.ca wrote:
@ mr.freeze: you are welcome
@ Massimo: thanks for merging it into web2py
@ Timbo: LOL, maybe someday.
84 matches
Mail list logo