Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread Mariano Reingart
Ok, remade. This one is B/W only and fits in half legal, to be easily printable What do you think? Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, May 3, 2010 at 4:20 PM, mdipierro wrote: > The source (which I cannot find) was a Comic Life file. Unl

Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread Mariano Reingart
Like this? Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Tue, May 4, 2010 at 1:28 PM, mdipierro wrote: > Excellent! A few suggestions to keep up with recent changes: > > SQLDB(...,pools=...) should be DAL(...,pool_size=...) > > add respon

Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread Mariano Reingart
Fixed. I've also * added: db(query).update(field=val) * added: @cache('key', 3600, cache.ram) -removed ('domain') from amfrpc- * modified: T('message') => ‘translation’ * added: “ajax(url,[id1,id2,...],target)” Mariano Reingart http://www.sistemasagiles.com

Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread Mariano Reingart
On Tue, May 4, 2010 at 3:49 PM, Jonathan Lundell wrote: > > What does it mean that response has a pointer to request? > Maybe because that is more clear than a pointer to db.py, default.py and/or index.html Best regards, Mariano Reingart http://www.web2py.co

[web2py] Caching downloads

2010-05-04 Thread Mariano Reingart
says something about response.render, but nothing about download... Anyway, I'm not sure if this is a good use of @cache, are there any other way ? BTW, why Cache-Control: no?... Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

[web2py] KeyError using T()

2010-05-04 Thread Mariano Reingart
erting translated text to str solves the problem: random.shuffle(response.sponsors[str(SPONSOR_LEVELS[1])]) or for sponsor_level in [str(l) for l in SPONSOR_LEVELS]: Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Re: Caching downloads

2010-05-04 Thread Mariano Reingart
s working fine for me now :-) Thanks very much for your help, and please let me know if there is anything wrong with this approach, Best regards, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Tue, May 4, 2010 at 10:23 PM, mdipie

Re: [web2py] Re: Caching downloads

2010-05-04 Thread Mariano Reingart
tability and a easy configuration) You can see how it's running here: http://www.pyday.com.ar/rafaela2010/ (look at images at the sidebar) Thanks so much, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Tue, May 4, 2010 at 11:55

[web2py] Re: KeyError using T()

2010-05-05 Thread Mariano Reingart
key, lists, fields), and then translate them at the view. Best regards, Mariano Reingart http://www.aprug.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Tue, May 4, 2010 at 8:45 PM, Mariano Reingart wrote: > Seems translated texts cannot be used as keys for dictionar

[web2py] Planet web2py

2010-05-25 Thread Mariano Reingart
h the code, hosting, etc. Best regards, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Re: web2py Conference Management System

2010-05-26 Thread Mariano Reingart
* Spearate default.py into talks.py, registration.py statics.py, etc. * Finish talk reviewing/voting * Eliminate some T2 stuff * Rewrite PDF generation (badge and attendance certificate) using PyFPDF (removing dependencies like dabo) * Speed-up, caching, cleanup, easier configuration, etc. Best

Re: [web2py] Planet web2py

2010-05-26 Thread Mariano Reingart
or git by now): http://code.google.com/p/planet-web2py/ Let me know if you need access to it. Best regards, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Re: Planet web2py

2010-05-26 Thread Mariano Reingart
Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Re: web2py Conference Management System

2010-05-31 Thread Mariano Reingart
from here: http://www.web2py.com.ar/welcome/static/web2py.app.flisol2010.w2p It should round well with latest version of web2py (I remember of some minor problems fixed) Best regards, Mariano Reingart http://www.web2py.com.ar/ http://www.sistemasagiles.com.ar http://reingart.blogspot.com On M

Re: [web2py] do you use web2py for teaching?

2010-06-29 Thread Mariano Reingart
ave more detailed documents if you want Best regards, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Re: SOAP Access

2010-07-20 Thread Mariano Reingart
explanation in web2py developers group (and in s...@python.org). Best regards, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Wed, Jul 14, 2010 at 1:37 PM, mdipierro wrote: > SUDS is client only. We could add it to contrib but it seems

Re: [web2py] Re: improved tickets

2010-08-05 Thread Mariano Reingart
Sorry, my fault. Attached is a patch that solves the problem with old tickets. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Thu, Aug 5, 2010 at 3:28 PM, David Marko wrote: > Judt  little note. After this change, the existing error tick

Re: [web2py] Re: improved tickets

2010-08-05 Thread Mariano Reingart
lint / pyflakes support to try to detect this kind of errors before the file is saved, so the offending line is highlighted at the editor, no ticket is generated (and no user is bothered...). Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Thu, Aug

[web2py] New & tentative Spanish web site

2010-02-05 Thread Mariano Reingart
) and downloads section was barely modified to reflect and link the official site and version. So, What do you think? Is this a right way? Best regards Mariano Reingart -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this g

Re: [web2py] Re: PDF manual soon available online in HTML (maybe)

2010-02-08 Thread Mariano Reingart
&do=get&target=TutorialPython.pdf Indeed, the spanish python tutorial was finally printed (in paper with a soft cover) as a nice and cheap book. IMHO, a user-friendly wiki is a good way to do this work, and fixing web2py-wiki is a must. Regards Mariano Reingart On Mon, Feb 8, 2010 at

Re: [web2py] Re: soaplib

2010-02-09 Thread Mariano Reingart
ery simple to use, you don't need to worry about wsdl, as it generates xml dinamically in an object-oriented way (with its own "simple xml element" parser). If you need any advice please tell me, Best regards Mariano Reingart On Tue, Feb 9, 2010 at 4:22 PM, Dmitri Zagidulin wro

Re: [web2py] Re: PDF manual soon available online in HTML (maybe)

2010-02-09 Thread Mariano Reingart
on improving the web2py wiki app, maybe it will be >> done today. >> >> On Feb 8, 11:43 pm, Mariano Reingart wrote: >> >> > For the web2py spanish documentation wiki (btw using web2py-wiki) we >> > are working in several features, including wyswyg editin

[web2py] Wiki enhancements made for web2py spanish documentation

2010-02-11 Thread Mariano Reingart
ueba (sorry for the spanish wiki text, if anyone wants, I can provide english texts) Regards Mariano Reingart http://reingart.blogspot.com.ar/ http://www.web2py.com.ar/ -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group,

Re: [web2py] Wiki was down

2010-03-11 Thread Mariano Reingart
fixed minor bugs (create page), added preview, change description, pdf output, timeline, etc.: You can see that running here: http://www.web2py.com.ar/wiki/ Best regards, Mariano Reingart http://www.web2py.com.ar http://reingart.blogspot.com -- You received this message because you are subscribed

Re: [web2py] Re: problema con la BD

2010-03-20 Thread Mariano Reingart
distintas: http://groups.google.com/group/web2py-usuarios/browse_thread/thread/6cb57d99806b5ba0 Sds Mariano Reingart http://reingart.blogspot.com On Sat, Mar 20, 2010 at 3:01 PM, kike wrote: > disculpenme en donde dice: >  auth_table.preference.requires=IS_NOT

[web2py] Flatpages plugin

2010-04-05 Thread Mariano Reingart
ok at view plugin_flatpages.html * install module html2text.py for html to markdown format conversion to work Suggestions and comments are welcome Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com -- You received this message because you are subscribed to the Goo

Re: [web2py] Re: Flatpages plugin

2010-04-07 Thread Mariano Reingart
xample: http://localhost:8000/yourapp/default/wiki/MyPage will create the page "MyPage" Best regards, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com -- You received this message because you are subscribed to the Google Groups &quo

Re: [web2py] Re: Flatpages plugin

2010-04-10 Thread Mariano Reingart
lly generates menu from the database. It would be nice to edit/translate the menu and mark current page even more easily. :-) Best Regards, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com -- To unsubscribe, reply using "remove me" as the subject.

[web2py] web2conf for FLISOL installfest

2010-04-16 Thread Mariano Reingart
, web2conf adapted for PyDays and PgDays. I'm currently working on that, see: http://www.web2py.com.ar/pyday Of course, any help/advice is welcome Best regards, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com -- Subscription settings:

Re: [web2py] Re: web2conf for FLISOL installfest

2010-04-16 Thread Mariano Reingart
Looking now, the google code site already says New BSD Licence. When I make some time I'll upload a branch at googlecode, under the licence you choose, and please fell free to add my name/email for further contacts. Best regards, Mariano Reingart http://www.web2py.com.ar

[web2py] web2py cheat sheet for a pyday

2010-05-02 Thread Mariano Reingart
going to give a talk about w2p): http://www.pyday.com.ar (the site is also made with web2conf :-) Best regards, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-03 Thread Mariano Reingart
Sadly, this PDF imported with inkscape looks bad, and is more dificult to edit texts. Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, May 3, 2010 at 1:06 AM, Jason Brower wrote: > If you don't have the source, you can open and edit

Re: [web2py] Re: web2py 1.85.1 is OUT

2010-09-15 Thread Mariano Reingart
h all the samples ready to use too: http://code.google.com/p/pyfpdf/downloads/detail?name=web2py.app.fpdf.w2p If anyone need something else, just let me know Best regards, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Wed, Sep 15, 20

Re: [web2py] how to use web2py planet?

2010-09-23 Thread Mariano Reingart
) Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Thu, Sep 23, 2010 at 5:57 PM, Tim Michelsen wrote: > Hello, > I tried web2py planet (http://code.google.com/p/planet-web2py/) on my > local install. > > The feeds added in the appadmi

Re: [web2py] Re: how to use web2py planet?

2010-09-24 Thread Mariano Reingart
g.com.ar/planeta > How do you indeted to have new feeds added? > Via the appadmin or the /default/user page? By now, using appadmin. Although, a CRUD interface would be nice thing (and very easy to add) Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Re: how to use web2py planet?

2010-09-24 Thread Mariano Reingart
s. > Would you consider this as a bug in cron? > I don't know, I didn't devote enough time to debug and confirm it, maybe I'm missing something in my server setup or anything else. Can you post your findings? (best if done in a separate particular thread) Best reg

Re: [web2py] Re: Per-user persistent database connections

2010-09-27 Thread Mariano Reingart
If using PostgreSQL, take a look at pgpool or pgbouncer, they will do some of the things you're expecting, without modifing a single line of web2py (keep pool_size=1). Regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, Sep 27, 2010 at 9:

Re: [web2py] Simple PDF Report in Slices

2010-09-27 Thread Mariano Reingart
=report page), so we can encapsulate common code, and later add that on pyfpdf packages or maybe in web2py tools. If there is some concensus, we can make some patchs and try this alternatives. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, Sep

Re: [web2py] Simple PDF Report in Slices

2010-09-28 Thread Mariano Reingart
ase class, instead > of having to pass each string decoded Pyfpdf should work well with accented characters (LATIN1, by PDF specs). In fact I use it in Argentina (spanish). Of course, suggestions are wellcome, and any fix will be accepted :-) Regards, Mariano Reingart http://www.sistemasa

Re: [web2py] Re: Meeting Monkey Beta

2010-09-29 Thread Mariano Reingart
now: http://www.doodle.com/anbnmdctxm7qkxgr Regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Wed, Sep 29, 2010 at 1:00 AM, slestak wrote: > > > On Sep 28, 9:19 pm, "david.waldrop" wrote: >> wow that was quick.  the link is now there

Re: [web2py] Re: DAL, legacy keyed table, field references

2010-10-01 Thread Mariano Reingart
gle-field integer primary keys, i think you may try "id" field type: db.define_table('car_models', Field('model_id','id'), Field('model_name','string'), migrate=False ) db.define_table('cars', Field('car_id','id'), Field('model_id','reference car_models'), Field('note','text'), migrate=False ) Regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Re: Simple PDF Report in Slices

2010-10-01 Thread Mariano Reingart
your add_font patch, I'll be happy to review and include it If you can, please fill an issue in pyfpdf.googlecode.com for both Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

[web2py] Script to generate schema (models) from PostgreSQL (and possibly others)

2010-10-04 Thread Mariano Reingart
aints (unique/not null/referential fk) and comments. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, Oct 4, 2010 at 1:30 AM, Álvaro Justen [Turicas] wrote: > On Sun, Oct 3, 2010 at 19:37, Alexandre Andrade > wrote: >> Alvaro, &

Re: [web2py] DB transaction isolation

2010-10-04 Thread Mariano Reingart
el to READ_UNCOMMITED may be a bad idea (it would break ACID, as you can read data not yet commited, what about rollbacks?) Regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] experimental... .pdf

2010-10-04 Thread Mariano Reingart
and similar may still pass (like menus), a better alternative may be render only certains portions of the page in a custom view: pdf.write_html(str(XML(CENTER(section), sanitize=False))) Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] pdf template

2010-10-04 Thread Mariano Reingart
df, and you don't need a file with the xml format, you can store it at the database, see: http://code.google.com/p/pyfpdf/wiki/Web2Py > is it possible on GAE to directly store new file in database? > I don't fully understand what you mean, but web2py and pyfpdf should work on GAE.

Re: [web2py] Script to generate schema (models) from PostgreSQL (and possibly others)

2010-10-05 Thread Mariano Reingart
On Tue, Oct 5, 2010 at 10:49 AM, Stef Mientki wrote: >  On 05-10-2010 01:10, Mariano Reingart wrote: >> Hi, attached is a PostgreSQL enhanced versión of Alexandre Andrade mysql >> script. >> >> It uses information_schema (ANSI Standard), so it might support oth

Re: [web2py] Script to generate schema (models) from PostgreSQL (and possibly others)

2010-10-05 Thread Mariano Reingart
> about which web2py complains. > > I suppose I have to clean that up by hand. > Yes, there are some known issues now: * you have to order table definitions correctly to prevent references to undefined tables * you cannot mix normal tables (with id field) and keyed tables

Re: [web2py] Re: SyntaxError at line 2 on version 1.86.3

2010-10-07 Thread Mariano Reingart
on chars, not lines). The problem here seems to be the browser / editarea, I'll look forward it and do test in more platforms. What browser/operating system/editor are you using? Anyway, compile messages are warnings, as the file is stored correctly in all cases (that was not modified). Regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Re: Unsupported referential constraint in extract_pgsql_models.py

2010-10-07 Thread Mariano Reingart
Thanks for sending this issue and the sql schema, I will look at it ASAP This should be a warning as it doesn't change web2py behavior. Regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Thu, Oct 7, 2010 at 10:34 AM, jm wrote: > hello, > &g

Re: [web2py] Re: SyntaxError at line 2 on version 1.86.3

2010-10-08 Thread Mariano Reingart
Yes, it fixes the \n\r bug. That seems to be an issue only in windows with IE... The fix also calculates the offset (line and char) correctly. Regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Fri, Oct 8, 2010 at 1:18 AM, mdipierro wrote: > Can

Re: [web2py] Re: SyntaxError at line 2 on version 1.86.3

2010-10-08 Thread Mariano Reingart
t) offending line If you have any questions just let me know, Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Re: Slow streaming of several images

2010-10-11 Thread Mariano Reingart
Are you using default download()? Maybe modifying cache http headers helps you: http://web2pyslices.com/main/slices/take_slice/83 (it is a "faster/smarter" download function) Regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, Oct 11,

Re: [web2py] Re: News feeds [Re: please help us test new web site]

2010-10-12 Thread Mariano Reingart
t like web2pyslices), and this could be linked in the main > site. (that already exists in .com.ar, but it seend to be frozen) Current http://www.web2py.com.ar/planet/ is just a test, if you want I can enhance and adapt it, and publish it under the domain name you wish. Bes

Re: [web2py] auth.settings.controller fails?

2010-10-13 Thread Mariano Reingart
deeper on this...): http://code.google.com/r/reingart-web2conf/source/browse/controllers/user.py?r=fb220575448cfae51b2d29b9640048b5f0950119 Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Commenting WSDLs under web2py SOAP

2010-10-16 Thread Mariano Reingart
On Thu, Oct 14, 2010 at 9:58 PM, David Mitchell wrote: > Hello group, > I'm having a lot of fun working with web2py's SOAP functionality - thanks to > Massimo and Mariano Reingart for doing the work to put this together. > However, there's one point I'm struggl

[web2py] JRSL Conference (Argentina): web2py and Massimo's talk

2010-10-20 Thread Mariano Reingart
/register Schedule: http://www.jornadasregionales.org/jrsl2010v2/schedule/ More information: http://www.jornadasregionales.org/ Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Re: RFC

2010-11-06 Thread Mariano Reingart
y one --obvious way to do it." For a wizard i think it may be useful because there is more freedom to change things, but here I don't find a good reason. Indeed, for wizard I would prefer more explicit dropdown fields, that would be more intuitive to begginers. Best regards, Mariano R

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ý : > I have simplest model: > > db.define_table('compan

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

2010-11-11 Thread Mariano Reingart
o part (first creating table, second appling constraints), so that is a more complex solution and patch. > 2) > Can I use standard 'integers' for foreign keys instead of > 'reference..'? Yes, indeed you may have to do that anyway, as automatic migrat

[web2py:36781] web2conf status

2009-12-08 Thread Mariano Reingart
t has several issues (surely I'm using a wrong version). Thank in advance for your help, Mariano Reingart -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe f

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

2010-11-12 Thread Mariano Reingart
2010/11/12 Mirek Zvolský : >>> Mariano Reingart > > Thanks for your response and practical experience with large system. > > I think the problem is clear: > In current web2py philosophy the same data model becames valid or > invalid based on the order of table definition

Re: [web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-15 Thread Mariano Reingart
sh this benchmark, just to demythologize this issue ;-) (the same for the table definition order, that is not really needed -there are easy workarounds-) Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

[web2py] ERP projects

2010-11-19 Thread Mariano Reingart
nyone else is working in similar projects, maybe we can join or share experiences, Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Fri, Nov 19, 2010 at 2:27 AM, mdipierro wrote: > am I? > > I want to know more about the ERP? Looks like w

Re: [web2py] ERP projects

2010-11-19 Thread Mariano Reingart
nd complicated, etc. etc. I think we can do something more competitive with web2py and related technologies. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] ERP projects

2010-11-19 Thread Mariano Reingart
will be very useful. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Fri, Nov 19, 2010 at 12:41 PM, Bruno Rocha wrote: > Nice! I think I can contribute. > But, One problem I found in your models, is the tables and fields being > named in Spanish

Re: [web2py] proposal - extend auth_membership with "reference auth_context" to support multi-tenancy

2010-11-19 Thread Mariano Reingart
c.)... Regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

[web2py] General (Users) vs Development Issues (related to mailing lists/groups)

2010-11-19 Thread Mariano Reingart
On Fri, Nov 19, 2010 at 2:31 PM, Anthony wrote: > On Nov 19, 11:21 am, Mariano Reingart wrote: >> I don't fully understand this proposal, but, it shouldn't be posted on >> web2py-developers? >> BTW, is there a patch available? >> >> PS: I think we have

Re: [web2py] Re: Suggested patch to DAL

2010-11-22 Thread Mariano Reingart
types of issues, adds unnecessary complexity to the code and model design, etc. IIRC Massimo said that assuming autonumeric id as primary keys was a mistake taken from other frameworks, and it is preventing using NOSQL and full power of some relational databases. Also, it makes more difficult to do lazy table definitions, migrations and fixtures. There is a thread about this in web2py-developers, maybe you can look there for further information. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] Re: new dal

2010-12-09 Thread Mariano Reingart
There seems to be a problem with options widget and new dal: http://code.google.com/p/web2py/issues/detail?id=136 Widget seems to be generating string fields (i.e. 'tipo_cbte.desc, tipo_cbte.cod'), and dal is specting Expressions. Best regards, Mariano Reingart http://www.sistemasagi

Re: [web2py] SOAP service - repeating elements/sets of elements

2011-01-04 Thread Mariano Reingart
the simplexml.py code than I would have > thought, as the soapdispatcher.py code is very simple (good thing!) Yes, the idea of this library is to get a simple and functional soap implementation. Sadly, SOAP is a very complex specification, so if you want to use all of its features, you end up in a complicated implementation. The good news are (IMHO) that most of the real world applications need a simple and standard way to interoperate, using a subset of the specification, so the exotic features are rarely needed. YMMV PS: if you want to contribute to the PySimpleSoap project, fell free to contact me or fill an issue at the project site ;-) BTW, there is a s...@python.org mailing list dedicated to this topics. Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

[web2py] ADVOCACY: "every single other Python program ever written uses imports"?

2011-01-06 Thread Mariano Reingart
thon is a practical language, or do we import len, list, dict... >>> len(dir(__builtins__)) 135 Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

Re: [web2py] KeyError on pyfpdf

2012-07-15 Thread Mariano Reingart
> Is generating reports from HTML not recommended? In addition to this > KeyError, I've frequently gotten "list out of range" exceptions raised as > well, on what seem like the most vanilla of experiments. Current html2pdf conversion will not work properly

Re: [web2py] KeyError on pyfpdf

2012-07-17 Thread Mariano Reingart
ullet and install Reportlab? It'll be harder to get > started, more complicated to install & maintain (this will have to go on > multiple machines). The idea of a simple web2py project was very attractive > for these reasons. AFAIK Reportlab doesn't even have a html2pdf conversor. If you switch to reportlab, you will have to code your report using PlatyPlus. You should consider they commercial licence that includes paid support for this kind of issues. As you said, the html2pdf recipe is a simple web2py project Maybe you have to go with third-party tools like Pisa (xhtml2pdf) or use built-in pdf conversion of chrome-browser, or pdf printers. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com --

Re: [web2py] Re: pg8000 '%' not supported in quoted string

2012-07-17 Thread Mariano Reingart
I'll take a look. Maybe it is related to paramstyle o similar setting. Can you fill a bug issue, just in case I forget about this.. https://code.google.com/p/pg8000/issues/entry Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Tue, Jul 17,

Re: [web2py] Connecting from LAN to wsdl file

2012-07-19 Thread Mariano Reingart
lt/call.html to display the webservice wsdl information page. IIRC it should contain something like: {{extend 'layout.html'}} {{=body}} Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Fri, Jul 20, 2012 at 3:22 AM, Bill Thayer wrote: >

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Mariano Reingart
many companies and professionals that can be hired to develop such a project, or contributing to existing ones. A fundraising would be a good option to start this. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com --

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Mariano Reingart
On Tue, Jul 31, 2012 at 10:08 AM, Mariano Reingart wrote: > On Mon, Jul 30, 2012 at 6:13 PM, Tim Michelsen > wrote: >>> Instant Press is built by @Martin and I dont know if he gets contribution >>> Movu.ca is built by @rochacbruno (me) and I did not get too much >>&

[web2py] [ANNOUNCE] FPDF for python v1.7: unicode ttf support, png alpha channel and more!

2012-08-14 Thread Mariano Reingart
/wiki/FAQ http://code.google.com/p/pyfpdf/wiki/ReferenceManual http://code.google.com/p/pyfpdf/wiki/Tutorial (also available in Spanish) Please try out this new release and let me know if you experience any problem by filing issues on the project site. Thanks in advance. Marian

Re: [web2py] Re: fpdf upgrade and contib/generics.py

2012-08-23 Thread Mariano Reingart
What error does occur? Does it throw an exception? I think It should work, but note that pdf conversion is simple, if you have a complex html, you'll need more advanced tools. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Thu, Aug 23, 20

Re: [web2py] postgres problem at register user ?

2012-09-04 Thread Mariano Reingart
Hi Bogdan: It is strange, could you post some code to reproduce the issue? Can you confirm this happens only with the pg8000 driver? If so, please if you can move this to the pg8000 project site: https://code.google.com/p/pg8000/issues/entry Best regards, Mariano Reingart http

Re: [web2py] SOAP XML Return Objects

2012-09-13 Thread Mariano Reingart
b the latest version of pysimplesoap to use some new features. I'll update the docs and libraries ASAP. Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, Sep 10, 2012 at 4:31 AM, devrunner wrote: > I wanted to return a xml similar to thi

[web2py] [ANNOUNCE] PyCon Argentina 2012: Schedule, Early Bird Registration and more...

2012-09-18 Thread Mariano Reingart
vil Association and the National University of Quilmes. Contact: Mariano Reingart PyCon Argentina 2012 Conference Chair +54 (11) 4450-0716 http://ar.pycon.org/2012 pyconar2...@gmail.com --

Re: [web2py] Re: is this a bug in the debugger?

2012-09-24 Thread Mariano Reingart
use case, and btw, the debugger console is very similar to the shell console, that has a longer history. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com --

[web2py] Resurrecting PyCon-Tech with web2conf

2012-04-07 Thread Mariano Reingart
conf, including some nice statistics and attendee maps: http://ar.pycon.org/2009 http://ar.pycon.org/2010 For 2011 we already used web2conf (overhauled with a lot of enhancements), and for 2012, we'll going to use web2conf too. Best regards, Mariano Reingart http://www.sistem

Re: [web2py] Re: Resurrecting PyCon-Tech with web2conf

2012-04-09 Thread Mariano Reingart
No, I didn't tried conf2py yet, but we upgraded and cleaned up web2conf, so it is not so old nowadays. Anyway, I'll take a look to conf2py, as I need the registration payment mechanism and a slightly better review workflow. Best Regards, Mariano Reingart http://www.sistemasagiles.c

[web2py] Python Argentina Conference 2012 - Massimo confirmed - Call for Sponsors

2012-04-12 Thread Mariano Reingart
/docs/carta_sponsors_pyconar2012.pdf Call for Proposals comming soon Regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com PS: I'm the Conference Chair, so fell free to contact me about the event

[web2py] PyCon Argentina 2012: Scientific Meetings - Call for Sponsors and Researchers

2012-04-27 Thread Mariano Reingart
ommunity. Conference language is Spanish and English. Admittance is free of charge. Best regards, Mariano Reingart PyCon Argentina 2012 Chair http://ar.pycon.org

Re: [web2py] Re: An insult to web2py ?

2012-05-04 Thread Mariano Reingart
hout a deep experience in OOP, and in the end you wouldn't need to write any SQL by hand, as most ORM needs when you have to bypass their limitations. Also, there are styling and readability issues, for example, look at the Django ORM Tutorial example: Poll.objects.filter(question__startswith='What') In web2Py DAL it would use more standard python methods: db( db.Poll.question.startswith("what") ).select() Which one is more pythonic? BTW, the ORM example get worse when you must get related fields, use multiple conditions, etc.. There is a great website with a deep analysis on selected quotes about this topics: http://www.dbdebunk.com/index.html Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

[web2py] PyCon Argentina 2012: Call for Proposals: talks, tutorials, scientific papers and student works contest

2012-05-10 Thread Mariano Reingart
ities are open, for further information see: http://ar.pycon.org/2012/sponsors/prospectus?lang=en Free and Open Source projects will have booths or special events inside the conference, please contact us if your community is interested. Mariano Reingart PyCon Argentina 2012 Chair http://ar.pycon.org/2012

Re: [web2py] Re: Editor broken in trunk?

2012-05-20 Thread Mariano Reingart
You can use the previous editor by changing the 10th line in web2py/applications/admin/models/0.py to TEXT_EDITOR = 'edit_area' or 'amy' The keybinding problem seems an issue of ACE, I'll take a look ASAP In which OS / Browser has happen the problem? Best regar

Re: [web2py] Re: gweb2py

2012-05-24 Thread Mariano Reingart
ad2py/ Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Wed, May 23, 2012 at 9:17 PM, Ricardo Pedroso wrote: > The url, of course: > https://github.com/rpedroso/gweb2py > > On Thu, May 24, 2012 at 1:11 AM, Ricardo Pedroso wrote: >&

Re: [web2py] windows users... help!

2012-06-09 Thread Mariano Reingart
eenshots). Warning: that runtime is not shipped by default, and it is a SideBySide (SxS) assembly, so it is not enought just to copy the dll as in python2.5 I'll submit the required patch for setup.py ASAP Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blo

Re: [web2py] windows users... help!

2012-06-11 Thread Mariano Reingart
look more deeply this when I get some time. Regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Sat, Jun 9, 2012 at 1:48 PM, Massimo Di Pierro wrote: > Can you please try again? > > > On Saturday, 9 June 2012 10:45:36 UTC-5, Mariano Reingar

Re: [web2py] pyFpdf supports gif images?

2012-06-13 Thread Mariano Reingart
PyFPDF currently supports jpg and png (binary transparency should work, but alpha channel is not supported) You can use PIL to convert between formats as reportlab does (FPDF.php also uses GD to convert images to png) Let me know if it works or you need something else, Best regards, Mariano

Re: [web2py] pyFpdf supports gif images?

2012-06-13 Thread Mariano Reingart
BTW, I'm looking that GIF and alpha channel is supported in FPDF.php 1.7, I'll try to port the changes to python, let me know if you're interested in testing it. Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Wed, Jun 13, 2012 at 6

Re: [web2py] Re: pyFpdf supports gif images?

2012-06-13 Thread Mariano Reingart
Hi Bob: I've added full alpha channel transparency support and GIF format conversion using PIL (ported from FPDF.php 1.7) Can you give it a try? https://pyfpdf.googlecode.com/hg/fpdf.py (you have to replace fpdf.py file in gluon.contrib directory) Mariano Reingart

Re: [web2py] Re: pyFpdf supports gif images?

2012-06-13 Thread Mariano Reingart
Hi Massimo: I think you can merge it now, maybe more test would be better. I'm working in unicode support, if you can give me a couple of days it will be finished with unittests. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Wed, Jun 13,

[web2py] PyCon Argentina 2012: 5 financial aid grants available (ARS $1500 each) - last week for talk submission

2012-06-23 Thread Mariano Reingart
AR we recommend to check sponsorship conditions at: http://ar.pycon.org/2012/sponsors/prospectus?lang=en Please spread the word and let other, interested people know about PyCon Argentina. Best Regards Mariano Reingart PyCon Argentina 2012 Chair http://ar.pycon.org/2012 --

Re: [web2py] Re: ANN: ide2py: editor, shell and debugger for web2py (experimental)

2012-07-03 Thread Mariano Reingart
ed in web2py admin, you can use it instead. Best Regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, Jul 2, 2012 at 12:41 PM, xcobary wrote: >> I have rad2py configure but when i run it from comand prompt, the ide >> opens with this error

  1   2   3   >