Difference between revisions of "User:Barison"

From Atlas Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
TopView -> 13 Logbook
+
 
 +
== TopView -> 13 Logbook ==
 +
 
 +
 
 +
== 15/11/2007 ==
 +
 
  
 
I copied the HighPtViewNtuple_jobOption.py file to the TopView dir and tried running it.  
 
I copied the HighPtViewNtuple_jobOption.py file to the TopView dir and tried running it.  
Line 17: Line 22:
 
TypeError: Error when calling the metaclass bases
 
TypeError: Error when calling the metaclass bases
 
     module.__init__() takes at most 2 arguments (3 given)</nowiki>
 
     module.__init__() takes at most 2 arguments (3 given)</nowiki>
 +
 +
 +
  File "/afs/cern.ch/atlas/software/builds/AtlasCore/13.0.30/InstallArea/share/bin/athena.py", line 352, in ?
 +
    include( script )
 +
  File "./LocalOverride.py", line 23, in ?
 +
    include("Analysis_topOptions.py")
 +
  File "./Analysis_topOptions.py", line 17, in ?
 +
    from TopView import *
 +
  File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 39, in ?
 +
    init()
 +
  File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 26, in init
 +
    c = __import__( mod )
 +
  File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/SubtractElecFromJet_module.py", line 3, in ?
 +
    class SubtractElecFromJet(EVModule):
 +
TypeError: Error when calling the metaclass bases
 +
    module.__init__() takes at most 2 arguments (3 given)
 +
 +
This is quite easy to solve: open MergeMuonAndJetTag_module.py and SubtractElecFromJet_module.py and replace
 +
 +
from EventViewConfiguration import *
 +
 +
with:
 +
 +
from EventViewConfiguration.EVModule import *

Revision as of 15:09, 15 November 2007

TopView -> 13 Logbook

15/11/2007

I copied the HighPtViewNtuple_jobOption.py file to the TopView dir and tried running it.

Uncommenting "from TopView import *" produces:

File "/afs/cern.ch/atlas/software/builds/AtlasCore/13.0.30/InstallArea/share/bin/athena.py", line 352, in ? include( script ) File "./mytry.py", line 13, in ? from TopView import * File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 39, in ? init() File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 26, in init c = __import__( mod ) File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/MergeMuonAndJetTag_module.py", line 3, in ? class MergeMuonAndJetTag(EVModule): TypeError: Error when calling the metaclass bases module.__init__() takes at most 2 arguments (3 given)


 File "/afs/cern.ch/atlas/software/builds/AtlasCore/13.0.30/InstallArea/share/bin/athena.py", line 352, in ?
   include( script )
 File "./LocalOverride.py", line 23, in ?
   include("Analysis_topOptions.py")
 File "./Analysis_topOptions.py", line 17, in ?
   from TopView import *
 File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 39, in ?
   init()
 File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 26, in init
   c = __import__( mod )
 File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/SubtractElecFromJet_module.py", line 3, in ?
   class SubtractElecFromJet(EVModule):

TypeError: Error when calling the metaclass bases

   module.__init__() takes at most 2 arguments (3 given)

This is quite easy to solve: open MergeMuonAndJetTag_module.py and SubtractElecFromJet_module.py and replace

from EventViewConfiguration import *

with:

from EventViewConfiguration.EVModule import *