On Sat, Sep 12, 2009 at 12:19 AM, suiato wrote:
>
> Thanks, Yarko -
>
> I added the plugin to Firefox, set Ulipad.py as its editor, and it
> worked!
> Cool. My daydreaming wasn't in vain ;-)
>
:-)
>
> Good to have freedom to choose any editor to edit editable textarea on
> the browser.
>
> Thi
No, these would be a chainable set of helper functions that act on a
Rows object (just like the new first and last functions). Most of them
would take functions or lambdas as arguments that return boolean
values. They could be used to do complex calculations. Here are a
couple mock command:
ro
Thanks, Yarko -
I added the plugin to Firefox, set Ulipad.py as its editor, and it
worked!
Cool. My daydreaming wasn't in vain ;-)
Good to have freedom to choose any editor to edit editable textarea on
the browser.
This might have a deeper impact than its simplistic look in editing
and developi
linuxquestions.org has a nice approach by parsing the title and then
adding the ID to the end:
http://www.linuxquestions.org/questions/linux-software-2/open-source-version-control-change-management-754005/
Which can also be accessed by:
http://www.linuxquestions.org/questions/linux-software-2/rand
http://forum.webfaction.com/viewtopic.php?pid=11733#p11733
perhaps we should show them that people are interested. Notice you can
register for the forum without opening an account.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
Field('name','upload',autodelete=True)
On Sep 11, 10:31 pm, Jason Brower wrote:
> When a table is using an image/file in ones of it's rows. If you delete
> the row, shouldn't the image delete as well, or do I need to delete it.
> Regards,
> Jason Brower
--~--~-~--~~~
When a table is using an image/file in ones of it's rows. If you delete
the row, shouldn't the image delete as well, or do I need to delete it.
Regards,
Jason Brower
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I do not know. Can you post some code to reproduce it?
On Sep 11, 2:07 pm, rb wrote:
> !...@#$ FALSE ALARM
>
> There was a missing app file that the controller was failing to
> import. While looking around at the app folders I looked into the
> errors folder and read through the last file. This
I think we need a different solution. Something like replace
class MemcacheClient(Client):
...
in gluon/contrib/memcache/__init__.py with
def MemcacheClient(*a,**b):
### implement some kind of thread pool
return __MemcacheClient(*a,**b)
class __MemcacheClient(Client):
...
what do y
T3 does it. It would be great if somebody where to take the code out
and build a module for it.
On Sep 11, 10:03 pm, Bottiger wrote:
> How would you go about making a generic comment or rating logic for
> any model?
>
> Say you have a bunch of models in different tables like this:
>
> Websites
>
How would you go about making a generic comment or rating logic for
any model?
Say you have a bunch of models in different tables like this:
Websites
Plugins
Links
etc...
How would you make a generic rating or commenting logic that could
apply to websites/plugins/links or whatever other models
Have you read the latest doc v2? I thought it explained the
permissions aspect of auth and crud pretty well. Then again, I haven't
used it extensively yet. But I'm about to and I feel the doc was clear
enough.
On Sep 11, 9:38 pm, waTR wrote:
> I am just wondering if anyone out there has any good
I'm not sure I see why this would be terribly difficult to implement
with web2py. Of course, it would be more than just a generic wiki ...
You would probably need separate special entries for preamble
snippets. I'm not a latex user (I used to be an nroff/troff expert),
but I imagine certain order
I think this is very ambitious and I would not know how to do it.
I like this for simple things:
http://math.etsu.edu/LaTeXMathML/
Massimo
On Sep 11, 5:03 pm, Marco wrote:
> Let me be a bit more precise:
>
> It would be useful if latex snippets in each wiki page could inherit
> macros and prea
The point of the DAL i generate SQL so that queries are executed by
the database. Are you saying that those operations should be executed
by web2py instead on the returned items? Why?
On Sep 11, 7:06 pm, "mr.freeze" wrote:
> >>2) you can now do:
> >>row = db(db.mytable.id>0).select().first()
> >
Yes it will be similar to the current T3 but based on the new web2py
API
On Sep 11, 4:52 pm, Marco wrote:
> Could you indicate what you would like to accomplish with T3? Is the
> current T3 webpage a good description? If so I could think about that
> and make some suggestions. I didn't realize
yes
On Sep 11, 4:32 pm, "mr.freeze" wrote:
> This wiki requires running the latest version in trunk. Are you
> getting this error?
> AttributeError: 'Rows' object has no attribute 'first'
>
> On Sep 11, 4:11 pm, Fred wrote:
>
> > I uploaded the w2p file as a new app, but how do you get it goin
I am just wondering if anyone out there has any good case-studies or
articles that gave them a better understanding of how to organize user
permissions and access controls.
I am in process of writing an app that implements some extensive user
permissions. I.e. be able to set permissions to view c
>>2) you can now do:
>>row = db(db.mytable.id>0).select().first()
>>row = db(db.mytable.id>0).select().last()
>>and row is None if no records are selected.
Here is a list of other functions that may be of interest (I borrowed
these from .net extension methods). Some of these won't make sense
for
Yep, that did it.
Thanks!
On Sep 11, 3:17 pm, "mr.freeze" wrote:
> Try requires=IS_NULL_OR(IS_EMAIL())
>
> On Sep 11, 4:59 pm, b00m_chef wrote:
>
> > Is there a way make sure a table field that has requires = IS_EMAIL
> > doesn't prevent form from being submitted if the field is left blank?
--
On Sep 11, 11:51 pm, Timbo wrote:
> According to the Performance section of their documentation, they
> recommend running one instance of Tornado per processor core on your
> server and then joining them together behind a nginx reverse proxy.
> Looking at the graph, this makes the top bar an ap
Try requires=IS_NULL_OR(IS_EMAIL())
On Sep 11, 4:59 pm, b00m_chef wrote:
> Is there a way make sure a table field that has requires = IS_EMAIL
> doesn't prevent form from being submitted if the field is left blank?
--~--~-~--~~~---~--~~
You received this message b
Let me be a bit more precise:
It would be useful if latex snippets in each wiki page could inherit
macros and preamble information from the parent wiki page (perhaps
this makes no sense) or you could specify new macros for that snippet
(i.e. \newcommand) which would override anything which it inh
Is there a way make sure a table field that has requires = IS_EMAIL
doesn't prevent form from being submitted if the field is left blank?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post t
Could you indicate what you would like to accomplish with T3? Is the
current T3 webpage a good description? If so I could think about that
and make some suggestions. I didn't realize you were developing a wiki
on the same day that I am interested in one!
Marco
On Sep 11, 2:46 am, mdipierro wr
Ideally I would be able to have a running latexing of the whole
course. So that means there would be some preamble information with
all the macros, and then as I 'blogged' more of the notes into each
wiki page, you would get a mini-chapter on each entry essentially. It
seems like it would then ev
This wiki requires running the latest version in trunk. Are you
getting this error?
AttributeError: 'Rows' object has no attribute 'first'
On Sep 11, 4:11 pm, Fred wrote:
> I uploaded the w2p file as a new app, but how do you get it going?
> The default/index page assumes that at least one wik
I uploaded the w2p file as a new app, but how do you get it going?
The default/index page assumes that at least one wiki page exists
already.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To p
Do you need to generate proper latex or would it be sufficient to be
able to type latex in the wiki for formulas?
On Sep 11, 3:43 pm, Marco wrote:
> Hello,
> I am a mathematician and not an experienced web programmer, but I
> thought web2py was cool (I only know some Python) I wonder if you
> c
Hello,
I am a mathematician and not an experienced web programmer, but I
thought web2py was cool (I only know some Python) I wonder if you
could advise me:
I would like to use web2py to make a kind of wiki (more like a blog
where the students would have accounts and they would be allowed to
comme
not currently
On Sep 11, 2:48 pm, Don wrote:
> How can I modify the URL that crud.tables() generates in the form.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send ema
for field in fields:
fields2.append(db[field])
On Sep 11, 2:09 pm, tvw wrote:
> wow - thanks - worked straight away - was just missing the *
>
> I get a list of fields from the checkboxes in request.vars.fields in
> the form "mytable.myfield"
>
> then I do this
>
> for field in fields:
>
On Sep 11, 2009, at 1:09 PM, V. K wrote:
>
> Thanks for your response.
>
> That is a clean solution:
>
> 2 questions:
> - How to generate the "document as a string"
> I mean, by using the HTML generation (view + controller) engine in
> web2py?
> - How to execute a controller from python shell (
Thanks for your response.
That is a clean solution:
2 questions:
- How to generate the "document as a string"
I mean, by using the HTML generation (view + controller) engine in
web2py?
- How to execute a controller from python shell (not as web service)?
On Sep 11, 12:54 pm, Jonathan Lunde
On Sep 11, 2009, at 10:57 AM, V. K wrote:
> I was looking to use the python shell to generate the final HTML that
> is rendered in a browser:
>
> Let me explain:
>
> Normally in web2py:
> the URL "http://www.misite.com/app/default/index"; maps to a python
> function and uses an appropriate view f
How can I modify the URL that crud.tables() generates in the form.
--~--~-~--~~~---~--~~
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 fr
I looked in the web2py source code. The closest function to what I am
looking for is: serve_controller (in main.py).
On Sep 11, 10:57 am, "V. K" wrote:
> I was looking to use the python shell to generate the final HTML that
> is rendered in a browser:
>
> Let me explain:
>
> Normally in web2py:
Sorry, didn't read close enough.
On Sep 11, 2:03 pm, mdipierro wrote:
> myfields = [db.myable.fieldname1, db.mytable.fieldsname2]
> SQLTABLE(db(db.mytable.id>0).select(*myfields))
>
> On Sep 11, 1:56 pm, tvw wrote:
>
>
>
> > Hi,
> > I am displaying a database table as a table in a page usin
wow - thanks - worked straight away - was just missing the *
I get a list of fields from the checkboxes in request.vars.fields in
the form "mytable.myfield"
then I do this
for field in fields:
fields2.append(eval('db.' + field))
to get references to the gluon sql field objects to pass t
!...@#$ FALSE ALARM
There was a missing app file that the controller was failing to
import. While looking around at the app folders I looked into the
errors folder and read through the last file. This gave me the error.
I find this repeatedly (about Python). Being a noobie, I find that
python fa
Hello,
I find that for servers like lighttpd or cherokee, there is a line
which handles the 404 error and passes it to the fcgihandler.
Unless this is specified, web2py does not work.
Can anybody please explain, why do we get this 404 error if the
webserver speaks to the same unix socket to whi
Oops. sorry
On Sep 11, 1:38 pm, zahariash wrote:
> I've found similar leak...
>
> Using MemcacheClient like described
> here:http://web2py.com/AlterEgo/default/show/69
> from gluon.contrib.memcache import MemcacheClient
> memcache_servers=['127.0.0.1:11211']
> cache.mem=MemcacheClient(reques
myfields = [db.myable.fieldname1, db.mytable.fieldsname2]
SQLTABLE(db(db.mytable.id>0).select(*myfields))
On Sep 11, 1:56 pm, tvw wrote:
> Hi,
> I am displaying a database table as a table in a page using jQuery
> dataTables - this is great but I also want to be able to select the
> database
SQLTABLE(db(db.mytable.id>0).select
(db.mytable.myfield1,db.mytable.myfield2, etc...))
On Sep 11, 1:56 pm, tvw wrote:
> Hi,
> I am displaying a database table as a table in a page using jQuery
> dataTables - this is great but I also want to be able to select the
> database fields which are
Hello,
I am calling the fcgihandler.py directly from the cherokee webserver.
If i write a shell script which runs fcgihandler and put this shell
script inside the web2py folder, then i have no errors.
According to the cherokee users, the shell script is an extra layer
and its best to invoke th
Hi,
I am displaying a database table as a table in a page using jQuery
dataTables - this is great but I also want to be able to select the
database fields which are shown. I've put checkboxes below the table
so that I will get returned a list of the fields I want to display.
The problem is I
The svr is running on Ubuntu 9.04 Linux. The client is WinXP.
The client function is: tRows = self.svr.xrSelectTblInsts
(self.frmName)
and it maps to the svr function:
@service.xmlrpc
def xrSelectTblInsts( frmName, tblInstName=None):
if tblInstName == None:
rows = db(db.tblInsts.frm
I've found similar leak...
Using MemcacheClient like described here:
http://web2py.com/AlterEgo/default/show/69
from gluon.contrib.memcache import MemcacheClient
memcache_servers=['127.0.0.1:11211']
cache.mem=MemcacheClient(request,memcache_servers)
is dangerous, because it opens one connecti
requires=IS_NULL_OR(IS_FLOAT_IN_RANGE(-100,100))
On Sep 11, 1:28 pm, b00m_chef wrote:
> Hi,
>
> Is there any way to override the SQLForm default to require value to
> be not null for table fields set to 'double'?
>
> Thx
--~--~-~--~~~---~--~~
You received this mes
what os? how does the function look like? can anybody reproduce this?
On Sep 11, 1:28 pm, rb wrote:
> I tried to upgrade once before but ran into problems. So I've stayed
> at 1.65.5. Today I upgraded to 1.66.2 and I'm getting the 500 INTERNAL
> SERVER error when I make a xmlrpc call.
>
> ===
>
Ok, so I went back to 1.65.5 and everything just works. Eek!
---
On Sep 11, 11:28 am, rb wrote:
> I tried to upgrade once before but ran into problems. So I've stayed
> at 1.65.5. Today I upgraded to 1.66.2 and I'm getting the 500 INTERNAL
> SERVER error when I make a xmlrpc call.
>
> ===
> Tra
Thank you David for reminding us.
On Sep 11, 12:22 pm, villas wrote:
> I appreciate that this has been discussed before and, if I understand
> correctly, a 'decimal' field type is under consideration. As this is
> an essential feature, I wonder what the current status is?
>
> I believe that
Hi,
Is there any way to override the SQLForm default to require value to
be not null for table fields set to 'double'?
Thx
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group,
I tried to upgrade once before but ran into problems. So I've stayed
at 1.65.5. Today I upgraded to 1.66.2 and I'm getting the 500 INTERNAL
SERVER error when I make a xmlrpc call.
===
Traceback (most recent call last):
File "D:\User1\Docs\Dev\rnapl\src\rnalaunch.py", line 200, in
OnItemActivate
I was looking to use the python shell to generate the final HTML that
is rendered in a browser:
Let me explain:
Normally in web2py:
the URL "http://www.misite.com/app/default/index"; maps to a python
function and uses an appropriate view file to return HTML/XML/JSON...
data.
I wanted to use the
I will try to make this today. I like this wiki better than the last
as it is easier to explain what the code is doing.
On Sep 11, 10:28 am, mdipierro wrote:
> I'd still prefer if you could do it but I could do it later today if
> they stop the drilling outside my office.
>
> On Sep 11, 10:11 a
well, that sounds like you do all / most controller actions in the client,
which is one of the main criticisms of PHP apps (they blur MVC boundaries).
You can certainly do it that way, and it would be a migration path which
would change the least - but you also have the opportunity for a next step
I am always curious how google builts its webapp.
Now that we have GAE, we have an opportunity to build and scale good
webapps.
The logic, we still believe can remain in JS, and when the user
performs an action like save, it is
stored using python. This is the way we do it today in PHP.
Just w
Hi, Dr. Massimo:
Can you help me please?
This is my situation:
I have a subdomain in webfaction with https.
I can work with default applications of web2py. Even I can put
data in a mysql database. All of that in with my subdomain in
webfaction.
However, when a I request
I appreciate that this has been discussed before and, if I understand
correctly, a 'decimal' field type is under consideration. As this is
an essential feature, I wonder what the current status is?
I believe that one reason for the delay is that Sqlite doesn't support
decimals. However, for
w.r.t. web2py migrations, I don't think the sqlite typing question is
pertinent;
as I recall Massimo saying, (and indeed, as the code in gluon/sql.py:
Table._migrate() shows) web2py does not do migrations in sqlite.
In any case, both Python 2.5 an 2.6 embed sqlite3.
On Fri, Sep 11, 2009 at 9:16
This is a classic MVC question, and where to "put the network boundary"
For user display layout, the question is somewhat crisp: put on client (in
this case, js, css, flash, etc.);
For user interaction, temporary values, incremental activities (e.g. partial
updates, json) - this is a design
Hi all,
I want to write a function to upload a file. Now I cannot use SQLForms
for reasons that I am setting the values of the fields depending on my
session type and session id. Now can anyone help as to how I can code
the if part so that file upload will take place. Also I have tried
with reque
On Fri, Sep 11, 2009 at 4:03 AM, Fran wrote:
>
> On Sep 11, 8:28 am, wf321 wrote:
> > I still not understand why table define in model/db.py only need
> > define once, then all sub-sequence requests can access it without
> > execute db.define_table at every request
>
> The models get execute
The new mechanism only kicks in if you have SQLITE and the references
are set as ondelete='CASCADE' (the default).
If you try to access a non sqlite database nothing changes
If you try to access an existing sqlite database, then set
oncascade='' and migrate=False.
I cannot think of a situation whe
On Fri, Sep 11, 2009 at 1:42 AM, mdipierro wrote:
>
> On Sep 11, 1:19 am, Richard wrote:
> > > on delete cascade in SQLite
> >
> > Fantastic! My feature request for this can be closed:
> http://code.google.com/p/web2py/issues/detail?id=50
>
> Can you do it or should I do it?
>
> > Did the soluti
I'd still prefer if you could do it but I could do it later today if
they stop the drilling outside my office.
On Sep 11, 10:11 am, "mr.freeze" wrote:
> Much better. I like this code better than the previous wiki. Are you
> going to do a video?
>
> On Sep 11, 8:23 am, mdipierro wrote:
>
> > o
Much better. I like this code better than the previous wiki. Are you
going to do a video?
On Sep 11, 8:23 am, mdipierro wrote:
> oops. I reposted it. make sure you delete databases/* before you try
> again.
>
> Massimo
>
> On Sep 11, 6:32 am, "mr.freeze" wrote:
>
>
>
> > I get this when editi
still gets repaced by _
On Sep 11, 9:52 am, Jonathan Lundell wrote:
> On Sep 11, 2009, at 1:16 AM, Richard wrote:
>
> > I want to make my URLs pretty with "/default/record/green apple"
> > instead of "default/record/42".
> > But the white spaces are being parsed so that request.args[0] comes in
On Fri, Sep 11, 2009 at 1:11 AM, suiato wrote:
Hi Teru -
Something better than "cut/paste" and very simple, if you use Firefox
browser is this plugin:
"It's All Text"
https://addons.mozilla.org/ja/firefox/addon/4125
> Hi Iceberg
>
> 2009/9/11 Iceberg :
> ...
> > Actually, Limodou, the author
Hello.
I am using 1.66.2 (SVN revision 1178) and still getting "Permission
denied" error occasionally:
Traceback (most recent call last): File "C:\web2py\gluon\main.py",
line 412, in wsgibasesession._try_store_on_disk(request,
response) File "C:\web2py\gluon\globals.py", line 366, in
_try_
On Sep 11, 2009, at 1:16 AM, Richard wrote:
> I want to make my URLs pretty with "/default/record/green apple"
> instead of "default/record/42".
> But the white spaces are being parsed so that request.args[0] comes in
> as "green_apple".
> I can't do request.args[0].replace('_', ' '), because the
has this changed since sqlite2?
SQLite is "typeless": http://www.sqlite.org/datatypes.html
On Sep 11, 7:01 pm, Fran wrote:
> On Sep 11, 9:29 am, Richard wrote:
>
> > Well, yesterday I changed a boolean type column to integer in my model
> > and all hell broke loose.
> > Fortunately all the boo
Server calls code in python (like authentication, pdf generation
etc.,)
DOM level logic based on form input, like calculations stick with
javascript.
This way all logic gets loaded once and stays in DOM and variables can
be passed to python when necessary.
Is this the right approach?
On Sep 11
According to the Performance section of their documentation, they
recommend running one instance of Tornado per processor core on your
server and then joining them together behind a nginx reverse proxy.
Looking at the graph, this makes the top bar an apples to oranges
comparison with the rest of t
Hello
We have a tax software built in PHP, PHP is used mainly for server
calls, all the logic is in Javascript files.
We are thinking of porting it to Python (web2py) mainly to use GAE
hosting, to handle our peak volume during specific months.
My question;
Should logic reside in Javascript or
suiato wrote:
> On 9月11日, 午前10:00, cesmiga wrote:
> > All:
> >
> > Is there a way to enable line numbering in the admin interface editor?
>
> i see line numbers on the web2py editor when editing models/
> controllers/views.
> what is 'admin interface editor'?
>
> >
> > Thank you,
> > Christopher
Thanks for the help.
On Sep 11, 9:30 am, mdipierro wrote:
> download reportlab, unzip in the main web2py folder, and use the its
> platypus API.
>
> On Sep 11, 7:56 am, Markus wrote:
>
>
>
> > Today we use fpdf and fpdi to populate government PDF forms from
> > a web form in php
>
> > how do we
If you accept a form like FORM(INPUT(_type="file",_name="upload_f"))
the form.vars.upload_f contain a cgi.FieldStorageObject with two
attributes
form.vars.upload_f.file from which you can read() the content and
form.vars.upload_f.filename (the original filename)
You cannot store in database form
download reportlab, unzip in the main web2py folder, and use the its
platypus API.
On Sep 11, 7:56 am, Markus wrote:
> Today we use fpdf and fpdi to populate government PDF forms from
> a web form in php
>
> how do we do this python?
>
> What is the best PDF library?
--~--~-~--~~
If this is the case I could use some help debugging it.
Massimo
On Sep 11, 7:54 am, David Zejda wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Thank you for the help.
>
> I have one problem with the solution - it seems, that if there is custom
> error_handler in routes.py specifie
Thank you David,
I personally have my hands full but thanks for bringing this to our
attention.
Massimo
On Sep 11, 7:42 am, David Hofmann wrote:
> If you look at it, python is still on development, they've made some
> interesting changes in version 3.0, but it doesn't mean python isn't
> matur
There are two things that do not convince me.
- For a complex web app the time of the web server is negligible over
the time to perform SQL queries. I guess those tests were for a
minimal hello world app.
- If I understand this (and please correct me) Tornado is not
multithreaded. It is a well n
oops. I reposted it. make sure you delete databases/* before you try
again.
Massimo
On Sep 11, 6:32 am, "mr.freeze" wrote:
> I get this when editing an entry. I am at revision 1215 of svn:
>
> Traceback (most recent call last):
> File "C:\web2py\gluon\restricted.py", line 178, in restricted
good to know.
On Sep 11, 4:37 am, encompass wrote:
> Actually, the "parse" didn't work. But the new feature in python 2.5
> that I have not seen is rather nice. Thanks...
> I actually ended up useing...
> mytree=xml.etree.ElementTree.XML(request.body.read())
> Thanks!
>
> On Sep 10, 6:09 pm, m
Because you have to do in a different way. Your boolean column cannot
be converted to integer because it is implemented as a char(1) that
contains 't' and 'f'. postgres cannot convert 't' to an integer.
The way of doing is by first deleting the existing column, migrating,
adding the column again
You can use routes.py to map args(0) into vars but I think it'd be
simpler to replace the whitespaces with _ everywhere.
On Sep 11, 3:16 am, Richard wrote:
> hello,
>
> I want to make my URLs pretty with "/default/record/green apple"
> instead of "default/record/42".
> But the white spaces are b
Thanks everyone
I guess I'll need to do some email server research then. At least I
know what to research. Previously, I didnt know where to start.
Thanks Again
Victor
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi,
I am trying to upload files using FORM (donot want to use crud etc...)
in controllers like
FORM(INPUT(_type="file",_name="upload_f"))
then i am inserting the file so got to using db.insert() in my
database.
But all i get is a 'file' written in the database which when clicked
upon gives me 404
Today we use fpdf and fpdi to populate government PDF forms from
a web form in php
how do we do this python?
What is the best PDF library?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To pos
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thank you for the help.
I have one problem with the solution - it seems, that if there is custom
error_handler in routes.py specified, the ticket is not being generated.
No file with traceback information appears and also the
request.vars.ticket is l
If you look at it, python is still on development, they've made some
interesting changes in version 3.0, but it doesn't mean python isn't
mature/stable.
Groovy on its side has borrow the best features from the best languages like
python, ruby, java ... And I know about commercial financial systems
according to that benchmark CherryPy is far the slowest...
what about web2py (apache/mod_wsgi)
would be nice if we can place it before Django (apache/mod_wsgi)
On Fri, Sep 11, 2009 at 12:56 PM, JorgeR wrote:
>
> do you mean cherrypy vs tornado?
>
> On Sep 11, 3:48 am, "Sebastian E. Ovide"
> w
would it be correct if i test web2py as "ab -n 10 -c 25
http://127.0.0.1:8000/";?
--~--~-~--~~~---~--~~
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
do you mean cherrypy vs tornado?
On Sep 11, 3:48 am, "Sebastian E. Ovide"
wrote:
> waw accordingly
> tohttp://www.tornadoweb.org/documentation#performanceitperformes very
> well
>
> do we have any numbers about web2py to compare to them ?
>
> On Fri, Sep 11, 2009 at 2:09 AM, Joe Barnhar
I get this when editing an entry. I am at revision 1215 of svn:
Traceback (most recent call last):
File "C:\web2py\gluon\restricted.py", line 178, in restricted
exec ccode in environment
File "c:/web2py/applications/wiki/controllers/default.py", line 26,
in
File "c:\web2py\gluon\globa
Actually, the "parse" didn't work. But the new feature in python 2.5
that I have not seen is rather nice. Thanks...
I actually ended up useing...
mytree=xml.etree.ElementTree.XML(request.body.read())
Thanks!
On Sep 10, 6:09 pm, mdipierro wrote:
> Try
>
> def xml_uploader():
> import xml.et
Hi Jason,
I did create a file and named it user.json then put in the code
Massimo suggested but I still get the page markup. It was suppose to
return json.
On Sep 11, 6:24 am, Jason Brower wrote:
> If you looking for that it is in the manual. And the examples.
> I think you can create a page l
On 11 Wrz, 07:13, mdipierro wrote:
> please check if it is fixed. I had to change your fix because it was
> not python 2.4 compliant.
Revision 1124 works ok. It's fixed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
On Sep 11, 8:28 am, wf321 wrote:
> I still not understand why table define in model/db.py only need
> define once, then all sub-sequence requests can access it without
> execute db.define_table at every request
The models get executed in every request.
>, but table define in
> default.py n
1 - 100 of 106 matches
Mail list logo