Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with printing event info in event.__str__ #757

Open
vinzenzstampf opened this issue Jul 31, 2019 · 0 comments
Open

problem with printing event info in event.__str__ #757

vinzenzstampf opened this issue Jul 31, 2019 · 0 comments

Comments

@vinzenzstampf
Copy link

when calling the function _get_print_attrs in event.py there is an error with handling an HLT related object:

*** SystemError: none of the 2 overloaded methods succeeded. Full details: edm::HLTPathStatus& edm::HLTGlobalStatus::operator[](const unsigned int i) => could not convert argument 1 (Objects/longobject.c:426: bad argument to internal function) const edm::HLTPathStatus& edm::HLTGlobalStatus::operator[](const unsigned int i) => could not convert argument 1 (Objects/longobject.c:426: bad argument to internal function)

this is called twice in looper.py, here and here, and causes the loop to crash

for now i've just commented out the print out calling self.event.__str__ and self.event in looper.py

is there a fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant