Do you mean times; ?
No, my string is timestamp (I'm building a URL for a JSON query) so it's
not an HTML entity, it just starts like one but misses the closing
semicolon.
What do you mean by shell console? In a standard python console, this
problem is not visible, of course.
it
Hi!
I'm running V2.0.9 and still it is not possible to login via an iphone
(tried it with safari and chrome)
Gerd
Am Montag, 3. September 2012 15:47:35 UTC+2 schrieb Massimo Di Pierro:
Please check trunk. I think the problem is that admin requires https.
On Monday, 3 September 2012
Update operation in Oracle gives ORA-12899 error if update value exceeds
length of a string field (VARCHAR2 type in Oracle).
This issue is correctly processed in INSERT statement, something like
if db.type == 'oracle' and field.type == 'string': value =
value[:field.length]
Please add same
Added django like filters to web2admin.
I will stop adding new features for a while and declare the current build
as beta. Please test it and report issues on
githubhttps://github.com/rif/web2admin/issues
.
Currently the GAE is not supported due to some dal issues.
Please test,
-rif
marți,
hi
there is a nice example of search form
http://www.web2pyslices.com/slice/show/1552/search-form
i would like to do some improvements. At the top there si a search form,
and at the bottom are results. I would like to make results clickable -
clicking on the result opens new function/view
Just a quick question, is your goal to eventually replace appadmin with
this?
:)
On Tue, Sep 25, 2012 at 8:24 PM, rif feric...@gmail.com wrote:
Added django like filters to web2admin.
I will stop adding new features for a while and declare the current build
as beta. Please test it and
Hi all,
I'm having some difficulties with smartgrid and linked tables. My model is
as follows:
db.define_table('facility',
Field('facility_id','id'),
Field('name'),
Field('type'),
migrate=False)
db.define_table('server',
Field('server_id','id'),
Field('server_name'),
Ciao Massimo,
yes, I actually stumbled upon smartgrid yesterday afternoon, although some
pointers to some examples and documentation would still be appreciated. In
particular, things linked linked tables, specifying which columns are
displayed and specifying how column values are hyper linked
Hi ,
Yes I have checked the web2py book , am not sure if I missed it but
didnt come across the same. Btw if you mis understood am talking about the
Jquery plugin datatable.
Regards,
Vivek
On Tuesday, September 25, 2012 7:44:36 AM UTC+4, Vineet wrote:
Have you gone through web2py docs?
I would redisplay the previous choices in the same form:
- form.process(...keepvalues=True).accepted
Submit the form with get vars:
- in form declaration use: _method='GET'
Hope that helps, D
On Tuesday, September 25, 2012 11:27:05 AM UTC+1, andrej burja wrote:
hi
there is a nice
my database is postgres and i'm using this:
Field('name',required=IS_LENGTH(255));
but it creates a varchar(512) in database,
, how could i fix it?
--
Field(..., length=255, ...)
Marin
On Tue, Sep 25, 2012 at 1:28 PM, yashar yvas...@gmail.com wrote:
my database is postgres and i'm using this:
Field('name',required=IS_LENGTH(255));
but it creates a varchar(512) in database,
, how could i fix it?
--
--
Just stumbled across this benchmark:
http://mindref.blogspot.pt/2012/09/python-fastest-web-framework.html
on the python group discussion:
https://groups.google.com/forum/?fromgroups=#!topic/comp.lang.python/yu1_BQZsPPc
The author also notes a memory leak problem with web2py but no specifics
Anybody else having this problem? I do not have an iphone to try it. :-(
On Tuesday, 25 September 2012 04:01:56 UTC-5, Gerd wrote:
Hi!
I'm running V2.0.9 and still it is not possible to login via an iphone
(tried it with safari and chrome)
Gerd
Am Montag, 3. September 2012 15:47:35
Please open a ticken in google code and this will be corrected asap.
On Tuesday, 25 September 2012 04:53:49 UTC-5, SergeyPo wrote:
Update operation in Oracle gives ORA-12899 error if update value exceeds
length of a string field (VARCHAR2 type in Oracle).
This issue is correctly processed in
No but it not excluded. I did not have time to review it in detail.
On Tuesday, 25 September 2012 05:29:18 UTC-5, Alec Taylor wrote:
Just a quick question, is your goal to eventually replace appadmin with
this?
:)
On Tue, Sep 25, 2012 at 8:24 PM, rif feri...@gmail.com javascript:wrote:
Let me add... appadmin was never developed to be a production tool.
Something better like web2admin is very much welcome. I will review and we
will discuss on this list whether to replace appadmin.
Some of the issues to be considered are:
- functionality
- bloat of the welcome app
On
First of all that is not a apples to apples comparison. For example some of
those frameworks do not support sessions out of the box. Web2py has many
features always enabled by default and the other frameworks are more
bare-bone.
Anyway, on a simple hello world request, without database and
Massimo,
the best answer would be another benchmark :-)
seriously we should make an hello world that goes blazing fast.
I agree that speed in a benchmark is not everything, it could give
some hints on optimizations to be done.
The issue in this case could be simply a file lock. (session.forget()
Hi Massimo,
I too agree that benchmarks, like statistics, can be very deceptive.
The point is comparing just 2 of the frameworks that I'm personally
interested in (and I would have imagined had similar startup overheads),
i.e. web2py and django, you see web2py getting 686 requests compared
thanks
On Tuesday, September 25, 2012 3:22:54 PM UTC+3:30, Marin Pranjić wrote:
Field(..., length=255, ...)
Marin
On Tue, Sep 25, 2012 at 1:28 PM, yashar yva...@gmail.com javascript:wrote:
my database is postgres and i'm using this:
Field('name',required=IS_LENGTH(255));
but it
Hello,
There is a problem in the access to book and web2py site actually... Only a
blank page is shown
Richard
--
I agree we should try reproduce those benchmarks becomes something is
clearly very wrong.
I cannot find the code used for those benchmarks, so I added a comment
asking for it.
On Tuesday, 25 September 2012 07:59:13 UTC-5, Jose C wrote:
Hi Massimo,
I too agree that benchmarks, like
Which page?
On Tuesday, 25 September 2012 09:00:24 UTC-5, Richard wrote:
Hello,
There is a problem in the access to book and web2py site actually... Only
a blank page is shown
Richard
--
I also have the same Problem with Samsung SII.
Am Dienstag, 25. September 2012 14:17:13 UTC+2 schrieb Massimo Di Pierro:
Anybody else having this problem? I do not have an iphone to try it. :-(
On Tuesday, 25 September 2012 04:01:56 UTC-5, Gerd wrote:
Hi!
I'm running V2.0.9 and still it
El lunes, 24 de septiembre de 2012 20:14:40 UTC-3, howesc escribió:
sounds like you need to add a meta property to the HEAD of your HTML:
meta content=http://www.starmakerstudios.com/song/106383654/starships;
property=og:url
of course you'll want to use your page URL where my URL is.
i
https://bitbucket.org/akorn/helloworld/src
Dana utorak, 25. rujna 2012. 16:02:40 UTC+2, korisnik Massimo Di Pierro
napisao je:
I agree we should try reproduce those benchmarks becomes something is
clearly very wrong.
I cannot find the code used for those benchmarks, so I added a comment
web2py source is here:
https://bitbucket.org/akorn/helloworld/src/145cbdf4f995/web2py
make file is here:
https://bitbucket.org/akorn/helloworld/src/145cbdf4f995/Makefile
On Tuesday, September 25, 2012 10:02:40 AM UTC-4, Massimo Di Pierro wrote:
I agree we should try reproduce those
Really bizzard, it only do it in my guest linux VirtualBox VM...
Main page.
Under windows it ok...
Gone now!
Wird
On Tue, Sep 25, 2012 at 10:31 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
Which page?
On Tuesday, 25 September 2012 09:00:24 UTC-5, Richard wrote:
Hello,
First try should be adding a session.forget() and see what happens...
N.B. The benchmark in question uses really 4 concurrent processes
through uwsgi, so suspect number #1 is a file lock.
Correctly the test was setup on two multicore machines one with the
server one with the client, so real
Shouldn't sqlite adapter raise an exception when trying to do insert of
date and datetime fields with incompatible input?
With trunk this is accepted:
row_id = db.mytable.insert(mydatefield=This is not a date value.)
Then, when retrieving the record with invalid data, this error appears
row =
Hi
if the url is http://www.my-domain.com
the message is not shown, but if I add the name of the application, it
displays the warning
http://www.my-domain.com/app-name
José
--
what does http://developers.facebook.com/tools/debug tell you when you
put your page URL in it? i use that to get feedback from
facebooksounds like there is something odd going on.
cfh
On 9/25/12 8:40 , Jose wrote:
Hi
if the url is http://www.my-domain.com
the message is not shown,
I didn't test my site on an iphone but the template was supposed to work on
it any way. I'll look into it later today.
On Monday, September 24, 2012 6:03:09 PM UTC-7, lyn2py wrote:
The CSS doesn't look ok on my iPhone. Give a check?
--
For those in South America, I added a CDN with an origin in Sao Paolo so
would you mind giving it a try again? I'm hoping this will speed things up
quite a bit.
Cheers!
Jim
On Monday, September 24, 2012 11:00:40 AM UTC-7, JimK wrote:
I just wanted to share my latest web2py application
Well, maybe the situation is really bad, recently I came through some
memory problems, So I did a lot of tests, I disabled the cache, also i
disabled the sessions but memory problem continued. So I delegated this
problem to Uwsgi. I had to set limit-as to 512. web2py/uwsgi memory usage
grew very
I really hope that my code meets your standards and if you find something
you don't like please let me know and I'll fix it.
The code is quite small (especially if the static folder is merged with the
welcome app, I just extended the main layout).
Any functionality requests are welcomed for
On my Ubuntu 12.04 LTS machine here's what i did so far.
1. from https://github.com/web2py/web2py/ i downloaded the ZIP for commit
722b16e620 authored 12 hours ago.
2. unzipped it to my home directory. The directory structure for
~/web2py-web2py-722b16e is
applications
deposit
I just noticed that i double copied the contents of models/menu.py. I am
posting the proper menu.py content. The behavior is the same as i described
it before, it was NOT WORKING like it did on my windows machine. NOT EVEN
the top level menus showed up in the black bar. HOWEVER, a Horizontally
Please try to rename bootstrap-responsive.min.css in static/css folder
(for example change the name in _bootstrap-responsive.min.css
Moreover could you check the viewport dimensions?
It seems a responsive layout issue.
Il giorno martedì 25 settembre 2012 19:20:18 UTC+2, JoeCodeswell ha
I just chatted with tech support at cdn77.com and they said the Sao Paolo
server is overloaded. sigh I'll play with these guys for a bit and
look at other options in my price range.
Jim
On Tuesday, September 25, 2012 10:20:45 AM UTC-7, rochacbruno wrote:
I am in São Paulo.
The driver should. but it does not. I guess we can catch at the adapter
level.
On Tuesday, 25 September 2012 10:38:48 UTC-5, Alan Etkin wrote:
Shouldn't sqlite adapter raise an exception when trying to do insert of
date and datetime fields with incompatible input?
With trunk this is
Yes. They are probably creating a session file at every request.
On Tuesday, 25 September 2012 10:16:44 UTC-5, Michele Comitini wrote:
First try should be adding a session.forget() and see what happens...
N.B. The benchmark in question uses really 4 concurrent processes
through uwsgi, so
If I remember well, previously language files displayed multi-line text
input fields for longer strings, instead of one line.
I deal with lot of translated text, and it is much easier to visually spot
problems in text fields.
Any possibility to re-introduce text fields in Languages where
My workflow got pushed to the back burner. Right now I have so much on my
plate I don't know when I'll get back to it.
On Monday, September 24, 2012 6:07:54 AM UTC-4, Ramos wrote:
No news about workflows in web2py?
2012/4/16 António Ramos ramst...@gmail.com javascript:
For me, the
nope. web2py doesn't save a session if no changes to the session has been
made, so that's not the case.
PS: give the guy some slack, it is one of the most documented benchmark
around. However, there is obviously something wrong in his setup. My
numbers are not even remotely comparable.
I had
Dear Paolo,
Here is the behavior *before* and *after* renaming
bootstrap-responsive.min.css to be _bootstrap-responsive.min.css
BEFORE renaming bootstrap-responsive.min.css ro be _bootstrap-responsive.min
.css
Normal Size Viewport: w=959 h=678
Behavior:
updated with:
4) django Rps: 13331.91 ms 99% 86
5) web2py plain cheating mode (read the comments) Rps: 4719.26 ms 99% 250
Just to stress it out a web.py (minimal framework - apples) vs web2py (full
framework - oranges) comparison.
Hack 10 minutes one single file - no thinking required - to have
Interesting... did you also happen to note the memory usage on runs 1,3
5? Any sign of the large memory leak that the author of the benchmark
says he encountered, and that Bruno also alluded to in a previous post?
On Tuesday, September 25, 2012 10:26:04 PM UTC+1, Niphlod wrote:
updated
Very useful information.
On Tuesday, 25 September 2012 16:26:04 UTC-5, Niphlod wrote:
updated with:
4) django Rps: 13331.91 ms 99% 86
5) web2py plain cheating mode (read the comments) Rps: 4719.26 ms 99% 250
Just to stress it out a web.py (minimal framework - apples) vs web2py
(full
On Tuesday, September 25, 2012 11:37:01 PM UTC+2, Jose C wrote:
Interesting... did you also happen to note the memory usage on runs 1,3
5? Any sign of the large memory leak that the author of the benchmark
says he encountered, and that Bruno also alluded to in a previous post?
Nope. A
thank you guys ... so the set of characters only ( exclusively ) need to
be referred to as : [A-Za-z]
perfect ... thank you again.
--
On 09/25/2012 04:08 PM, Le Don X wrote:
thank you guys ... so the set of characters only ( exclusively ) need
to be referred to as : [A-Za-z]
Sorry for jumping in, I'm just seeing this thread for the first time.
Keep in mind the following other rules, just in case you're trying to
validate
i use GAE to send mail daily i have neither of these problems. there must
be something amuck somewhere...
re #2, GAE does require sending from a verified sender and they way they do
that is the sender must be an admin on the GAE console. you can invite any
email address you like to be a
Thanks Anthony, your answer was pretty much what I needed. Ideally though,
it would've been nice to be able to redirect to different pages based on
different decorators. But I think that could be achieved within an if-block
in the controller of the URL you set
I think you need to flip it around, and use facilities instead of servers,
and then you will get the link to servers:
facilities = SQLFORM.smartgrid(db.facility, linked_tables={},
user_signature=False, links_in_grid=True, editable=False, deletable=False)
return dict(facilities=facilities)
On
On Tuesday, September 25, 2012 7:52:48 PM UTC-4, shartha wrote:
Thanks Anthony, your answer was pretty much what I needed. Ideally though,
it would've been nice to be able to redirect to different pages based on
different decorators. But I think that could be achieved within an if-block
in
Can't use it in an app-specicfic routes. It works once I moved it to the
main routes.py
On Sunday, September 23, 2012 9:35:11 AM UTC+8, lyn2py wrote:
I have this code in the *app-specific* routes.py
routes_onerror = [
('*/*', '/myapp/static/error.html')
]
I reload routes, but it still
I want to play around with geo location stuff. Is there a simple way to get
the location of the user's browser when they access a controller/action
within web2py? I'm not trying to convert an address to a geo location. I'm
looking for lat/long info from the user's browser at the time they make
Using web2py 1.99.4, as per doc on functional testing, I'm doing:
from gluon.contrib.webclient import WebClient
Traceback shows:
File N:\web2py\gluon\custom_import.py, line 293, in __call__
fromlist, level)
File N:\web2py\gluon\custom_import.py, line 132, in __call__
raise e #
Please open a ticket about this.
On Tuesday, 25 September 2012 21:36:57 UTC-5, lyn2py wrote:
Can't use it in an app-specicfic routes. It works once I moved it to the
main routes.py
On Sunday, September 23, 2012 9:35:11 AM UTC+8, lyn2py wrote:
I have this code in the *app-specific*
yes. requires 2.0.x
On Tuesday, 25 September 2012 21:45:04 UTC-5, weheh wrote:
Using web2py 1.99.4, as per doc on functional testing, I'm doing:
from gluon.contrib.webclient import WebClient
Is this only available in a later version of web2py? Because I'm getting a
ticket:
File
hi,
did web2py framework is ever take a penetration testing (e.g scan with owasp
dirbuster, acunetix, burp suite, nessus, openvas, etc) to check
it's vulnerability?
how can i submit web2py appliances?
thanks and best regards
--
OK, I've decided to dump cdn77.com in favor of Akamai. It turns out
Rackspace CloudFiles is served over the Akamai network but at a cheap
price. It's a bit of a pain since I needed to upload my entire static
directory to it but the price and quality are worth it.
Also, I shrunk 4 images on
Much better, took 3.37 seconds in Australia.
On Wed, Sep 26, 2012 at 2:59 PM, JimK jkel...@gmail.com wrote:
OK, I've decided to dump cdn77.com in favor of Akamai. It turns out
Rackspace CloudFiles is served over the Akamai network but at a cheap
price. It's a bit of a pain since I needed to
Sweet! Thanks for the quick response, Alec.
On Tuesday, September 25, 2012 10:02:36 PM UTC-7, Alec Taylor wrote:
Much better, took 3.37 seconds in Australia.
On Wed, Sep 26, 2012 at 2:59 PM, JimK jke...@gmail.com javascript:wrote:
OK, I've decided to dump cdn77.com in favor of Akamai. It
66 matches
Mail list logo