Hi,
when clicking on the [test] link in admin to run the unit-tests, the
following traceback is issued:
Traceback (most recent call last):
File
"D:\home\ActivityRecording\utilities\google_appengine\web2py-read-only\gluon\restricted.py",
line 97, in restricted
ccode = compile(code.replace(
which version should i use?
thanks
On Feb 4, 2:22 pm, mdipierro wrote:
> It works for me
>
> $ python web2py.py -S test -M
> ...
>
> >>> import StringIO
> >>> s=StringIO.StringIO()
> >>> db.export_to_csv_file(s)
>
> which version of web2py are you using?
>
> Massimo
>
> On Feb 4, 12:00 am, INee
On Tue, Feb 3, 2009 at 8:34 PM, mdipierro wrote:
>
> Any better?
>
> https://mdp.cti.depaul.edu/examples2
"Interactive Examples" and "Interactive API Reference" need a more
prominent location than being just items in the Documentation list.
The line-spacing is too large IMO, especially in the c
The new look looks reaaly cool. Just a few spelling errors :) :
* On the page https://mdp.cti.depaul.edu/examples2/default/what there is
a spelling error: "Exmaples" should probably be "Examples".
* On the page https://mdp.cti.depaul.edu/examples2/default/download
"reliesed" should probably be
I remember a similar discussion on this before here.
My understanding is that the offline support for web application still
has miles to go before it can mature like javascript libraries
(jquery, dojo, etc). There are various issues involved primarily
relating to data sync. It would have to be ad
On Feb 4, 8:25 am, INeedHelp wrote:
> which version should i use?
Usually the latest stable, so 1.55 currently.
- unless you want to try out new features in which case trunk.
What version gave you this error?
F
--~--~-~--~~~---~--~~
You received this message bec
Adobe also released a color website: http://kuler.adobe.com/
and
Rails has a new group http://groups.google.com/group/ruby-graphic-designers
maybe a designer can be found from it.
2009/2/2 achipa
>
> As for typos, you might want to check out
> https://addons.mozilla.org/en-US/firefox/addon/81
Content-language shows 'cs' for me which breaks a few fancy addons I
use, the 'accept language' header I send is en-us,en, so no idea where
it gets 'cs' from.
On Feb 2, 8:57 am, mdipierro wrote:
> I am working on this prototype website to go with launch of web2py
> 1.56 sometime this week.
>
> h
I use web2py at hipercenter.com (web software development, in portuguese,
Brazil)
On Tue, Feb 3, 2009 at 6:51 PM, mdipierro wrote:
>
> does your company support web2py? or uses web2py?
>
> Let me know ASAP and I will list it in the new "support" and "who"
> pages.
>
> Massimo
> >
>
--
Atencio
Martin: confirm that is consistent across parameters__.py, -p
flag, and httpd.conf; confirm that password is not 'None' in
parameters file; no risk in removing the parameters_.py file and
repeating the 'Create admin password' step in instructions; let me
know how it goes
Baron: you're we
Chuck,
I found a minor problem wth pythontidy (with the pep specs actaully).
"""abc\ncde"""
gets replaced by
"""abc
cde"""
now consider this working code
exec("""print 'abc\ncde'""")
it gets replaced with
exec("""print 'abc
cde'""")
which does not work.
Massimo
On Feb 4, 8:18 am, Chuck
Hi!
how can one pass an offset to limitby?
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@googlegroups.com
To unsubscribe from this g
It seems pythontidy replaces "abc\n" with
"abc
"
fixing it now.
Massimo
On Feb 4, 2:16 am, Markus Gritsch wrote:
> Hi,
>
> when clicking on the [test] link in admin to run the unit-tests, the
> following traceback is issued:
>
> Traceback (most recent call last):
> File
> "D:\home\ActivityR
mdipierro wrote this on Wed, Feb 04, 2009 at 08:01:35AM -0800. My
reply is below.
> now consider this working code
> exec("""print 'abc\ncde'""")
I don't believe that works to begin with. I assume you expect the
output to be:
>>> abc
>>> cde
... but what I get from python.2.4.4 is:
>>> Tra
I think the site is looking really good. My only suggestions are:
- change the web2py in the header to a graphic (it needn't be a large
file and would lose the "steppy" look of the large font text)
- consider at some pont making more use of the white space to left and
right of the main content
On Feb 3, 11:44 am, mdipierro wrote:
> Thank you chuck for pythontidy and glad to have you on board. Do you
> want to be in change of pep8 compliance for web2py?
Heh! PEP8 compliance is overrated. :-) Thanks, anyway.
--~--~-~--~~~---~--~~
You received this mes
my server is returning content-language: cs ?
strange. I do not set the content-language field.
Massimo
On Feb 4, 7:40 am, achipa wrote:
> Content-language shows 'cs' for me which breaks a few fancy addons I
> use, the 'accept language' header I send is en-us,en, so no idea where
> it gets 'cs'
Thank you.
On Feb 4, 7:55 am, Timothy Farrell wrote:
> see attached.
>
>
>
> ceej wrote:
> > Looking good Massimo :)
>
> > I did notice a spelling mistake on the download section which I think
> > should read closed instead of clised (http://screencast.com/t/LVHpr3A5Mjw
> > )
>
> > On Feb 3, 1:3
limitby=(10,30) means offset=10 and you want 30-10 records.
On Feb 4, 8:57 am, voltron wrote:
> Hi!
>
> how can one pass an offset to limitby?
>
> Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web
look into gluon/compileapp.py there is a string TEST_CODE that
contains
html='Testing controller "%s.py" ... done.\n' %
request.controller
pythontidy changed it to
html='Testing controller "%s.py" ... done.
' % request.controller
This broke testing. It was working before. I restored to
Not the server, but web2py itself. View source shows:
http://www.w3.org/1999/xhtml"; xml:lang="cs" lang="cs">
On Feb 4, 6:24 pm, mdipierro wrote:
> my server is returning content-language: cs ?
> strange. I do not set the content-language field.
>
> Massimo
>
> On Feb 4,
Hi Massimo,
It is set in these files:
grep -r 'lang="cs"' *
applications/examples/views/layout.html:http://www.w3.org/1999/xhtml"; xml:lang="cs" lang="cs">
applications/examples/views/layout.html:
On Wed, Feb 4, 2009 at 4:51 PM, achipa wrote:
>
> Not the server, but web2py itself. View s
great! Thanks
On Feb 4, 6:27 pm, mdipierro wrote:
> limitby=(10,30) means offset=10 and you want 30-10 records.
>
> On Feb 4, 8:57 am, voltron wrote:
>
> > Hi!
>
> > how can one pass an offset to limitby?
>
> > Thanks
--~--~-~--~~~---~--~~
You received this messa
oops. Thank you
On Feb 4, 12:57 pm, Douglas Andrade wrote:
> Hi Massimo,
>
> It is set in these files:
>
> grep -r 'lang="cs"' *
>
> applications/examples/views/layout.html: xmlns="http://www.w3.org/1999/xhtml"; xml:lang="cs" lang="cs">
> applications/examples/views/layout.html: lang="cs" co
It IS much better than the old site...
--- but I think the black rollover on the buttons is truly horrible
(the .menu ul li a:hover { background: #00; } maybe try
#CC...? )
--- and while it looks "clean", I can't say it is especially hip;
aren't the graphic design students at DePaul lini
Do you want to add your company name to the new web2py support page?
Last call. I am releasing 1.57 this tomorrow morning.
It is free advertisement.
Massimo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web
You are right. Everything should have a uniform look and feel.
Massimo
On Feb 4, 3:21 pm, Peter wrote:
> It IS much better than the old site...
>
> --- but I think the black rollover on the buttons is truly horrible
> (the .menu ul li a:hover { background: #00; } maybe try
> #CC...? )
>
but I think the Admin Interface should have a different face from other
applications included in it.
2009/2/4 mdipierro
>
> You are right. Everything should have a uniform look and feel.
>
> Massimo
>
> On Feb 4, 3:21 pm, Peter wrote:
> > It IS much better than the old site...
> >
> > --- but I
hmmm. I agree in principle but that will confuse people because there
are screenshots in the book.
On Feb 4, 5:20 pm, BearXu wrote:
> but I think the Admin Interface should have a different face from other
> applications included in it.
>
> 2009/2/4 mdipierro
>
>
>
> > You are right. Everythin
Great Job, I like the look and feel of this new website...
Here are what i noticed:
- From the Logo on the Home page, when clicking we are redirect to the
old website (http://mdp.cti.depaul.edu/)
- And also from the home page of this new site there is a froken link
named "None". Right before your
Not a big problem:)
2009/2/5 mdipierro
>
> hmmm. I agree in principle but that will confuse people because there
> are screenshots in the book.
>
>
> On Feb 4, 5:20 pm, BearXu wrote:
> > but I think the Admin Interface should have a different face from other
> > applications included in it.
>
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 Feb 4, 7:28 pm, Yannick wrote:
> Great Job, I like the look and feel of this new website...
> Here are what i noticed:
> - From the Log
I have an syntac error(invalid syntec) at "!" after (db[table].id
for item in items:
db((db[table].uuid==item.uuid)&(db[table].id! =
item.id)).delete()
return dict(form=form)
anyone can help?
--~--~-~--~~~---~--~~
You received this message becaus
I have this fucntion which will drop down list all owner name and a
submit button. after i click on e submit button, e screen will display
all dogs below to e selected owner (from dropdownlist)
def index():
records=db(db.dog.owner==request.vars.owner)\
.select(orderby=db.dog.tit
looks like you have a space between ! and = in !=.
Massimo
On Feb 4, 9:22 pm, INeedHelp wrote:
> I have an syntac error(invalid syntec) at "!" after (db[table].id
>
> for item in items:
> db((db[table].uuid==item.uuid)&(db[table].id! =
> item.id)).delete()
> return dict(form=fo
Hello,
I want disable registration on T3, how to do that ??
Exactly what i want is:
registration disabled, authorization required for most pages, but some
pages must be public, like Home or About Us...
regards
--~--~-~--~~~---~--~~
You received this message beca
http://www.hanselman.com/blog/TheContentDispositionSagaControllingTheSuggestedFileNameInTheBrowsersSaveAsDialog.aspx
in web2py-ese
response.headers['Content-Dispotion']='filename=%s' % filename
On Feb 4, 9:50 pm, INeedHelp wrote:
> I have this fucntion which will drop down list all owner name
T3 is a web2py app so you edit it via admin. You can comment the
register controller or replace it with something else.
Via the wiki you can mark some pages as public and they will not
require login.
Massimo
On Feb 4, 9:01 pm, ANDROSoft wrote:
> Hello,
>
> I want disable registration on T3, ho
web2py 1.56 is out, including the new web site
http://mdp.cti.depaul.edu/
It is the best release ever. You will probably not need T2 any more.
New features:
- Authentication (see new Documentation page)
- Authorization (Role Based Access Controller) (see new Documentation
page)
- CRUD (see
then how to put
s=StringIO.StringIO()
records.export_to_csv_file(s)
response.headers['Content-Type']='text/csv'
return s.getvalue()
into
records=db(db.dog.owner==request.vars.owner)\
.select(orderby=db.dog.title)
form=SQLFORM(db.entry,fields=['owner'])
On Feb 5, 1:16 p
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, delete all but the most
recentitems = db(db[table].id>0).s
and db.export_to_csv_file(s)
is it possible to specify which table to export?
i have tried db.table1.export_to_csv_file(s) but key error with
export_to_csv_file(s)
On Feb 5, 3:06 pm, INeedHelp wrote:
> then how to put
> s=StringIO.StringIO()
> records.export_to_csv_file(s)
> response.head
42 matches
Mail list logo