[Issues] [Fwd: Re: raise TypeError, "can't pickle %s objects" % base.__name__]

Philippe Heraudeau heraud at astro.uni-bonn.de
Tue Sep 18 16:52:02 CEST 2007



-------- Original Message --------
Subject: 	Re: raise TypeError, "can't pickle %s objects" % base.__name__
Date: 	Tue, 18 Sep 2007 16:29:48 +0200 (CEST)
From: 	John P. McFarland <mcfarland at astro.rug.nl>
To: 	Philippe Heraudeau <heraud at astro.uni-bonn.de>
References: 	<46E51E06.9000809 at astro.rug.nl> 
<Pine.LNX.4.64.0709101724370.2959 at harriot.intra.astro.rug.nl> 
<46E65434.8050101 at astro.uni-bonn.de> 
<Pine.LNX.4.64.0709111234070.4025 at harriot.intra.astro.rug.nl> 
<46E68E70.8040608 at astro.uni-bonn.de> 
<Pine.LNX.4.64.0709130815260.28743 at harriot.intra.astro.rug.nl> 
<46E90518.1050805 at astro.uni-bonn.de> <46E906EF.7080907 at astro.rug.nl> 
<Pine.LNX.4.64.0709131342570.2746 at harriot.intra.astro.rug.nl> 
<46EA82BF.7070205 at astro.uni-bonn.de> 
<Pine.LNX.4.64.0709141454411.1231 at harriot.intra.astro.rug.nl> 
<46EA8E85.8090600 at astro.uni-bonn.de> 
<Pine.LNX.4.64.0709141701570.1231 at harriot.intra.astro.rug.nl> 
<46EFDD78.7070402 at astro.uni-bonn.de>



Hi Philippe,

I don't know what's happening, but I do reproduce your error.  Please send 
this to the Issues list so that Kor and others can see it.  Thanks.

Cheers,


-=John


On Tue, 18 Sep 2007, Philippe Heraudeau wrote:

> Hi John,
> I have been running aw on the deep3a data
> Although the task finished on the cluster I get this error below:
>
> dpu.run('GAstromSL',object='DEEP3a*',instrument='WFI',filter='#844',C=1)
> [foucault] 16:02:02 - [node30] 15:51:56 - Outer bounding box: 
> (171.51663,-21.96539,171.37190,-21.96561,171.37161,-21.69792,171.51607,-21.69771 
> )
> [foucault] 16:02:02 - [node30] 15:52:03 - Created SourceList with SLID = 
> 194491, name = 
> GAS-Sci-PHERAUDEAU-WFI-------#844-ccd57-Red---Sci-54360.6630629-6132ab23c4e4558de5b3262378c5c9e4fa0eead0.fits.slist 
> and 194 sources
> [foucault] 16:02:02 - Error pickling job
> [foucault] 16:02:02 - Exception:  can't pickle function objects
> [foucault] 16:02:02 -   File 
> "/home/rugwn201/omegacen/awehome/opipe/current/astro/net/dpu_runner.py", line 
> 191, in main
> [foucault] 16:02:02 -     pjob = pickle.dumps(job)
> [foucault] 16:02:02 -   File 
> "/home/rugwn201/omegacen/local/x86_64/lib/python2.3/copy_reg.py", line 69, in 
> _reduce_ex
> [foucault] 16:02:02 -     raise TypeError, "can't pickle %s objects" % 
> base.__name__
> [foucault] 16:02:02 -
>
> You should be able to reproduce it with simply this file:
> dpu.run('GAstromSL',red_filenames=['Sci-PHERAUDEAU-WFI-------#844-ccd57-Red---Sci-54360.6630629-6132ab23c4e4558de5b3262378c5c9e4fa0eead0.fits'],instrument='WFI',filter='#844',C=0)
>
>
> Cheers
> Philippe
>
>
>
>
> ==========================================================================
> Dr. Philippe Heraudeau
> Argelander-Institut für Astronomie Email: heraudeau at astro.uni-bonn.de
> Auf dem Hügel 71                   Tel.: +49 (0)228 733673
> D-53121 Bonn                       Fax.: +49 (0)228 731775
> Germany
> ========================================================================= 
>
> ** ACCEPT: CRM114 PASS osb unique microgroom Matcher ** CLASSIFY succeeds; 
> success probability: 1.0000  pR: 14.3592
> Best match to file #0 (nonspam.css) prob: 1.0000  pR: 14.3592  Total features 
> in input file: 2208
> #0 (nonspam.css): features: 1787373, hits: 992240, prob: 1.00e-00, pR:  14.36 
> #1 (spam.css): features: 2546489, hits: 2992815, prob: 4.37e-15, pR: -14.36 
>


-- 
==========================================================================
Dr. Philippe Heraudeau
Argelander-Institut für Astronomie Email: heraudeau at astro.uni-bonn.de
Auf dem Hügel 71                   Tel.: +49 (0)228 733673
D-53121 Bonn                       Fax.: +49 (0)228 731775
Germany
========================================================================= 



More information about the Issues mailing list