[web2py] Re: error in admin: _read function missing

2010-11-11 Thread Seeker
Hi Massimo, The problem in appadmin still persists. Thanks. On Nov 6, 4:34 am, mdipierro mdipie...@cs.depaul.edu wrote: fixed. please check it. On Nov 5, 8:27 am, Seeker tmurn...@gmail.com wrote: Sorry, that was a bit cryptic. - Generate a test app with the wizard (with a few test

[web2py] DAL() unusable ?

2010-11-11 Thread Mirek Zvolský
I have simplest model: db.define_table('company', Field('name'), Field('created_by', 'reference person')) db.define_table('person', Field('last_name'), Field('company_id', 'reference company')) but I receive error: File C:\Python27\Lib\site-packages\web2py\gluon\sql.py, line

Re: [web2py] Re: Pagination [Web2py Utils] returns None

2010-11-11 Thread Andrew Evans
Hello ty for the reply You wouldn't by chance be able to help me with a patch. Your talking about the paginate.py file to patch set_links in there or with in the set_links value in my code? Your the developer of Web2py Utils is that correct? Nice work on it :D *cheers Andrew On Wed, Nov 10,

[web2py] Re: DAL() unusable ?

2010-11-11 Thread ron_m
Cross reference between tables, see this post http://groups.google.com/group/web2py/browse_thread/thread/b3cb1ce223649e0f/14688d53b3d88857?lnk=gstq=table+cross+reference#14688d53b3d88857 On Nov 11, 12:44 am, Mirek Zvolský zvol...@seznam.cz wrote: I have simplest model:

[web2py] Re: Plugin_JqGrid long-polling

2010-11-11 Thread AsmanCom
Hi Massimo, Thank you for your attention, the last questions have already been resolved. But now I´ve got a new question :-) I noticed the JqGrid when calling the URL already passing the Parameter nd: 1289404767209, which is a Timestamp value, it calls JavaScript new Date (), getTime ()., which

[web2py] Re: DAL() unusable ?

2010-11-11 Thread villas
Here's a link to the section in the book: http://www.web2py.com/book/default/chapter/06#Self-Reference-and-Aliases On Nov 11, 8:44 am, Mirek Zvolský zvol...@seznam.cz wrote: I have simplest model: db.define_table('company',     Field('name'),     Field('created_by', 'reference person'))

[web2py] Re: Command-line support

2010-11-11 Thread blackthorne
Thank you once more, My goal with this topic was to more to know if you are interested on something in web2py... These operations integrated with web2py, so that (e.g.) you could do web2py.py uninstall MyApp instead of: from gluon.admin import app_pack: print app_pack('myapp',request)

Re: [web2py] simple table div

2010-11-11 Thread Martín Mulone
https://bitbucket.org/mulonemartin/tablediv/src 2010/11/10 rochacbruno rochacbr...@gmail.com Nice! I want to use it. I am thinking in a way to create a inline editable table. Enviado via iPhone Em 10/11/2010, às 20:08, Martin.Mulone mulone.mar...@gmail.com escreveu: I decided to start

Re: [web2py] simple table div

2010-11-11 Thread Bruno Rocha
The whole implementation is in simpletable.py or it depend on another changes? I think it is a good idea to post the simpletable in web2pyslices.com 2010/11/11 Martín Mulone mulone.mar...@gmail.com https://bitbucket.org/mulonemartin/tablediv/src 2010/11/10 rochacbruno rochacbr...@gmail.com

Re: [web2py] simple table div

2010-11-11 Thread Martín Mulone
yes, all is in simpletable.py 2010/11/11 Bruno Rocha rochacbr...@gmail.com The whole implementation is in simpletable.py or it depend on another changes? I think it is a good idea to post the simpletable in web2pyslices.com 2010/11/11 Martín Mulone mulone.mar...@gmail.com

[web2py] Rating Plugin Issue

2010-11-11 Thread George
Has anyone used the Rating plugin from web2py.com/plugins ? Seems that i install it and apply it to my application in the view as : {{=plugin_rating('activity',activity.id)}} and it does not show the correct rate when visiting the page. Thus, when I look into the admin table to see what's

[web2py] Help in web2py shell

2010-11-11 Thread noPE
I have create a database 'new' for one of my applicaiton. And also added some tables and records to it via the administrative interface. I can see it on mysql client. But when i start the web2py shell on my terminal and do this : db = DAL('mysql://user:passw...@localhost/new') and do print

Re: [web2py] DAL() unusable ?

2010-11-11 Thread Mariano Reingart
The error is with 'reference person'? You have to define 'person' previously. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com 2010/11/11 Mirek Zvolský zvol...@seznam.cz: I have simplest model: db.define_table('company',    Field('name'),    

[web2py] Re: Can I use redirect to pass hash variable?

2010-11-11 Thread selecta
you can pass it as var with a json dict then convert it back to a python dict from gluon.contrib import simplejson a = {'a': 'foo', 'b': 'bar'} redirect(URL(r=request, f='scmView.html',vars=dict(mydict = simplejson.dumps(a)) def scmView(): a = simplejson.loads(request.vars.mydict) if

Re: [web2py] Help in web2py shell

2010-11-11 Thread Bruno Rocha
For each table you have in MySQL db, you need to define the model (usually in db.py) db.define('table',Field('field1'),Field('field2'),migrate=False) note migrate=False because you already have db created outside web2py. If you want to extract the model from the existing db, you can use

Re: [web2py] Help in web2py shell

2010-11-11 Thread Bruno Rocha
ahhm sorry, If you already defined the model, you need to start web2py with -M in shell #python web2py.py -S appname -M -M execute the model 2010/11/11 noPE soumyama...@gmail.com I have create a database 'new' for one of my applicaiton. And also added some tables and records to it via the

[web2py] Re: Command-line support

2010-11-11 Thread mdipierro
Yes. I am interested! One thing I use a lot is scripts/cpplugin.py and that too shuld have an exmposed api. web2py.py takes some time to starup. Perhaps we should use another script like web2py_manage.py On Nov 11, 6:05 am, blackthorne francisco@gmail.com wrote: Thank you once more, My

Re: [web2py] Help in web2py shell

2010-11-11 Thread Soumya Mandi
Hi Bruno Lot of thanks and respect :). It worked :) Greetings from Soumya On Thu, Nov 11, 2010 at 7:36 PM, Bruno Rocha rochacbr...@gmail.com wrote: ahhm sorry, If you already defined the model, you need to start web2py with -M in shell #python web2py.py -S appname -M -M execute the

[web2py] Re: linked tables and dropdown display

2010-11-11 Thread andrej burja
tank you that solves my problem andrej On 10 nov., 21:00, mdipierro mdipie...@cs.depaul.edu wrote: db.define.table('advanced'                 Field('name1',requires=IS_IN_DB(db,'basic.name1')), On Nov 10, 1:49 pm, andrej burja andrej.bu...@gmail.com wrote: hi is it possible to create a

[web2py] Re: readable=False not working with crud.select(db.table)

2010-11-11 Thread andrej burja
i'm using WebGrid for Web2py making a filed not readable (and writable) doesn't show them in edit or view but in grid, the fields are shown i know i can hide them by defining fields is this problem connected to that bug? On 22 okt., 15:07, Richard Vézina ml.richard.vez...@gmail.com wrote: ;-)

[web2py] web2py organization - important for consultants !!!

2010-11-11 Thread mdipierro
This is important. Please read! These days I am getting a lot of private requests from people/ businesses who need consulting development jobs in web2py. This is more than can I can handle. I need to keep track who is available and who is capable so that I can refer those jobs to them. Long ago

[web2py] Renaming a column in the database web2py?

2010-11-11 Thread mmartinez
Good afternoon, everyone. Well I need to do is to rename the name of a column web2py the sql, sql language-I would do as follows when: select animals as Annex from WHERE accountcode accountcode.id_clientes = session.cliente_id; and web2py do so: rows = db (db.accountcode.id_clientes ==

[web2py] Re: Help with No such file or directory error

2010-11-11 Thread CesarBustios
I'm using the whole path, i'm trying everything but i can't copy the file. Any thoughts? On 10 nov, 20:18, CesarBustios cesarbust...@gmail.com wrote: Hi, i'm trying to make a copy of an image inside my uploads folder. I ´m using the shutil module: import shutil shutil.copy(path, destination)

[web2py] Re: DAL() unusable ?

2010-11-11 Thread Mirek Zvolský
Oh no!,no!,no! please no! I still hope it's my mistake only. I simple cannot believe, that this is behaviour of web2py data model. Are we in year 1960? Friends, take a look to the oldest database implementations older as SQL language, in MS-DOS times, f.e. dBase III, FoxBase, Clipper. And earlier

[web2py] Re: Can I use redirect to pass hash variable?

2010-11-11 Thread Tom Chang
great!!! Let me try that. Thanks a lot for your help!! Cheers, Tom On Nov 11, 8:58 am, selecta gr...@delarue-berlin.de wrote: you can pass it as var with a json dict then convert it back to a python dict from gluon.contrib import simplejson a = {'a': 'foo', 'b': 'bar'}

[web2py] Re: DAL() unusable ?

2010-11-11 Thread Mirek Zvolský
Here's a link to the section in the book: http://www.web2py.com/book/default/chapter/06#Self-Reference-and-Aliases Yes, I know this, and from that reason I always use 'reference..' style syntax. However this is about very special foreign keys, which targets to same table (to the primary key in

Re: [web2py] Re: DAL() unusable ?

2010-11-11 Thread Thadeus Burgess
Your error seems to be coming from the fact you do not have defined a person model. Since web2py is a functional designed you must define person table before you can reference it. I use the following self-referential table and have never had a problem. db.define_table('participant', #... lots of

[web2py] Importing SQL script.

2010-11-11 Thread Crim
So im working on a webapp that will access a database.. which isnt overly hard but i want to import some SQL script for my database... can this be done? Could some one point me in the right direction or possibly give me a line of code to help? -I should mention im fairly new to web2py and thanks

Re: [web2py] Re: Pagination [Web2py Utils] returns None

2010-11-11 Thread Thadeus Burgess
There are two alternatives. Have the generate_links function assume args when creating the url. This could be based on the existing args in request. URL(r=self.r, args=self.r.args) Or patch get_set to allow passing args as part of the function declaration, it would in turn pass these args to

[web2py] Re: DAL() unusable ?

2010-11-11 Thread DenesL
Some of you have missed Mirek's point, and he has a very valid one. The problem is circular references. There are ways around it but no elegant solution yet. There was discussion some time ago about lazy evaluation of tables. I also would like to see this solved in web2py. Denes. On Nov 11,

[web2py] Re: DAL() unusable ?

2010-11-11 Thread David Marko
Yes its the point. When you simply switch the definition order to person table first, web2py will raise the same error with company table doesnt exist yet. David On 11 lis, 17:05, DenesL denes1...@yahoo.ca wrote: Some of you have missed Mirek's point, and he has a very valid one. The problem

[web2py] Re: Renaming a column in the database web2py?

2010-11-11 Thread mdipierro
In web2py you cannot rename a column. Why do you want to do it? On Nov 11, 9:04 am, mmartinez alexra...@gmail.com wrote: Good afternoon, everyone. Well I need to do is to rename the name of a column web2py the sql, sql language-I would do as follows when: select animals as Annex from WHERE

[web2py] Re: Help with No such file or directory error

2010-11-11 Thread mdipierro
what are path and destination? On Nov 11, 9:20 am, CesarBustios cesarbust...@gmail.com wrote: I'm using the whole path, i'm trying everything but i can't copy the file. Any thoughts? On 10 nov, 20:18, CesarBustios cesarbust...@gmail.com wrote: Hi, i'm trying to make a copy of an image

[web2py] Re: DAL() unusable ?

2010-11-11 Thread mdipierro
From a syntactical point of view it would not take much to support multi-table circular references in web2py. That is not why they are not implemented, They are not implemented because they are bad design practice. If this is a 1-1 relation, there is no need to table A to refer to B and B to A.

[web2py] Re: DAL() unusable ?

2010-11-11 Thread DenesL
I was thinking of scripted table creation and keeping things simple but I understand what you are saying (or reiterating since it has been said before). If no valid case is made then I could change the manual to explain why it is not supported. Pros/Cons? Denes. On Nov 11, 11:18 am, mdipierro

[web2py] Re: DAL() unusable ?

2010-11-11 Thread mdipierro
BTW. This is possible: db.define_table('company', Field('name'), Field('created_by', 'integer')) db.define_table('person', Field('last_name'), Field('company_id', 'reference company')) db.company.created_by.requires=IS_IN_DB(db,'person.id','% (last_name)s') although my object

Re: [web2py] DAL() unusable ?

2010-11-11 Thread rams anu
also me.. On 11/11/2010, Mirek Zvolský zvol...@seznam.cz wrote: I have simplest model: db.define_table('company', Field('name'), Field('created_by', 'reference person')) db.define_table('person', Field('last_name'), Field('company_id', 'reference company')) but I receive

[web2py] Authentication and multiple logon sessions

2010-11-11 Thread Alex
Hello, I have a question regarding how the authentication defines each unique user session. I am working on an app that uses the authentication and was trying to test with multiple users logged onto my site. My test is opening IE and logging onto the site as one user, then opening a new IE

[web2py] Re: DAL() unusable ?

2010-11-11 Thread DenesL
Wasn't this a no-no?. I got wrist slapped once for suggesting it. :) On Nov 11, 11:53 am, mdipierro mdipie...@cs.depaul.edu wrote: BTW. This is possible: db.define_table('company', Field('name'), Field('created_by', 'integer')) db.define_table('person', Field('last_name'),

Re: [web2py] Re: Learning Management System survey

2010-11-11 Thread José Ignacio Hurtado
How many people are interested in contributing to this project? We will need: 1. *Expert users* who have the knowledge and experience of using an LMS and know the *needs* that future users will have. They will help initially *defining the functions and elements* of the project and

[web2py] Re: Authentication and multiple logon sessions

2010-11-11 Thread mdipierro
Short answer no. Yet I found this: http://www.fusioncube.net/index.php/multiple-sessions-firefox I did not try it. On Nov 11, 11:14 am, Alex yue.a...@gmail.com wrote: Hello, I have a question regarding how the authentication defines each unique user session.  I am working on an app that

[web2py] Re: DAL() unusable ?

2010-11-11 Thread Mirek Zvolský
- mdipierro I have prepared 2 pictures, and in this time there is new post from you about company/author. Interesting that my pictures are about the same :-) Model of your CRM application application is here: http://zvolsky.alwaysdata.net/crm1.jpg Such model can be implemented in web2py, but

[web2py] Re: DAL() unusable ?

2010-11-11 Thread mdipierro
Ok. Your crm2jpg makes a good case. You proved me wrong. I will try add this by the week-end. Massimo On Nov 11, 11:24 am, Mirek Zvolský zvol...@seznam.cz wrote: - mdipierro I have prepared 2 pictures, and in this time there is new post from you about company/author. Interesting that my

Re: [web2py] Re: DAL() unusable ?

2010-11-11 Thread Thadeus Burgess
WRong. cr2 is a really really bad design. Database 101, any many to many relationship must be defined through a link table. Redesign CR2 like so... db.define_table('person', created_by('person')) db.define_table('company',...created_by('company')) db.define_table('person_company',

Re: [web2py] Re: Renaming a column in the database web2py?

2010-11-11 Thread Thadeus Burgess
To rename a column: #Let web2py use migration to create a new column db.define_table('table', Field('oldcolumn'), Field('newcolumn')) #Update the data, copy the old column into the new column db(db.table.id 0).update(db.table.newcolumn = db.table.oldcolumn) #Save the changes db.commit()

[web2py] Re: DAL() unusable ?

2010-11-11 Thread mdipierro
I agree with you that using a link table is better. This was my original argument. Yet often the need to sign tables (created_by) will suddenly cause a duplication of tables because lots of link tables have to be added and queries changed. This is what I meant by good case. Massimo On Nov 11,

[web2py] Re: Can´t do redirect

2010-11-11 Thread yamandu
One thing that could have to do with this is that I downgrade Python recently from 2.5 to 2.5 On Nov 9, 2:30 pm, yamandu yamandu.co...@gmail.com wrote: After upgraded I got exception when try toredirectusingredirect(URL()). I used to do : returnredirect(URL(r=request, f='modelo')) but it

Re: [web2py] web2py organization - important for consultants !!!

2010-11-11 Thread Branko Vukelic
On Thu, Nov 11, 2010 at 3:52 PM, mdipierro mdipie...@cs.depaul.edu wrote:    http://www.experts4solutions.com Nice! I love working with you guys. web2py is what today keeps us together but web2py is a tool and one day (2100?) it will be replaced by a better one. Yes, it's called web3py.

Re: [web2py] Re: Renaming a column in the database web2py?

2010-11-11 Thread Marcelo Martinez
The reason for wanting to rename the column is because I am using the plugin web2py.plugin.datatable.w2p and make the query as: rows = db (db.accountcode.id_clientes == session.cliente_id). select (Db.accountcode.ani) I get the title of the column and I want to show accountcode.ani annex the

Re: [web2py] simple table div

2010-11-11 Thread Bruno Rocha
Martin, Your CSS Table mixed with inline editing http://web2pyslices.com/main/slices/take_slice/23 will be a solution that I was looking for. Thank you. 2010/11/11 Martín Mulone mulone.mar...@gmail.com yes, all is in simpletable.py 2010/11/11 Bruno Rocha rochacbr...@gmail.com The whole

[web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread Stefaan Himpe
-- 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.

[web2py] Re: Renaming a column in the database web2py?

2010-11-11 Thread mdipierro
Than the way to go is to allow customization of headers in datatable. You should be able to easily moify the way the table are build and use a db.table.field.label as header, On Nov 11, 12:48 pm, Marcelo Martinez alexra...@gmail.com wrote: The reason for wanting to rename the column is because I

[web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread Stefaan Himpe
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.

Re: [web2py] Re: DAL() unusable ?

2010-11-11 Thread Thadeus Burgess
I still do not agree. If you run into this issue you can always offset the created_by fields... db.define_table('audit_table', Field('tablename'), Field('record_id', 'integer'), Field('created_by', db.auth_user), ) If you ever did need to audit, just look it up in this table. Then you don't

Re: [web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread Bruno Rocha
There's a typo on page title 2010/11/11 Stefaan Himpe stefaan.hi...@gmail.com 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

[web2py] Re: DAL() unusable ?

2010-11-11 Thread mdipierro
True. On Nov 11, 1:23 pm, Thadeus Burgess thade...@thadeusb.com wrote: I still do not agree. If you run into this issue you can always offset the created_by fields... db.define_table('audit_table', Field('tablename'), Field('record_id', 'integer'), Field('created_by', db.auth_user), )

[web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread Stefaan Himpe
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

[web2py] Re: flow charts

2010-11-11 Thread mart
yes... noticed that ... although, the graffles diagram-ish look and feel about it seems well for the task as well, in that once the view finds the raphael js files (and the css), using it becomes very insinuative (i mean easy - meaning even I can use it ;) )... that said, I wonder if its ease of

Re: [web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread Branko Vukelic
Massimo, you need to make another service offering proof-reading. These guys are really good. :D On Thu, Nov 11, 2010 at 8:35 PM, Stefaan Himpe stefaan.hi...@gmail.com wrote: Some more typos in the guidelines page... faled prototypes can be minimized by = failed prototypes can be minimized

[web2py] PostgreSQL replication

2010-11-11 Thread ron_m
Any of you have experience with Bucardo or pgpool-II as a replication add-on? Some background: I switched from MySQL to PostgreSQL very cleanly using web2py as the vehicle. Sort description to document the process: Made a copy of the app, removed the content of the databases directory, added the

[web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread mdipierro
LOL On Nov 11, 1:42 pm, Branko Vukelic bg.bra...@gmail.com wrote: Massimo, you need to make another service offering proof-reading. These guys are really good. :D On Thu, Nov 11, 2010 at 8:35 PM, Stefaan Himpe stefaan.hi...@gmail.com wrote: Some more typos in the guidelines page...

Re: [web2py] Re: DAL() unusable ?

2010-11-11 Thread Mariano Reingart
2010/11/11 Mirek Zvolský zvol...@seznam.cz: Oh no!,no!,no! please no! I still hope it's my mistake only. I simple cannot believe, that this is behaviour of web2py data model. Are we in year 1960? Friends, take a look to the oldest database implementations older as SQL language, in MS-DOS

[web2py] Re: PostgreSQL replication

2010-11-11 Thread mdipierro
Hi Ron, I do not much about this topic. Will single master be enough? You may want to look into these tools as well. http://www.slony.info/ http://www.sistemasagiles.com.ar/trac/wiki/PyReplicaEn https://public.commandprompt.com/projects/replicator On Nov 11, 1:51 pm, ron_m

[web2py] Re: Custom JSON-RPC error codes

2010-11-11 Thread Matt
Thanks Massimo :) Will check it out. Matt Ok. In trunk. Please give this a try raise service.JsonRpcException(100,info) On Nov 10, 10:07 pm, Matt mjwat...@gmail.com wrote: Hi there, (This is probably more or a small request that a question.) The JSON-RPC service by default always

[web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread Luther Goh Lu Feng
Nice. I hope to improve myself enough so I can join. On Nov 12, 4:05 am, mdipierro mdipie...@cs.depaul.edu wrote: LOL On Nov 11, 1:42 pm, Branko Vukelic bg.bra...@gmail.com wrote: Massimo, you need to make another service offering proof-reading. These guys are really good. :D On

[web2py] Re: Web2py Application Exhibition ( Version 2.0 )

2010-11-11 Thread GoldenTiger
I'll be there, actually I am devoting most of my time studying web2py. I hope to do a nice application. :) On 8 nov, 20:20, Mr admin mr.netad...@gmail.com wrote: Sure! Plugins are just miniature applications right?  :-) Mr.NetAdmin On Mon, Nov 8, 2010 at 1:13 PM, mr.freeze

[web2py] Re: Web2py Application Exhibition ( Version 2.0 )

2010-11-11 Thread GoldenTiger
I'll be there, actually I am devoting most of my time studying web2py. I hope to do a nice application. :) On 8 nov, 20:20, Mr admin mr.netad...@gmail.com wrote: Sure! Plugins are just miniature applications right?  :-) Mr.NetAdmin On Mon, Nov 8, 2010 at 1:13 PM, mr.freeze

[web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread VP
experts4solutions is not a discussion group and will not affect this mailing list. I truly hope so. Currently, the book and this mailing list are two sources for learning about web2py. I hope this new venture is not diminishing future improvements of both of these.

Re: [web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread Branko Vukelic
On Thu, Nov 11, 2010 at 9:31 PM, VP vtp2...@gmail.com wrote: I truly hope so.  Currently, the book and this mailing list are two sources for learning about web2py.   I hope this new venture is not diminishing future improvements of both of these. Oh, that's just silly. I don't see how

[web2py] Re: radio button issue

2010-11-11 Thread mattynoce
unfortunately, that didn't work either. both your version and mine show the proper thing online: o Yes o No but neither version will allow me to click on No and have it register as False in the database. i even made it simpler: Field('isComplete', 'boolean', widget=SQLFORM.widgets.radio.widget,

[web2py] Problem with RPX - janrain engage

2010-11-11 Thread Bruno Rocha
HI, I am trying to activate janrain as the loggin method, and I want to keep the normal login method too. but I am getting this error: This frame was blocked because it contains insecure content. http://natalanimal.com.br/init/default/user/login Any idea?

[web2py] Re: radio button issue

2010-11-11 Thread mattynoce
okay, i think i figured out the problem, but i don't know about a long- term solution. based on my experience, plus these threads: - http://groups.google.com/group/web2py/browse_thread/thread/1a59a8995a270f71/fa2ffa0cdaa286c4?hl=enlnk=gstq=boolean+radio#fa2ffa0cdaa286c4 -

Re: [web2py] Re: PostgreSQL replication

2010-11-11 Thread Michele Comitini
There are some good news for postgresql 9.0: http://www.postgresql.org/docs/9.0/interactive/warm-standby.html some of those features above are possible on 8.4 with some difficult configuration tricks, see wiki.postgresql.org. mic 2010/11/11 mdipierro mdipie...@cs.depaul.edu: Hi Ron, I do

[web2py] Re: Problem with RPX - janrain engage

2010-11-11 Thread Bruno Rocha
SOLVED! It was an error on configuration, domain parameter on RPXAccount expect just a domainname, I was providing full URL. Thanks 2010/11/11 Bruno Rocha rochacbr...@gmail.com HI, I am trying to activate janrain as the loggin method, and I want to keep the normal login method too. but I

Re: [web2py] Re: Problem with RPX - janrain engage

2010-11-11 Thread Albert Abril
hehe.. it happens to me too. you should write only the name of the subdomain. if you have http://web2pyapp.rpxnow.com , you have to write only 'web2pyapp' . I hope this help to others. Regards! On Thu, Nov 11, 2010 at 10:02 PM, Bruno Rocha rochacbr...@gmail.com wrote: SOLVED! It was an

Re: [web2py] Re: Problem with RPX - janrain engage

2010-11-11 Thread Bruno Rocha
It is a commom mistake, so I think is a good idea to include a note in /book and in db.py for scaffold app. 2010/11/11 Albert Abril albert.ab...@gmail.com hehe.. it happens to me too. you should write only the name of the subdomain. if you have http://web2pyapp.rpxnow.com , you have to

Re: [web2py] Re: readable=False not working with crud.select(db.table)

2010-11-11 Thread Richard Vézina
I don't following you.. On Thu, Nov 11, 2010 at 9:44 AM, andrej burja andrej.bu...@gmail.comwrote: i'm using WebGrid for Web2py making a filed not readable (and writable) doesn't show them in edit or view but in grid, the fields are shown Is grid and WebGrid the samething?? This issue

Re: [web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread José Ignacio Hurtado
Sounds interesting. 2010/11/11 Branko Vukelic bg.bra...@gmail.com On Thu, Nov 11, 2010 at 9:31 PM, VP vtp2...@gmail.com wrote: I truly hope so. Currently, the book and this mailing list are two sources for learning about web2py. I hope this new venture is not diminishing future

[web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread GoldenTiger
Massimo, It's great! I hope to soon make good contributions to web2py, When I discovered web2py, I turned to learn, thanks to that I now work as a freelancer creating websites in web2py, and I'm messing with the risks of several different servers, and learning which are the most typical problems.

[web2py] Re: web2py as a cross-platform mobile application platform

2010-11-11 Thread mindsynch
I just ran these commands from pythonce's idle, and they all worked. The only hiccup was when running 'from storage import Storage, StorageList, Settings, Messages', it said 'No handlers could be found for logger web2py', but it still seemed to import it. On Nov 11, 12:48 am, mdipierro

Re: [web2py] Importing SQL script.

2010-11-11 Thread Richard Vézina
First you have to define your legacy database model in web2py model then you will be able to make query a la web2py or raw sql query. Richard On Thu, Nov 11, 2010 at 10:26 AM, Crim crimsonang...@gmail.com wrote: So im working on a webapp that will access a database.. which isnt overly hard

[web2py] Re: web2py as a cross-platform mobile application platform

2010-11-11 Thread mdipierro
Now I am very confused. can you now try simply import tools.py? If you still get the Memory error can you comment: urllib2.install_opener(urllib2.build_opener(urllib2.HTTPCookieProcessor())) in tools and try import it again? On Nov 11, 3:23 pm, mindsynch jb...@fielddiagnostics.com wrote: I

[web2py] Re: Importing SQL script.

2010-11-11 Thread mdipierro
what DB are we talking about? What does the SQL script do? On Nov 11, 3:25 pm, Richard Vézina ml.richard.vez...@gmail.com wrote: First you have to define your legacy database model in web2py model then you will be able to make query a la web2py or raw sql query. Richard On Thu, Nov 11, 2010

Re: [web2py] Re: Problem with RPX - janrain engage

2010-11-11 Thread Bruno Rocha
Somebody knows how can I use RPX and Normal Login form in the same way that web2pyslices are using here: http://web2pyslices.com/main/default/user/login ??? 2010/11/11 Bruno Rocha rochacbr...@gmail.com It is a commom mistake, so I think is a good idea to include a note in /book and in db.py

Re: [web2py] web2py organization - important for consultants !!!

2010-11-11 Thread Michele Comitini
Simply great! +1 mic 2010/11/11 mdipierro mdipie...@cs.depaul.edu: This is important. Please read! These days I am getting a lot of private requests from people/ businesses who need consulting development jobs in web2py. This is more than can I can handle. I need to keep track who is

[web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread GoldenTiger
I did login at www.experts4solutions.com and now I appears at our experts, then anyone can be an expert? Before appearing as expert, I want to make merit :) On 11 nov, 22:21, José Ignacio Hurtado jose.i.hurt...@gmail.com wrote: Sounds interesting. 2010/11/11 Branko Vukelic bg.bra...@gmail.com

[web2py] Re: Help with No such file or directory error

2010-11-11 Thread CesarBustios
path and destination are in fact the same directory (uploads) i'm just trying to make a copy. Thanks On 11 nov, 11:12, mdipierro mdipie...@cs.depaul.edu wrote: what are path and destination? On Nov 11, 9:20 am, CesarBustios cesarbust...@gmail.com wrote: I'm using the whole path, i'm

Re: [web2py] flow charts

2010-11-11 Thread José Ignacio Hurtado
Thanks Michele, i did not know it. 2010/11/10 Michele Comitini michele.comit...@gmail.com Hi mart, Not a flowchart app, a library, but you can make very nice charts if you need to show them with web2py: http://morrisonpitt.com/jsPlumb/html/jquery/demo.html mic 2010/11/10 mart

[web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread mdipierro
Not at all. It just happened that I have been monitoring today and I know the people who filled the form, so I approved them. You specifically have been a contributing member of this community for some time. I will not be so prompt and may need to be reminded. For now I will handle approval. When

[web2py] Re: Help with No such file or directory error

2010-11-11 Thread mdipierro
You call: shutil.copy(path, destination) if path and destination are the same value there is nothing to copy. shutil.copy(path, destination) path and destination must be different filenames. On Nov 11, 4:12 pm, CesarBustios cesarbust...@gmail.com wrote: path and destination are in fact the

[web2py] Re: Help with No such file or directory error

2010-11-11 Thread CesarBustios
I have like 20 images in the uploads directory, they are all advertising images, if i want to send, say image1 first, i need to make a copy in the same directory with the name advertisement, if i need to send imag16 i have to do the same thing and rename it to advertisement. Im sending via

[web2py] Re: Help with No such file or directory error

2010-11-11 Thread CesarBustios
shutil.copy(uploads/Image.image.a278723.jpg, uploads/ advertisement.jpg) I need the correct path, is it the whole path /home/cesar/web2py/ applications/bluetooth/uploads/image1.jpg i tried different ways but im still getting that error. On 11 nov, 17:36, CesarBustios cesarbust...@gmail.com

[web2py] Re: Help with No such file or directory error

2010-11-11 Thread mdipierro
Now I get it source=os.path.join(request.folder,'uploads/Image.image.a278723.jpg') dest=os.path.join(request.folder,'uploads/advertisement.jpg') shutil.copy(source,dist) On Nov 11, 4:38 pm, CesarBustios cesarbust...@gmail.com wrote: shutil.copy(uploads/Image.image.a278723.jpg, uploads/

[web2py] FYI - Google Refine - transforms messy data

2010-11-11 Thread mikech
Just in case you didn't see this impressive piece of software, here is the link: http://code.google.com/p/google-refine/ The videos are well worth watching, and the app is a desktop program so you don't have to share your data. In the 2nd video he demonstrates how to turn a wiki list into a table

[web2py] Re: web2py 1.88.1 is OUT

2010-11-11 Thread mattynoce
i'm seeing appadmin break for my auth_user table with a picture. when i have a photo, update works fine. when the photo is not there, i get an error: KeyError: 'picture_blob' and from top to bottomw: gluon/restricted.py line 188 init/controllers/appadmin.py:update line 410 gluon/globals.py line

Re: [web2py] Re: Problem with RPX - janrain engage

2010-11-11 Thread Albert Abril
I guess you should comment second line of the janrain auth in db.py As said at http://web2py.com/book/default/chapter/08#Integration-with-OpenID,-Facebook 1. 2. 3. 4. 5. 6. from gluon.contrib.login_methods.rpx_account import RPXAccount

Re: [web2py] Re: Pagination [Web2py Utils] returns None

2010-11-11 Thread Andrew Evans
hey thanks for the tips I have it working now *cheers Andrew

[web2py] How do I construct my query to handle a multiple select?

2010-11-11 Thread Lorin Rivers
I have a form using this: options=[str(my_macaddr[i].MacAddr) for i in range(len(my_macaddr))] form=FORM(SELECT(*options,_name='MacAddrSelect',_multiple='multiple'),INPUT (_type='submit')) records = db4((db4.data_table.MacAddr==request.vars.MacAddrSelect)

Re: [web2py] Re: Problem with RPX - janrain engage

2010-11-11 Thread rochacbruno
I did it, registration is working, but login form was replaced with janrain, I am trying to get both login forms. Otherwise I will create a custom form and a controller for that. Tks Enviado via iPhone Em 11/11/2010, às 21:49, Albert Abril albert.ab...@gmail.com escreveu: I guess you

[web2py] Re: Importing SQL script.

2010-11-11 Thread Crim
The sql script is just a sql script that creates a sql db basically i was hoping i could import the script in to the natively supported db's that web2py supports. On Nov 11, 3:31 pm, mdipierro mdipie...@cs.depaul.edu wrote: what DB are we talking about? What does the SQL script do? On Nov 11,

  1   2   >