Linear Collider Forum



Home » Software Tools » Marlin et al » [ilcinstall - slicPandora] "NameError: name 'SlicPandora' is not defined"
[ilcinstall - slicPandora] "NameError: name 'SlicPandora' is not defined" [message #2267] Tue, 09 July 2013 14:12 Go to next message
aconway
Messages: 7
Registered: July 2013
Location: FNAL
Hi,
Hi,

I'm running into trouble attempting to install slicPandora with ilcinstall. I got slic installed but when I try to install slicPandora with
./ilcsoft-install examples/slicPandora/release-scratch.cfg 

I get the error below.

Anyone know how to fix this?

Thanks,
Alex


-bash-4.1$ ./ilcsoft-install examples/slicPandora/release-scratch.cfg 
+ Running ilcsoft-install [ v01-17-02 ]
+ Read configuration file [ /cloud/login/aconway/ilcinstall/examples/slicPandora/release-scratch.cfg ]
+ PLATFORM 	Linux - Scientific Linux Fermi release 6.2 (Ramsey)
+ GCC_VERSION 	gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3)
+ LSB_RELEASE 	LSB Version:	:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
		Distributor ID:	ScientificFermi
		Description:	Scientific Linux Fermi release 6.2 (Ramsey)
		Release:	6.2
		Codename:	Ramsey
+ UNAME 	Linux mcdrd.fnal.gov 2.6.32-279.22.1.el6.x86_64 #1 SMP Tue Feb 5 14:33:39 CST 2013 x86_64 x86_64 x86_64 GNU/Linux

Traceback (most recent call last):
  File "./ilcsoft-install", line 72, in <module>
    execfile( config_file )
  File "/cloud/login/aconway/ilcinstall/examples/slicPandora/release-scratch.cfg", line 106, in <module>
    ilcsoft.install( SlicPandora( SlicPandora_version ))
NameError: name 'SlicPandora' is not defined
-bash-4.1$ 
Re: [ilcinstall - slicPandora] "NameError: name 'SlicPandora' is not defined" [message #2269 is a reply to message #2267] Tue, 09 July 2013 21:18 Go to previous messageGo to next message
sailer
Messages: 34
Registered: February 2009
Hi Alex,

I think you have to add a line of:
from slicpandora import SlicPandora

For all the other modules the corresponding line is in
ilcinstall/ilcsoft/__init__.py
but for SlicPandora this has not happened yet.

Cheers,
André
Re: [ilcinstall - slicPandora] "NameError: name 'SlicPandora' is not defined" [message #2270 is a reply to message #2269] Tue, 16 July 2013 09:09 Go to previous message
aconway
Messages: 7
Registered: July 2013
Location: FNAL
Yes, that fixed it, thank you.
Previous Topic:[ilcinstall] Minor problems with ilcsoft-install and related scripts.
Next Topic:[ilcinstall - slicPandora] Gear installation fails, cannot find CLHEP?
Goto Forum:
  

[ PDF ]

Current Time: Sun Oct 13 13:16:17 Pacific Daylight Time 2019
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software