Il giorno 04/gen/2011, alle ore 00.49, PhE ha scritto:
Following Massimo's advice on my previous post on file upload with
rocket/ssl, I decided to give another try to cherokee/web2py.
Now I've got reliable ssl file uploads : 4 successful uploads of a 5
MB file (3 to 4 minutes transfer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi :)
Yes, I am really sure. This is exact code of my controller.
def load_pers():
class Blah():
def __init__(self):
pass
def blah2():
return Blah()
p = cache.ram('blahblah',blah2,time_expire=30)
I am working on a form which inserts data into five different tables.
To prevent the user from filling in the entire form and after form
submission finding that the object already exists, I would like to
check the existence of an object before hand based on two form fields.
These are the relevant
Try to put the Blah class in the global scope of the controller. Do
you get same result?
2011/1/4 David Zejda d...@atlas.cz:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi :)
Yes, I am really sure. This is exact code of my controller.
def load_pers():
class Blah():
def
ok, in trunk.
On Jan 3, 8:34 pm, Fabiano fabianoeng...@gmail.com wrote:
Ok. By the way, If I may suggest, it would be a nice feature, and backward
compatible. As the id is an implied column and you must specify it explicit
when making references, I think it it would be even more consistent to
Why
+elif url.lower().startswith('url:'):
+ url=URL(*[part.strip('\'') for part in
url[4:].split(',')])
and not
+elif url.lower().startswith('url:'):
+ url=URL(*[part for part in
url[4:].split(',')])
Why the quotes?
This can be done but it would not prevent one use to write code (an
app) that reads or deletes another user app. As long as this is clear,
I coud modify admin for this purpose (or create another admin).
On Jan 3, 10:13 pm, VP vtp2...@gmail.com wrote:
I think it'll be convenient for multiple
Which browser? The browser is the issue.
On Jan 4, 1:49 am, dederocks dediro...@gmail.com wrote:
Hello,
There's been a weird bug in the built-in editor for some time now:
when you highlight a line, the highlight actually shows up two lines
above the selection. Any way to fix this?
Python
You problem is here:
_onclick=javascript:details('%s')%URL(r=request,f='retrieve',args=[document.getElementById(kvk_number).value,document.getElementById(subdossiernumber).value])))
because you have JS mixed with web2py code. Try this:
I am puzzled. Let me think about this.
Massimo
On Jan 4, 2:47 am, David Zejda d...@atlas.cz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi :)
Yes, I am really sure. This is exact code of my controller.
def load_pers():
class Blah():
def __init__(self):
instead of having common strings ready to be passed as arguments, you
would get strings that contain quotes in it. I guess...
Consider my example:
home url:'homepage','plugin_wiki','index'
you will get:
In [9]: url=url:\'homepage\',\'plugin_wiki\',\'index\'
In [10]: [part.strip('\'') for part
maybe this would even be a better option:
[part.strip('\'').strip('\') for part in url[4:].split(',')]
On Jan 4, 12:00 pm, blackthorne francisco@gmail.com wrote:
instead of having common strings ready to be passed as arguments, you
would get strings that contain quotes in it. I guess...
but why not simply
url:homepage/plugin_wiki/index
or
localurl:homepage/plugin_wiki/index
and no quotes?
On Jan 4, 6:00 am, blackthorne francisco@gmail.com wrote:
instead of having common strings ready to be passed as arguments, you
would get strings that contain quotes in it. I guess...
Yes I use sqlite as the default web2py database backend.
The record is created at the end of the transfer, why should have been
a lock during the transfer ?
This lock does not occur without Cherokee/uWSGI, why ?
To check this, what is the simplest controller code to achieve an
upload (without
Hello,
Below I am forwarding the email I sent to Di Pierro, speaking of a
suggestion I made in the module's CRUD web2py. As he asked to pass these
tips to the group, I thought it best to pass the same for everyone.
Hello,
I wanted to give more of an idea, because I realized one thing in the
There are two possibilities.
One was suggested by Roberto.
Another possibility is SQLite. It may block during the transfer if the
upload is done in DB and/or if there is an un-committed transaction.
massimo
On Jan 4, 2:09 am, Philippe ENTZMANN philippe.entzm...@gmail.com
wrote:
Yes I use
Thanks for the cue -- indeed, no problem with Chrome for example. I
use FF 3.6.13 on Win7.
On 4 jan, 12:51, mdipierro mdipie...@cs.depaul.edu wrote:
Which browser? The browser is the issue.
On Jan 4, 1:49 am, dederocks dediro...@gmail.com wrote:
Hello,
There's been a weird bug in the
On Tue, Jan 4, 2011 at 9:45 AM, mdipierro mdipie...@cs.depaul.edu wrote:
ok, in trunk.
Wow, don't you sleep? =)
As I am using and learning web2py, I've been reading its source-code
to understand the magic under the hood and to make a better use of
it. I am not confident yet to write my own
That way, you can use URL() to pass args [] and vars {} under the
web2py way. Have to test it though...
On Jan 4, 12:24 pm, mdipierro mdipie...@cs.depaul.edu wrote:
but why not simply
url:homepage/plugin_wiki/index
or
localurl:homepage/plugin_wiki/index
and no quotes?
On Jan 4, 6:00
I have used the http://web2pyslices.com/main/slices/take_slice/76 as
an example. But when I try to call the http://w2p.edu/welcome/default/
index I get a page with the next text: Internal error
Ticket issued: unknown.
I get back to the states in March and I was wondering what kind of
opportunities there are for a GoSC project with web2py?
I was thinking specifically in the writing tests area, the admin, and
documentation ( on the website specifically). I have been doing
research about it and it looks like
Cherokee does not uses thread? 4 processed with 1thread/process seems
limited.
On Jan 4, 7:34 am, PhE philippe.entzm...@gmail.com wrote:
Thank you !
Fixed ! Now, I can browse while an upload is in progress.
I just added the processes value to my uWSGI conf file :
uwsgi
This may be a permission issue as web2py cannot access the file system
(either looking the wrong folder or unable to read/write).
On Jan 4, 7:21 am, walter wdv...@gmail.com wrote:
I have used thehttp://web2pyslices.com/main/slices/take_slice/76as
an example. But when I try to call the
It happens in IE on Win7 too.
On Tuesday, January 4, 2011 7:32:24 AM UTC-5, dederocks wrote:
Thanks for the cue -- indeed, no problem with Chrome for example. I
use FF 3.6.13 on Win7.
On 4 jan, 12:51, mdipierro mdip...@cs.depaul.edu wrote:
Which browser? The browser is the issue.
I like the modified admin approach, it would be simpler, for teaching
purposes it would work, it would need to be modified for production style
scenarios as it would not be an acceptable risk.
On Tue, Jan 4, 2011 at 6:50 AM, mdipierro mdipie...@cs.depaul.edu wrote:
This can be done but it would
can nobody help me???
On 3 Jan., 23:13, pk peter.kirch...@youngdesigners.de wrote:
hi together,
i have a function for the onlineuser:
usersall=db(db.online.last_visittime.time()-dt)
(db.online.user_id==db.auth_user.id).select(db.auth_user.ALL)
return TABLE(*[TD(user.user_name) for user in
In the future there will be only one browser engine: webkit
--
Bruno Rocha
http://about.me/rochacbruno/bio
Broken here:
In [21]: url=\'f\',args=[\'x\',\'y\'],vars=dict(z=\'t\')
In [22]: [part.strip('\'').strip('\') for part in url[4:].split(',')]
Out[22]: [args=['x, y'], vars=dict(z='t')]
Just use:
elif url.lower().startswith('url:'):
url=eval(URL( + url[4:] +
On Mon, Jan 3, 2011 at 8:49 PM, Dragonfyre13 dragonfyr...@gmail.com wrote:
Thought this might be interesting to someone, as it took me digging
through the pysimplesoap code to figure out. So I'll record it here
for posterity.
In web2py, I needed a soap service that can have one to many sets
Just worked for me! Thanks.
PS.: This documentation page confused me:
http://web2py.com/book/default/chapter/06#count,-delete,-update
On 3 jan, 15:16, mdipierro mdipie...@cs.depaul.edu wrote:
It is not
user.update(pass = request.vars.new_pass)
it is
user.update_record(pass =
I would like the job to terminate on leaving the page. I can easily
achieve this via an unload event that notifies the server via ajax
that the job needs cancelling. This would also prevent multiple jobs
running if the page is refreshed.
Using XML-RPC certainly looks better than using the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Whenever in controller/model is the class declared, the same result.
Michele Comitini wrote:
Try to put the Blah class in the global scope of the controller. Do
you get same result?
- --
David Zejda, Open-IT cz
web development services
Massimo,
Thanks for your reply. I tried:
form[0][2][2].insert(0,A('already in
database?',_onmouseover=this.style.cursor='pointer';,_onclick=javascript:details('%s/'+
$('#kvk_number').val()+'/'+$
('#subdossiernumber').val())%URL(r=request,f='retrieve')))
In the view this is rendered as follows:
The model are missing for db.online
Richard
On Mon, Jan 3, 2011 at 5:13 PM, pk peter.kirch...@youngdesigners.de wrote:
hi together,
i have a function for the onlineuser:
usersall=db(db.online.last_visittime.time()-dt)
(db.online.user_id==db.auth_user.id).select(db.auth_user.ALL)
return
Hi Marco, I’m currently looking for a Python Developer with knowledge of
C++ for leading financial institution. They need developers with excellent
Python and strong knowledge of C++ development. The role will involve
working on a complex trading system and will require candidates to create
and
In trunk.
- Deploy the latest admin
- edit file applications/admin/models/0.py and set
MULTI_USER_MODE = True
- Try access admin and it will require registration/login
- The first user to register is teacher (can see all apps)
- All other users are students (can only see/edit/create their own
There cannot be eval in there. The plugin may be in level=1 (secure
mode).
On Jan 4, 8:38 am, blackthorne francisco@gmail.com wrote:
Broken here:
In [21]: url=\'f\',args=[\'x\',\'y\'],vars=dict(z=\'t\')
In [22]: [part.strip('\'').strip('\') for part in url[4:].split(',')]
Out[22]:
How can I capture the name of the user logged in and put in the view,
without
links to Login, and Register Lose Password?
_
*Gilson Filho*
*Desenvolvedor Web
Blog:* gilson-filho.blogspot.com
*Twitter:* twitter.com/gilsonfilho
Thanks Massimo,
Checking out trunk now.
On Tue, Jan 4, 2011 at 10:49 AM, mdipierro mdipie...@cs.depaul.edu wrote:
In trunk.
- Deploy the latest admin
- edit file applications/admin/models/0.py and set
MULTI_USER_MODE = True
- Try access admin and it will require registration/login
- The
can you show us the guppy stats before and after caching? without
caching any db object?
can you also email me the entire app code?
On Jan 4, 9:15 am, David Zejda d...@atlas.cz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Whenever in controller/model is the class declared, the same
{{=session.auth.user.first_name}}
{{=session.auth.user.last_name}}
session
auth:
expiration:
3600
last_visit:
datetime.datetime(2011, 1, 4, 14, 0, 42, 458812)
user:
email:
rochacbr...@gmail.com
first_name:
bruno
id:
1
last_name:
rocha
password:
xxx
registration_key:
reset_password_key
Thank you.
_
*Gilson Filho*
*Desenvolvedor Web
Blog:* gilson-filho.blogspot.com
*Twitter:* twitter.com/gilsonfilho
2011/1/4 Bruno Rocha rochacbr...@gmail.com
{{=session.auth.user.first_name}}
{{=session.auth.user.last_name}}
session
auth :
no local urls for secure mode... yes/no?
On Jan 4, 3:51 pm, mdipierro mdipie...@cs.depaul.edu wrote:
There cannot be eval in there. The plugin may be in level=1 (secure
mode).
On Jan 4, 8:38 am, blackthorne francisco@gmail.com wrote:
Broken here:
In [21]:
On Jan 4, 2011, at 7:19 AM, annet wrote:
Thanks for your reply. I tried:
form[0][2][2].insert(0,A('already in
database?',_onmouseover=this.style.cursor='pointer';,_onclick=javascript:details('%s/'+
$('#kvk_number').val()+'/'+$
('#subdossiernumber').val())%URL(r=request,f='retrieve')))
I have no objection to local URL. but the author of the menu may not
be the administrator therefore we cannot eval(...) text in the meta-
menu. This poses restrictions on what we can put in there. I suggest
we just allow
page_name /controller/action/arg1/arg2?a=b
and if this starts with / this
We have that
form.element(...)
form.elements(...)
both take jQuery syntax.
Massimo
On Jan 4, 10:13 am, Jonathan Lundell jlund...@pobox.com wrote:
On Jan 4, 2011, at 7:19 AM, annet wrote:
Thanks for your reply. I tried:
form[0][2][2].insert(0,A('already in
fine with me
any solution for POST method?
On Jan 4, 4:25 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I have no objection to local URL. but the author of the menu may not
be the administrator therefore we cannot eval(...) text in the meta-
menu. This poses restrictions on what we can put
Are we still talking about menu links? Why should a menu item perform
a post?
On Jan 4, 10:31 am, blackthorne francisco@gmail.com wrote:
fine with me
any solution for POST method?
On Jan 4, 4:25 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I have no objection to local URL. but the
Building a testing platform would be spectacular! We really need something
to test all the features of web2py.
I would also love to see a system that can monitor visits and other things
like apache does.
Best Regards,
Jason
On Tue, Jan 4, 2011 at 3:56 PM, James Hancock jlhanc...@gmail.com wrote:
among other reasons because you can bring down the server just by
typing
2.2250738585072011e-308
in a web form integer value. (exploit requires 32bits machine).
Source:
http://www.exploringbinary.com/php-hangs-on-numeric-value-2-2250738585072011e-308/
Wow, I like that one. :P
On Tue, Jan 4, 2011 at 6:35 PM, mdipierro mdipie...@cs.depaul.edu wrote:
among other reasons because you can bring down the server just by
typing
2.2250738585072011e-308
in a web form integer value. (exploit requires 32bits machine).
Source:
Latest upgrade to web2py appears to have changed the name for
parameters in a background process.
Yesterday I was running a background process using
subprocess.Popen(c:/python27/python %s/web2py.py -S scraper -M -N -R
%s \
%(os.getcwd(),
Hi All,
I picked this effort up again and wanted to see if anyone else has had
success with a scenario like this. I had tried a while back but Jython
and modjy was still maturing and ran into some platform issues.
First off, here are the components I'm using:
* Windows XP SP3
* Tomcat 6.0.29
*
Massimo,
Nice! It works... so as long as I register first I'm the teacher :).
I'm just looking at web2py again in the last few weeks. I'm very happy to
help with documentation of this feature. Just point me in the right
direction.
see: Screenshot below:
[image: user login.jpg]
On Tue, Jan 4,
sorry, I was considering on using the same code to the wiki pages in
the markmin syntax so that you could also make this kind of links in
wiki pages.
[[name http://example.com, args=[], vars={}]]
Other thing, you might want to consider...
check your example
page_name
Nice bug
2011/1/4 Jason (spot) Brower encomp...@gmail.com
Wow, I like that one. :P
On Tue, Jan 4, 2011 at 6:35 PM, mdipierro mdipie...@cs.depaul.edu wrote:
among other reasons because you can bring down the server just by
typing
2.2250738585072011e-308
in a web form integer value.
Thanks! this will ne very usefull for me too.
2011/1/4 mdipierro mdipie...@cs.depaul.edu
In trunk.
- Deploy the latest admin
- edit file applications/admin/models/0.py and set
MULTI_USER_MODE = True
--
Bruno Rocha
http://about.me/rochacbruno/bio
Just a note. There was no option to register.
I had to visit localhost:8000/admin/default/user/register
On Tue, Jan 4, 2011 at 11:44 AM, David Bain pigeonfli...@gmail.com wrote:
Massimo,
Nice! It works... so as long as I register first I'm the teacher :).
I'm just looking at web2py again in
Oops. I missed a file in the commit. adding it now.
One more caveat. For security, the first user is the teacher and
registration is enabled by default.
For all other users of admin (students) registration requires
verification. That means the teacher must login, user /admin/appadmin
and clear
Okay... I've started hacking the Teaching version of web2py. Hardcoded my
own twitter feed.
I think it would be nice to offer custom feeds on the admin page:
see screenshot below:
[image: site.jpg]
On Tue, Jan 4, 2011 at 11:47 AM, Bruno Rocha rochacbr...@gmail.com wrote:
Thanks! this will ne
It would be nice to have some documentation. For now even a simple
blog post that explains purpose, how to, and shows some screen shots
will do.
Massimo
On Jan 4, 10:44 am, David Bain pigeonfli...@gmail.com wrote:
Massimo,
Nice! It works... so as long as I register first I'm the teacher :).
This is a big can of worms... Do we really need to pass vars?
On Jan 4, 10:45 am, blackthorne francisco@gmail.com wrote:
sorry, I was considering on using the same code to the wiki pages in
the markmin syntax so that you could also make this kind of links in
wiki pages.
Possible bug:
The teacher account is fine. However I created my first student account and
was unable to log in with the credentials.
Here's my checklist of nice to have features
--
- Bulk import of users from a csv
- by default
I missed the part about verification. That's probably the issue.
On Tue, Jan 4, 2011 at 11:56 AM, mdipierro mdipie...@cs.depaul.edu wrote:
Oops. I missed a file in the commit. adding it now.
One more caveat. For security, the first user is the teacher and
registration is enabled by default.
One more caveat. For security, the first user is the teacher and
registration is enabled by default.
I haven't tried this, but will soon. One question: Would the password
of the first user be the same as the password given to web2py?
Thanks.
VP,
No the password is the password that the first user signs up with.
On Tue, Jan 4, 2011 at 12:10 PM, VP vtp2...@gmail.com wrote:
One more caveat. For security, the first user is the teacher and
registration is enabled by default.
I haven't tried this, but will soon. One question: Would
I'm wondering about the authentication issue. I'm working behind a firewall
which blocks port 587 (used to communicate with gmail), which I'd like to
use as my smtp server.
I think for my use case I have two options:
1. Host the server in front of the firewall
2. Host the email sending
Okay. Thanks.
On Jan 4, 11:13 am, David Bain pigeonfli...@gmail.com wrote:
VP,
No the password is the password that the first user signs up with.
On Tue, Jan 4, 2011 at 12:10 PM, VP vtp2...@gmail.com wrote:
One more caveat. For security, the first user is the teacher and
registration is
Well, I see your view.
In some cases, you can just use %20 instead of white space but not if
that is part of the argument.
example:
http://prernalal.com/banned%20books/ == http://prernalal.com/banned
books/ - valid
http://example.com/?page=banned%20books; != http://example.com/?page=banned
books
Look at the comments below the post.
On Tue, Jan 4, 2011 at 5:46 PM, Martín Mulone mulone.mar...@gmail.com wrote:
Nice bug
2011/1/4 Jason (spot) Brower encomp...@gmail.com
Wow, I like that one. :P
On Tue, Jan 4, 2011 at 6:35 PM, mdipierro mdipie...@cs.depaul.edu wrote:
among other
Okay the register button is now present :)
[image: user login-1.jpg]
On Tue, Jan 4, 2011 at 12:17 PM, VP vtp2...@gmail.com wrote:
Okay. Thanks.
On Jan 4, 11:13 am, David Bain pigeonfli...@gmail.com wrote:
VP,
No the password is the password that the first user signs up with.
On Tue,
Upon thinking about this, I think your solution will address the base
layout, from which each view extends. Right?
What I want is that there are different views for (for instance) each
function
+ Index: view/default/index.html, view/default/index.ipad.html, view/
default/index.mobile.html
+
On Jan 4, 2011, at 8:26 AM, mdipierro wrote:
We have that
form.element(...)
form.elements(...)
both take jQuery syntax.
So the construction below can be expressed that way?
Massimo
On Jan 4, 10:13 am, Jonathan Lundell jlund...@pobox.com wrote:
On Jan 4, 2011, at 7:19 AM, annet
I think we can go this way:
page_name /controller/action/arg1/arg2?a='Welcome page2'
but I would make so that the quotes optional (if provided content will
be replaced by urllib.quote(content).
Would you send me a revised patch?
On Jan 4, 11:21 am, blackthorne francisco@gmail.com
How does the generated form look like.
Perhaps ('#kvk_number') should be ('input[name=kvk_number]') and
('#subdossiernumber') should be ('input[name=subdossiernumber]')
On Jan 4, 9:19 am, annet annet.verm...@gmail.com wrote:
Massimo,
Thanks for your reply. I tried:
yes.
instead of
form[0][2][2].insert(0,...)
use
form.element('#table_field__row TD.w2p_fc').insert(0,...)
Not sure it is easier in this case.
table_field__row is the id of the row for table.field
w2p_fc is the class name of the comment column.
Massimo
On Jan 4, 11:32 am, Jonathan
On Jan 4, 11:07 am, David Bain pigeonfli...@gmail.com wrote:
Possible bug:
The teacher account is fine. However I created my first student account and
was unable to log in with the credentials.
Here's my checklist of nice to have features
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi :)
You may check the issue even with the default simple application created
by web admin. Simply add this to the default controller:
class Blah():
def __init__(self):
pass
def blahstuff():
p =
@mdpierro,
More flags in 0.py would be good enough (tm) for my use case.
On Tue, Jan 4, 2011 at 1:01 PM, mdipierro mdipie...@cs.depaul.edu wrote:
On Jan 4, 11:07 am, David Bain pigeonfli...@gmail.com wrote:
Possible bug:
The teacher account is fine. However I created my first student
Massimo,
Perhaps ('#kvk_number') should be ('input[name=kvk_number]') and
('#subdossiernumber') should be ('input[name=subdossiernumber]')
Yes, problem solved! Thanks.
instead of:
form[0][2][2].insert(0,...)
use:
form.element('#table_field__row TD.w2p_fc').insert(0,...)
Not sure it is
With mssql2:// it gives another error:
Thread-7 2011-01-04 13:34:58,770 ERROR login() Traceback (most recent call
last):
File c:\web2py\applications\scandabamc/controllers/default.py, line 129,
in login
user = _find_user_by_name(request.vars.username)
File
When I try to access /admin/appadmin in Multiuser/Teaching mode.
I get an error.
see traceback below:
Traceback (most recent call last):
File /home/user/web2pytrunkagain/gluon/restricted.py, line 188, in
restricted
exec ccode in environment
File
#
## Tabelle Onlineuser
#
db.define_table('online',
SQLField('user_id',db.auth_user),
SQLField('last_visit','integer'))
is that a modified version of Instant Press?
For our open source scientific programming group (the.hacker.within), I
combined of the WordPress Clone and the wiki plugin. Replacing 'Read Full
Story' with 'Wiki support materials', e.g.
http://hackerwithin.org/thw/plugin_wiki/page/welcome
What permissions should I install?
On 4 янв, 16:27, mdipierro mdipie...@cs.depaul.edu wrote:
This may be a permission issue as web2py cannot access the file system
(either looking the wrong folder or unable to read/write).
On Jan 4, 7:21 am, walter wdv...@gmail.com wrote:
I have used
On Mon, Jan 3, 2011 at 5:13 PM, pk peter.kirch...@youngdesigners.de wrote:
hi together,
i have a function for the onlineuser:
usersall=db(db.online.last_visittime.time()-dt)
(db.online.user_id==db.auth_user.id).select(db.auth_user.ALL)
This line should be :
Ok and how do you fill up this table?
By the way SQLField is deprecated... Use Field() instead.
Richard
On Tue, Jan 4, 2011 at 2:43 PM, pk peter.kirch...@youngdesigners.de wrote:
#
## Tabelle Onlineuser
This is odd. I can reproduce the problem. What is even stranger is
that if I call blahstuff once the count doubles from 24 to 48 but if I
blahstuff more than once (even if with lower cache time) it does not
increase the counter more than 48.
I also tried caching a lambda:repr(Blah()) as opposed
Can you try comment these two lines in gluon/fileutils.py
if request.application == other_application:
raise KeyError
Does this fix the problem?
Massimo
On Jan 4, 1:10 pm, David Bain pigeonfli...@gmail.com wrote:
When I try to access /admin/appadmin in Multiuser/Teaching mode.
I
David,
please open a ticket here also:
https://code.google.com/p/web2py/issues/entry
2011/1/4 mdipierro mdipie...@cs.depaul.edu:
This is odd. I can reproduce the problem. What is even stranger is
that if I call blahstuff once the count doubles from 24 to 48 but if I
blahstuff more than once
2011/1/4 Branko Vukelić stu...@brankovukelic.com:
Look at the comments below the post.
?
I changed the title because it is not technically a leak.
A leak is when memory is allocated but not referenced and therefore
the amount of memory grows with time.
In this case - when cache.ram is used to cache an object - reloading
the url does not cause additional memory loss which means the
sure, I'm just not sure what you mean with optional quotes.
e.g.:
page_name /controller/action/arg1/arg2?a='Welcome page2'
/Computers /controller/action/arg1/arg2?a=Hello Computer
should become:
page_name - /controller/action/arg1/arg2?a='Welcome page2'
/Computers -
I mean
page_name /controller/action/arg1/arg2?a='Hello Computer'b=5
page_name /controller/action/arg1/arg2?a=Hello+Computerb=5
Should be equivalent. So the code should:
0) If path starts with /
1) use regex to find '(?Px.*(?!))' and replace with
urllib.quote(math.group('x'))
2) break the URL
I think this is now fixed.
On Jan 4, 1:10 pm, David Bain pigeonfli...@gmail.com wrote:
When I try to access /admin/appadmin in Multiuser/Teaching mode.
I get an error.
see traceback below:
Traceback (most recent call last):
File /home/user/web2pytrunkagain/gluon/restricted.py, line 188,
what if?
menu item path possible arg
/Computer_option /path/function?a=/Computer /option
/Computer /option /path/function?a='/Computer /option'
/Computer_option page:computer
I'm complicating, I know but I'm sure that could find more realistic
examples
I didn't get much out of commenting out those lines. In Chrome I got an
unresolvable url.
On Tue, Jan 4, 2011 at 4:47 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I think this is now fixed.
On Jan 4, 1:10 pm, David Bain pigeonfli...@gmail.com wrote:
When I try to access /admin/appadmin in
The second beta of the new routing logic is in the trunk. The example file
isn't quite up to date as I write, but it will be shortly. The text below is
taken from it.
The underlying logic hasn't changed significantly, but the format of the
routes.py file is new. You now specify routers, a dict
never mind. should now be fixed in trunk.
On Jan 4, 4:05 pm, David Bain pigeonfli...@gmail.com wrote:
I didn't get much out of commenting out those lines. In Chrome I got an
unresolvable url.
On Tue, Jan 4, 2011 at 4:47 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I think this is now fixed.
I do not understand the notation you propose. Are you suggesting a= to
specify args? Why the / on the right of =?
On Jan 4, 3:55 pm, blackthorne francisco@gmail.com wrote:
what if?
menu item path possible arg
/Computer_option /path/function?a=/Computer
1 - 100 of 132 matches
Mail list logo