Hello,
Maybe i am not quite on a topic but...
back to the beginning of the subject, I found the performance tests for
web.py, which in my opinion should achieve good results (because it is
simple).
Tests are also primitive (just 'hello world'), only prepared for different
environment: apache and
On 2 October 2012 04:20, Exeption vvm1...@gmail.com wrote:
Hi,
Already have asked
herehttp://stackoverflow.com/questions/12668310/check-upload-file-size-before-actual-file-data-uploading,
but no reply.
I will duplicate my question here:
In my web2py controller I'm accessing file data
Fixed in trunk. Thanks Massimo!
Cheers,
David
On 2 October 2012 04:48, Massimo Di Pierro massimo.dipie...@gmail.comwrote:
I believe this is fixed in trunk. Can you help test it?
On Sunday, 30 September 2012 13:08:10 UTC-5, David Sorrentino wrote:
Sure I can! ;)
Here it is:
ERROR
Il 02/10/2012 04:48, Massimo Di Pierro ha scritto:
I believe the spatial DAL only supports postgresql/postGIS and
sqlite/spatialite. It does not support mysql.
well... I forgot to specify that I have tested with postgis... you can
look inside the dal.py file wich are the db drive that support
On 2 October 2012 04:32, Massimo Di Pierro massimo.dipie...@gmail.comwrote:
This is a big change in the source and the internal logic is complex.
It may have some unforeseen side effects.
PLEASE TEST THAT TRUNK DOES NOT BREAK YOUR CODE before this makes it into
stable.
I am using
Hello,
I am having problems with the new Singleton DAL feature and a web-app that
I had already working correctly with web2py.
Although the web-app itself runs ok (I can navigate the browser to it, and
the app runs without issues when used from the browser), it crashes when I
run unit-tests
I already posted this as a continuation of an existing question, but I
figured it may be better to break it out into a separate thread...
What happens if I want the constraint to add to the existing constraints
that have been built by smartgrid? For example, if I have the model:
I have got the following message - what does it mean?
type 'exceptions.EOFError' Version web2py™ (2, 0, 9,
datetime.datetime(2012, 9, 25, 16, 18, 48), 'stable') Python Python 2.7.3:
/usr/bin/python Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
Traceback (most recent call last):
More on this problem...
I was able to overcome the cannot duplicate a singleton error by
explicitly closing each db on the tests' tearDown:
-
db.close(action=None)
-
I needed to include action=None, otherwise I'd get the following error:
-
Traceback (most
You have other problems before you solve this one.
your model-option is a one-to-many but should be a many-to-many (many
cars can have alloy-wheels and alloy-wheel is one of many possible options
for each car).
Grid does now allow many-to-many very well but you can try:
Hi everybody,
Let me describe the situation on the other side of the world.
env : windows , web2py 2.0.9 stable
application : has menus and submenus
behaviour :
on starting page (hover over
menu shows the submenus )
selecting submenu item that use
If you use trunk, please use the latest. I have no clue what was in trunk
on 2012-9-25. I was running lots of tests. It says stable but that was
trunk, not stable.
Massimo
On Tuesday, 2 October 2012 08:11:52 UTC-5, mweissen wrote:
I have got the following message - what does it mean?
type
You can try this:
In the upload form add input type='hidden' name='X-Progress-ID'
value='test'/
def upload_page():
...
length_bytes = cache.ram('X-Progress-ID:test:length',None,0)
uploaded_bytes = cache.ram('X-Progress-ID:test:uploaded',None,0)
...
they are updated during
Browser : Chrome
On Tuesday, October 2, 2012 5:54:10 PM UTC+3, apps in tables wrote:
Hi everybody,
Let me describe the situation on the other side of the world.
env : windows , web2py 2.0.9 stable
application : has menus and submenus
behaviour :
on starting page
I seem to have run into a backwards compatibility issue.
This weekend, I did some system upgrades. I moved my web2py (1.99.7) +
MySQL application off a single server running Ubuntu to two VM's running
Debian stable (one VM for web2py + apache, one for MySQL). Web2py was
deployed using the
Hi Massimo,
many thanks. Actually, the problem was when I tried to make a general
example out of my business specific problem ;-) Before I translated my
problem into an example, there was actually not a many-to-many
relationship. For the purpose of this exercise, let's just assume that all
Hello,
Here html example of menu with bootstrap :
div class=nav-collapse
ul class=nav
*li class=divider-vertical/li*
*li class=active*a href=#i class=icon-home/i
Accueil/a*/li*
ul class=nav
I found it very difficult to
I know what the problem is. Please open a ticket about this so I do not
forget and I may fix it tonight.
This is a change in grid behavior and we do not promise backward
compatibility in grid because it is experimental.
Basically the we speeded up the grid but not generating the full Row(s)
Hi, is there a way to reload routes on command line?
For production use. Thanks guys!
--
I have an Apache-WSGI-web2py configuration that is working well.
Now I would like to add the behavior that requests on the bare domain
(something.com/what/ever) is rewritten to use www
(www.something.com/what/ever). In a generic Apache setup, this is easy
using a rewrite condition + rewrite
Thank you for your feedback, but I still can't repeat the problem you are
having. I will do more tests.
With regard to PortableApps, I was just sharing my happy experience: I make
continuous changes to the settings of my browser, so with repeated installs
and uninstalls. Using, instead, a
On Saturday, 8 September 2012 04:16:13 UTC+5:30, Massimo Di Pierro wrote:
One of the new features is that in admin you can use a git url to install
a web2py directly from github. You can also push
an app to github. All of this requires python-git.
Isn't that supposed to be gitpython?
--
You have a running process and you want to have a commandline to
communicate with it and reload routes ? There is no such thing baked on
web2py...
Use the admin app or restart the server: if you are running behind nginx,
apache co your users will never notice the restart.
On Tuesday, October
at that point isn't it better to wrap up your own menu serialization?
On Tuesday, October 2, 2012 6:34:32 PM UTC+2, Richard wrote:
Hello,
Here html example of menu with bootstrap :
div class=nav-collapse
ul class=nav
*li class=divider-vertical/li*
Maybe yes!
I workaround it by adding : ul class=navli
class=divider-vertical/li/ul
div class=nav-collapse
*ul class=navli class=divider-vertical/li/ul*
{{is_mobile=request.user_agent().is_mobile}}
{{if response.menu:}}
{{=MENU(response.menu,
This is what admin does, but this have to be executed within the
environent. You can have a controller to execute this:
def reload_routes():
Reload routes.py
import gluon.rewrite
gluon.rewrite.load()
redirect(URL('your_home_url'))
--
After further thought, I've flipped on this. Just create a separate table
for casual groups and link it to auth_user in a many-to-many relation
table. Call the M2M table user_groups.
Then create the following auth_group records:
- user_groups.create
- user_groups.read
- user_groups.select
hi
i have SQLFORM with checkboxes (widget).
if i choose one checkbox, type(request.varst.checkbox) is 'string'
and if i choose more than one checkbox, tpye(request.vars.checkbox) is
'list'
why choosing one checkbox does not return 'list'?
form =
I found an other little issue using last version of bootstrap with web2py
2.0.9
The icons disapears on rollover, only the blue highligth remain and the
inversed white texte of the a tag, but the i classicon-something/i
don't follow...
Can't find why...
These lines from web2py_bootstrap.css :
Richard,
the issue has been corrected some time ago. Please check the trunk version.
Anyway, you could replace
.icon-white{background-image:url(../images/glyphicons-halflings-white.png
);} /* right folder for bootstrap white images/icons */
with
/* right folder for bootstrap white
Thanks Paolo,
It works for welcome.
Still have difficulties with my app but I made many little changes maybe I
broke something somewhere.
Richard
On Tue, Oct 2, 2012 at 4:27 PM, Paolo Caruccio
paolo.carucci...@gmail.comwrote:
Richard,
the issue has been corrected some time ago. Please
Solved
Thanks Paolo, it was driving me nuts.
Richard
On Tue, Oct 2, 2012 at 4:39 PM, Richard Vézina
ml.richard.vez...@gmail.comwrote:
Thanks Paolo,
It works for welcome.
Still have difficulties with my app but I made many little changes maybe I
broke something somewhere.
Richard
On
Because in request.vars just contains the POST variables and the HTTP
protocol cannot distinguish a single checkbox from a normal input. If you
look into form.vars.checkbox you find it is always a list. The form knows
this is a checkbox, the request objects does not.
On Tuesday, 2 October 2012
Fair enough.
Adam, I am using Kickstrap already :)
On Monday, October 1, 2012 10:41:31 PM UTC-4, Massimo Di Pierro wrote:
The problem is that web2py scaffolding app is supposed to be simple. It is
already too complex for my taste. I like less but it adds one more layer of
abstraction for
Richard, are you the author of this message
https://groups.google.com/d/msg/web2py-developers/qKO_hLh2W9U/_UcR5GEp1ToJ?
If yes, in welcome app we have adopted the following solution:
body {height:auto;}
#header (margin-top:60px;}
without any body top padding.
In other words, you could set a
Yes I am!
This is nice.
It is just in case there is more menu entry than expect sometime, since I
show differents things depending of the role of the user and I don't always
take a look how the page are rendered for all the user when I make changes.
I would avoid at least they can't works with
ok, thx!
2012/10/2 Massimo Di Pierro massimo.dipie...@gmail.com
If you use trunk, please use the latest. I have no clue what was in trunk
on 2012-9-25. I was running lots of tests. It says stable but that was
trunk, not stable.
Massimo
On Tuesday, 2 October 2012 08:11:52 UTC-5, mweissen
On 2 Oct 2012, at 11:53 AM, Bruno Rocha rochacbr...@gmail.com wrote:
This is what admin does, but this have to be executed within the environent.
You can have a controller to execute this:
def reload_routes():
Reload routes.py
import gluon.rewrite
You could do that from the command line, too, with a python script.
I understood that it need to run under the current running environment
right? if I have a server running (apache) and I open a web2py console I
will have two different environments, how the routes reloaded on the shell
will be
On 2 Oct 2012, at 3:42 PM, Bruno Rocha rochacbr...@gmail.com wrote:
You could do that from the command line, too, with a python script.
I understood that it need to run under the current running environment right?
if I have a server running (apache) and I open a web2py console I will have
Yea, 2.0.9 didn't have the fix for this. That was an issue that I reported.
It just means you are trying to access the database view of a ticket and
there are no tickets.
On Tuesday, October 2, 2012 7:54:37 AM UTC-7, Massimo Di Pierro wrote:
If you use trunk, please use the latest. I have no
For me,
The using of datatable will make the menu hovering not working.
removed datatable and the menu is working fine...
Regards.
--
Scratch that, 1.99.7 didnt have my fix. This may be a different issue, or
it could be regression of an old issue.
My problem was that when I went to view tickets, if I clicked the db
button, it gave this error, because there was no tickets database.
On Tuesday, October 2, 2012 3:50:47 PM
On Mon, Oct 1, 2012 at 11:28 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
Does it support ssl?
Yes.
We need to benchmark it for non-linux environments. Also I am not sure about
the PycURL dependence for python2.5.
PycURL is only need for the http client part, to act as a server,
light tested against 3 apps and all seems to work fine so far.
Adnan
On Monday, October 1, 2012 10:32:16 PM UTC-4, Massimo Di Pierro wrote:
There is a big change in DAL.
a = DAL(uri)
b = DAL(uri)
now a is b because DAL is a singleton (almost). It is a thread local
singleton as long a
I also have been having the same issue. I'm running web2py 2.0.9
I only have one db = DAL statement.
All of my DAL is in models/db.py. I don't have any files in the modules
directory.
I haven't specifically stored a rows object in session, although the
controller does have a couple of the
Massimo, help please.
--
Just testing it now, Getting an error on GAE + CloudSQL:
File /Projects/www//applications/app/models/db.py, line 45, in module
auth.define_tables()
File /Projects/www/gluon/tools.py, line 1506, in define_tables
format='%(first_name)s %(last_name)s (%(id)s)'))
File
Sorry... there was supposed to be a 2 as well... i was making a numbered
list. These days my brain is not functioning as well as I would like given
my health.
My utility class does in fact use PyCrypto. What I was saying is PyCrypto
has to be compiled on the host it is being run on because
On 2 Oct 2012, at 8:51 PM, Dave dave.st...@gmail.com wrote:
Sorry... there was supposed to be a 2 as well... i was making a numbered
list. These days my brain is not functioning as well as I would like given
my health.
My utility class does in fact use PyCrypto. What I was saying is
The new (or maybe not so new, by now) app-specific routers is an excellent
idea. I love it.
Can I get some help regarding the use of it?
The following code is in my routes.py file, but it doesn't seem to work:
routers = {
app: dict(
default_language =
Potentially.
The way that I am storing the encrypted data is pretty standard. 16 byte
IV at the head of the encrypted data. It should be fairly compatible. I
have never looked at slowAES personally.
My reason for creating this was to facilitate symmetric encryption of
arbitrary data in my
Please open a ticket your your proposal and the link. This is a serious
possibility!
Can the monolitic build be automated?
On Tuesday, 2 October 2012 20:12:41 UTC-5, Ricardo Pedroso wrote:
On Mon, Oct 1, 2012 at 11:28 PM, Massimo Di Pierro
massimo@gmail.com javascript: wrote:
Does it
i added a comment to the ticket. GAE deprecated that some time ago and we
just didn't keep up. looks like it is updated in trunk.
cfh
On Monday, October 1, 2012 6:58:08 PM UTC-7, Massimo Di Pierro wrote:
What about this ticket?
54 matches
Mail list logo