Just to be sure that its clear what I am talking about.
http://susestudio.com
What produces modified opensuse / sles installation disks or vm's to deploy.
So it could generate a full web2py server and it will be about a 300mb
download as a vmware/kvm image or as a bootable harddisk, life cd or
Thanks, :-)
I probably make it anyway just to play around with it. But then I do not share
by default.
> There was discussion
>
> http://www.turnkeylinux.org/forum/general/20110107/tklpatch-web2py-framewor
> k
>
> On Jul 20, 8:04 pm, Mike Veltman wrote:
> > First I dont know if someone alread
I posted this problem a view days ago:
http://groups.google.com/group/web2py/browse_thread/thread/4f37d6ab1d2d752a
It's not an issue, but it's still bothering me ;-)
Kind regards,
Annet.
There was discussion
http://www.turnkeylinux.org/forum/general/20110107/tklpatch-web2py-framework
On Jul 20, 8:04 pm, Mike Veltman wrote:
> First I dont know if someone already did it.
>
> I have been playing with suse studio for a while and I thought to build a
> vm/install iso for a base and
I think for now Anthony's proposal is the way to go. Open a ticket in
google code and we can think of other options.
On Jul 20, 5:53 pm, Anthony wrote:
> I think there are a few possibilities. First, your MultiT function could
> work, but you'd have to use str(T(text)) instead of T(text). The rea
I think 1 is fixed in trunk. Did you try? What is the bug not fixed in
trunk?
On Jul 20, 1:48 pm, Vasile Ermicioi wrote:
> just an old wish of mine:
> - make web2py to work with latest pyamf version,
> - and there is a bug in latest version which is not fixed in trunk
>
> thank you
I'm not a fan of images and instead try to steer towards a scripting
approach. There are a bunch of scripts in the Web2py distro and I and others
have also created some scripts:
https://bitbucket.org/pbreit/web2py-automation
http://code.google.com/p/web2py/source/browse/#hg%2Fscripts
LOL
On Jul 20, 5:22 pm, Michele Comitini
wrote:
> Gee... Massimo aren't you on vacation? Stop bothering us! ;-) ;-)
>
> mic
>
> 2011/7/20 Massimo Di Pierro :
>
>
>
>
>
>
>
> > Hello everybody,
>
> > I apologize I have been not active on the list for a few days does to
> > a series of circumstance
I agree it would be useful.
It will be tricky to implement.
Moreover
row = db().select(db.table.field.date()).first()
would not go into row.field but into row[db.table.field.date()]
it would be much easier to just provide a function row.field.asdate()
or row.field.astime()
On Jul 20, 5:03 pm,
In file
views/plugin_wiki/comment.html:
there is
{{from gluon.tools import prettydate}}
On Jul 20, 1:39 pm, Anthony wrote:
> I'm not sure about that -- maybe Massimo can answer.
>
>
>
>
>
>
>
> On Wednesday, July 20, 2011 2:18:23 PM UTC-4, Vincent wrote:
> > Hi Anthony,
>
> > thanks for clarifyin
Hey guys,
Just wanted to say hi to all of you, I recently started using web2py,
actually i was going to start it on Django but I read lots of good
things about web2py so I am planning on using it.
I have done some python programming but I am new to web development
with python.
Thanks
Furqan
Hi,
I'm trying to call web2py.gluon.main.wsgibase depending on whether a
url path matches.
The code is like this:
[...]
os.chdir(web2py_dir)
import web2py.gluon.main
os.chdir(current_dir)
[...]
if [...]:
httpd = wsgiref.simple_se
URL for ref.83 is broken - http://sial.org/howto/openssl/self-signed
typo in apt-get below:
sudo apt-egt -y install libapache2-mod-proxy-html
On Jul 20, 2011, at 7:05 PM, luckysmack wrote:
>
> oh yea? well thats handy. am i able to fork/clone a mercurial repo as
> a git repo?
Why git, btw? Seems like sticking with hg would be more straightforward.
>
> On Jul 20, 4:33 am, blackthorne wrote:
>> be aware that google code hosting now su
Hi Joaco,
Thanks for your reply.
The information given by you is very helpful.
Thanks again.
--Vineet
On Jul 20, 4:56 pm, Joaquin Orbe wrote:
> On Wed, Jul 20, 2011 at 5:45 AM, Vineet wrote:
> > I was looking for a library to export data to OpenOffice & Excel.
> > I found 2 such open source proj
Have you looked at
http://code.google.com/p/web2py/source/browse/gluon/contrib/login_methods/gae_google_account.py?
See http://web2py.com/book/default/chapter/08?search=GAE+login.
Anthony
On Wednesday, July 20, 2011 2:12:33 PM UTC-4, Nikhil Rishi wrote:
> Hi
> I am a beginner in web2py, aft
Thanks Johann!
On Jul 20, 8:11 pm, Johann Spies wrote:
> On 20 July 2011 14:09, Johann Spies wrote:
>
>
>
> > I use this:
>
> > db.define_table('akb_doccenter_location',
>
> > Field('location'))
>
> Apologies, I did not complete the message before sending: the model includes
> a
Hello Mate,
When using Facebook Connect for login purpose there is no
Callback(onaccept) method that Web2py can call and execute right after
the user login to the application. The Callback is only available for
Web2Py Auth.
I was wondering why that Web2py limitation ?
>From the application level
oh yea? well thats handy. am i able to fork/clone a mercurial repo as
a git repo?
On Jul 20, 4:33 am, blackthorne wrote:
> be aware that google code hosting now supports git..
>
> On Jul 20, 4:44 am, luckysmack wrote:
>
>
>
>
>
>
>
> > Well i was going to for the original. But it being so out of
First I dont know if someone already did it.
I have been playing with suse studio for a while and I thought to build a
vm/install iso for a base and test web2py server.
So I do some brainstorming
It will be based on a minimal server (opensuse 11.4) install.
I was thinking/brainstorming to do
PLUGIN PowerGrid
ONLY FOR TESTERS!! It is an Pre Alpha Version.
No Documentation yet (use it by example)
It would be full of JavaScript Bugs and need documentation, if you can help
with documentation please let me know your bitbucket user.
DEMO: http://labs.blouweb.com/PowerGrid/default/index
D
I think there are a few possibilities. First, your MultiT function could
work, but you'd have to use str(T(text)) instead of T(text). The reason is
that T() returns a lazyT object, not the translated string (it isn't
translated until rendering). You can force the translation by calling the
lazy
Gee... Massimo aren't you on vacation? Stop bothering us! ;-) ;-)
mic
2011/7/20 Massimo Di Pierro :
> Hello everybody,
>
> I apologize I have been not active on the list for a few days does to
> a series of circumstances: travel, power outage, jetlag. Anyway, looks
> like Anthony, Jonathan and a
Hello list members,
sometimes is useful to exctract the date or the time from a Filed
object without traversing the rows returned by a select statement.
I provide an examlpe:
db.define_table('test',Field('data','datetime'))
def getdates():
rows = db(db.test).select(db.test.data.date())
re
The thing is that in Spain, there are some bilingual regions with their own
language besides the official language. Sometimes they require that an app
be in the main language (spanish) and their specifical language and the
capatility to switch between them, and rarely (this case), have both
simulta
On the one hand If you only want to display two languages at the same time
at all times then translations are not required.
If on the other hand you want people to be able to switch between languages
like this http://voiceofaccess.org , then translations are required but
displaying both langu
Bruno, if you can send me PowerGrid for test it, i'd appreciate it, looks
great.
2011/7/20 Roberto Perdomo
> Hi, thanks for your work with powertables.
>
> Today i resolved the problem, editing plugin_powertable.py.
>
> I have replace live for bind, but not only load the details for the first
>
Hi, thanks for your work with powertables.
Today i resolved the problem, editing plugin_powertable.py.
I have replace live for bind, but not only load the details for the first 10
records. The solution was load the table with all records (iDisplayLength =
-1), but recentlly discovered that live i
On Jul 20, 12:32 pm, Herman wrote:
> is missing an s after %(first_name) :
Fixed, well-spotted thank you.
just an old wish of mine:
- make web2py to work with latest pyamf version,
- and there is a bug in latest version which is not fixed in trunk
thank you
Hi Massimo, i sent a mail a few days ago asking about some way to
provide "simultaneous multi-language" support to our application. If
you (or somebody) could give some suggestion would be nice.
http://groups.google.com/group/web2py/browse_thread/thread/d6525c6623aad50c
thanks in advance
On 20 j
I'm not sure about that -- maybe Massimo can answer.
On Wednesday, July 20, 2011 2:18:23 PM UTC-4, Vincent wrote:
> Hi Anthony,
>
> thanks for clarifying that. I guess my question is then:
>
> why does it work in the default application without having to do "from
> gluon.tools import prettyda
Please send me an example of code that breaks issue 319.
On Jul 20, 12:45 pm, José Luis Redrejo Rodríguez
wrote:
> There are a couple of bugs I reported a couple of weeks
> ago:http://code.google.com/p/web2py/issues/detail?id=324http://code.google.com/p/web2py/issues/detail?id=319
>
> Both conta
Hi
I am a beginner in web2py, after going through the manual.. the very
first thing I am trying to do is using Google Apps/ Google Accounts as
Authentication instead of regular user-names and passes.
Please help. Please provide exact steps what i need to do.
Thanks
Nikhil
Hi Anthony,
thanks for clarifying that. I guess my question is then:
why does it work in the default application without having to do "from
gluon.tools import prettydate" in the page.html view?
Or more explicitly, what could cause the "prettydate" function to be
in the namespace in the page.html
There are a couple of bugs I reported a couple of weeks ago:
http://code.google.com/p/web2py/issues/detail?id=324
http://code.google.com/p/web2py/issues/detail?id=319
Both contain suggested patches to fix them, and #324 is specially
important for many people.
2011/7/20 Massimo Di Pierro :
> Hello
form.validate() and form.process() patch that I sent. ( need to be tested,
validates etc..)
On Wed, Jul 20, 2011 at 2:39 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Hello everybody,
>
> I apologize I have been not active on the list for a few days does to
> a series of circumstan
Hello everybody,
I apologize I have been not active on the list for a few days does to
a series of circumstances: travel, power outage, jetlag. Anyway, looks
like Anthony, Jonathan and a few others manage to answer almost all
the questions which proves I am not needed and that is good. ;-)
Anyway,
excellent.
I'm using @service.jsonrpc as a decorator to controller functions and
setting service=Service(globals()) in db.py
what needs to change to move to the new approach?
p.s. the 3rd edition hardcopy arrived last week... my, how it's grown!
excellent production!
On 20 July 2011 18:20, Massi
I think you are looking for the wrong solution to the problem.
You should just use
from gluon.template import render
mail.sent(to=...,message=render(content=...,context={..}))
On Jul 18, 4:47 am, Manuele Pesenti wrote:
> hi *,
>
> I woulld like to reuse a controller function with a different vi
The CAS server supports but 1 and 2 but defaults to 2 which is more
portable. It should work with third party clients out of the box.
On Jul 19, 8:09 pm, Bruno Bemfica wrote:
> Hi, I'm new on Web2Py and Python, and I have a question: There's any
> way to make apps developed with other technolog
Sorry,
Powertable is 'alpha' and I have too much work to do to improve it.
I am trying to solve things..
BTW: I am comming with a new grid system, a complete one, based on CRUD
http://labs.blouweb.com/PowerGrid/default/noimages
(in tests)
Yes. It was a problem to maintain a patched fork of simplejson and it
used to cause conflicts. Now we have
json in gluon/serializers.py which hanldes date/datetimes.
On Jul 19, 11:33 am, Carl wrote:
> sometime between Web2py v1.89.1 and v1.93.2 encoder.py was changed so
> it didn't explicitly su
On Wednesday, July 20, 2011 10:56:18 AM UTC-4, ariel.glez.m wrote:
>
> what thing replace in web2py the context process
I'm not too familiar with Django and its context processors -- it looks like
they automatically add particular variables/objects to your template context
before rendering. N
I have already corrected that - sorry for the confusion...
On Jul 20, 10:23 am, Roberto Perdomo wrote:
> i think that you code is wrong, try with:
>
> return dict( ownedByUser = ownTable.create(), sharedWithUser
> = sharedWithUser.create() )
>
> you were doubling ownTable on the dict.
>
> 2011/7/
Run 2 copies of web2py, one for the script and the other for the web site.
If the database is SQLite you will end up with blocking problems if the
background task takes too long.
@auth.requires_login()
def hello():
return dict(message='hello %(first_name)' % auth.user)
is missing an s after %(first_name) :
@auth.requires_login()
def hello():
return dict(message='hello %(first_name)s' % auth.user)
If you're running one of the web2py binary versions, web2py runs its own
Python interpreter, so it won't have access to the Python installed on your
system (or any of its modules). If you want to use the Python on your
system, just run the source version of web2py -- it's just as easy as the
bi
mdipierro writes:
>
>
> On Oct 25, 11:30 am, Vincent wrote:
> > Not sure how I missed that.
> > I am getting this error,
> >
> > >>> os.chdir('/Users/vmd/Dropbox/web2py/web2py.app')
> > >>> from gluon.main import *
>
> install the web2py source version if you are going this
>
>
Hi Guys,
P
On Wednesday, July 20, 2011 11:17:51 AM UTC-4, Ramos wrote:
>
>
> i have a simple view with some html and no db defined in the background
>
> *EXAMPLE VIEW*
>
> Volvo
> Saab
> Mercedes
> Audi
>
>
> {{=LI(A('something', _href=URL('show', args=??))}}
>
> if i want to pass as argument of URL the
i think that you code is wrong, try with:
return dict( ownedByUser = ownTable.create(), sharedWithUser
= sharedWithUser.create() )
you were doubling ownTable on the dict.
2011/7/20 Chris Baron
> I'm still having a problem getting two powertables on one page. If I
> comment out the code for
hello
i have a simple view with some html and no db defined in the background
*EXAMPLE VIEW*
Volvo
Saab
Mercedes
Audi
{{=LI(A('something', _href=URL('show', args=??))}}
if i want to pass as argument of URL the selection in the above select tag
how do i do that?
thank you?
I'm still having a problem getting two powertables on one page. If I
comment out the code for the second powertable, everything is fine,
but it seems the first powertable can't find its data. Please refer
to code posted above. I think this has something to do with
instantiation, specifically, I
what thing replace in web2py the context process and midelware of
django.
Thank you for the prompt responses.
On Jul 19, 4:12 pm, Roberto Perdomo wrote:
> Hello, it's me again.
>
> Well, I discovered that the problem of loading the table with "load" is in
> the event "live" plugin_powertable.py. I've replaced the event "live" for
> "bind", and, works, but just load the
On Wednesday, July 20, 2011 10:05:11 AM UTC-4, Iceberg wrote:
>
> Hi Anthony,
>
> I encounter same problem. STFW and I read your two posts. One is
> above, the other is here:
>
> http://groups.google.com/group/web2py/msg/25bd655665bf47bf
>
> I am curious to see a bug exists for 2 weeks. Th
On Wednesday, July 20, 2011 8:11:56 AM UTC-4, Vincent wrote:
>
> after some digging around I found the prettydate function in
> gluon.tools.
>
> If I "from gluon.tools import prettydate" directly in the page.html
> view I no longer get an error. If I do the same thing but only in the
> control
On Jul 13, 8:49 am, Anthony wrote:
>
> > Second problem:
> > In trying to find out if setting ajax to True was causing my first
> > problem, I stumbled over a second. Setting 'ajax=False' or not
> > setting ajax at all causes an exception. Could this be a bug? If so,
> > please let me know wh
No, the Set object has to be defined during the same request as the select,
so you should either define it in a model file (as in the plugin_gmap
example), or in the /plugin_openplayers/index function (where the select
happens). Alternatively, you could define a function that does the work of
/
adding a default default/crud_in_comp.load made the trick.
On Wed, Jul 20, 2011 at 2:12 PM, Anthony wrote:
> Do you have a /views/default/crud_in_comp.load view? If not, for now you'll
> need one, as generic views aren't working in non-ajax components at the
> moment (this should be fixed soon).
Do you have a /views/default/crud_in_comp.load view? If not, for now you'll
need one, as generic views aren't working in non-ajax components at the
moment (this should be fixed soon).
Anthony
On Wednesday, July 20, 2011 5:38:18 AM UTC-4, sebastian wrote:
> Hi Anthony,
>
> I have not tested th
after some digging around I found the prettydate function in
gluon.tools.
If I "from gluon.tools import prettydate" directly in the page.html
view I no longer get an error. If I do the same thing but only in the
controller it still does not work.
Any ideas what characteristics of my app may cause
On 20 July 2011 14:09, Johann Spies wrote:
>
> I use this:
>
>
> db.define_table('akb_doccenter_location',
>
> Field('location'))
>
>
Apologies, I did not complete the message before sending: the model includes
a Field(uuid), obviously.
Regards
Johann
--
May grace and peace
On 9 July 2011 03:47, niknok wrote:
> **
> I have another unique column in my table that I would like to use as index
> for record representation. How do I tell web2py to use another index?
>
> Ttrying to use like:
> db.mytable.thisfield.represent = lambda id: db.other(myidx).thatfield
>
I
On Wed, Jul 20, 2011 at 5:45 AM, Vineet wrote:
> I was looking for a library to export data to OpenOffice & Excel.
> I found 2 such open source projects.
>
> For OOO ---
> http://ooolib.sourceforge.net/
>
> For Excel ---
> http://www.python-excel.org/
>
> What I intend to do is, keep the classes i
be aware that google code hosting now supports git..
On Jul 20, 4:44 am, luckysmack wrote:
> Well i was going to for the original. But it being so out of date, i
> thought i would just take the mercurial branch and use a tool to
> convert the code and its branches with history to git. that way it
Can you open a ticket and give an example of SQLTABLE that fail?.
2011/7/19 Anthony
> On Tuesday, July 19, 2011 7:48:35 PM UTC-4, Carlos wrote:
>>
>> So 'truncate' is not being respected when using the previous 'headers'
>> format (simple dict of strings).
>>
>
> Oh, I see, you're right -- that
On 20/07/2011 08:44, Manuele Pesenti wrote:
ok, in this case I need to pass a db set that cannot be stored in
session (right?)... what's the right way to do that?
would it be the case to use tha "global" declaretion such as is
explained here for example?
http://effbot.org/pyfaq/how-do-you-s
Hi Anthony,
I have not tested the trunk yet, but I have change those two lines
other_request.vars = Storage(vars)
other_request.get_vars = Storage(vars)
I still get an error:
invalid view (default/crud_in_comp.load)(in index.html)
{{=LOAD('default','crud_in_comp.load',aj
I was looking for a library to export data to OpenOffice & Excel.
I found 2 such open source projects.
For OOO ---
http://ooolib.sourceforge.net/
For Excel ---
http://www.python-excel.org/
What I intend to do is, keep the classes in web2py folder, import the
classes in controller, then parse the
On Jul 20, 7:21 am, Bruno Rocha wrote:
> try:
>
> def editablefunction():
> id = request.vars.row_id
> column = request.vars.column
> db(db.order_lines.id==id).update(column=value)
> * db.commit()*
Didn't work.
More info: There is a very quick 'Saving' appearing in the edited box
right
72 matches
Mail list logo