thanks for the advice. much appreciated.
I hacked out a script borrowing from Massimo's fine fileutils.py
i copied that file and added this to the top of it:
from datetime import date
and this to the end and i call it and it does what i need, sure is
ugly though, only a parent could love:
Hi Everyone, Hi Massimo,
I was having fun time working with web2py and setting up multiple file
upload in one form using
jquery.MultiFile.js from
http://www.fyneworks.com/jquery/multiple-file-upload/
when I encountered the following problem:
When multiple files are uploaded in one form,
Line 21:
unlink(filename)
Should be:
os.unlink(filename)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this
Anybody hae any ideas how I can enabled this function.
I found in the manual how to disable register function, but nothing
about enabling retrieve function.
Kenneth
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Just got an call from a user trying to register on a website running
web2py. Ha can´t register because hes email address is not going
through the verification when submitting the form.
The address is xcvvc...@hotmail.com, an underscore before the @ sign.
The address those work, is this a web2py
I have a form to which I want to add headers, for the various parts of
data.
I thought the following line of code would add a header before the
first
field:
form[0][0][0].insert(H3('Bedrijfsgegevens'))
However, it results in an error ticket, insert takes three argument
instead of 2.
What should
:-)
On Oct 2, 12:25 am, John Heenan johnmhee...@gmail.com wrote:
I have just activated an in-house developed, well integrated cart and
information site; built with web2py athttp://www.zgus.com. The site
sells customised instrumentation parts for which sourcing information
is important.
I
Thank you. Could you email it to me?
On Oct 2, 5:06 am, Maciek Sykulski macie...@gmail.com wrote:
Hi Everyone, Hi Massimo,
I was having fun time working with web2py and setting up multiple file
upload in one form using
jquery.MultiFile.js
oops
On Oct 2, 5:09 am, mr.freeze nat...@freezable.com wrote:
Line 21:
unlink(filename)
Should be:
os.unlink(filename)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this
It is disabled until you set
mail=Mail(...)
...
auth.settings.mailer=mail
On Oct 2, 5:43 am, GhostRider kenneth.t.lundst...@gmail.com wrote:
Anybody hae any ideas how I can enabled this function.
I found in the manual how to disable register function, but nothing
about enabling retrieve
That's real nice, very responsive.
Can you describe a little more on the setup?
Memory, webserver, ...
On what kind of hardware are you running the site on? A VPS or an
internal server?
On Oct 2, 1:25 am, John Heenan johnmhee...@gmail.com wrote:
I have just activated an in-house developed,
I just run this test:
massimo-di-pierros-macbook:web2py mdipierro$ python web2py.py -S
welcome
IS_EMAIL()('te...@test.com')
so it is not a web2py issue nor a python issue. Perhaps the author of
that site is using an old version of web2py or its own validator for
email addresses.
On Oct
form[0][0][0].insert(0,H3('Bedrijfsgegevens'))
This has the same syntax as list insert in python.
I would suggest using a custom form instead
{{=form.custom.begin}}
h3/h3
{{=form.custom.end}}
On Oct 2, 7:41 am, annet annet.verm...@gmail.com wrote:
I have a form to which I want to add
I simply hit the unicode issue here,
I know I can do this by manual access lol
what I did
Field('rating', type='string', default=u'普遍')
at db definition
then tried to create crud form (yup, I am a lazy guy)
def post():
return dict(form=crud.create(db.uploads))
boom,
it hit a str
Can you try
Field('rating', type='string', default=u'普遍'.encode('utf8'))
On Oct 2, 5:44 am, AndCycle andcycle-goo...@andcycle.idv.tw wrote:
I simply hit the unicode issue here,
I know I can do this by manual access lol
what I did
Field('rating', type='string', default=u'普遍')
at
I see you are on Slicehost - nice. 256MB??
I am still trying to determine min requirements for Web2py.
I had Plone on a 256MB Slice, and it wasn't enough. I moved to Amazon
EC2 reserved instance,
and it's many times faster than Slicehost. Very Happy with EC2.
Part of that is the new setup, but
Hi Annet,
please post an example of the resulting HTML code that you are
looking for.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
Thank You very many, I don´t have many times I checked your last
answer but missed the auth.settings.mailer = mail row.
Kenneth
On Oct 2, 4:24 pm, mdipierro mdipie...@cs.depaul.edu wrote:
It is disabled until you set
mail=Mail(...)
...
auth.settings.mailer=mail
On Oct 2, 5:43 am,
Just wanted to update here for anyone else that tries to implement on
Midphase hosting.
1 - The RewriteBase for me needed to be:
RewriteBase /home/username/public_html/installfolder
That changed from 'file not found' to 'bad request'
2 - I contacted customer support and it seems python isn't
I think this is great. I often need to reuse components and currently
am using a very crude IFRAME system.
On Oct 1, 5:09 am, Massimo Di Pierro mdipie...@cs.depaul.edu wrote:
Here is a video explaining the proposal
http://vimeo.com/6836681
Attached is a document containing the
perhaps to address plugins polluting the rest of the codebase, the
admin interface could support adding and removing of plugins.
On Oct 2, 2:41 am, Yarko Tymciurak yark...@gmail.com wrote:
I generally like the concept, but am uncomfortable with the structure (or
lack of) of the plugin.
For
Hi Chris,
Interesting... are you using shared hosting or dedicated?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe
web2py.com runs in a VM with 512MB Ram.
On Oct 2, 8:30 am, Michael - afewtips.com afewt...@gmail.com
wrote:
I see you are on Slicehost - nice. 256MB??
I am still trying to determine min requirements for Web2py.
I had Plone on a 256MB Slice, and it wasn't enough. I moved to Amazon
EC2
See section 4.2 in the manual for an explanation of the argument-URL
convention in web2py (P. 113; http://www.web2py.com/examples/default/docs)
Note: If a controller function takes arguments, it is not exposed to views
(rather, just for server-side use); passing from view to controller is done
...yeah; lots of hardwired paths...
On Fri, Oct 2, 2009 at 2:26 AM, Web2py-SuperFan mwkan...@gmail.com wrote:
thanks for the advice. much appreciated.
I hacked out a script borrowing from Massimo's fine fileutils.py
i copied that file and added this to the top of it:
from datetime
Interesting. Not to get into a VPS debate, but I now pay $42 per
month ($20+($265/12 initial Reserve cost) for a reserved EC2 instance
that even with my whole Plone setup (nginx, varnish, haproxy, Zeo) I
still have on average 1.3 Gig available memory. Everyone should spend
a weekend setting one
This is on a shared host.
On Oct 2, 9:17 am, DenesL denes1...@yahoo.ca wrote:
Hi Chris,
Interesting... are you using shared hosting or dedicated?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users
Funny enough I actually purchased the pdf from lulu and read it
twice ... obviously once too less :)
Thanks, but as described on page 113,114 the args=['x', 'y'] seems not
to work. If you pass a list with one single element it works, multiple
elements separated by comma do not.
SO I need
I emailed the patch and also the modified MultiSQLFORM class.
On Oct 2, 3:22 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Thank you. Could you email it to me?
On Oct 2, 5:06 am, Maciek Sykulski macie...@gmail.com wrote:
Hi Everyone, Hi Massimo,
I was having fun time working with web2py
On Fri, Oct 2, 2009 at 10:14 AM, znafets znaf...@googlemail.com wrote:
Funny enough I actually purchased the pdf from lulu and read it
twice ... obviously once too less :)
Thanks, but as described on page 113,114 the args=['x', 'y'] seems not
to work. If you pass a list with one single
Please excuse my ignorance if this is a stupid question ...
Given that a pyjamas application can run as both a web application and
a desktop application (using MSHTML or xulrunner) and that pyjamas
applications can be developed using web2py then does that mean web2py
can be used as a framework
web2py applications require a server to run but it comes with it. If
you run it on 127.0.0.1:8000 (the default) the application is
basically private since it cannot be accessed from the network.
I do not think there is any distinction any more from a desktop app
and a web app.
Whether you use
not sure why you think it doesn't work; it should work just fine:
x = request.args[0]
y = request.args[1]
well, as soon as I try something like args=[uname, uloc] in the view
it comes up with Invalid request.
args=[uname] works just fine and can be retrieved via request.args[0]
I found this today:
http://statsci.blogspot.com/2009/10/web2py.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe
If no one else can help you, I'll put together an example for you tonight
(tied up this afternoon)
On Fri, Oct 2, 2009 at 12:07 PM, znafets znaf...@googlemail.com wrote:
not sure why you think it doesn't work; it should work just fine:
x = request.args[0]
y = request.args[1]
Which payment processor do you use?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
http://www.google.com/hostednews/ap/article/ALeqM5izzuJeYaNdQE3RQW3n5ZbN1UjM-QD9B33C2G0
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web2py@googlegroups.com
Nah, don't worry, I'll figure that out somehow. Can't ask that much of
you.
Thank you very much for the offer though. I am a web2py rookie (just
started), never used django or alike.
So thanks again
ciao
Stefan
On 2 Okt., 19:22, Yarko Tymciurak yark...@gmail.com wrote:
If no one else can
Mind that URLs are validate on input and if uname contains spaces
things will not work because spaces will be replace by _. I suggest:
td{{=A(uname, _href=URL(r=request, f='edit_user',vars=dict
(uname=uname)))}}/td
and in edit_user
rows=db(db.==request.vars.uname).select()
On Oct 2,
Thanks for the hint, vars seems definetly the better choice.
But the db part drives me to desperation:
doing in controller:
uname=request.vars.uname
query=db(db.user.name==uname)
records=db(query).select()
the select statement already throws up an exception (key error key
(gluon))
On Fri, Oct 2, 2009 at 1:35 PM, znafets znaf...@googlemail.com wrote:
Thanks for the hint, vars seems definetly the better choice.
But the db part drives me to desperation:
doing in controller:
uname=request.vars.uname
query=db(db.user.name==uname)
should be:
query =
Actually I have WingIDE personal v.3.2 but it runs with python2.6 and
definetely not with python2.5, tried it. While web2py needs python2.5
as I understand this is mandatory. I'll try it out with iPython.
thanks again.
Stefan
On 2 Okt., 20:50, Yarko Tymciurak yark...@gmail.com wrote:
On Fri,
wing will run with whatever python you have setup (you can run one project
w/ 2.5, another w/ 2.6);
web2py will run fine w/ 2.6, as long as you are on at least 2.6.2 (I'm have
run web2py with both 2.5 and 2.6.2 on Windows, and on Ubuntu and Fedora).
On Fri, Oct 2, 2009 at 2:06 PM, znafets
Hope I am not getting too off topic but the main reason I've not moved
all my web2py apps (and several other Zope ones) is the fact that
assigning IPs for SSL (https) is still (??) not possible on EC2
instances, do you know if this is still the case?
Thanks
On Oct 2, 8:05 am, Michael -
I don't know why not. The only issue seems to be that each cert
requires a unique IP address
and you can only have 1 IP per instance. I don't think https is a
problem, just authorize 443.
On Oct 2, 4:32 pm, Julio ju...@techfuel.net wrote:
Hope I am not getting too off topic but the main reason
this is just a test of your code:
http://testhogg.appspot.com/init/default/send
http://testhogg.appspot.com/_ah/xmpp/message/chat
i guess you just browse to /send and then browse to /chat which asks
for login
but prints none
also can't see incoming xmpp messages in logs, any ideas.
chrism
On
Yes, I am using a VPS at Slicehost (http://www.slicehost.com) with a
256MB slice (US$20 per month if not using backup). VPS at Rackspace
(http://www.rackspacecloud.com) is potentially even cheaper at 1.5c
per hour or $10.95 per month (not including data transfer). Rackspace
now owns Slicehost and
What remains now is to have an event to further promote the web2py in
Brazil!
Hugs directly from Brazil. hehe
On 2 out, 14:34, mdipierro mdipie...@cs.depaul.edu wrote:
http://www.google.com/hostednews/ap/article/ALeqM5izzuJeYaNdQE3RQW3n5...
--~--~-~--~~~---~--~~
On Oct 3, 3:22 am, notcourage klr...@gmail.com wrote:
Which payment processor do you use?
I am currently using PayPal Express Checkout but have designed the
system to allow easy adaptation. PayPal will accept a total and
redirect back to the merchant site for confirmation. I cannot use
Google
Hi
it's great to see web2py is going to have plugin/component :-)
my two cents below.
- plugins and components enhance functionalities of web2py.
- to augment the web2py system, API and namespace are important issues
to be addressed.
- plugin is an application which happens to interact with
On Oct 3, 3:22 am, notcourage klr...@gmail.com wrote:
Which payment processor do you use?
I am currently using PayPal Express Checkout but have designed the
system to allow easy adaptation. PayPal will accept a total and
redirect back to the merchant site for confirmation. I cannot use
Google
Hi guys!
When the form displays the select with several options from the other
table, using the is_in_db configuration, couldn't also to put a
button, for example ADD NOW, next to it to allows add a new option?
Currently is there this possibility for the CRUD (create and update
forms)?
Thanks very much for the complete description - I love how snappy it is.
Very efficient.
On Fri, Oct 2, 2009 at 8:34 PM, John Heenan johnmhee...@gmail.com wrote:
On Oct 3, 3:22 am, notcourage klr...@gmail.com wrote:
Which payment processor do you use?
I am currently using PayPal Express
HI,
pep selects all the masters.
event select all the details, but there are some masters that have no
details
In the view I have for loop for all masters(pep).
within this loop I have a loop for event
When I run I get an error that the field description in event does
not exist
How would this be
I believe that a real web2py plugin system is going to require changes to
the base web2py code. Otherwise its just a nifty trick.
Plugins would need to be self contained, and not pollute the rest of the
system.
Plugins can be passed variables., for example, lets say you have a Star
Rating plugin,
everything you say can be done in the system I am proposing. I will
post an example of a rating system, nested comments, and perhaps a
calendar.
I think it would be limiting to have a plugin system that can only be
used by the app that includes the plugin. The reason I'd like plugins
to refresh
or, the other way around - maybe web2py could build a nice site to promote
the 2016 Olympics! (I know I'm saving my dime for that one! ;-))
On Fri, Oct 2, 2009 at 7:28 PM, Renato-ES caliari.ren...@gmail.com wrote:
What remains now is to have an event to further promote the web2py in
Brazil!
Consider this code:
db.define_table('position',
Field('name'),
Field('sort_order', 'integer'),
)
db.define_table('person',
Field('name'),
Field('position', db.position),
)
#This sorts by the position.id
On Oct2, 12:42pm, mr.freeze nat...@freezable.com wrote:
New version. Another round of bug fixes and feature additions. There
is now a demo appliance that includes all of the examples and a tool
for testing the JQuery class.
http://www.web2pyslices.com/main/slices/take_slice/8
@AndCycle:
I believe Massimo's suggestion should solve the problem.
One more tips. If you put this line at the beginning of your source
code,
# coding: utf8
and making sure your source code file itself is in utf8, then you can
simply try:
Field('rating', type='string', default='普遍')
Much
On Fri, Oct 2, 2009 at 14:34, mdipierro mdipie...@cs.depaul.edu wrote:
http://www.google.com/hostednews/ap/article/ALeqM5izzuJeYaNdQE3RQW3n5ZbN1UjM-QD9B33C2G0
You are all invited! ;-)
On Fri, Oct 2, 2009 at 21:28, Renato-ES caliari.ren...@gmail.com wrote:
What remains now is to have an
On Fri, Oct 2, 2009 at 9:39 PM, BioNip bionic.nip...@gmail.com wrote:
Consider this code:
db.define_table('position',
Field('name'),
Field('sort_order', 'integer'),
)
db.define_table('person',
Field('name'),
Field('position', db.position),
if you named
t2 had itemize. Does this exist in current w2p? I'm looking for the
itemize and page navigation routines for after a search is entered.
thx,
-wes
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users
Yes, congratulations - let's see summer in Rio or summer in Chicago :)
On Oct 2, 8:05 pm, Álvaro Justen [Turicas] alvarojus...@gmail.com
wrote:
On Fri, Oct 2, 2009 at 14:34, mdipierro mdipie...@cs.depaul.edu wrote:
http://www.google.com/hostednews/ap/article/ALeqM5izzuJeYaNdQE3RQW3n5...
You
On a second thought, Alvaro is right.
I have implemented a rating component. It works but one may have a lot
of them in one page.
It should be possible for components work both via ajax a non.
Moreover if {{load ... }} were to be implemented as Alvaro suggests as
part of the template and run in
On Oct3, 8:41am, Renato-ES-Brazil caliari.ren...@gmail.com wrote:
Hi guys!
When the form displays the select with several options from the other
table, using the is_in_db configuration, couldn't also to put a
button, for example ADD NOW, next to it to allows add a new option?
Currently is
66 matches
Mail list logo