[web2py] Re: Python job oportunity

2010-12-30 Thread cjrh
On Dec 29, 8:29 pm, Bruno Rocha rochacbr...@gmail.com wrote: for me it worked very well. Same. One thing that bothers me is that they require perfect English, apparently, but fail several times themselves: 'Internship at i2Mobile, in Oeiras. We want creative young developers for creative,

[web2py] Re: Job: Web2py expert wanted

2010-12-30 Thread cjrh
On Dec 30, 7:49 am, Jason (spot) Brower encomp...@gmail.com wrote: Why don't these guys use Experts4solutions :/ Probably because there is no reference to experts4solutions on the first page at web2py.com. We should probably put something in there somewhere like web2py consulting services and

[web2py] Re: problem with 'NEW APPLICATION WIZARD'

2010-12-30 Thread kuokon
I can create new app now. Somehow whatever I did caused the 'web2py/NEWINSTALL' file removed but the 'welcome.w2p' was created and that's why it fails to create new application (since it depends on weblcome.w2p (?)) anyway, problem solved, thanks. On Dec 30, 12:50 pm, mdipierro

Re: [web2py] Job: Web2py expert wanted

2010-12-30 Thread Kenneth Lundström
They probably never heard about experts4solutions.com or they want to use functions provided but Odesk. Kenneth Why don't these guys use Experts4solutions :/ BR, Jason Brower On Thu, Dec 30, 2010 at 6:03 AM, Bruno Rocha rochacbr...@gmail.com mailto:rochacbr...@gmail.com wrote:

Re: [web2py] Re: Python job oportunity

2010-12-30 Thread Kenneth Lundström
Maybe they need perfect English as the don´t have it? Kenneth On Dec 29, 8:29 pm, Bruno Rocha rochacbr...@gmail.com wrote: for me it worked very well. Same. One thing that bothers me is that they require perfect English, apparently, but fail several times themselves: 'Internship at

[web2py] Slickgrid - a table or data grid designed for MVC

2010-12-30 Thread Tom Atkins
https://github.com/mleibman/SlickGrid/wiki looks interesting. Grooveshark uses it, see here: http://blog.jerodsanto.net/2010/12/the-tech-behind-the-new-grooveshark/

Re: [web2py] Slickgrid - a table or data grid designed for MVC

2010-12-30 Thread Michele Comitini
looks great! 2010/12/30 Tom Atkins minkto...@gmail.com: https://github.com/mleibman/SlickGrid/wiki looks interesting.  Grooveshark uses it, see here: http://blog.jerodsanto.net/2010/12/the-tech-behind-the-new-grooveshark/

[web2py] eclipse: getting it to ignore db

2010-12-30 Thread weheh
I'm trying to get eclipse to ignore undefined var: db using the if 0: import gluon from ... import ... trick, but I'm not sure where db is coming from?

Re: [web2py] Re: Powertable remarks

2010-12-30 Thread António Ramos
Hello, my opinion is that is great , but for normal use, i think the programmer should not try to reinvent the wheel every time he needs a table. So my suggestion is that you could make a widget to permit the creation of the table in a snap. Best regards António 2010/12/30 Bruno Rocha

[web2py] Re: eclipse: getting it to ignore db [Closed]

2010-12-30 Thread weheh
Never mind, problem was that eclipse wasn't refreshing fast enough.

[web2py] Re: Python job oportunity

2010-12-30 Thread KR
On Dec 30, 10:34 am, Kenneth Lundström kenneth.t.lundst...@gmail.com wrote: Maybe they need perfect English as the don t have it? :-) ... and now we know why they need creative young developers ... ;-) Kenneth On Dec 29, 8:29 pm, Bruno Rocha rochacbr...@gmail.com wrote: for me it

[web2py] Re: Running PHP on top of Web2Py

2010-12-30 Thread jeff
This is very interesting and could make me save (or waste) a lot of time : I have to move a website from PHP to web2py. The website is small and not really dynamic : the content is in tables and so but the site will be extended (in web2py) and can be see as a static website (but with ugly urls

[web2py] auth - some help in settings

2010-12-30 Thread leone
Hi. I need some help in auth settings: I define auth.settings.controller = 'piripicchio' but I continue to receive error about missing '/default/user' function (I have put user in piripicchio controller). I set auth.settings.mailer = mail auth.settings.registration_requires_verification = True

[web2py] Re: auth - some help in settings

2010-12-30 Thread Kaer
On Dec 30, 1:10 pm, leone handja...@gmail.com wrote: Hi. I need some help in auth settings: I define auth.settings.controller = 'piripicchio' but I continue to receive error about missing '/default/user' function (I have put user in piripicchio controller). The trace would be helpful

Re: [web2py] Re: Powertable remarks

2010-12-30 Thread rochacbruno
Hello, my opinion is that is great , but for normal use, i think the programmer should not try to reinvent the wheel every time he needs a table. So my suggestion is that you could make a widget to permit the creation of the table in a snap. Best regards António Antônio, thank you

Re: [web2py] Slickgrid - a table or data grid designed for MVC

2010-12-30 Thread rochacbruno
Very nice! I cant find any documentation about it, but I am testing by the examples. Looks really great. I never imagine they has jqueryui. I am curious about what they are using to play and stream the files, I noticed a remaining dependency on flash to play the songs. Bruno. Sent by

[web2py] Re: auth - some help in settings

2010-12-30 Thread leone
Thanks for you help! About auth.settings.controller I see in the browser a page with content: invalid function (default/user) The function exists in piripicchio controller, not in default! It seems that auth.settings.controller doesn't work. Where my mistake? About auth.settings.registration: -

[web2py] Re: CASE statements in DAL?

2010-12-30 Thread Harkirat
I already tried the None approach and it didn't work. It returns TypeError: 'NoneType' object is not callable Doing the executesql just defeats the purpose of the DAL. We want to code to be database independent. I am in no hurry so if you can post a working sample of this whenever you have time

[web2py] Re: Say hello to pyStack.com

2010-12-30 Thread Luther Goh Lu Feng
May I know if this project is looking for contributors since it is opensource? On Dec 20, 1:15 pm, Julio Schwarzbeck ju...@techfuel.net wrote: Just a quick piece of info. I've renamed the app toQA-Stack.com to make it more application and programming language agnostic, read more info here when

[web2py] Re: Say hello to pyStack.com

2010-12-30 Thread Luther Goh Lu Feng
Oops missed that When the system goes out of beta, I'll place a link to download the source code but for now, if you wish to take a peek at it, let me know, I am using mercurial for source control and will soon make it available in google code. thanks to all. On Dec 30, 11:28 pm, Luther Goh Lu

[web2py] web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread ghoulmann
I'm collaborating with Massimo to produce a Web2py appliance that will install a Lucid distro with Web2py fully configured (probably by patching TurnKey Linux's LAPP stack 11.0). The icing on this would be an init hook to ask the user to set the web2py password on first run. I know where the

Re: [web2py] Re: Powertable remarks

2010-12-30 Thread António Ramos
widget like i saw in maximo movie in vimeo here http://www.vimeo.com/13485916 2010/12/30 rochacbruno rochacbr...@gmail.com Hello, my opinion is that is great , but for normal use, i think the programmer should not try to reinvent the wheel every time he needs a table. So my suggestion is

Re: [web2py] Re: Powertable remarks

2010-12-30 Thread Bruno Rocha
Em 30 de dezembro de 2010 13:51, António Ramos ramstei...@gmail.comescreveu: widget like i saw in maximo movie in vimeo here http://www.vimeo.com/13485916 DONE! {{=plugin_powerTable(db.products)}} and you got a table with default attributes or you can pass attrs

[web2py] Re: Job: Web2py expert wanted

2010-12-30 Thread mdipierro
odesk is a place to find the cheapest people. experts4solutions is the place to find the expensive professionals. ;-) On Dec 30, 3:07 am, Kenneth Lundström kenneth.t.lundst...@gmail.com wrote: They probably never heard about experts4solutions.com or they want to use functions provided but

Re: [web2py] web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread Jonathan Lundell
On Dec 30, 2010, at 7:36 AM, ghoulmann wrote: I'm collaborating with Massimo to produce a Web2py appliance that will install a Lucid distro with Web2py fully configured (probably by patching TurnKey Linux's LAPP stack 11.0). The icing on this would be an init hook to ask the user to set the

[web2py] Re: Running PHP on top of Web2Py

2010-12-30 Thread mdipierro
My main concerns about this way are: - the complexity of having runphp working there is no complexity but it is rally slow. - the work on the templates : I guess that I have to put the php templates in the view folder but I don't see exactly what else I have to do on them Or move them

[web2py] Re: CASE statements in DAL?

2010-12-30 Thread mdipierro
this works for me and this time I tried: db.define_table('a',Field('b')) query=db.a print db(query)._select(CASE WHEN 1=1 THEN 0 ELSE 1 END); SELECT CASE WHEN 1=1 THEN 0 ELSE 1 END FROM a WHERE (a.id 0); rows = db(query).select(CASE WHEN 1=1 THEN 0 ELSE 1 END); On Dec 30, 9:16 am,

[web2py] Re: web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread mdipierro
This is an important issue. The more people can help Rik with suggestions and testing the better. On Dec 30, 9:36 am, ghoulmann rikgold...@gmail.com wrote: I'm collaborating with Massimo to produce a Web2py appliance that will install a Lucid distro with Web2py fully configured (probably by

[web2py] Re: Job: Web2py expert wanted

2010-12-30 Thread Anthony
Yeah, there are currently 6 applicants -- avg. = $23.89/hr. On Thursday, December 30, 2010 12:03:08 PM UTC-5, mdipierro wrote: odesk is a place to find the cheapest people. experts4solutions is the place to find the expensive professionals. ;-) On Dec 30, 3:07 am, Kenneth Lundström

[web2py] How to delete a user?

2010-12-30 Thread Rick
Hi, I don't know if the way I add users is proper, but it works. Now I try to write a a tag for deleting users, and it doesn't work. Here is the code: ==in a controller file== def admin(): records = db().select(custom_auth_table.ALL, orderby=custom_auth_table.username) #records =

Re: [web2py] component .load

2010-12-30 Thread Jonathan Lundell
On Dec 29, 2010, at 3:25 PM, mattynoce wrote: hi all. i have a component i'm plugging into the middle of a page, but i want that component to act seamlessly with the rest of the page. i do NOT want the component to do what components usually do and act independently. i need to include

[web2py] Re: component .load

2010-12-30 Thread mattynoce
if i can override request.extension and have it propagate, that's totally fine. if, for example, i could do this: def formControllerFromComponent: # *** new line *** request.extension = 'html' doSomething() doSomethingElse() redirect(URL(..., extension='')) and have that

[web2py] Bug in dal.py function _count

2010-12-30 Thread Harkirat
The _count feature which is supposed to generate raw SQL is not working. I traced it to an error in the dal.py on line 4481. The function currently is def _count(self): return self.db._adapter.COUNT(self.query) should be def _count(self): return

[web2py] Rows to a TABLE

2010-12-30 Thread Kenneth Lundström
Hello list, what would be the easiest way to display a Rows object as an table with some additional info. rows = db(db.items.order = order.id).select() gives 3 rows and 10 fields. total = 0 for row in rows total += rows.sum That I´d like to display data as: Item 110.50

Re: [web2py] Re: component .load

2010-12-30 Thread Jonathan Lundell
On Dec 30, 2010, at 9:49 AM, mattynoce wrote: if i can override request.extension and have it propagate, that's totally fine. if, for example, i could do this: def formControllerFromComponent: # *** new line *** request.extension = 'html' doSomething() doSomethingElse()

[web2py] Recaptcha on email form

2010-12-30 Thread Andrew Evans
How can I add recaptcha to an email form using Mail()? I am using a modified version of the Email form appliance any ideas *cheers

[web2py] Re: component .load

2010-12-30 Thread mattynoce
perfect. mission accomplished. re: your comment, formControllerFromComponent is the return function from a non-ajax component form. the main controller function loads the component, the component shows a form, and the form action is formControllerFromComponent. now i'll just set

Re: [web2py] Rows to a TABLE

2010-12-30 Thread Bruno Rocha
I think the easiest way is building virtual fields for that. You can use powerTable plugin, which can do that in JavaScript using this feature of datatables http://datatables.net/examples/api/counter_column.html virtual fields works in this way: class Virtual(object): def delete(self):

[web2py] Re: Bug in dal.py function _count

2010-12-30 Thread mdipierro
oops. fixed in trunk. On Dec 30, 11:56 am, Harkirat harkira...@gmail.com wrote: The _count feature which is supposed to generate raw SQL is not working. I traced it to an error in the dal.py on line 4481. The function currently is def _count(self):         return

[web2py] python list serialization to json

2010-12-30 Thread Chris Baron
In my controller: def default(): f=open('/tmp/debug','w') f.write( str( request.vars.tabs ) )f.write( '\n' ) f.write( response.json(request.vars.tabs) ) return dict( tabs = response.json(request.vars.tabs) ) In /tmp/debug [{'text': 'Tree List', 'args': {'trees': 'db.tree.id

Re: [web2py] Rows to a TABLE

2010-12-30 Thread Bruno Rocha
I did it with powerTable plugin, see what I did. controller def deletable(): class Virtual(object): @virtualsettings(label=T('Delete')) def delete(self): return TAG.BUTTON(T('DELETE'),_class='deletebutton',_onclick='deleteRow(event,%s);' % self.products.id)

[web2py] Re: python list serialization to json

2010-12-30 Thread Chris Baron
Its not my day for posting. request.vars.tabs is a list of strings in python when it gets to the controller. The response.json does exactly what its supposed to do. Sorry for the spam. On Dec 30, 12:59 pm, Chris Baron topher.ba...@gmail.com wrote: In my controller: def default():    

[web2py] IS_IN_SET validator

2010-12-30 Thread Manu
Hi , I have a database which contains a list:string field type and a requirement to be in a set of value ( with IS_IN_SET AND multiple=True ) . My question is how would you dynamically generate this set( my categories are stored in another table ) ? What i am trying to do is to allow user to

[web2py] Re: Renaming fields of auth tables

2010-12-30 Thread Lisandro
Thanks for that tip! I thought something similar. I said well, I just have to hide those fields, add the fields that I want, and then set the values for the hidden fields with a database trigger. As I'm using postgresql, I have lot of restrictions at database level, not at the DAL level (because

Re: [web2py] Re: Renaming fields of auth tables

2010-12-30 Thread Marin Pranjic
It's all in the book :) Not sure what do you want to set by trigger. First solution is to leave first_name and last_name empty. Just don't use them, don't set them... ignore. Second is to update those fields when your custom fields are updated. Thats what i do. I added field 'username'. Field

[web2py] Re: Python job oportunity

2010-12-30 Thread weheh
Setting themselves up for an age discrimination suit. On Dec 30, 5:57 am, KR kaerbu...@gmail.com wrote: On Dec 30, 10:34 am, Kenneth Lundström kenneth.t.lundst...@gmail.com wrote: Maybe they need perfect English as the don t have it? :-) ... and now we know why they need creative young

[web2py] creating a new form RENDERER.

2010-12-30 Thread David J.
What is the best way to create a new FORM renderer? How can I override or add a new form render type, ie instead of table|div|ul? Thanks.

[web2py] Re: python list serialization to json

2010-12-30 Thread mdipierro
What you get is correct. It appears that response.vars.tabs is a list of strings and it is serialized as [...,...,etc.]. Perhaps you expect something different in request.vars.tabs? You should also simplify: def default(): f=open('/tmp/debug','w') f.write( str( request.vars.tabs ) )

[web2py] Re: IS_IN_SET validator

2010-12-30 Thread mdipierro
this is not currently supported. On Dec 30, 1:20 pm, Manu swel...@gmail.com wrote: Hi ,   I have a database which contains a list:string field type and a requirement to be in a set of value ( with IS_IN_SET AND multiple=True ) . My question is how would you dynamically generate this set( my

[web2py] Re: creating a new form RENDERER.

2010-12-30 Thread mdipierro
these are the list lines in the SQLFORM constructor: elif type(formstyle) == type(lambda:None): table = TABLE() for id,a,b,c in xfields: td_b = self.field_parent[id] = TD(b,_class='w2p_fw') newrows = formstyle(id,a,td_b,c)

Re: [web2py] Re: creating a new form RENDERER.

2010-12-30 Thread David J.
Thanks, I will look into. Also how is the verify password field generated on the Registration Form seems like that is a virtual field As I mentioned yesterday that field is missing its css class selector so the form does not view correctly once you modify the css. You can check there. But

[web2py] Re: creating a new form RENDERER.

2010-12-30 Thread mdipierro
No it is injected in the form. Here is the relevant code form tools.py addrow(form, self.messages.verify_password + ':', INPUT(_name=password_two, _type=password, requires=IS_EXPR('value==%s' % \ repr(request.vars.get(passfield,

[web2py] Re: web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread Niphlod
uhm virtually very very very draft of Jonathan's concept. in gluon/widget.py , after if '-A' in sys.argv: k = sys.argv.index('- A') (line 695, in trunk), add: parser.add_option('', '--exit', action='store_true',

[web2py] Re: web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread Niphlod
PS: on line 561 of gluon/main.py of trunk there's a typo: INPORTANT instead of IMPORTANT

Re: [web2py] Rows to a TABLE

2010-12-30 Thread Kenneth Lundström
Thanks Bruno, I needed a very simple table no extra layout so I did it with table = TABLE() for row in rows: table.append(TR(row.name, rows.sum, A(.)) table.append(TR('Total', total)) Kenneth I did it with powerTable plugin, see what I did. controller def deletable(): class

[web2py] Fwd: Hi Massimo, New QUANT/C++/Engineer Roles, Top Financial NYC (Please advise, thanks). - Midlevel/Senior/Jr

2010-12-30 Thread Massimo Di Pierro
this is not web2py related but... there are very skilled people on the list and I know the recruiter who sent me list below. They are also actively looking for Python programmers. If you are interested contact them directly or email me and I will send you the the info of my contact. Massimo

Re: [web2py] Re: Powertable remarks

2010-12-30 Thread Kenneth Lundström
I´m still trying to understand the power of powerTable and copied code from your default.py example, I tried to get the products function working. What I can´t seem to get working is the virtual bit. I get KeyError: 'virtual' any ideas why? Kenneth 2010/12/29 Kenneth Lundström

[web2py] Re: Renaming fields of auth tables

2010-12-30 Thread Lisandro
Well, I will try to explain myself better, because I'm from Argentina and my english is a mix between what I learned and what I hear in the movies :) Basically, you've explained it for me. That's exactly what I'm going to do. But, instead of auth.settings.register_onvalidation.append(..., I'm

Re: [web2py] Re: Renaming fields of auth tables

2010-12-30 Thread Marin Pranjic
Clear. :) On Thu, Dec 30, 2010 at 10:20 PM, Lisandro rostagnolisan...@gmail.comwrote: Well, I will try to explain myself better, because I'm from Argentina and my english is a mix between what I learned and what I hear in the movies :) Basically, you've explained it for me. That's exactly

Re: [web2py] Re: web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread Jonathan Lundell
On Dec 30, 2010, at 12:55 PM, Niphlod wrote: PS: on line 561 of gluon/main.py of trunk there's a typo: INPORTANT instead of IMPORTANT Thanks. I have an unrelated patch in the works that affects main.py, so I'll include it unless Massimo gets around to fixing it first.

Re: [web2py] Re: web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread Jonathan Lundell
On Dec 30, 2010, at 12:51 PM, Niphlod wrote: uhm virtually very very very draft of Jonathan's concept. That looks about right, perhaps with some minor wording changes: help='exit after saving password' (no sense in confusing the user about file names, and there's really no

[web2py] Re: Python job oportunity

2010-12-30 Thread GoldenTiger
Who needs the key for only a few chars?? ;) http://eternal-todo.com/files/scripts/xorBruteForcer.py On 30 dic, 20:51, weheh richard_gor...@verizon.net wrote: Setting themselves up for an age discrimination suit. On Dec 30, 5:57 am, KR kaerbu...@gmail.com wrote: On Dec 30, 10:34 am,

Re: [web2py] Re: IS_IN_SET validator

2010-12-30 Thread Manu
Any idea how properly doing it , should i try to create a new validator ( mixing IS_IN_SET and IS_IN_DB ) ? On Thu, Dec 30, 2010 at 8:04 PM, mdipierro mdipie...@cs.depaul.edu wrote: this is not currently supported. On Dec 30, 1:20 pm, Manu swel...@gmail.com wrote: Hi ,   I have a database

Re: [web2py] Re: Not open source yet... but

2010-12-30 Thread Manu
It is awesome, like it . Just looking at the video i have learn a lot of new tools( websocket, processing.js, html5 canvas ) . Even if i understood that web2py was the main tool here , would it be possible to have the websocket part of rocket so that we can play with this kind of tool too ( i am

[web2py] Re: IS_IN_SET validator

2010-12-30 Thread mdipierro
I was mistaken. I misunderstood. I am still not sure I understand. Can you make an example? On Dec 30, 2:04 pm, mdipierro mdipie...@cs.depaul.edu wrote: this is not currently supported. On Dec 30, 1:20 pm, Manu swel...@gmail.com wrote: Hi ,   I have a database which contains a

[web2py] Re: Not open source yet... but

2010-12-30 Thread mdipierro
From my previous post: - begin -- LISTENERS = [] class NewMsgHandler(tornado.web.RequestHandler): def get(self): self.write('htmlbodyHello/body/html') def post(self): data = self.request.arguments['data'][0] [element.write_message(data) for element in

Re: [web2py] Re: IS_IN_SET validator

2010-12-30 Thread Manu
Basically i have some research papers that i would like to access from my web2py application. Each paper have a title and one or many authors. But i would like also to add keywords to these papers so that i can quickly filter the ones i am interested in. What i have done so far is:

[web2py] Re: Not open source yet... but

2010-12-30 Thread mdipierro
Give it a try: http://web2py.com/trading Mind that this is running on a 400MHz VPS that also runs web2py.com (high traffic) and another 20 web sites of mine. Sorry, still not ready to release the code because I am ashamed, but I will. Massimo On Dec 30, 5:04 pm, mdipierro

[web2py] Re: Not open source yet... but

2010-12-30 Thread mdipierro
Source: http://code.google.com/p/emte-trading/ On Dec 30, 6:07 pm, mdipierro mdipie...@cs.depaul.edu wrote: Give it a try:    http://web2py.com/trading Mind that this is running on a 400MHz VPS that also runs web2py.com (high traffic) and another 20 web sites of mine. Sorry, still not

[web2py] Re: SEO Tips How this can be applied in web2py apps?

2010-12-30 Thread Puntocom
On 13 dic, 05:08, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Dec 13, 2010 at 4:29 AM, Michael McGinnis Google is capable of figuring out what the page is about most of the time. It's just a bitch about compliance to their guidelines. They seem to have God complex or something. At any

[web2py] Re: SEO Tips How this can be applied in web2py apps?

2010-12-30 Thread mdipierro
{{ response.title=table.name response.meta.description=table.name }} On Dec 30, 6:06 pm, Puntocom pacou...@gmail.com wrote: On 13 dic, 05:08, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Dec 13, 2010 at 4:29 AM, Michael McGinnis Google is capable of figuring out what the page is about

[web2py] Re: IS_IN_SET validator

2010-12-30 Thread mdipierro
You should use IS_IN_DB for this IS_IN_DB(db(optional_subquery),table.field,optional representation) Because you do not want to create the set at every request even if not used. IS_IN_DB will do the query lazily. On Dec 30, 5:41 pm, Manu swel...@gmail.com wrote: Basically i have some

[web2py] Plugin management

2010-12-30 Thread Maurice Ling
Hi I am developing CyNote (http://cynote.sf.net) which is an electronic laboratory notebook tool. At the moment, I am considering whether I should develop it as a thin system with all optional functionalities as plugins. However, this means at least 2 things: 1. The user must be able to install

[web2py] Re: web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread Niphlod
glad to be helpful and give my 2 cents to this community. your helptext is definetely acceptable, in the long run maybe a comment in the code will be more helpful than the explicit helpstring of optparse Niphlod On Dec 30, 11:06 pm, Jonathan Lundell jlund...@pobox.com wrote: On Dec 30, 2010, at

[web2py] Re: web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread ghoulmann
Jonathon, Niphlod, Massimo, thank you for taking the time to write. I think I know much less than I implied in my original post. Is the Jonathon and Niphlod produced something I can simply drop into / usr/lib/inithooks/firstboot.d and expect to ask the user the web2py password? I'm assuming a

Re: [web2py] Re: web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread Jonathan Lundell
On Dec 30, 2010, at 6:32 PM, ghoulmann wrote: Jonathon, Niphlod, Massimo, thank you for taking the time to write. I think I know much less than I implied in my original post. Is the Jonathon and Niphlod produced something I can simply drop into / usr/lib/inithooks/firstboot.d and expect to

Re: [web2py] Plugin management

2010-12-30 Thread Bruno Rocha
Take a look at the PluginManager class: http://web2py.com/book/default/chapter/13#Plugin-Manager 2010/12/31 Maurice Ling mauricel...@gmail.com Hi I am developing CyNote (http://cynote.sf.net) which is an electronic laboratory notebook tool. At the moment, I am considering whether I should

Re: [web2py] Re: Powertable remarks

2010-12-30 Thread Bruno Rocha
Try to fetch it without 'virtual' just use Row.fieldname instead of Row.virtual.fieldname It depends on how did you set the virtualfields, if you do Rows.setvirtualfields(virtual=someClass()) you'll get a sub dictionary for every row and you need to use 'virtual' to access it, I think this works

Re: [web2py] Re: Powertable remarks

2010-12-30 Thread Kenneth Lundström
I´m using a copy of your products function, just changed the database and commented out some of the virtual function under class Virtual. So I have the some order as you have in the example. But I´ll study the book and I´ll try to find out what I´m doing wrong. Kenneth Try to fetch it

[web2py] Re: web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread Niphlod
uhm, the more I see http://www.turnkeylinux.org/docs/inithooks the more I fear that there is required a single script that could be prepared in a short while, but needs to be updated if main.save_password changes. On Dec 31, 3:45 am, Jonathan Lundell jlund...@pobox.com wrote: On Dec 30,

[web2py] Re: Plugin management

2010-12-30 Thread Maurice Ling
Yes, I had been reading this very page and examined the codes in gluon/ tools.py It seems to me that PluginManager class is essentially a dictionary object but I do not see how that translates to how I can use it to allow users to install and uninstall plugins. At best it implies that I should

Re: [web2py] Re: web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread Jonathan Lundell
On Dec 30, 2010, at 7:19 PM, Niphlod wrote: uhm, the more I see http://www.turnkeylinux.org/docs/inithooks the more I fear that there is required a single script that could be prepared in a short while, but needs to be updated if main.save_password changes. I don't see the problem.

[web2py] length limit to response.js?

2010-12-30 Thread weheh
Is the a length limit to response.js? I've got a component response to a form submission. The response is made of multiple parts: a, b, c and d. Each part (a,b,c, or d) is a concatenation of multiple jQuery(#some_id).html(some_response); statements. The parts test out ok individually, and when

[web2py] Re: length limit to response.js?

2010-12-30 Thread mdipierro
http://stackoverflow.com/questions/686217/maximum-on-http-header-values On Dec 30, 11:36 pm, weheh richard_gor...@verizon.net wrote: Is the a length limit to response.js? I've got a component response to a form submission. The response is made of multiple parts: a, b, c and d. Each part

[web2py] Re: length limit to response.js?

2010-12-30 Thread weheh
Hmmm, I'm not sure if I'm hitting that limit or not. I'll have to check. Now, I just tested the behavior in mozilla with eclipse in debug mode and saw the failure. But when I ran chrome outside of eclipse, the failure wasn't there. So perhaps this is a timeout issue? On Dec 31, 12:39 am,

[web2py] Re: length limit to response.js?

2010-12-30 Thread weheh
Arg, the problem is still there in Mozilla, but not in Chrome. Ajax can often be hard to debug. On Dec 31, 12:48 am, weheh richard_gor...@verizon.net wrote: Hmmm, I'm not sure if I'm hitting that limit or not. I'll have to check. Now, I just tested the behavior in mozilla with eclipse in

[web2py] Re: experts4solution: please update your profile

2010-12-30 Thread Plumo
I tried using the contact form on experts4solution and never received a response. Where do the messages go?

[web2py] auth.settings.controller doesn't run

2010-12-30 Thread leone
Hi all! Happy new year! I have put user func in a controller other than 'default' and i set auth.settings.controller='newcontroller' but web2py continue to call default/user To bypass it I put the newcontroller name in Auth init: auth = Auth(globals(),db,'newcontroller') so it runs, but I have to

[web2py] Re: experts4solution: please update your profile

2010-12-30 Thread mdipierro
Oops. Looks like there is a typo. The messages are logged but I did not get notified. I now see your message. I will process them in a few days. Anyway, I encourage to contact member experts directly. Massimo On Dec 31, 12:00 am, Plumo richar...@gmail.com wrote: I tried using the contact form

[web2py] Re: length limit to response.js?

2010-12-30 Thread weheh
On component form submission, firebug shows the following error message in red: POST http://127.0.0.1:8000/myapp/input/index.load jquery-latest.js (line 5254) When I look at the response, it's blank. The post shows the expected data are there. Needless to say, when I looked at

[web2py] Re: web2py Turnkey Linux Appliance (collaborator needed)

2010-12-30 Thread Christopher Steel
Hi Rik, Turnkey looks interesting... You can get a working Web2py / Turnkey system up and running fairly quickly using the vanilla Turnkey installation and then running a slightly modified version of the setup-we2py-ubuntu.sh script on the same system. This will allow you to break down the task

[web2py] Re: auth.settings.controller doesn't run

2010-12-30 Thread leone
I have a second trouble. Using email notification i receive correctly a mail that link me to web2py login telling that an authorization is pending. This at the first click on the link in mail. The second click results instead a 404 NOT FOUND page. This is very confusing, because the user expects