Its really a great release!!
One question. Is there any docs on the cron feature in web2py?
David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web
Hello,
Sorry for my ignorance
You have right - making public pages in T3 wiki is straitforward, just
check checkbox :)
I don't saw this before because Main page don't have this option...
regards
On Feb 5, 6:17 am, mdipierro wrote:
> T3 is a web2py app so you edit it via admin. You can com
Short version: take a look at applications/cron/crontab
Long version: https://mdp.cti.depaul.edu/web2py_wiki/default/wiki/Web2pyCron
On Feb 5, 9:51 am, David Marko wrote:
> Its really a great release!!
> One question. Is there any docs on the cron feature in web2py?
>
> David
--~--~-~--
Maybe thread hijacking, but what's the recommended way of disabling
registration with the new web2py-core level Auth ? I know I can just
return if the user function argument is register, I'm just not sure
that is the best way (or how tied should the login with the
registration be).
On Feb 5, 6:17
Hello, again
I'm just do it in 3 steps for now:
1. deploy T3 app
2. register first user and set is as admin in manage/settings of T3:
settings.administrator_emails=['y...@registered.mail.here']
3. change register() in default.py of T3 app in web2py admin interface
to:
def register():
i
Hello,
Current download link of T3 is linked to outdated version (with
'delete_uploads=True' which is not working with web2py 1.56+).
Can we have updated version of T3 to download from web2py.appspot.com/
t3 ??
--~--~-~--~~~---~--~~
You received this message becau
I see you fixed the broken link that Yannick mentioned, but it's not
fixed. Fix "donwload" in the link.
mdipierro wrote:
> That will be fixed automatically when the old one gets replaced but
> thanks for reporting it.
>
> I am glad that people here like it more than I do. ;-)
>
> Massimo
>
> On
Disregard, I see you fixed it in the real page.
Timothy Farrell wrote:
> I see you fixed the broken link that Yannick mentioned, but it's not
> fixed. Fix "donwload" in the link.
>
> mdipierro wrote:
>
>> That will be fixed automatically when the old one gets replaced but
>> thanks for repor
Achipa
this should really become a page in the examples app, linked form
index. Can you send ma a patch?
Massimo
On Feb 5, 3:55 am, achipa wrote:
> Short version: take a look at applications/cron/crontab
>
> Long version:https://mdp.cti.depaul.edu/web2py_wiki/default/wiki/Web2pyCron
>
> On Fe
reporting now. There was a leftover delete_uploads=True in modules/
t2.py
On Feb 5, 7:00 am, ANDROSoft wrote:
> Hello,
>
> Current download link of T3 is linked to outdated version (with
> 'delete_uploads=True' which is not working with web2py 1.56+).
>
> Can we have updated version of T3 to dow
OK, a bit busy these days so expect it next week, I'll make it a bit
more formal and drop in a few formatted examples.
On Feb 5, 4:34 pm, mdipierro wrote:
> Achipa
>
> this should really become a page in the examples app, linked form
> index. Can you send ma a patch?
>
> Massimo
>
> On Feb 5, 3:
fixed and reposted. sorry.
On Feb 5, 7:00 am, ANDROSoft wrote:
> Hello,
>
> Current download link of T3 is linked to outdated version (with
> 'delete_uploads=True' which is not working with web2py 1.56+).
>
> Can we have updated version of T3 to download from web2py.appspot.com/
> t3 ??
--~--~--
mdipierro wrote this on Wed, Feb 04, 2009 at 09:30:06AM -0800. My
reply is below.
> look into gluon/compileapp.py
Sorry, I couldn't *unzip* your archive with version 5.52-9etch1, which
is included in Debian.
--
.. Be Seeing You,
.. Chuck Rhode, Sheboygan, WI, USA
.. Weather: http://LacusVer
in 1.56
it seems that
row.name should be row.yourtablename.name
2008/10/20 mdipierro
>
> yes. for example
>
>
> t=db.define_table('mytable',SQLField('name'),SQLField('price','double'))
>
>print db(t.id>0).count()
>
>
> rows=db(t.id>0).select(t.ALL,t.price.sum(),orderby=t.name,groupby=t.name)
2008/10/20 mdipierro
>
> yes. for example
>
>
> t=db.define_table('mytable',SQLField('name'),SQLField('price','double'))
>
>print db(t.id>0).count()
>
>
> rows=db(t.id>0).select(t.ALL,t.price.sum(),orderby=t.name,groupby=t.name)
>for row in rows: print row.name, row._extra[t.price.sum()]
Can you suggest a fix?
Massimo
On Feb 5, 10:01 am, Markus Gritsch wrote:
> Hi,
>
> I have configured my Firefix to use Verdana to render pages. The new
> style of the web2py homepage breaks with this wider font. See
> attachments.
>
> Kind regards,
> Markus
>
> 1.png
> 109KViewDownload
>
>
anybody else having unzipping problems?
On Feb 5, 10:24 am, Chuck Rhode wrote:
> mdipierro wrote this on Wed, Feb 04, 2009 at 09:30:06AM -0800. My
> reply is below.
>
> > look into gluon/compileapp.py
>
> Sorry, I couldn't *unzip* your archive with version 5.52-9etch1, which
> is included in De
That is correct. In 1.55 and earlier too. My exmaple had a typo:
t=db.define_table('mytable',SQLField('name'),SQLField
('price','double'))
print db(t.id>0).count()
rows=db(t.id>0).select(t.ALL,t.price.sum
(),orderby=t.name,groupby=t.name)
for row in rows: print row.mytable.name, row._ex
On Thu, Feb 5, 2009 at 4:01 PM, Markus Gritsch wrote:
> Hi,
>
> I have configured my Firefix to use Verdana to render pages. The new
> style of the web2py homepage breaks with this wider font. See
> attachments.
Is that not just breaking the CSS that's already applied?
>
>
> Kind regards,
Congrats for this new release, it is brilliant.
I liked the new crud, never loved T2 that much, and maybe this is a
well known question: which is the best way to customize crud tables
layout (css) and maybe other details (column headers,etc..)
thank you,
carlo
--~--~-~--~~--
On Feb 5, 6:39 pm, carlo wrote:
> I liked the new crud, never loved T2 that much, and maybe this is a
> well known question: which is the best way to customize crud tables
> layout (css) and maybe other details (column headers,etc..)
Crud tables are based on SQLFORM & SQLTABLE so inherit their
c
On Feb 5, 5:28 pm, mdipierro wrote:
> anybody else having unzipping problems?
1.56 win & src .zips open fine with 7-Zip on Win32
> On Feb 5, 10:24 am, Chuck Rhode wrote:
> > > look into gluon/compileapp.py
> > Sorry, I couldn't *unzip* your archive with version 5.52-9etch1, which
> > is includ
http://www.reddit.com/r/programming/comments/7v5km/web2py_156_is_out_check_out_the_new_documentation/c07hroi
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send em
can you try now?
Massimo
On Feb 5, 1:55 pm, Markus Gritsch wrote:
> On Thu, Feb 5, 2009 at 6:27 PM, mdipierro wrote:
>
> > Can you suggest a fix?
>
> I am no CSS expert myself, but the attached styles.css adds "overflow:
> hidden;" to .menu which at least keeps the main content of the page in
After merging in 1.56 with pep8 compliance I must admit I'm less
thrilled than I was initially :( As for whitespace within single
lines, it's ok and welcome, but when it comes to splitting lines, in
some cases it's just terrible. I'm all for standards but I can't
believe the line width enforcement
On Thu, Feb 5, 2009 at 9:21 PM, mdipierro wrote:
>
> can you try now?
Yes, enormous line spacing, but otherwise as the attachment ;)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To
I ever followed pep8 because I too have my own readability standards.
nevertheless some people complained so much about the code not being
pep8 compliant that I changed it.
Aesthetic issues are subjective.
Massimo
On Feb 5, 3:00 pm, achipa wrote:
> After merging in 1.56 with pep8 compliance I
Fran wrote this on Thu, Feb 05, 2009 at 11:12:02AM -0800. My reply is
below.
> Try getting this file from Bzr:
> http://bazaar.launchpad.net/~mdipierro/web2py/devel/annotate/head%3A/gluon/compileapp.py
Thanks for the link.
Yes, indeed, this is a bug with *PythonTidy*. Thanks to one and all
fo
Thank yo massimo, I didn't see that.
This is cool, I get my questions answered by the man himself.
On 3 Feb, 05:18, mdipierro wrote:
> matches=db(db.matches.kick_off_datetime>datetime.now()).select
> (orderby=~db.matches.kick_off_datetime)
>
> Massimo
>
> On Feb 2, 8:59 pm,pedro wrote:
>
> > Ok,
mdipierro wrote this on Thu, Feb 05, 2009 at 01:12:07PM -0800. My
reply is below.
> I ever followed pep8 because I too have my own readability
> standards. nevertheless some people complained so much about the
> code not being pep8 compliant that I changed it.
> Aesthetic issues are subjective
Lots of new and exciting features... and with documentation! ;)
thanks.
A couple of details with the new site:
1) In /examples/default/docs
# New Tools: Authentication, Authorizaiton, and CRUD Examples
Authorization is misspelled
2) At the bottom of the /examples/default/tools page (geocoding)
Do validators support this?
I am inserting many to many relationships manually, can I use
validators to make sure no two rows are identical?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group
is
db.table.field2.requires=IS_NOT_IN_DB(db
(db.table.field1==request.vars.field1),db.table.field2)
On Feb 5, 5:00 pm, pedro wrote:
> Do validators support this?
> I am inserting many to many relationships manually, can I use
> validators to make sure no two rows are identical?
--~--~-~
Yes
db.table.field2.requires=IS_NOT_IN_DB(db
(db.table.field1==request.vars.field1),db.table.field2)
On Feb 5, 5:00 pm, pedro wrote:
> Do validators support this?
> I am inserting many to many relationships manually, can I use
> validators to make sure no two rows are identical?
--~--~-
Massimo:
Yes, certainly, I'm not talking about aesthetics in terms of what
pleases me, but what actually bothers/slows me down while working
(subjective, of course). With wrapping as-is, half of the screen is
empty and I scroll a lot more (IMO eye movement is cheaper than
scrolling). I dare not i
Chuck,
will change the COL_SIZE fix this?
Massimo
On Feb 5, 5:53 pm, achipa wrote:
> Massimo:
>
> Yes, certainly, I'm not talking about aesthetics in terms of what
> pleases me, but what actually bothers/slows me down while working
> (subjective, of course). With wrapping as-is, half of the sc
Congratulations on this great release,
I specially welcome the authentication/authorization patterns, really
needed! - In fact this version beat me to it, I just released my
weblog a couple of days ago, a pure web2py implementation (including
authentication/authorization) :(
Massimo, can you ple
Hi All,
I'm testing T2 and getting an "invalid function" error and nothing else !...
cannot find any log file nor a ticked with further information
any ideas?
how can an error like that be debugged ?
thanks
--~--~-~--~~~---~--~~
You received this message bec
achipa wrote this on Thu, Feb 05, 2009 at 03:53:31PM -0800. My reply is below.
> One more example of 'I didn't quite expect this':
>
> if os.name == 'nt':
> proc = Popen([self.cmd], stdin=PIPE, stdout=PIPE,
> stderr=PIPE, shell=True)
>
mdipierro wrote this on Thu, Feb 05, 2009 at 04:33:20PM -0800. My reply is
below.
> will change the COL_SIZE fix this?
Yes, it will fix this:
> > launchstr = \
> > "%s web2py.py -P -M -S %s -a 'recycle' -R %s"
... and this:
> > if t
Execllent. It would be great if you could help with the documentation
of tools.py. Perhaps adding comments in docstrings.
Massimo
On Feb 5, 7:35 pm, Speedbird wrote:
> Congratulations on this great release,
>
> I specially welcome the authentication/authorization patterns, really
> needed! - In
Mind that t2 does not expose any action.
You have to install t2 with the name "plugin_t2" you cannot rename
plugins. And use it in your own applications as explained in
http://mdp.cti.depaul.edu/examples/static/t2.pdf
Mind that the new web2py (1.56) has new APIs
http://mdp.cti.depaul.edu/examp
May I ask you to sent me the latest version with the parameters set
appropriately?
I am not sure I have the latest.
Massimo
On Feb 5, 9:41 pm, Chuck Rhode wrote:
> mdipierro wrote this on Thu, Feb 05, 2009 at 04:33:20PM -0800. My reply is
> below.
>
> > will change the COL_SIZE fix this?
>
>
This looks great! I'm glad auth and auth are integrated now (among the
other many goodies in this release).
The new site is looking good. Much more modern looking
Minor typo here: http://mdp.cti.depaul.edu/examples/default/download
under the license section '(with are all MIT or BSD type licenses
HI
i using the code provide above and try to run but when i try to import
back the exported file. i have this error
ValueError: Mixing iteration and read methods would lose data
can help please
and is it possibel to set the file exported in notepad/text doc/ms
excel format??
thank in advance
O
i solved this prob
On Feb 5, 3:39 pm, INeedHelp wrote:
> I also have an error with "items"
> i have tried to solve but still cant solve
>
> db.import_from_csv_file(form.vars.data.file)
> # for every table
> for table in db.tables:
> # for every uuid, delet
1st
I know how to zip a file but is there a way to zip a folder (with
files contain inside).???
2nd
Is there a way to move a file and folder after zip that folder and
file?
thanks in advance
cheers
--~--~-~--~~~---~--~~
You received this message because you are
i have this error also after i using the latest web2py
TypeError: long() argument must be a string or a number, not 'list'
On Feb 6, 2:34 pm, INeedHelp wrote:
> HI
> i using the code provide above and try to run but when i try to import
> back the exported file. i have this error
> ValueError: M
48 matches
Mail list logo