new testing:
SERVER KERNEL
--prints
r8750.04898
r822ini 0.03070 1.60x
--silent
r8750.04914
r822ini 0.03049 1.61x
So I get much more consistent results on this hardware.
While this is obviously not the best perfomance (my weaker box,
with less RAM, troubled with video output 128
it might help to have tests in a state that you can ask others to run them;
a dozen or so other random boxes will help you gain the confidence you
seek I think
On Tue, Jun 9, 2009 at 2:12 AM, Alexey Nezhdanov wrote:
>
> new testing:
>
> SERVER KERNEL
> --prints
> r8750.04898
On Jun 9, 7:42 am, mdipierro wrote:
> I know I need to install sqlite-jdbc-3.6.14.2.jar but I have no idea
> what to do with it. help?
May help:
http://wiki.python.org/jython/JythonFaq/InstallingJython#JythoncannotfindyourJavaclass.2Ceventhoughitexistsintheclasspath.
F
--~--~-~--~~-
When it runs as windows service it shows, well, not python, I was
wrong, it shows the path to that utility that is used to run as
service... I think if request.env.web2py_path always gives realpath to
web2py directory that would be enough.
On Jun 9, 10:44 am, mdipierro wrote:
> I am not convinc
Massimo,
r992 did not fix the login_next problem.
In db.py I have:
auth.settings.login_url=URL(r=request,c='authentication',f='login')
auth.settings.login_next=URL(r=request,c='core',f='index')
auth.settings.logout_next=URL(r=request,c='default',f='index')
In 1.61.4 the first two worked, in 1.
In version 1.61.4 these settings sufficed to retrieve the username and
password:
## mailer
mail=Mail()
## specify your SMPT server
mail.settings.server='smtp.gmail.com:587'
## specify your email address
mail.settings.sender='@gmail.com'
## optional: specify your user name and password for
prints:
SELECT dog.name, dog.name, dog.name FROM LEFT JOIN dog ON
dog.id=dog.father_id LEFT JOIN dog ON dog.id=dog.mother_id;
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to t
You probably right. But I can't give away the project I'm testing it
on and don't yet 'ready' to write a separate one exclusively for
testing.
I'm still fighting with getting stable results even on this box :(
On Tue, Jun 9, 2009 at 11:17 AM, Yarko Tymciurak wrote:
> it might help to have tests
Hi
On 7 Giu, 23:13, mdipierro wrote:
> I did not realize one had to login. I will post it somewehere else
> too, together with source (ppt and keynote) asap.
>
wow.
There's alredy a link?
I would appreciate very much ppt or keynote version.
--~--~-~--~~~---~--~
Hi together,
how can I delete a content (row) from the table with a security
question. for example: "Are you sure to delete the project? yes - no"
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web F
Wrote 'optimised inits v2' patch. Tested everything.
Once again I changed my testing pattern a bit.
1) I dumped my own timing tool in favor of much more standard
'ab' (apache benchmark).
2) I decidedly will publish all these results in two main.
I just finished first round of testing. Here are r
Hi,
I´ve a table called project and i have another table called
projectfile. How can i reference automaticlly the project.id in the
table projectfile?
this is my code, but it`s wrong:
db.define_table('projectfile',
SQLField('projectid', default=project.id,
writable=False, readab
ok... from the Makefile I could use:
python -c 'import compileall;
compileall.compile_dir("applications/myapplication")'
to build it.
will it run the unit tests too ?
if yes, how do I know how many tests have failed ?
thanks
On Mon, Jun 8, 2009 at 10:20 PM, mdipierro wrote:
>
> What Han
Alexei Vinidiktov wrote:
> On Mon, Jun 8, 2009 at 11:29 AM, mdipierro wrote:
> >
> > Hi Richard,
> >
> > the gmail authentication is not based on open-id (yet). it presents
> > you with a standard login form. It tried to log you in via the normal
> > auth_user table. It it fails, it tried to ver
I have done the same but with:
http://digitarald.de/project/roar
They have very nice things on that site.
/T
mr.freeze wrote:
> I don't like having to click on response.flash to close it so I
> replaced it with this:
> http://stanlemon.net/projects/jgrowl.html
> Just thought I would share.
--~-
Cant auth be changed somhow to it will be easier to extend like this:
db.define_table('auth_user2',
db.auth_user,
SQLField('nickname'),
SQLField('image','upload'))
The problem to day is the:
table.email.requires = [IS_EMAIL(), IS_NOT_IN_DB(db, '%s.e
Results of second set of test runs:
r87545.523ms
r88220.614ms
inits v.1 18.464ms
inits v.2 18.677ms
inits1+lazyT15.377ms
inits2+lazyT15.280ms
Observed noise was 0.502ms for slowest execution (90:1
signal-to-noise) and 0.889ms for fastest execution (16:1
Forgot about patches. Here they are.
'optimised inits v.2'
'lazy tables' (this one is modified to be applicable to trunk version of
sql.py)
On Tue, Jun 9, 2009 at 3:10 PM, Alexey Nezhdanov wrote:
> Results of second set of test runs:
>
> r87545.523ms
> r88220.614ms
> init
On Jun 9, 10:30 am, pk wrote:
> how can I delete a content (row) from the table with a security
> question. for example: "Are you sure to delete the project? yes - no"
Look at make_delete_row() in this file:
http://trac.sahanapy.org/browser/views/sahana_scripts_min.html
URL2() is defined here:
On Jun 9, 10:56 am, pk wrote:
> I´ve a table called project and i have another table called
> projectfile. How can i reference automaticlly the project.id in the
> table projectfile?
> db.define_table('projectfile',
> SQLField('projectid', default=project.id,
> writable=False, rea
ok i will try, thanks for your help
On 9 Jun., 13:47, Fran wrote:
> On Jun 9, 10:56 am, pk wrote:
>
> > I´ve a table called project and i have another table called
> > projectfile. How can i reference automaticlly the project.id in the
> > table projectfile?
> > db.define_table('projectfile',
>
hi all, is there a validator or an easy way to prevent a user to
delete a record if there are other records referencing it? Just to
make an example: consider the 'images' application in cookbook2.pdf. I
would like that the user cannot delete an image if there are comments
referred to it (it would
On Jun 9, 11:42 am, Robert Marklund wrote:
> Cant auth be changed somhow to it will be easier to extend like this:
> db.define_table('auth_user2',
> db.auth_user,
> SQLField('nickname'),
> SQLField('image','upload'))
> The problem to day is the:
> t
Hi,
I've another question:
Every user should upload files and i create a table called
projectfile.
db.define_table('projectfile',
SQLField('userid', default=auth.user.id if auth.user
else 0, writable=False, readable=False),
SQLField('procreator', default=auth.user
Finally, I started migration (before I was just slapping sql.py, checked out
of the trunk over my ancient 1.61.4 install).
Migration is not easy, I've been bending source for my needs so now I have
to port all this to 1.63.5. Massimo, do you have any objections to this
patch? I proposed it some tim
Wanted to attach test data as well but automatically clicked 'send' and
oops... it gone.
Here are couple of test runs:
1.63.544.572
On Tue, Jun 9, 2009 at 4:14 PM, Alexey Nezhdanov wrote:
> Finally, I started migration (before I was just slapping sql.py, checked
> out of the trunk over my ancient
Ooooh...That's nice too. Massimo, should one of these (probably a
jQuery based one) replace the default response.flash behavior to give
web2py some more pizazz out of the box? Also, what are your thoughts
on including jQueryUI with web2py and replacing the current default
clunky calendar with the
:( using web interface is inconvenient. Ignore last mail, resending:
-
Wanted to attach test data as well but automatically clicked 'send' and
oops... it gone.
Here are couple of test runs:
1.63.5 44.572ms
1.63.5 44.898ms
detected noise 0.326ms (136:1 signal-to
I will take a stab at the active directory implementation ASAP.
On Jun 8, 11:52 pm, mdipierro wrote:
> only mode='uid' is implemented. I could use help debugging/
> implementing the other modes
>
> Massimo
>
> On Jun 8, 10:38 pm, "mr.freeze" wrote:
>
>
>
> > Sorry, I saw 'raise SyntaxError, "No
Sorry for being picky on this. I think the database is not a suitable
place either to store a 'application instance initialized flag'.
Reason:
1) the db can be used by more than one instance of the app
2) if the app stops execution without setting back the 'db record' to
'app not initialized' - li
Hi Marco,
if you mean at db level, it depends on your db engine. To my
knowledge, in Sqlite you can not get foreign key constraints ("on
delete=cascade" or similar is not effective) but you have to use
Triggers to achieve the same result. Foreign keys constraints though
can be enforced in most of
Marco,
Did you test this in Sqlite:
db.define_table('table',
db.Field('field',...,ondelete='RESTRICT'),
migrate='table.table')
It does set the ON DELETE to RESTRICT in the foreign key constraint in
Postres.
Annet.
--~--~-~--~~~---~--~~
You received
Foreign key constraints are not implemented in Sqlite (although it
parses the command).
See: http://www.sqlite.org/omitted.html
but you can use triggers.
carlo
On 9 Giu, 15:46, annet wrote:
> Marco,
>
> Did you test this in Sqlite:
>
> db.define_table('table',
> db.Field('field',...,ondel
sorry, should have been:
db().select(db.dog.name, father.name, mother.name,
left=(father.on(father.id==db.dog.father_id),
mother.on(mother.id==db.dog.mother_id)))
On Jun 9, 3:03 am, Peter Etchells wrote:
> prints:
> SELECT dog.name, dog.name, d
Uploading another version to trunk. Please give it another try
On Jun 9, 1:49 am, Fran wrote:
> On Jun 9, 1:53 am, mdipierro wrote:
>
> > please try revision 892
>
> Seems to fix that problem, but creates a new one:
>
> I have a table which has a parent-child hierarchy, so has a reference
> to
Does this mean the fix is wrong but we still have a problem to fix? or
does it mean it works as it is?
On Jun 9, 2:27 am, SergeyPo wrote:
> When it runs as windows service it shows, well, not python, I was
> wrong, it shows the path to that utility that is used to run as
> service... I think if
Right now there are two possibilities:
- if web2py redirects you to login, after login, login redirects you
to the referencing page
- if you go to the login page without redirection, after login, you go
to login_next
I think what you see is consistent with this behavior. Am I wrong?
Massimo
On
I think you are mssing
auth.settings.mailer=mail
On Jun 9, 2:43 am, annet wrote:
> In version 1.61.4 these settings sufficed to retrieve the username and
> password:
>
> ## mailer
> mail=Mail()
>
> ## specify your SMPT server
> mail.settings.server='smtp.gmail.com:587'
>
> ## specify your email
Massimo,
The latest trunk (rev 1014) works as designed.
Christopher
mdipierro wrote:
> This I cannot reproduce. Please try the latest trunk anyway.
>
> On Jun 9, 12:16 am, cesmiga wrote:
> > Just another note on this issue. While running...
> >
> > #> ./web2py.py -S testapp
> >
> > after the
I will post keynote and ppt versions tonight.
Massimo
On Jun 9, 4:05 am, LordMax wrote:
> Hi
>
> On 7 Giu, 23:13, mdipierro wrote:
>
> > I did not realize one had to login. I will post it somewehere else
> > too, together with source (ppt and keynote) asap.
>
> wow.
>
> There's alredy a link?
No you have to run the tests one by one
cd gluon/tests
python test_html.py
...
On Jun 9, 5:09 am, "Sebastian E. Ovide"
wrote:
> ok... from the Makefile I could use:
>
> python -c 'import compileall;
> compileall.compile_dir("applications/myapplication")'
>
> to build it.
>
> will it run the un
There is a reference to project.pname that I do not underastand so I
can only give you a partial answer.
You want to specify a filter as first argument of IS_IN_DB
db.projectfile.projectname.requires=IS_IN_DB(db
(db.project.userid==auth.user.id),
'project.pname', '%(pname)s')
On J
I would prefer to minimize the amount of JS that ships with the
scafolding app. It makes it easier to customize it.
I do not object to making admin more sophisticate and flashier.
Massimo
On Jun 9, 7:28 am, "mr.freeze" wrote:
> Ooooh...That's nice too. Massimo, should one of these (probably a
This confirms the 2.5x speedup of trunk vs stable.
It will take me some time to go over the other patches but I will.
Thanks Alexey.
Massimo
On Jun 9, 6:10 am, Alexey Nezhdanov wrote:
> Results of second set of test runs:
>
> r875 45.523ms
> r882 20.614ms
> inits v.1
Massimo,
I think it is a good idea to substitute the current calendar with a
more straightforward one. I had a look at the dynarch site, the
calender we use in web2py has been moved to the 'old stuff'
section ...
I would prefer a calendar like the one demonstrated here:
http://jqueryui.com/demo
thanks but i get a now an error:
Traceback (most recent call last):
File "gluon/restricted.py", line 98, in restricted
File "/Applications/web2py1.62/web2py.app/Contents/Resources/
applications/2busy/models/db.py", line 104, in
AttributeError: 'NoneType' object has no attribute 'id'
Using latest trunk 1014 and starting from empty app the table
definition fails:
db = SQLDB('sqlite://storage.sqlite')
db.define_table('dog',
SQLField('name'),
SQLField('father_id','reference dog'),
SQLField('mother_id','reference dog'))
Traceback (most recent call last):
File "D:\w
I agree about 1 and 2. I do not thing logging belongs to cache either.
i think we want something like
request.log(message)
which does something like.
open(os.path.join(request.folder,'app.log'),'w').write(message
+'\n')
Am I wrong? The problem is that this naive approach would bypass OS
yes but the one we have does date and datetime. The other one does not
do datetime. Am I wrong?
On Jun 9, 9:32 am, annet wrote:
> Massimo,
>
> I think it is a good idea to substitute the current calendar with a
> more straightforward one. I had a look at the dynarch site, the
> calender we use i
Massimo,
Uncommenting auth.settings.mailer=mail solved the problem.
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
if auth.is_logged_id():
db.projectfile.projectname.requires=IS_IN_DB(db
(db.project.userid==auth.user.id),'project.pname','%(pname)s')
else you do not have a user id.
why are you still on 1.62? ;-)
On Jun 9, 9:34 am, pk wrote:
> thanks but i get a now an error:
> Traceback (most recent ca
Try 1015. It seems the previous commit failed. Works for me.
Massimo
On Jun 9, 9:35 am, DenesL wrote:
> Using latest trunk 1014 and starting from empty app the table
> definition fails:
>
> db = SQLDB('sqlite://storage.sqlite')
> db.define_table('dog',
> SQLField('name'),
> SQLField('fa
now i get the next error :(
Traceback (most recent call last):
File "gluon/restricted.py", line 98, in restricted
File "/Applications/web2py1.62/web2py.app/Contents/Resources/
applications/2busy/models/db.py", line 103, in
AttributeError: 'Auth' object has no attribute 'is_logged_id'
i will
Same error with 1015.
Did you start from new app?
Steps:
Create new app in admin
Edit db.py to add define_table as above
Click "database administration" in appadmin
Internal error ticket
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Massimo,
No, you're right, however, I prefer a more straightforward date-picker
to the awkward date- and date-time-picker.
Kind regards,
Annet
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework"
Massimo,
> Right now there are two possibilities:
>
> - if web2py redirects you to login, after login, login redirects you
> to the referencing page
> - if you go to the login page without redirection, after login, you go
> to login_next
>
> I think what you see is consistent with this behavior.
I feel this is a matter of taste.
The current one looks more cluttered but that is because it offers
more info and options to the user.
Try selecting June 2010 with the jqueryui one.
I prefer the current one.
--~--~-~--~~~---~--~~
You received this message because
ok i`ve solved my problem with
if auth.is_logged_in():
db.projectfile.projectname.requires=IS_IN_DB(db
(db.project.userid==auth.user.id),'project.pname','%(pname)s')
thanks
On 9 Jun., 16:44, pk wrote:
> now i get the next error :(
> Traceback (most recent call last):
> File "gluon/restr
Hi Massimo,
I´ve problems when i login in the new version, i get the default page
of web2py not my requested page. In 1.62 i haven`t got this problem.
Here my code:
@auth.requires_login()
def index():
redirect(URL(r=request,c='menu',f='index'))
## # #
This is very easy to reproduce.
Could someone else test and confirm either way?.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googl
Hi,
is there a possibilty to use a texteditor in the html-page (bold-font,
newline ...) for the user and after submit it will save it in the
table.
i need it for an cms for example.
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Created a new repository and exported from svn again.
Now it works (!?)
Strange, old gluon repository has all green svn check marks.
Oh well, main thing is it works.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"w
Fran wrote:
> On Jun 9, 11:42 am, Robert Marklund wrote:
> > Cant auth be changed somhow to it will be easier to extend like this:
> > db.define_table('auth_user2',
> > db.auth_user,
> > SQLField('nickname'),
> > SQLField('image','upload'))
> > Th
Can you explain better? Is this is a prblem with the stable or the
tunk version?
On Jun 9, 10:17 am, pk wrote:
> Hi Massimo,
>
> I´ve problems when i login in the new version, i get the default page
> of web2py not my requested page. In 1.62 i haven`t got this problem.
>
> Here my code:
> @auth.
The best way is to customize the auth_user table as shown in the
slides, insdead of subclassing it. Else it is much more complex than
just setting auth.settings.table_user, since references from other
built-in tables will break
Massimo
On Jun 9, 10:42 am, Trollkarlen wrote:
> Fran wrote:
> > On
All:
I'm not sure if this has been discussed in the past and would like to
hear more if we should be tracking bugs and enhancement requests at
Launchpad?
https://launchpad.net/web2py
Wouldn't it make code management and processes more manageable and
more folks could aid with QA.
Thank you,
i load the version: Current Version 1.63.5 (2009-06-03 23:35:00) for
osx.
and i use the auth-object. on my index page i`ve a form to login,
register a user.
when the login is correct i receive the follow link:
http://localhost:8000/admin/default/site
but i will receive: http://localhost:8000/2bu
Denes,
Indeed, it is a matter of taste.
But cognitive ergonomically the current calendar is a disaster. The
arrows to increase the months and years are next to today, my test
user did not see the month change when he clicked the arrow nor did he
see the year change when he clicked the double arr
I'm using crud to interact with a custom view.
form.custom.inpval.fieldname and form.custom.dspval.fieldname display
the proper value for most field types, but not files, select boxes and
checkboxes. The download easily fixes the file display, but I've been
unable to find a similar solution to di
There are many more options in the jQueryUI calendar. For this you
could use:
$('.selector').datepicker({ changeYear: true });
On Jun 9, 10:11 am, DenesL wrote:
> I feel this is a matter of taste.
> The current one looks more cluttered but that is because it offers
> more info and options to t
Peter,
Aren't you facing the same problem as I am:
http://groups.google.com/group/web2py/browse_thread/thread/d5083ed08c685e34
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" grou
I promise Matt is surely right about the font issue. :-)
And one more defect, trying to not completing necessary field results
in a "function error_message at 0x8c1c41c" appearing at the usual
response.flash area.
Everything else seems ok. I like your two level menu especially. Hope
to see your
Hi Annet,
it seems to be the same problem.
Peter
On 9 Jun., 18:09, annet wrote:
> Peter,
>
> Aren't you facing the same problem as I am:
>
> http://groups.google.com/group/web2py/browse_thread/thread/d5083ed08c...
>
> Annet.
--~--~-~--~~~---~--~~
You received th
I am using NicEdit:
http://nicedit.com/
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this gro
Sadly, I agree, but 1 month ago, the choice was made to stick to what we
have now. I REALLY want that to happen.
Regards,
Jason Brower
On Tue, 2009-06-09 at 08:56 -0700, cesmiga wrote:
> All:
>
> I'm not sure if this has been discussed in the past and would like to
> hear more if we should be
Any particular reason not doing is_integer via a 'try: int(i) except:
return False' statement ? It should be faster than regexes.
On Jun 7, 1:49 pm, Iceberg wrote:
> On Jun7, 6:35pm, Alexey Nezhdanov wrote:
>
>
>
> > > 2) is_integer is a fast call, but with 1.1k (!) calls ...
>
> > Replaced it
with the new trunk you can do
{{=form.custom.widget.fieldname}}
On Jun 9, 11:06 am, Gary wrote:
> I'm using crud to interact with a custom view.
> form.custom.inpval.fieldname and form.custom.dspval.fieldname display
> the proper value for most field types, but not files, select boxes and
> che
I have an idea that may fix this. I will work on it tonight.
On Jun 9, 10:05 am, annet wrote:
> Massimo,
>
> > Right now there are two possibilities:
>
> > - if web2py redirects you to login, after login, login redirects you
> > to the referencing page
> > - if you go to the login page without r
Using nicedit you can change the textareas for the field you need into
wysiwyg fields.
To then display the field properly you much prevent escaping with
{{=XML(fieldvalue)}}
On Jun 9, 11:16 am, annet wrote:
> I am using NicEdit:
>
> http://nicedit.com/
>
> Annet.
--~--~-~--~~---
Hello,
Sorry if this question is a repeat, but I'm new here and couldn't find
anything on point in the archive.
I'm trying to create a form for data insertion, which will include a
dropbox representing a foreign key. Trouble is, the foreign table has
another key representing the row's 'school',
just a reminder - there was a plan afoot to move from launchpad to mercurial
hosting (likely on google code)...
On Tue, Jun 9, 2009 at 11:16 AM, Jason Brower wrote:
>
> Sadly, I agree, but 1 month ago, the choice was made to stick to what we
> have now. I REALLY want that to happen.
> Regards,
oh thanks, it`s a cool tool.
peter
On 9 Jun., 18:16, annet wrote:
> I am using NicEdit:
>
> http://nicedit.com/
>
> Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to th
Yes and no.
We are moving to mercurial very very soon and move away from launchpad
so I would prefer we use google code for bug tracking.
It is also faster for me to access.
Anyway, I never said that we should use bug tracking. I only asked to
first email the list to make sure you indeed found a
good point. Anyway, the function is no longer called as often as
Alexey originally pointed out, so it would make a negligible
difference. I will change it though.
Massimo
On Jun 9, 11:24 am, AchipA wrote:
> Any particular reason not doing is_integer via a 'try: int(i) except:
> return False' s
Just been through some TABLE() and SQLTABLE() work and could not find
a way (I was satisfied with) to change output results of particular
columns. For example, I have an sql column that is a color code and
I'd like to put in a css element with that color. The hard way is
obviously foregoing the {{
I do not fully understand. You want a create incident form but that
does not have a school field.
I guess what you want is display only students for the same school as
the logged in staff. In this case you can do
school_id=db.staff[userid()].school if userdi() else None
db.incident.student.requir
There is no may to make a SQLTABLE taht fits everybody's taste and
needs. I think you should
1) define your own SQLTABLE2, or
2) loop over rows explicitly
Massimo
On Jun 9, 11:50 am, AchipA wrote:
> Just been through some TABLE() and SQLTABLE() work and could not find
> a way (I was satisfied
Hello
At the end of the load of information on the part of the user there is
a link to the following function:
def terminar():
if session.documento is None:
redirect(URL(r=request, c='default', f='index'))
...
if solicitud[0].id > 0:
response.headers['Content-Type']=
request.log(message) would be nice, but all the advantages of standard
logging are too good to let go. So I came up with this little trick.
Add following codes inside model/log.py:
def _init_log():
import logging
logger=logging.getLogger(request.application)
logger.setLevel(logging
Massimo,
Thank you for the update. My apologies since this was discussed
earlier.
Christopher
mdipierro wrote:
> Yes and no.
>
> We are moving to mercurial very very soon and move away from launchpad
> so I would prefer we use google code for bug tracking.
> It is also faster for me to acces
It seems I created two new decks without hitting the submit button by
just navigating away from the page. Also would be nice to be able to
delete them.
Mike
On Jun 9, 9:12 am, Iceberg wrote:
> I promise Matt is surely right about the font issue. :-)
>
> And one more defect, trying to not compl
On Jun 9, 3:13 pm, mdipierro wrote:
> Uploading another version to trunk. Please give it another try
r896 works fine - many thanks :)
F
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
I tried {{=form.custom.widget.town_id}} in 1.63.5 and got an error
"AttributeError: 'NoneType' object has no attribute 'town_id'".
Using {{=form.custom.inpval.town_id}} returns a '1', the value of the
id in the 'Location' file pointing to the 'Town' file.
For clarification, does 'new trunk' mean
On Jun 9, 6:41 pm, Gary wrote:
> For clarification, does 'new trunk' mean something other than the
> current release?
It means the live code downloaded via Bzr:
https://code.launchpad.net/~mdipierro/web2py/devel
So more current than the latest release.
F
--~--~-~--~~~--
On Jun 9, 6:27 pm, Fran wrote:
> On Jun 9, 3:13 pm, mdipierro wrote:
> > Uploading another version to trunk. Please give it another try
> r896 works fine - many thanks :)
Solves that issue but seems to break updates:
This is a ticket from Tools' register() (but it also happens on other
DB upda
I don't know but you'd better do some profiling if you really want to
find out. IMHO, try...except might be fast, but wrapping it inside a
user-defined function could be another story, because defining a
function is expensive in python, so we shall call native function
(implemented by C) whenever
I am not familiar with the function
reportes.impresion_tramite(...)
what does it return? If your intention is to return the PDF to the
user (http 200 ok) you cannot redirect (http 303 redirect). The two
statements are not compatible.
Massimo
On Jun 9, 12:11 pm, Jose wrote:
> Hello
>
> At th
I think you nailed it! I would change the file name so that it resides
inside the applicaitons folder:
handler=logging.FileHandler(os.path.join(request.folder,"system.log"))
we could also add a line in the admin to peek the log (like with
sql.log).
On Jun 9, 12:18 pm, Iceberg wrote:
> request.
No problem at all. this is an important issue and if we are not doing
it right, I want to know.
On Jun 9, 12:19 pm, cesmiga wrote:
> Massimo,
>
> Thank you for the update. My apologies since this was discussed
> earlier.
>
> Christopher
>
> mdipierro wrote:
> > Yes and no.
>
> > We are moving t
Got:
**
File "html.py", line 841, in __main__.FORM
Failed example:
form.xml()
Expected:
''
Got:
''
**
1 items had failures:
1 of 2 in __main__.F
1 - 100 of 158 matches
Mail list logo