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 =
which version should i use?
thanks
On Feb 4, 2:22 pm, mdipierro mdipie...@cs.depaul.edu 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,
On Tue, Feb 3, 2009 at 8:34 PM, mdipierro mdipie...@cs.depaul.edu 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,
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
On Feb 4, 8:25 am, INeedHelp zhang.kil...@gmail.com 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
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 attila.cs...@gmail.com
As for typos, you might want to check out
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 mdipie...@cs.depaul.edu wrote:
I am working on this prototype website to go with launch of web2py
1.56
I use web2py at hipercenter.com (web software development, in portuguese,
Brazil)
On Tue, Feb 3, 2009 at 6:51 PM, mdipierro mdipie...@cs.depaul.edu 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
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
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 Rhode
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
It seems pythontidy replaces abc\n with
abc
fixing it now.
Massimo
On Feb 4, 2:16 am, Markus Gritsch m.grit...@gmail.com 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
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:
Traceback (most
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 mdipie...@cs.depaul.edu 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.
--~--~-~--~~~---~--~~
my server is returning content-language: cs ?
strange. I do not set the content-language field.
Massimo
On Feb 4, 7:40 am, achipa attila.cs...@gmail.com 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
Thank you.
On Feb 4, 7:55 am, Timothy Farrell tfarr...@swgen.com 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,
limitby=(10,30) means offset=10 and you want 30-10 records.
On Feb 4, 8:57 am, voltron nhy...@googlemail.com wrote:
Hi!
how can one pass an offset to limitby?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
look into gluon/compileapp.py there is a string TEST_CODE that
contains
html='h2Testing controller %s.py ... done./h2br/\n' %
request.controller
pythontidy changed it to
html='h2Testing controller %s.py ... done./h2br/
' % request.controller
This broke testing. It was working before.
Not the server, but web2py itself. View source shows:
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=cs lang=cs
head
meta http-equiv=content-type content=text/html;
charset=utf-8 /
meta http-equiv=content-language content=cs /
meta name=author lang=cs content=None / meta
great! Thanks
On Feb 4, 6:27 pm, mdipierro mdipie...@cs.depaul.edu wrote:
limitby=(10,30) means offset=10 and you want 30-10 records.
On Feb 4, 8:57 am, voltron nhy...@googlemail.com wrote:
Hi!
how can one pass an offset to limitby?
Thanks
oops. Thank you
On Feb 4, 12:57 pm, Douglas Andrade dsandr...@gmail.com wrote:
Hi Massimo,
It is set in these files:
grep -r 'lang=cs' *
applications/examples/views/layout.html:html
xmlns=http://www.w3.org/1999/xhtml; xml:lang=cs lang=cs
applications/examples/views/layout.html: meta
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
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 peter.kleyn...@gmail.com 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
but I think the Admin Interface should have a different face from other
applications included in it.
2009/2/4 mdipierro mdipie...@cs.depaul.edu
You are right. Everything should have a uniform look and feel.
Massimo
On Feb 4, 3:21 pm, Peter peter.kleyn...@gmail.com wrote:
It IS much
hmmm. I agree in principle but that will confuse people because there
are screenshots in the book.
On Feb 4, 5:20 pm, BearXu bearx...@gmail.com wrote:
but I think the Admin Interface should have a different face from other
applications included in it.
2009/2/4 mdipierro
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 mdipie...@cs.depaul.edu
hmmm. I agree in principle but that will confuse people because there
are screenshots in the book.
On Feb 4, 5:20 pm, BearXu bearx...@gmail.com wrote:
but I think the Admin Interface should have a different face from other
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 ytchatch...@gmail.com wrote:
Great Job, I like the look and feel of this new website...
Here are what i
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 because
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)\
looks like you have a space between ! and = in !=.
Massimo
On Feb 4, 9:22 pm, INeedHelp zhang.kil...@gmail.com 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()
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
http://www.hanselman.com/blog/TheContentDispositionSagaControllingTheSuggestedFileNameInTheBrowsersSaveAsDialog.aspx
in web2py-ese
response.headers['Content-Dispotion']='filename=%s' % filename
On Feb 4, 9:50 pm, INeedHelp zhang.kil...@gmail.com wrote:
I have this fucntion which will drop
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 sebastian.woldan...@gmail.com wrote:
Hello,
I want
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
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 =
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 zhang.kil...@gmail.com wrote:
then how to put
s=StringIO.StringIO()
41 matches
Mail list logo