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

pyFAI issue at 8-ID-I #20

Open
dylanmcreynolds opened this issue Feb 7, 2020 · 0 comments
Open

pyFAI issue at 8-ID-I #20

dylanmcreynolds opened this issue Feb 7, 2020 · 0 comments
Assignees
Labels

Comments

@dylanmcreynolds
Copy link
Contributor

When running Xi-CAM XPCS at APS 8-ID-I, we ran into the following none-fatal stack traces. Ron wondered if this might be due to using pyFAI 0.19.0 instead of 0.18.0.


/home/beams10/8IDIUSER/src/Xi-cam.core/xicam/core/msg/__init__.py:213: UserWarning: Custom loggername is no longer supported, ignored.
  warnings.warn("Custom loggername is no longer supported, "
Thu Feb 06 11:00:02 2020 - logError - ERROR - MainThread - 
 The following error was handled safely by Xi-cam. It is displayed here for debugging.
Thu Feb 06 11:00:02 2020 - logError - ERROR - MainThread - 
 Traceback (most recent call last):
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 186, in dataChanged
    self.addDevice(field)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 166, in addDevice
    self.setSilence(False)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 100, in setSilence
    self.save()
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/xicam/plugins/settingsplugin.py", line 45, in save
    QSettings().setValue(self.name(), pickle.dumps(self.toState()))
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/cloudpickle/cloudpickle_fast.py", line 62, in dumps
    cp.dump(obj)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/cloudpickle/cloudpickle_fast.py", line 538, in dump
    return Pickler.dump(self, obj)
 TypeError: cannot pickle 'property' object
Thu Feb 06 11:00:02 2020 - run - ERROR - Dummy-22 - Error in thread: Method: doReduceWorkflow
Args: (<xicam.SAXS.SAXSGUIPlugin.SAXSPlugin object at 0x7fd728d9ed90>,)
Kwargs: {}
Thu Feb 06 11:00:02 2020 - logError - ERROR - Dummy-22 - 
 The following error was handled safely by Xi-cam. It is displayed here for debugging.
Thu Feb 06 11:00:02 2020 - logError - ERROR - Dummy-22 - 
 Traceback (most recent call last):
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 160, in addDevice
    self.addChild(devicechild)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 497, in addChild
    return self.insertChild(len(self.childs), child, autoIncrementName=autoIncrementName)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 540, in insertChild
    raise Exception("Already have child named %s" % str(name))
 Exception: Already have child named lambdadet_image
 
During handling of the above exception, another exception occurred:
 Traceback (most recent call last):
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 160, in addDevice
    self.addChild(devicechild)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 497, in addChild
    return self.insertChild(len(self.childs), child, autoIncrementName=autoIncrementName)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 540, in insertChild
    raise Exception("Already have child named %s" % str(name))
 Exception: Already have child named lambdadet_image
 
During handling of the above exception, another exception occurred:
 Traceback (most recent call last):
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 160, in addDevice
    self.addChild(devicechild)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 497, in addChild
    return self.insertChild(len(self.childs), child, autoIncrementName=autoIncrementName)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 540, in insertChild
    raise Exception("Already have child named %s" % str(name))
 Exception: Already have child named lambdadet_image
 
During handling of the above exception, another exception occurred:
 Traceback (most recent call last):
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 160, in addDevice
    self.addChild(devicechild)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 497, in addChild
    return self.insertChild(len(self.childs), child, autoIncrementName=autoIncrementName)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 540, in insertChild
    raise Exception("Already have child named %s" % str(name))
 Exception: Already have child named lambdadet_image
 
During handling of the above exception, another exception occurred:
 Traceback (most recent call last):
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 160, in addDevice
    self.addChild(devicechild)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 497, in addChild
    return self.insertChild(len(self.childs), child, autoIncrementName=autoIncrementName)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 540, in insertChild
    raise Exception("Already have child named %s" % str(name))
 Exception: Already have child named lambdadet_image
 
During handling of the above exception, another exception occurred:
 Traceback (most recent call last):
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 160, in addDevice
    self.addChild(devicechild)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 497, in addChild
    return self.insertChild(len(self.childs), child, autoIncrementName=autoIncrementName)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 540, in insertChild
    raise Exception("Already have child named %s" % str(name))
 Exception: Already have child named lambdadet_image
 
During handling of the above exception, another exception occurred:
 Traceback (most recent call last):
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 160, in addDevice
    self.addChild(devicechild)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 497, in addChild
    return self.insertChild(len(self.childs), child, autoIncrementName=autoIncrementName)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 540, in insertChild
    raise Exception("Already have child named %s" % str(name))
 Exception: Already have child named lambdadet_image
 
During handling of the above exception, another exception occurred:
 Traceback (most recent call last):
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 160, in addDevice
    self.addChild(devicechild)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 497, in addChild
    return self.insertChild(len(self.childs), child, autoIncrementName=autoIncrementName)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 540, in insertChild
    raise Exception("Already have child named %s" % str(name))
 Exception: Already have child named lambdadet_image
 
During handling of the above exception, another exception occurred:
 Traceback (most recent call last):
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 160, in addDevice
    self.addChild(devicechild)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 497, in addChild
    return self.insertChild(len(self.childs), child, autoIncrementName=autoIncrementName)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/pyqtgraph/parametertree/Parameter.py", line 540, in insertChild
    raise Exception("Already have child named %s" % str(name))
 Exception: Already have child named lambdadet_image
 
During handling of the above exception, another exception occurred:
 Traceback (most recent call last):
   File "/home/beams10/8IDIUSER/src/Xi-cam.core/xicam/core/threads/__init__.py", line 151, in run
    for self._result in self._run(*args, **kwargs):
   File "/home/beams10/8IDIUSER/src/Xi-cam.core/xicam/core/threads/__init__.py", line 176, in _run
    yield self.method(*self.args, **self.kwargs)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/SAXSGUIPlugin.py", line 466, in doReduceWorkflow
    ai = self.calibrationsettings.AI(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 129, in AI
    self.addDevice(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 166, in addDevice
    self.setSilence(False)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 98, in setSilence
    self.emitChanges()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 90, in emitChanges
    self.genAIs()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 113, in genAIs
    ai = self.AI(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 129, in AI
    self.addDevice(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 166, in addDevice
    self.setSilence(False)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 98, in setSilence
    self.emitChanges()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 90, in emitChanges
    self.genAIs()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 113, in genAIs
    ai = self.AI(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 129, in AI
    self.addDevice(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 166, in addDevice
    self.setSilence(False)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 98, in setSilence
    self.emitChanges()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 90, in emitChanges
    self.genAIs()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 113, in genAIs
    ai = self.AI(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 129, in AI
    self.addDevice(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 166, in addDevice
    self.setSilence(False)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 98, in setSilence
    self.emitChanges()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 90, in emitChanges
    self.genAIs()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 113, in genAIs
    ai = self.AI(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 129, in AI
    self.addDevice(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 166, in addDevice
    self.setSilence(False)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 98, in setSilence
    self.emitChanges()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 90, in emitChanges
    self.genAIs()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 113, in genAIs
    ai = self.AI(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 129, in AI
    self.addDevice(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 166, in addDevice
    self.setSilence(False)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 98, in setSilence
    self.emitChanges()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 90, in emitChanges
    self.genAIs()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 113, in genAIs
    ai = self.AI(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 129, in AI
    self.addDevice(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 166, in addDevice
    self.setSilence(False)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 98, in setSilence
    self.emitChanges()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 90, in emitChanges
    self.genAIs()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 113, in genAIs
    ai = self.AI(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 129, in AI
    self.addDevice(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 166, in addDevice
    self.setSilence(False)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 98, in setSilence
    self.emitChanges()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 90, in emitChanges
    self.genAIs()
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 113, in genAIs
    ai = self.AI(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 129, in AI
    self.addDevice(device)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 166, in addDevice
    self.setSilence(False)
   File "/home/beams10/8IDIUSER/src/Xi-cam.SAXS/xicam/SAXS/calibration/__init__.py", line 100, in setSilence
    self.save()
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/xicam/plugins/settingsplugin.py", line 45, in save
    QSettings().setValue(self.name(), pickle.dumps(self.toState()))
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/cloudpickle/cloudpickle_fast.py", line 62, in dumps
    cp.dump(obj)
   File "/home/beams/8IDIUSER/.conda/envs/xicam-pilot/lib/python3.8/site-packages/cloudpickle/cloudpickle_fast.py", line 538, in dump
    return Pickler.dump(self, obj)
 TypeError: cannot pickle 'property' object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants