[reportlab-users] Re: reportlab-users Digest, Vol 2, Issue 252

Craig Jacobs cmjacobs at indiana.edu
Thu Nov 25 12:34:21 EST 2004


here is the test_renderPM.py script.  there is a compiled _renderPM.so 
and according to the file command it is a "Mach-O bundle ppc" so it 
should work. the bus error occurs after a few seconds of executing the 
script.  thanks for the help


-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_renderPM.py
Type: application/octet-stream
Size: 17070 bytes
Desc: not available
Url : http://two.pairlist.net/pipermail/reportlab-users/attachments/20041125/4a683470/test_renderPM-0001.obj
-------------- next part --------------


On Nov 25, 2004, at 12:02 PM, reportlab-users-request at reportlab.com 
wrote:

> Send reportlab-users mailing list submissions to
> 	reportlab-users at reportlab.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://two.pairlist.net/mailman/listinfo/reportlab-users
> or, via email, send a message with subject or body 'help' to
> 	reportlab-users-request at reportlab.com
>
> You can reach the person managing the list at
> 	reportlab-users-owner at reportlab.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of reportlab-users digest..."
>
>
> Today's Topics:
>
>    1. pyRXP (Dennis Allison)
>    2. Re: barcode extension (Aleksander Piotrowski)
>    3. Re: OT:RE: [reportlab-users] barcode extension
>       (Aleksander Piotrowski)
>    4. Re: pyRXP (Robin Becker)
>    5. bus error with renderPM (Craig Jacobs)
>    6. Re: bus error with renderPM (Robin Becker)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 24 Nov 2004 14:38:27 -0800 (PST)
> From: Dennis Allison <allison at sumeru.stanford.EDU>
> Subject: [reportlab-users] pyRXP
> To: reportlab-users at reportlab.com
> Message-ID:
> 	<Pine.LNX.4.10.10411241435320.21036-100000 at sumeru.stanford.EDU>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>
> We love the parser!  We use it with Zope and I seem to remember that 
> it's
> not thread-safe.  Can you confirm or deny?  I suyppose I should use 
> some
> sort of locking, but I have never had a problem.  Any suggestions as to
> how to proceed?
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 25 Nov 2004 00:04:39 +0100
> From: Aleksander Piotrowski <aleksander.piotrowski at nic.com.pl>
> Subject: Re: [reportlab-users] barcode extension
> To: reportlab-users at reportlab.com
> Cc: bo at bitute.b4net.lt
> Message-ID: <20041124230438.GB295 at lekcyjonarz.lan>
> Content-Type: text/plain; charset=iso-8859-2
>
> Andreas Braukmann <braukmann at tse-online.de> wrote:
>
>> FreeBSD's /usr/ports/lang/python port provides an option
>> dealing with this issue. Just build (or rebuild) python with
>> the option for huge stacksize. (IMHO that should be the default
>> anyways).
>
> Just like OpenBSD.  We've got THREAD_STACK_SIZE variable which could be
> used to change stack size.  But there is no need to change this value
> because our Python 2.3 port has increased stack size and Zope port is 
> happy
> with that.
>
> Alek
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 25 Nov 2004 00:14:36 +0100
> From: Aleksander Piotrowski <aleksander.piotrowski at nic.com.pl>
> Subject: Re: OT:RE: [reportlab-users] barcode extension
> To: reportlab-users at reportlab.com
> Message-ID: <20041124231430.GC295 at lekcyjonarz.lan>
> Content-Type: text/plain; charset=iso-8859-2
>
> bo at bitute.b4net.lt <bo at bitute.b4net.lt> wrote:
>
>> iptables is better anyway. :-P Also: http://bulk.fefe.de/scalability/ 
>> though
>> yes, there are older OpenBSD. Though I don't believe they made 
>> extremely
>> something better. Though... who knows...
>
> Does this test prove that Python/Reportlab works better on
> Linux/whatever than on OpenBSD? BTW Felix seems to be a little bit
> biased...
>
> BTW OpenBSD is not `scalable by default'. It is some would say `secure 
> by
> default' and I would say `free by default'.
>
>> As for me -- I want to hear that Zope, RL, Python etc works well.
>
> RL and Python work well. At least no one complained about them. Yeah,
> we've got problems with Zope but everything is just fine now.
>
> Alek
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 25 Nov 2004 08:37:59 +0000
> From: Robin Becker <robin at reportlab.com>
> Subject: Re: [reportlab-users] pyRXP
> To: Support list for users of Reportlab software
> 	<reportlab-users at reportlab.com>
> Message-ID: <41A599E7.6040707 at jessikat.fsnet.co.uk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Dennis Allison wrote:
>> We love the parser!  We use it with Zope and I seem to remember that 
>> it's
>> not thread-safe.  Can you confirm or deny?  I suyppose I should use 
>> some
>> sort of locking, but I have never had a problem.  Any suggestions as 
>> to
>> how to proceed?
>>
>
> the extension doesn't do anything about threads. I think that normal
> extension calls mean that the calling thread has the GIL so since pyRXP
> doesn't release it things should be OK. I'm not an expert in
> multi-thread stuff and it may be that problems could occur when pyRXP
> calls back out into python.
> -- 
> Robin Becker
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 25 Nov 2004 10:51:46 -0500
> From: Craig Jacobs <cmjacobs at indiana.edu>
> Subject: [reportlab-users] bus error with renderPM
> To: reportlab-users at reportlab.com
> Message-ID: <E92E6C0D-3EF9-11D9-88DD-000A95D2BB16 at indiana.edu>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> I am trying out reportlab and am using mac OS X. I seem to able to run
> reportlab without any trouble, but when i try the test_renderPM script
> i get a bus error. I have PIL installed. Any idea what could be causing
> the trouble? Thanks!
>
> -Craig
>
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 25 Nov 2004 16:26:19 +0000
> From: Robin Becker <robin at reportlab.com>
> Subject: Re: [reportlab-users] bus error with renderPM
> To: Support list for users of Reportlab software
> 	<reportlab-users at reportlab.com>
> Message-ID: <41A607AB.5010504 at chamonix.reportlab.co.uk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Craig Jacobs wrote:
>> I am trying out reportlab and am using mac OS X. I seem to able to run
>> reportlab without any trouble, but when i try the test_renderPM 
>> script i
>> get a bus error. I have PIL installed. Any idea what could be causing
>> the trouble? Thanks!
>>
>> -Craig
> mmhhh I don't seem to have a test renderPM script. Do you have a 
> compiled
> version of the _renderPM.c file?
>
> We have built all the extensions for OS X, but I'm not an expert on 
> the so
> called standard Python build and we just used the old cnfigure make 
> dance.
> -- 
> Robin Becker
>
>
> ------------------------------
>
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
>
>
> End of reportlab-users Digest, Vol 2, Issue 252
> ***********************************************
>
>


More information about the reportlab-users mailing list