I have created a web2py forum software, now currently only in the Dutch
but wil be ported to english.
Ziet er goed uit!
--
http://technogems.blogspot.com
http://a-touch-of-music.blogspot.com
http://youtube.com/stefaanhimpe
--
Resources:
- http://web2py.com
- http://web2py.com/book
# born_to_fail.py
foo ='bar'
defmain():
printfoo
if__name__=='__main__':main()
If I run your code using
python born_to_fail.py
I get as output
bar
Best regards,
Stefaan.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
I just tried and it works without problem on my local computer.
I'll double check what I did on pythonanywhere.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report
is it running well in your local computer? or maybe try to import module
Oh wait! On my local computer it was importing not from the modules
folder but from a globally installed version of music21. I need to
examine more first...
--
Resources:
- http://web2py.com
-
Intersestingly, it works correctly on my PC locally if I put it in my
application's modules folder, but not on pythonanywhere.
I found out, however, that I can work normally after I move music21 to
web2py's site-packages folder (outside the application).
This solution is not entirely
Michele Comitini wrote:
Seems that the new layout of python.org is here: http://python.org
My first impression: it feels too widely spaced for my smaller laptop
screen. Their community menu runs off my screen (unless I go
full-screen in my browser, which I normally never do).
Although
Hi Mirko,
short answer: I have no idea really, it just came out like that, but here's
what I did that might influence the result:
1. I think these are the relevant options I passed to my grid:
ui='web2py',
...
The instance only lives for
24 hrs unless you sign-up. In that case it will persist.
Hi,
I tried creating something last week as I saw it announced on the dev
mailing list, and despite not signing up, I now see it still appears to
be alive. Is this expected?
Best regards,
Stefaan.
--
Hi,
def index():
form = SQLFORM.grid(db.stazione,
fields={db.stazione.codice,db.stazione.sito_id,db.stazione.data_prelievo},
...
You could try:
fields = [db.stazione.codice, db.stazione.sito_id,
db.stazione.data_prelievo]
i.e. [] instead of {}
HTH,
Stefaan.
--
Resources:
-
Anyone know how I can do that?
I did just that yesterday!
Here's what I did:
I passed a parameter
onupdate=ongridupdate
to the grid, where
def ongridupdate(form):
# all kinds of stuff, followed by...
redirect(URL(default, index, extension=html),client_side=True)
--
Resources:
-
Hello list,
I'm looking for suggestions for something to manage in-house seminars.
Does anything like this exist already? (I can hardly imagine it
doesn't...) Can Pynuke or Conf2py be used for something like this?
If nothing exists, I might try to make something simple myself.
Some
+1
--
---
You received this message because you are subscribed to the Google Groups web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Should it be done?
No.
--
---
You received this message because you are subscribed to the Google Groups web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit
Hi there,
Hi there,
I have used pyjamas with css successfully before.
The secret was to change the view a bit to insert a link to the .css file.
html
head
meta name=pygwt:module content={{=URL('static','output/Portal')}} /
link rel='stylesheet' href='{{=URL(static,
solved some of the issues...time to get crackin'!
Glad to hear it :)
I have found the inspect element tool in chromium to be very valuable
in diagnosing trouble with my application.
Looks pretty impressive!
Perhaps this can be useful.
Hello list,
Would anyone have an idea on how to accomplish reverse ajax (server
push) on free hosting like fluxflex/pythonanywhere?
If I'm correct, typical comet libraries require special web servers,
so that is probably out of the question on typical free hosting sites.
For my own
This new look that Google Groups has implemented is seriously
debilitating
+200
Everything is so complicated compared to the old google groups. :-(
rant
I passionately dislike the look and feel of the new google groups.
The new motto seems to be Why fit all messages on one screen if you can
fit it on four. (And no need to point out compact mode, the amount of
white
Hello,
I downloaded web2py 1.99.7 source code and google app engine sdk 1.6.3.
When I try to start web2py using dev_appserver, it complains (see stack
trace).
Any ideas?
Best regards,
Stefaan.
WARNING 2012-03-16 21:26:56,734 rdbms_mysqldb.py:74] The rdbms API is
not available because the
Gelukkig nieuwjaar :)
Stefaan.
Vrolijk kerstfeest en gelukkig nieuwjaar!
I have found one solution which works for me:
In static/css/basic.css I commented:
/*.web2py_grid td { white-space:nowrap; }*/
Thanks for posting this!
Best regards,
Stefaan.
tomt wrote:
I wanted to implement the 'extracolumns' feature of SQLTABLE
and the example provided in the source code is:
:param extracolums = [{'label':A('Extra',_href='#'),
'class': '', #class name of the header
'width':'', #width in pixels or %
I went web2py when I realized that what worked five years ago isn’t
working today.
Do we need a policy about this?
live and let live ?
Massimo Di Pierro wrote:
The new grid/smartgrid have a much better search feature. A new button
query shows a popup panel that allows you to build the query string.
Can you please check on your existing tables and see if you encounter
any problems?
The capabilities columns seems to be missing
Hello list,
I try to add two SQLFORM.grid in one view.
They refer to separate tables.
I have given them a separate formname.
The edit and update buttons behave weird: when i press view/edit in
either grid, *both* the grids display the same (expected) view/edit form.
Can two SQLFORM.grid be
Also, performing a search in one of the two grids actually
results in both grids searching for the same keyword.
And noticed another thing: the export button
always returns results for the first table, even
when clicked on the second table.
Some code:
view
{{extend 'layout.html'}}
{{=servers}}
{{=server_capabilities}}
**
controller
**
def index():
links = [lambda row: A('Check status',_href=URL(c='administration',
f='check_server_status/%s' % row.id))]
servers = SQLFORM.grid(
Massimo Di Pierro wrote:
Did you put this:
auth.define_tables()
in the controller instead of a model? Something is not executing that
line when you visit appadmin.
I left it where it was in the simple application i created using the
web interface. I just added a table of my own at the
A partial reply to my own questions:
I was wondering about grid/smartgrid: currently we can use
maxtextlength=XXX to indicate the max length of a column. If the real
length is longer than XXX, the text is chopped at a suitable length
and ... is added to it.
If you configure a long
Please help me test it and suggest improvements:
http://tests.web2py.com/tracker
Hello, I've attached a .jpg image to one of the issues,
but when I tried to download the attachment, I got
Invalid Request
Also, not sure if bug or feature:
after commenting on one of the issues it seems I
Please help me test it and suggest improvements:
Also not sure if bug or feature:
If I add an issue, owner is fixed to massimo.dipie...@gmail.com
(I had expected to be the owner of the issues I logged)
Also I seem to be unable to add new issues (perhaps that's a matter of
permissions), but
Hello,
I seem to have hit an unexpected detail of the jsonrpc support in
web2py: when I post a json request to my web2py application, I get a
json reply with a content-type set to text/html; charset=utf8 (whereas
i had expected something like application/json).
Am I doing something wrong?
There *is* a bug, but it should be generating text/x-json (and that should be
fixed). Are you sure you're getting text/html?
I definitely received text/html.
(web2py 1.98.2, running on rocket 1.2.2).
A wide variety of content types seems to be in use, but
http://www.ietf.org/rfc/rfc4627.txt
Is this coming through generic.json?
I created a simple web application from scratch, only added this code in
the controller (I think web2py has support for both json and jsonrpc?
i'm using jsonrpc here):
@service.jsonrpc
def add(x,y):
return x+y
Now, I post a json request over http to
I decided to upgrade to the latest web2py version 1.98.2, then using
the GAE app launcher for windows (version 1.5.2) I deployed it to the
google server. when I try to go to the urlmy
application.appspot.com then I got a server error 500.
I believe there's currently an issue with GAE at
http://www.scribd.com/doc/60038745/web2py-talk
The slides are stunningly informative and beautiful.
http://news.netcraft.com/archives/2011/06/22/startssl-suspends-services-after-security-breach.html
I found this blog post and it seems interesting:
http://www.mattb.net.nz/blog/2011/06/13/using-startcom-free-ssl-certificates-with-cyrus-imapd/
villas wrote:
Your password should only be entered into the authentication site,
e.g. if you log in via Google you should only enter your password into
a browser window which shows a Google url.
Thanks for clearing that up. My n00bieness to web stuff obviously shines
through :)
contatogilson...@gmail.com wrote:
The web2py in the Pypi is old. When go to update? Need to help?
_
I just noticed there's a buildout recipe for web2py:
http://pypi.python.org/pypi/web2pyrecipe/1.0
Do you have any suggestions about how to log the user out and keep
control of what he sees next?
David J. already answered your question: use session.flash instead of
response.flash
best regards,
Stefaan.
http://vimeo.com/20743963
I'm a bit intrigued by how the screencasts are made.
Given that they show no typos and constant typing speed, I assume you
made (or found) a system that takes a text file as input and renders it
to a screencast automatically?
My suggestion - Konstantin Scherbakov, maybe
Liszt's transcriptions of Beethoven symphonies for the Piano
His Lyapunov etudes are well worth listening to as well :)
think of a dot a False. Two does r and w are false, one dot and only w
is false.
IMHO: It's very short to write, but nearly impossible to guess its
meaning. Wouldn't Field('readonly:name') and Field('invisible:name') be
more readable ?
I have included a response to Jacob within my own answer to that question.
I liked your answer.
I can't speak to wether django is a good web framework: I haven't used
it. I suspect it is though. However, his review of web2py is not a good
review at all. It is based on no experience, based
Hello list,
I am trying to wrap my mind around AJAX, and I would like to solicit
your advice. I have made something that can do real time (well... almost
:) ) log file monitoring, but I don't see how to implement it in the
most web2pythonic way possible.
In the controller I have a function
Hello,
It's not clear to me how you would combine PyQt (or PySide) with web2py
in the same application, it doesn't seem to make much sense to me.
Provided you could actually make this work, a PyQt UI embedded in a
web2py application would only be visible on the server (e.g. some google
data
first they laugh at you then they fight you then you win
(Mohandas Karamchand Gandhi)
Best regards,
Stefaan.
Kuba Kucharski wrote:
On Fri, Jan 7, 2011 at 9:43 PM, Stefaan Himpestefaan.hi...@gmail.com wrote:
first they laugh at you then they fight you then you win
http://www.mail-archive.com/web2py@googlegroups.com/msg32314.html
Your link didn't work for me, but I assume this points to the same:
first they laugh at you then they fight you then you win
http://www.mail-archive.com/web2py@googlegroups.com/msg32314.html
Your link didn't work for me, but I assume this points to the same:
http://www.mail-archive.com/web2py@googlegroups.com/msg32314.html
Lol! Interesting how gmane rewrites
Seems like good news to start 2011 :)
Best regards,
Stefaan.
I would like to see web2py becomes matured in a similar model as
Drupal, at lease with a PR manager, a release manager, a documentation
manager, and a newbie-assistance manager, together with a platform
that attracts developers and encourages contribution. Massimo's role
should be in developing
Is there a typo on this planet that can evade Anthony? :D
While we're on the subject... *cough*experts4solutions.com*cough*
Its typos still make my eyes bleed :p
pbreit wrote:
I see lambda used quite a bit and don't totally understand the concept.
Is there a simple rule to follow to know when it is necessary to use?
Sometimes you need to pass a function as an argument to another
function. In that case you have a choice to
1. define a separate
myfunction(lambda x: print 'Eat %s!' % x)
and that would print 'Eat this!'.
Ahm... :)
You can't use print in lambda as it is a statement, not an expression
(in python 2.x at least)
Could it be that the corrected version is not online yet ?
Hello, thanks for designing a beautiful theme!
One remark though: on my screen the white experts4solutions logo (as
inlined in the text) is hard to read.
Best regards,
Stefaan.
Stefaan Himpe wrote:
Could it be that the corrected version is not online yet ?
To be clear: I'm referring to the spelling corrected version.
--
http://www.experts4solutions.com
--
Looks very slick :)
There's a typo on http://www.experts4solutions.com/e4s/default/companies
(it says conact instead of contact)
Best regards,
Stefaan.
Still looks very slick :)
But there's a second typo on
http://www.experts4solutions.com/e4s/default/guidelines
In the first sentence of the RAD section it says but a belief where I
expected something like by a belief...
Best regards,
Stefaan.
Some more typos in the guidelines page...
faled prototypes can be minimized by
= failed prototypes can be minimized [also remove the word by]
it is not as an alternative to executing the full project project. =
[it mentions project twice at the end of the sentence]
mjor contributor = major
Hope you enjoy it. If you guys think it's OK as it is, I'll post a PDF
version somewhere.
I spotted a typo alaready (from: The age of web applications has
alaready started...and web2py is there)
The sentence Maybe not as web2py. sounds a bit weird to me (but I'm
not a native English
Frankly, I think including closed-source (binary even) apps would be
better PR. You CAN use web2py to build them, so why not show them off?
Can't closed-source applications already be shown off?
I'm thinking about http://www.appliedstacks.com/PoweredBy/web2py
I don't think it is our job to
67 matches
Mail list logo