Dear Dr. Massimo,
I wanted to order Web2Py Manual Desktop Edition - Massimo Di Pierro
from VitalSource Technologies.
But i could not realise it.
At the beginning of the order procedure it seem as if there is an
order-form submission problem. But final situation was different.
Here are my order
Sounds like it was a historic night. I truly hope it's the start of a
great time for America.
p.s. was that yes we can actually aimed at Amy as well? :-)
On Nov 5, 6:53 am, Daniel Contag [EMAIL PROTECTED] wrote:
Good choice :)
On Wed, Nov 5, 2008 at 07:50, mdipierro [EMAIL PROTECTED] wrote:
I'm not an IRC person so I may be off the mark but I agree with
seeker.
I think that when people post to the forum they know it's going to be
there forever and take time to describe/reason/justify their points
and that tends to make the points more useful and weeds out the gut
reactions. Would
Pushing to Launchpad w/ Windows PC bzr:
1. you need to create a public ssh key on launchpad; get putty from
http://www.chiark.greenend.org.uk/~sgtatham/putty/ (zip file will do);
2. Unzip files from putty - you'll use 2 - puttygen.exe and pageant.exe
3. run puttygen
1. click
Yarko
I haven't tried it yet but many thanks for a great write-up. One for
AlterEgo?
On Nov 5, 7:54 am, Yarko T [EMAIL PROTECTED] wrote:
I posted this earlier, and Tim pointed out trouble with PC bazaar I've
revised my guide (and worked out PC end of things): This assumes informally
you
I will have a look - thanks. BTW - I am a bit confused re a few
things:
1) Is Google Code deprecated in favour of Launchpad or do they serve 2
different purposes?
2) If I create a blueprint and Launchpad suggests the spec is a wiki
page somewhere, where should I put the spec?
3) Is Launchpad
Dear massimo and pals;
Is there anyway to customize upload field , its rename action?
I would need my uploaded files to go at place , not on upload folder also to
rename in human readable format.
Regards,
Phyo.
--~--~-~--~~~---~--~~
You received this message
Hi all,
On Nov 4, 5:25 pm, mdipierro [EMAIL PROTECTED] wrote:
I think it should accept all valid URLs and should also add http:// if
no protocol is specified.
Ok, that makes sense. I'll try to write a unit test that covers all
possible cases.
Thanks Kyle and Achipa for your input,
On Nov 4, 5:23 pm, mdipierro [EMAIL PROTECTED] wrote:
re: formatting system for AlterEgo
markdown
Ok, thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send
Hi James,
On Nov 5, 1:30 am, James Ashley [EMAIL PROTECTED] wrote:
This means you don't have the PIL module installed. The GAE SDK uses
it to simulate google's image API. If you won't be using that, no big
deal. If you need to, google PIL and install it. It's
straightforward on Windows
On Nov 5, 3:12 pm, achipa [EMAIL PROTECTED] wrote:
Agree with the spec :)
http://www.faqs.org/rfcs/rfc1738.html
Thanks for the handy link.
--Jonathan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web
On p.220, for this line:
response.headers['Content-type']=contenttype(request.args[0])
Very important: that should be a capital 'T' for Content-Type!
The corrected line should be:
response.headers['Content-Type']=contenttype(request.args[0])
--Jonathan
Should I just try a mercurial site, and see if that would work better? :-)
Trac with GIT? ;-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
I downloaded the latest dataTables file, unzipped dataTables and
copied and pasted the jquery.dataTables.js file, the image files and
the demos.css into their respective folders in the static folder of my
application.
Furthermore I added the following lines of code to the
web2py_ajax.html file
Put all the statements in a modified copy of web2py_ajax.html
(myajax.html), you can use your URL coded ones or these:
link href=/{{=request.application}}/static/css/datatables.css
rel=stylesheet type=text/css media=screen charset=utf-8 /
script src=/{{=request.application}}/static/javascript/
last night i tried to get mod_rewrite to work with web2py - no go.
Same with mod_proxy. I then tried wsgi-py stuff and I get a message
from apache access denied - do not have permissions. I then put
web2py in /Users/Shared and the wsgi handler in /Users/Shared and
still get the access
Thank you
It works (yes i can ;-) )
On 4 nov, 22:57, mdipierro [EMAIL PROTECTED] wrote:
db.news.tags.widget=t2.tag_widget(db.news.tags,['news'])
should be
db.news.tags.widget=lambda a,b:t2.tag_widget(a,b,['news'])
A widget is a function that takes a field and its value.
On Nov 4,
On Nov 5, 2:48 am, billf [EMAIL PROTECTED] wrote:
I will have a look - thanks. BTW - I am a bit confused re a few
things:
1) Is Google Code deprecated in favour of Launchpad or do they serve 2
different purposes?
Massimo is mirroring to Google Code because (at least this past
summer)
Hello all;
Any one tried importing from CSV file?
I got the error unable to parse but when i try it directly via csv module in
normal python it parses well.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py
Denes,
Thanks for your reply. One more question though, web2py_ajax.html
contains the following script/script element:
script type=text/javascript!--
function popup(url) {
newwindow=window.open(url,'name','height=400,width=600');
if (window.focus) newwindow.focus();
return false;
}
Sorry that is not the proper thing to do. The problem is that some
database do no allow NULL values in blobs.
You just need to make sure that 'blob' files have default=''
On Nov 5, 6:23 am, Jonathan Benn [EMAIL PROTECTED] wrote:
Hi all,
I tried implementing the code seen on p.220 of the
I think the http header are case independent but anyway, I agree that
should be fixed. It will be in the next verision of the manual.
Thanks for reporting this.
Massimo
On Nov 5, 6:27 am, Jonathan Benn [EMAIL PROTECTED] wrote:
On p.220, for this line:
Not everything here is for backward compatibility. popup, fade,
collapse and ajax are because one should use the equivalent jquery
functions. The rest is necessary to have effects on forms (like the
sliding erros, datepicker, clock) and real-time client side validation
of forms.
On Nov 5, 9:33
There are a lot of examples about this on AlterEgo and config scripts
in the manual (including the free chapters posted).
On Nov 5, 8:29 am, Wes James [EMAIL PROTECTED] wrote:
last night i tried to get mod_rewrite to work with web2py - no go.
Same with mod_proxy. I then tried wsgi-py stuff
Massimo,
But what about the !-- --, doesn't that mean everything in between
this is commented out?
So basically I could just put my $('#example').dataTable(); line of
code right after the $(document).ready(function() { ...
in web2py_ajax.html.
Annet.
--- En date de : Mer 5.11.08, annet [EMAIL PROTECTED] a écrit :
But what about the !-- --, doesn't that mean everything in between
this is commented out?
It's an HTML comment, not a JS comment. It's here to prevent the browser to
display the JS code if it's not JS capable.
Do you have the first row with the column names?
On Nov 5, 6:50 am, Phyo Arkar [EMAIL PROTECTED] wrote:
Hello all;
Any one tried importing from CSV file?
I got the error unable to parse but when i try it directly via csv module in
normal python it parses well.
Hi all,
Grahack asked me if I could take a look at GrooverWiki and see why he
was getting an error on start up, it's because the text fields are
blob and need to be text. In your db.py file delete it all and replace
with:
Here is a pastie of it http://paste.pocoo.org/show/90274/ that might
be
Where do I put the wsighandler.py? Where ever put it how does it know
where to import gluon.main from?
I've tried several things, but it is not working. I did finally got
RewriteRule ^app($|/.*) http://127.0.0.1:port/app$1 [P]
this to kinda work with cas, but when i click on login, i get
fedora 8, ffx 3.0.3
--~--~-~--~~~---~--~~
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 group, send email to [EMAIL
i'm getting further. In app/controllers/default.py i changed the
localhost to a real hostname and changed cas/cas that i had to just
cas
On Wed, Nov 5, 2008 at 11:14 AM, Wes James [EMAIL PROTECTED] wrote:
Where do I put the wsighandler.py? Where ever put it how does it know
where to
server or the client?
client, i think...ffx allows you to accept a self-signed cert...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
where is info on how to use t2 web2py site and google isn't saying
much - i must be blind - do you have a braille version? :)
-wj
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post
What happens if you try getting web2py to bind to port 443 instead of
socket.error: (13, 'Permission denied')
because ports1024 are privileged
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
The regular expression for URI in Appendix B, p.28 of
http://www.ietf.org/rfc/rfc2396.txt(or
http://www.faqs.org/rfcs/rfc2396.html)
http://www.faqs.org/rfcs/rfc2396.htmlmight
be helpful...
On Wed, Nov 5, 2008 at 6:25 AM, Jonathan Benn [EMAIL PROTECTED]wrote:
On Nov 5, 3:12 pm, achipa [EMAIL
Good catch!
Unless you're doing this for simple local testing, this doesn't look like
safe practice...
On Wed, Nov 5, 2008 at 12:16 PM, Stefan Scholl [EMAIL PROTECTED]wrote:
Hi!
In controller file default.py:
data = ZipFile(StringIO(urlopen(http://www.maxmind.com/download/
--- En date de : Mer 5.11.08, ceej [EMAIL PROTECTED] a écrit :
Grahack asked me if I could take a look at GrooverWiki and see why he
was getting an error on start up, it's because the text fields are
blob and need to be text.
The fix works for me. Thanks again Ceej.
Moreover, the error folder of
web2py does some metaprogramming. It adds one line to your default.py
before executing it.
This is there for backward compatibility of compiled apps.
Massimo
On Nov 5, 12:46 pm, Christophe Gragnic [EMAIL PROTECTED]
wrote:
--- En date de : Mer 5.11.08, ceej [EMAIL PROTECTED] a écrit :
http://mdp.cti.depaul.edu/examples/static/t2.pdf
On Nov 5, 12:27 pm, Wes James [EMAIL PROTECTED] wrote:
where is info on how to use t2 web2py site and google isn't saying
much - i must be blind - do you have a braille version? :)
-wj
--~--~-~--~~~---~--~~
You
Massimo has an evolving document on http://launchpad.net/t2
You can grab a copy of the current PDF file from the source / doc area
current version today is here:
http://bazaar.launchpad.net/~mdipierro/t2/main/files/44?file_id=docs-20080922043548-uj1qtzubnbxj3dm6-8
download button is on right
On Wed, Nov 5, 2008 at 11:58 AM, mdipierro [EMAIL PROTECTED] wrote:
http://mdp.cti.depaul.edu/examples/static/t2.pdf
Grazie!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to
If you don't want to use an irc client, you can go to mibbit.com and
click on the server link and then type in something like
irc.freenode.net and type in the nick you want and in the channel box
use #web2py then click on Go and come and have a piece of web2py
(cherry i guess, i like apple)
-wj
Thanks! its ok now
On Wed, Nov 5, 2008 at 4:03 PM, mdipierro [EMAIL PROTECTED] wrote:
Do you have the first row with the column names?
On Nov 5, 6:50 am, Phyo Arkar [EMAIL PROTECTED] wrote:
Hello all;
Any one tried importing from CSV file?
I got the error unable to parse but when
I don't believe this is entirely correct. Spaces and apostrophes
absolutely _should_ be represented in a URL encoded however section
2.2 of the spec discusses unsafe characters and their representations.
Usually a URL has the same interpretation when an octet is
represented by a character and
Thanks for this, Wes -
I never looked into web based IRC - mibbit seems pretty good;
I checked out http://www.web-irc.org/
too, but I like that mibbit puts something in the tab when people said
stuff
Cool!
Yarko
On Wed, Nov 5, 2008 at 1:40 PM, Wes James [EMAIL PROTECTED] wrote:
If you
I've used mIRC, but it's annoy-ware - after a while they say pay! pay!
Some one on #chipy suggested xchat, which hooked right up thru my corp
firewall... so I'm happy...
On Wed, Nov 5, 2008 at 2:56 PM, Phyo Arkar [EMAIL PROTECTED] wrote:
For linux / unix , irssi is the coolest
for windows
Hi,
I use pidign for multi-talk services, including IRC. Right now i am in the
channel using it.
Saludos,
Alfonso de la Guarda
COS
www.cosperu.com
alfonsodg.blogspot.com
alfonsodg.wordpress.com
Telef. 997550914
On Wed, Nov 5, 2008 at 15:59,
Ok, thanks for your kind answers.
On Nov 5, 7:54 am, mdipierro [EMAIL PROTECTED] wrote:
yes and no.
{{=t2.include()}} will write the html head part that includes all
requires css and js. They are
'/plugin_t2/static/t2/scripts/jquery.js',
I'm going through the puppy demo. I installed the puppy app (tar
file) and I can add a picture, but it is not showing. It was a
shift-command-4 grab on a make that mad a png. I converted the png to
a jpg in uploaded over the old file, but still no show. Any idea why.
PIL is installed on my
hello Yarko,
suggesting Django on this forum? Blasphemy!
Thanks for the research but I'm already using web2py for some other
stuff so I don't want to bring in another framework because it would
make distribution and maintenance harder.
Richard
On Nov 5, 8:06 pm, Yarko T [EMAIL PROTECTED]
and I should add - programming with web2py is more pleasant.
On Nov 6, 10:52 am, Baron [EMAIL PROTECTED] wrote:
hello Yarko,
suggesting Django on this forum? Blasphemy!
Thanks for the research but I'm already using web2py for some other
stuff so I don't want to bring in another framework
No. PIL is not required.
Do you have the action?
def download(): return t2.download()
Massimo
On Nov 5, 5:09 pm, Wes James [EMAIL PROTECTED] wrote:
I'm going through the puppy demo. I installed the puppy app (tar
file) and I can add a picture, but it is not showing. It was a
it is from the link on the vimeo demo site web2py.app.puppy.tar
it has @t2.requires_login(next='login')
def dwonload():
return t2.download()
in the puppy/controllers/default.py
-wj
On Wed, Nov 5, 2008 at 4:55 PM, mdipierro [EMAIL PROTECTED] wrote:
No. PIL is not required.
Do you have
You can create a minimalist forum with this code:
# model db.py
from applications.plugin_t2.modules.t2 import T2
db=SQLDB(...)
db.define_table('thread',SQLField('title'))
db.thread.represent=lambda thread:
A(thread.title,_href=t2.action('thread',thread.id))
HI Richard -
I wasn't suggesting _doing_ stuff in Django - I was suggesting looking at
the code - the data structures should be easy to port, and maybe even some
of the logic that has to do with the data... Porting is always interesting.
And looking at what others do for end results can be a
We are at phase I of this project. We built couple of robots to send
some orders to the trading system. I think it is not difficult to get
the real data from internet. Maybe we can use the RSS to import the
data from other websites. Most likely the data has some delay. I will
do more research on
Correction:
# model db.py
from applications.plugin_t2.modules.t2 import T2
db=SQLDB('sqlite://storage.db')
db.define_table('thread',SQLField('title'))
t2=T2(request,response,session,cache,T,db)
db.thread.represent=lambda thread: \
A(thread.title,_href=t2.action('thread',thread.id))
#controller
send me your packed app and I will look at it.
Massimo
On Nov 5, 8:56 pm, Wes James [EMAIL PROTECTED] wrote:
no - i was just look at code on one computer and typing in the laptop
- this code is from his tar file... - it's spelled there fine...
-wes
On Wed, Nov 5, 2008 at 6:59 PM, ceej
Massimo,
It is a straight copy from your puppy demo from your t2.pdf which has
http://www.vimeo.com/1790354. I downloaded the t2 plugin and the
puppy app - no changes, just started using it.
I'm going to follow your demo line for line and see if that works.
thx,
-wes
On Wed, Nov 5, 2008 at
As cool as the features for BZR, it is just pain for those spoiled
by SVN users like me, none of the BZR clients I used worked. I just
did not have the time or patience to hack it up till it worked. I do
not think its because anyone is afraid of BZR, its just that things
work, and work well with
are you talking command line client?
It works well enough; some prefer mercurial (that's what Sphinx
documentation project just moved to from SVN)...
The whole concept of a distributed system (as opposed to SVN) will allow
more people to contribute more readily so it's worth these early
I tried HG, the command client, worked well. I dunno. I will try our
new versions of the clients if the come out
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send
There was a bug in posted version. I fixed and I am reposting now.
Download t2 again in 1h.
Also something bad happened to by bzr branch. It got corruped. Hope it
is fixed not.
Massimo
On Nov 5, 9:06 pm, Wes James [EMAIL PROTECTED] wrote:
Massimo,
It is a straight copy from your puppy demo
Just today my t2 branch got corrupted.
I never did a merge. I always commit and push into main branch.
There is an old devel branch that I never use but I do not how to
delete from launchpad.
Today I tried commit and told me it was not in sync with main
So I checked out main again and it came
Hello Annet,
The steps are simple, but they have to be followed well.
1. Create a copy of the web2py_ajax.html file
2. Reference the datatables plugin from your copy of web2py_ajax.html
file
3. Reference the CSS that comes with the plugin too, otherwise the
plugin would not worlk
4. The URLs to
Hi Massimo,
On Nov 5, 7:00 pm, mdipierro [EMAIL PROTECTED] wrote:
Sorry that is not the proper thing to do. The problem is that some
database do no allow NULL values in blobs.
I didn't think it was the correct fix, but it worked! ;)
You just need to make sure that 'blob' files have
I think Massimo means this:
SQLField('Jons_blob', 'blob', default = ),
right massimo?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
Massimo;
When i run web2py in FCGI , there is no visible problem but there are some
Socket errors on the background . Broken pipe , seems communicatiion
terminated before finished and it is not handled.
socket.error: (32, 'Broken pipe')
Unhandled exception in thread started by bound method
Hi guys,
Any chance of adding a chapter to the T2 manual describing the steps/
process/requirements of converting a custom layout file to a T2
compatible layout?
Would be nice to have such instructions for converting a layout to a
standard Web2Py layout as well. I seem to remember such a
Hi Folks
Have been doing some extensive reading on Google gears. They include a
sqlite utility call fts2 which provides full text search capabilities.
Here is the link: http://www.sqlite.org/cvstrac/wiki?p=FtsTwo to the module.
Any thoughts on how thiose could be implemented in web2py.
The
Hi !
Today, i want to repeat my request for a copy of the e-manual of the
w2py.
Please let me know your answer. Thanks
On 5 Kasım, 11:03, ural [EMAIL PROTECTED] wrote:
unfortunately amazon.com has the normal paper-publıshed book only.
I prefer e-book because of -0- deliverytime at least.
So
and I don't see a branch named ~mdpeirro/web2py/main --- but I _do_ see one
called ~mdpierro/web2py/devel
strange indeed...
Sphinx project this week moved off of SVN to Mercurial, hosting at
http://www.bitbucket.org/birkenfeld/sphinx/
Ultimately, it would be nice to have a web2py hosted
Hi Voltron and Massimo,
On Nov 6, 8:10 am, voltron [EMAIL PROTECTED] wrote:
SQLField('Jons_blob' , 'blob', default = ),
Yes, thank you for that! This worked and fixed the issue.
Consequently, I've found an erratum for the web2py manual! :-)
The line in the web2py manual on p.220:
P.S. I think it might be nice for web2py to provide some sort of
feedback to let the end-user know why the form.accept() call rejected
the db insertion.
Otherwise, the next time someone runs into this issue they will again
have to load the debugger (assuming they have one) to diagnose why
they
74 matches
Mail list logo