Re: [web2py] Re: Web2py Debug Error

2014-12-15 Thread Mariano Reingart
me to work lately, but I'm planing to revamp somethings in the next months. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, Dec 15, 2014 at 5:35 AM, Shaun Smith wrote: > > Hi > > The Debug feature however still does not work

Re: [web2py] Re: Controller to do SOAP to an action-less service, how to generate the (xml) nodes

2014-11-13 Thread Mariano Reingart
On Wed, Nov 12, 2014 at 11:02 PM, Dave S wrote: > > > On Wednesday, November 12, 2014 4:58:53 PM UTC-8, Dave S wrote: >> >> >> >> On Friday, September 26, 2014 3:43:29 PM UTC-7, Dave S wrote: >>> >>> >>> >>> On Friday, Septem

Re: [web2py] Re: pypdf sample code not working in a view

2014-11-10 Thread Mariano Reingart
x27;t have time to fully reproduce the issue. If you can comment the code and assure it is working, that would be great! Feel free to contact me, I'm one of the current maintainers of pyfpdf, Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On M

Re: [web2py] Re: Controller to do SOAP to an action-less service, how to generate the (xml) nodes

2014-09-26 Thread Mariano Reingart
t): If it is not entering that block, maybe you're using different versions of the soap library, or from different locations. The error you report means that the xml element object is not being converted to xml bytes (string) correctly. Best regards Mariano Reingart http://www.sistemasagi

Re: [web2py] Re: Controller to do SOAP to an action-less service, how to generate the (xml) nodes

2014-08-11 Thread Mariano Reingart
on't need to specify it) Also, you can use "raw" requests: https://code.google.com/p/pysimplesoap/wiki/SoapClient#Raw/arbitrary_SOAP_Header_Example Hope it helps, Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Tue, Aug 12, 2

Re: [web2py] Google security patch progrem

2014-05-30 Thread Mariano Reingart
Great news Massimo! I've a related patch in mind .. will discuss ASAP on the dev list Best regards, PS: just tweeted it to spread the word Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Fri, May 30, 2014 at 3:28 PM, Massimo Di Pierro < massi

Re: [web2py] going crazy with pyfpdf

2014-05-21 Thread Mariano Reingart
n', 'bgcolor', 'colspan', 'height', 'width'], 'tr': ['bgcolor', 'height', 'width'], 'table': ['border', 'bgcolor', 'height', 'width'], }, e

Re: [web2py] going crazy with pyfpdf

2014-05-21 Thread Mariano Reingart
, using and tags will help, and you need to specify the total table and cell widths: https://code.google.com/p/pyfpdf/wiki/WriteHTML Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Wed, May 21, 2014 at 12:26 PM, Carlos Costa wrote: > It u

Re: [web2py] web2py conference, next week!

2014-04-24 Thread Mariano Reingart
Wow! I see great speakers in the attende list, Do you have a schedule with the talks / tutorials abstracts? I think that could be useful for the advocacy efforts and also it could help anyone that need more info to confirm the trip with their boss or similar. Best regards Mariano Reingart

Re: [web2py] Brazilian web2py users, what system do you use to receive credit card payments?

2014-04-11 Thread Mariano Reingart
/plugin_dineromail.py The API were very similar to PayPal (a kind of callback and query webservice a.k.a IPN: Instant Payment Notification) You can look at the rest of the app for the payment forms and reports. Hope this helps, Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http

Re: [web2py] SOAP

2014-04-08 Thread Mariano Reingart
de.google.com/p/pysimplesoap/source/browse/#hg%2Ftests If you want, let me know the webservice wsdl url and what method you want to call, I'll try to make a more concrete example. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Wed, Apr

Re: [web2py] Re: New python.org layout

2014-03-23 Thread Mariano Reingart
On Sun, Mar 23, 2014 at 5:09 AM, José Luis Redrejo wrote: > 2014-03-22 23:21 GMT+01:00 Mariano Reingart : > > Great news: > > > > We are now listed in https://www.python.org/ > > > > Congrats and thanks to the maintainers added it and that closed the > ticket

Re: [web2py] Re: New python.org layout

2014-03-22 Thread Mariano Reingart
Great news: We are now listed in https://www.python.org/ Congrats and thanks to the maintainers added it and that closed the ticket! Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] Re: New python.org layout

2014-03-22 Thread Mariano Reingart
7; /chef/cookbooks/pythondotorg/recipes/prereq.rb # Compass is used to compile sass files dynamically at deployment gem_package 'compass' do version '0.11.7' action :install end gem_package 'susy' do version '1.0.rc.2' # This is current the pre-release versi

Re: [web2py] Re: New python.org layout

2014-03-22 Thread Mariano Reingart
On Sat, Mar 22, 2014 at 10:54 AM, Mariano Reingart wrote: > On Sat, Mar 22, 2014 at 9:26 AM, Stefaan Himpe wrote: > >> Michele Comitini wrote: >> >>> Seems that the new layout of python.org is here: http://python.org >>> >> >> My first impression:

Re: [web2py] Re: New python.org layout

2014-03-22 Thread Mariano Reingart
y as a web framework :-) >> > > Consider submitting a bug against the new layout? :-) > > > Anyone submitted a bug or pull request about this? https://github.com/python/pythondotorg Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com -

Re: [web2py] pysimplesoap help

2014-03-19 Thread Mariano Reingart
Sorry, I forgot the underscore in http_headers in "the set th cookie" part *client.http_headers['Cookie'] = client.response['set-cookie']* Regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Wed, Mar 19, 2014 at 1:50 PM, M

Re: [web2py] pysimplesoap help

2014-03-19 Thread Mariano Reingart
b','XX'),('encoding',None),('titlePageSize',10),('indexPageSize',10)) * *# set the cookie* *client.http headers['Cookie'] = client.response['set-cookie']* *# call the methods that need the cookie:* *client.call('executeQu

Re: [web2py] pysimplesoap help

2014-03-19 Thread Mariano Reingart
Could you send me the content of client.response (http headers)? Maybe it is returning a cookie or something equivalent Then, you can update client.http_headers with them and it should work Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Wed, Mar

Re: [web2py] pysimplesoap help

2014-03-17 Thread Mariano Reingart
client = SoapClient(location = location_wsdl, sessions=True, http_headers={' Authorization': "Basic %s" % auth}) Let me know if this solves your issue, Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, Mar 17, 2014 at 6:

Re: [web2py] Re: Python Performance Issue

2014-03-14 Thread Mariano Reingart
Is web2py bytecode compiled? .pyo or .pyc appears in gluon folder? Maybe in tour production server there is some permission/date issue and .pyc files cannot be saved, so they are compiled on each run (that takes time). Just and idea Best regards, Mariano Reingart http

Re: [web2py] pg8000 driver that comes with web2py 2.8.2 is not supporting JSON field type?

2014-03-03 Thread Mariano Reingart
requests (note that some could depend on each other). Sorry I couldn't keep track of pg8000 due lack of time, so I don't know what direction the project has taken. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, Mar 3, 2014

Re: [web2py] pg8000 driver that comes with web2py 2.8.2 is not supporting JSON field type?

2014-02-25 Thread Mariano Reingart
n could be used as a direct drop-in replacement for psycopg2 IIRC, at some stage the author gave me commit access, but I didn't have time to pull my changes and missed some discussions about the project internals. Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reinga

Re: [web2py] pg8000 driver that comes with web2py 2.8.2 is not supporting JSON field type?

2014-02-24 Thread Mariano Reingart
included to web2py), but now the official site has updates that could help you in this case. Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, Feb 24, 2014 at 10:18 AM, Horst Horst wrote: > I'm getting a: > >type oid 114 not

Re: [web2py] pg8000 strange errors

2014-02-08 Thread Mariano Reingart
know if you test the new version and it works in your case, so we can evaluate to update the one shipped with web2py. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Sat, Feb 8, 2014 at 8:03 PM, puercoespin wrote: > Yes, may be its a lit

Re: [web2py] FPDF issue

2013-10-29 Thread Mariano Reingart
! Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Tue, Oct 29, 2013 at 2:41 PM, step wrote: > Fair enough, Richard, I'm providing sample code here, and I will link to it > in the issue report. > Comments in the sample code explain the 0x95 codec

Re: [web2py] Re: How to get started with web2py's Debug? - very basic questions

2013-09-23 Thread Mariano Reingart
ld work as long you don't add new lines to the controller/model. If you can, please confirm that the new patched version (when released) works as expected. Thanks for reporting! Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, Sep 23, 2013

Re: [web2py] PDF template examples

2013-09-20 Thread Mariano Reingart
Fixed, thanks for reporting it. I'd moved the www.web2py.com.ar server to its own vps and some libraries were missing. The full source code of that examples are in: https://pyfpdf.googlecode.com/files/web2py.app.fpdf_20130218.w2p Best regards Mariano Reingart http://www.sistemasagiles.c

Re: [web2py] Re: How to leverage web2py popularity and usage?

2013-09-11 Thread Mariano Reingart
/planet-web2py/ Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) ---

Re: [web2py] github - please follow

2013-09-06 Thread Mariano Reingart
ngart/pyafipws/commits/master https://code.google.com/p/pyafipws/source/list I'm using it to set up read-write mirrows of googlecode projects in github, maybe this can help to unify the repos of web2py. BTW, I also prefer mercurial, as it is easier for newcomers and begginers. Best regards

Re: [web2py] FPDF database image

2013-07-15 Thread Mariano Reingart
field in the database. Basically, you should pass the full image path to PyFPDF (sponsor.logo is the upload field): fn = db.sponsor[user.sponsor_id].logo source = os.path.join(request.folder, 'uploads', fn) See the sample function, that uses that info to generate the pdf. Best regad

Re: [web2py] FDPF Error with Python 2.7.5 and Web2py 2.5.1 in Windows XP

2013-07-09 Thread Mariano Reingart
know if that workaround works so we can confirm the fix and apply the patch in pyfpdf) If you don't need the transparency, you can remove the alpha channel layer (for example, with gimp, from 32 to 24bpp), or use another image format. That should not trigger the affected code. Best regards,

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

2013-07-01 Thread Mariano Reingart
Thanks for reporting this, I could not reproduce the issue previously, but with this new sample query it will be easier to take a look again and try to fix it. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Tue, Jul 2, 2013 at 1:14 AM, KMax

Re: [web2py] Re: Web2py SOAP and local wsdl file

2013-06-19 Thread Mariano Reingart
AESolicitarResult': {...}, args={ 'Auth': {'Token': str, 'Sign': str, 'Cuit': str}, ...} 4. Modify the original WSDL with the web2py location and test To go further, you may need to adjust some xml parameters like the namepaces, prefi

Re: [web2py] Re: Web2py SOAP and local wsdl file

2013-06-19 Thread Mariano Reingart
, and there is no need to generate code or clasess (again, at least using pysimplesoap), it is just formating the xml as desired using python data types (mainly dicts and lists, for most webservices) Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Tue

Re: [web2py] Re: psycopg2 or pg8000

2013-06-01 Thread Mariano Reingart
1.10 id:14L lenght:2 value:\' Test2 adapter:gluon.contrib.pg8000.dbapi 1.10 id:15L lenght:1 value:% Test3 adapter:gluon.contrib.pg8000.dbapi 1.10 id:16L lenght:2 value:%% I'm missing something? Regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com O

Re: [web2py] Re: psycopg2 or pg8000

2013-05-30 Thread Mariano Reingart
er support now, maybe the new enhancements in pg8000 are better for its JIT compiler. If you just have to upload a CSV file, see the COPY statement, it is unbeatable. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Thu, May 30, 2013 at 6:33 PM,

Re: [web2py] rad2py

2013-05-07 Thread Mariano Reingart
I'm open to new ideas and contributions ;-) Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, May 6, 2013 at 6:46 PM, Monte Milanuk wrote: > Is this project still alive? Is there a better place to discuss it than > here? > > -- > &

Re: [web2py] psycopg2 or pg8000

2013-05-05 Thread Mariano Reingart
t inlining them in the SQL > I may be able to fix 3 if you can send me a patch for 1 and 2. If you can send me the tests case for the issues, I could debug them and make the patches. Please give me some weeks because I'm busy with personal issues and other projects. Best regards, Mar

Re: [web2py] Re: ORM (?) : A Revisit, NOT a Rebuttal

2013-05-02 Thread Mariano Reingart
ication theory BTW I think that a more elegant way for web2py would be research how to put bussiness rules (and not only "tables"), in the models. This could be done right now to some extent with virtual fields & predefined queries (we already have represent, field validators, etc

Re: [web2py] Solved -- Problems with special characters and pyfpdf

2013-05-02 Thread Mariano Reingart
Could you send me a complete example? Are you using the updated version of pyfpdf? Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Thu, May 2, 2013 at 12:39 PM, Martin Weissenboeck wrote: > Thank you, I have tried u"World äöü éè €" and &g

Re: [web2py] psycopg2 or pg8000

2013-05-02 Thread Mariano Reingart
Marco, yes, I could help you with this, and that would be great to test fixes and improvements in the DAL ;-) Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Thu, May 2, 2013 at 2:54 PM, Marco Túlio Cícero de M. Porto wrote: > Thanks every

Re: [web2py] psycopg2 or pg8000

2013-05-02 Thread Mariano Reingart
test case with web2py, I could help to fix the issues with pg8000. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Thu, May 2, 2013 at 10:13 AM, Massimo Di Pierro wrote: > I do not remember what the bugs were but they were related to escaping and &

Re: [web2py] Solved -- Problems with special characters and pyfpdf

2013-04-30 Thread Mariano Reingart
r you comments, I gave you contributor access, so you can change the docs directly in the wiki if you like so: https://code.google.com/p/pyfpdf/w/list If you have any patch, also I'll be happy to review and include it ;-) Best regards, Mariano Reingart http://www.sistemasagiles.c

Re: [web2py] Solved -- Problems with special characters and pyfpdf

2013-04-27 Thread Mariano Reingart
mpler and more elegant solution at the end. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Sat, Apr 27, 2013 at 6:34 PM, Ovidio Marinho wrote: > This all ends with this tool made by lucas davila. > > https://github.com/simpleservices/app_

Re: [web2py] pyfPDF templates and unicode element values?

2013-04-27 Thread Mariano Reingart
3k it is a bit easier Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Sat, Apr 27, 2013 at 12:37 AM, Jurgis Pralgauskis wrote: > Hi, > > I tried to combine ideas from http://code.google.com/p/pyfpdf/wiki/Templates > and http://code.go

Re: [web2py] Solved -- Problems with special characters and pyfpdf

2013-04-27 Thread Mariano Reingart
Did you add the TTF unicode font with add_font? Can you post a complete example (ie a script.py just with the code to test), so I can reproduce it easily. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Sat, Apr 27, 2013 at 7:30 AM, Jurgis

Re: [web2py] Solved -- Problems with special characters and pyfpdf

2013-04-26 Thread Mariano Reingart
web2py contrib version Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Fri, Apr 26, 2013 at 11:45 PM, Mariano Reingart wrote: > On Fri, Apr 26, 2013 at 11:42 PM, Mariano Reingart wrote: >> On Fri, Apr 26, 2013 at 6:34 PM, Jonathan

Re: [web2py] Re: pyfpdf_from_html doesn't work (leaves html)?

2013-04-26 Thread Mariano Reingart
Are you fetching the .pdf url? I don't kwnow how pyfpdf_from_html is coded, but I think you should debug your controller to see what is happening. Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Fri, Apr 26, 2013 at 6:06 PM, Jurgis Pralga

Re: [web2py] Solved -- Problems with special characters and pyfpdf

2013-04-26 Thread Mariano Reingart
On Fri, Apr 26, 2013 at 11:42 PM, Mariano Reingart wrote: > On Fri, Apr 26, 2013 at 6:34 PM, Jonathan Lundell wrote: >> On 26 Apr 2013, at 1:17 PM, Jurgis Pralgauskis >> wrote: >> >> ok, SOLVED ttf issue for unicode example >> http://code.google.com/p/pyfp

Re: [web2py] Solved -- Problems with special characters and pyfpdf

2013-04-26 Thread Mariano Reingart
tandard, BTW) only support latin1 characters for standard font. If you need utf8 characters, you need to embeed a T Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com -- --- You received this message because you are subscribed to the Google Groups "

[web2py] qrcode

2013-03-04 Thread Mariano Reingart
To generate qr, I've used qrcode: https://pypi.python.org/pypi/qrcode/2.4.1 You can see a working example here: https://code.google.com/p/web2conf/source/browse/modules/image_utils.py Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon,

Re: [web2py] Re: web2py contains pyfpdf version 1.54b, but there is version 1.7 with utf-8 support

2013-02-19 Thread Mariano Reingart
to speed up ttf handling, it should be generated on each install. Anyway it is not a major issue, it could be removed and it will be generated automatically with the new path (I think this should be done in case of error, instead of throwing an exception about the absolute path). If you can please

Re: [web2py] PDF as an background when using pyfPdf

2013-02-19 Thread Mariano Reingart
No, currently it's not possible to use or extend a previous PDF using pyfpdf. You could use an image as background, but to use other PDF, you should need to parse it using pypdf2 or some other third party tools. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar

Re: [web2py] Re: web2py contains pyfpdf version 1.54b, but there is version 1.7 with utf-8 support

2013-02-19 Thread Mariano Reingart
o generate an invoice based on a generic pdf template" > Thanks, could you send me the final file fixed, or fill an issue? (some text are truncated in the email) > > (7) From the example on http://code.google.com/p/pyfpdf/wiki/Unicode > > Arabic: مرحبا

Re: [web2py] Re: web2py contains pyfpdf version 1.54b, but there is version 1.7 with utf-8 support

2013-02-18 Thread Mariano Reingart
this prevents AttributeError('Row' object has no attribute 'copy') elements = [element.as_dict() for element in elements] PS: I'm not the creator of this library (it is a port of a well-known PHP extension and similar libraries). I'm just the continuator (maintainer),

Re: [web2py] Re: Include odbc and mssql support with pypyodbc.py

2013-02-05 Thread Mariano Reingart
I think pyodbc works great on windows, for unix you should compile it with unixODBC support: http://code.google.com/p/pyodbc/wiki/Building Anyway, surely in unix you will not have a tipical ODBC database to test (MS SQLServer, MS Access, etc.) ... Best regards Mariano Reingart http

Re: [web2py] Using the web2py online debugger

2013-02-04 Thread Mariano Reingart
be related to the threading issues described early. DO_CLEAR is from the python bdb module, related to temp breakpoints. Could you tell me how reproduce them? (i.e., whose libraries are you using, how are you setting breakpoints, etc.) Best regards and thanks for your collaboration, Mariano

Re: [web2py] Re: I seem to block the server if I forget about dbg.set_trace

2013-02-01 Thread Mariano Reingart
, but surely it is not the standar designed behavior of the debugger (and it not happening in other platforms). If you do more test, I'll be glad to help you with this, Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Fri, Feb 1, 2013 at 6:

Re: [web2py] Re: I seem to block the server if I forget about dbg.set_trace

2013-02-01 Thread Mariano Reingart
other pages could be opened (including admin). What webserver are you using? How is it configured? You need to be runing a multithreaded webserver (with only one process) to use the embeed debugger. (I checked the mercurial trunk) Best regards, Mariano Reingart http://www.sistemasagiles.com.ar

Re: [web2py] I seem to block the server if I forget about dbg.set_trace

2013-01-31 Thread Mariano Reingart
elegant way should be using breakpoints ;-) You can also pass a request.vars and enable set_trace only in that case. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Fri, Feb 1, 2013 at 1:07 AM, Tim Richardson wrote: > I use dbg.set_trace

Re: [web2py] Debugging in a server

2013-01-31 Thread Mariano Reingart
, please check also the python logging module. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Wed, Jan 30, 2013 at 4:09 PM, Wonton wrote: > Hello everyone, > > Finally I have my project working in my local server so I've uploaded it

Re: [web2py] Using the web2py online debugger

2013-01-31 Thread Mariano Reingart
correctly? Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Thu, Jan 31, 2013 at 3:45 AM, Johann Spies wrote: > I have used other methods of debugging in the past including pdb. > > Today I have tried out for the first time the web2py online deb

Re: [web2py] Re: web2py world conference 2013

2013-01-28 Thread Mariano Reingart
is willing to plan a venue in a neighbour country (Uruguay, Paraguay or Chile), maybe we could join forces. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, Jan 28,

[web2py] web2conf: all-in-one conference system, now with bootstrap layout - call for help!

2013-01-26 Thread Mariano Reingart
://www.pyday.com.ar/ It can be even modified for non-python events, like: http://www.pgday.com.ar/buenosaires2012 Please, if you can, help us to improve it. This is a community & voluntary pro-bono project, so it depends on us to survive ;-) Best regards, Mariano Reingart

Re: [web2py] Having some strange occurence with label printing and FPDF

2013-01-16 Thread Mariano Reingart
project site: https://code.google.com/p/pyfpdf/source/browse/ (look for the download zip link) https://code.google.com/p/pyfpdf/issues/list ASAP we close a few more pending tickets, surely a new version of FPDF will be published. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http

Re: [web2py] Having some strange occurence with label printing and FPDF

2013-01-15 Thread Mariano Reingart
Hello Paul: Could you send a sample without actual data? (without the db query, so it can be reproduced) fpdf.cell will jump to the next page if no more room available, maybe there is a sizing or rounding issue. Also, you have to take a look at page margins. Best regards, Mariano Reingart http

Re: [web2py] Update codemirror to V3 on admin

2013-01-04 Thread Mariano Reingart
Thanks! I'll see this ASAP. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Fri, Jan 4, 2013 at 4:18 AM, Roberto Perdomo wrote: > Is a good idea, i see that Mariano edited the file ajax_editor.js, is a > great idea integrate this to

Re: [web2py] Update codemirror to V3 on admin

2013-01-03 Thread Mariano Reingart
enced some other CodeMirror bugs (like not repainting when scrolling with the mouse wheel), but those are less reproduce-able. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com --

Re: [web2py] Unique Constraint not working for : Field(type='upload', unique=True)

2013-01-02 Thread Mariano Reingart
y.com/books/default/chapter/29/06 Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Wed, Jan 2, 2013 at 11:53 AM, François Delpierre < francois.delpie...@gmail.com> wrote: > Hi, > > The unique constraint is not working in the follow

Re: [web2py] Reusing expensive objects

2012-12-18 Thread Mariano Reingart
that if you keep many objects alive, you can run out of memory in some scenarios. You don't need to instantiate the object in each request, you can easily use regular python modules too, and create objects on demand. Best regards, Mariano Reingart http://www.sistemasagiles.c

Re: [web2py] many things break with multiple controllers

2012-12-15 Thread Mariano Reingart
You should not have problems with multiple controllers (I also worked in splitting large controllers without issues). Can you send a minimal but complete app to reproduce this issue? What version of python are you using? Are you using T()? Are you compiling your app? Best regards Mariano

Re: [web2py] Can we override DAL API functions?

2012-12-14 Thread Mariano Reingart
st regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Fri, Dec 14, 2012 at 3:40 AM, at wrote: > > Hi, > > While fetching records from postgres database using DAL API we need to > decrypt some specific fields. These field names start with so

Re: [web2py] Can we override DAL API functions?

2012-12-14 Thread Mariano Reingart
Sorry, i forgot db.taxpayer in kny_address and kny_phone: record_list = queryset.select(db.taxpayer.id, db.taxpayer.name, db.taxpayer.tax, db.taxpayer.designation, decrypt(db.taxpayer.kny_address), decrypt(db.taxpayer.kny_phone), orderby = myorder) Best regards, Mariano Reingart http

Re: [web2py] Re: video2py: colaborative HTML5 app to copaginate and subtitulate videos

2012-12-06 Thread Mariano Reingart
On Thu, Dec 6, 2012 at 7:34 PM, Alan Etkin wrote: > >> On Thursday, December 6, 2012 7:01:26 PM UTC-3, Mariano Reingart >> wrote:This should be useful for the web2py-conference: >> For PyCon Argentina 2012 videos I made a tentative site to do the >> "post-p

[web2py] video2py: colaborative HTML5 app to copaginate and subtitulate videos

2012-12-06 Thread Mariano Reingart
have resources (money nor collaborators, like PyCon Argentina 2012) to do the final edition process. What do you think? (sorry if this has been proposed before, I didn't have time to read all the mails) Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com --

Re: [web2py] Re: Web2py is Out Pycon 2013.

2012-12-06 Thread Mariano Reingart
talks, and also I was volunteer (session runner, registration desk, etc.). I've also collaborated with PyCon Argentina since 2009 (website, reviewer, etc.), being the chair this year. Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Thu, Dec

Re: [web2py] Fpdf error with python 2.6 and web2py 2.2.1

2012-11-29 Thread Mariano Reingart
,line) If this works, fpdf.py could be modified. For more info see: http://bugs.python.org/issue3482 Regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Thu, Nov 29, 2012 at 11:00 AM, Niphlod wrote: > uhm, seemed a different problem: according to &

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] [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] 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

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] 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

[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: 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 >>&

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] 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: 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] 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] 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] 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

[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: 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,

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] 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] 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] 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] 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] 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] 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

  1   2   3   >