ncdingari / r-orange

Automatically exported from code.google.com/p/r-orange
Other
0 stars 0 forks source link

redREnviron settings not set #494

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
this error is coming back

############################################################
Unhandled exception of type AttributeError occured at 2011-02-13 
20:26:53.923000:
Traceback:
  File: signals.py, line 110 in registerRedRSignals
  Code: c = forname('libraries.%s.signalClasses.%s' % (package,signalClass),signalClass)
    File: signals.py, line 123 in forname
    Code: module = __import__(modname, globals(), locals(),classname)
      File: ImageSignal.py, line 1 in <module>
      Code: from canvas.signals import BaseRedRVariable
        File: signals.py, line 5 in <module>
        Code: import redRLog
          File: redRLog.py, line 229 in <module>
          Code: fileLogger = LogHandler()
            File: redRLog.py, line 165 in __init__
            Code: self.clearOldLogs()
              File: redRLog.py, line 198 in clearOldLogs
              Code: for f in glob.glob(redREnviron.settings['logsDir']+'/*.html'):
                AttributeError: 'module' object has no attribute 'settings' 
############################################################

Original issue reported on code.google.com by kylecovi...@gmail.com on 14 Feb 2011 at 2:29

GoogleCodeExporter commented 8 years ago
this may be more general than the redREnviron settings,  I get the following 
error when using no redREnviron settings at all

import redREnviron
        global logOutput
        try:
            if logLevels[redREnviron.settings['outputVerbosity']] != DEVEL:
                return
        except Exception as inst:
            logOutput(REDRCORE, DEVEL, text = unicode(inst))
            return

############################################################
Unhandled exception of type TypeError occured at 2011-02-13 20:51:51.628000:
Traceback:
  File: redRSignalManager.py, line 252 in _handleSignal
  Code: handler(value)
    File: plot.py, line 44 in processx
    Code: self.commitFunction()
      File: plot.py, line 57 in commitFunction
      Code: self.plotArea.plot(query = str(self.RFunctionParam_x)+inj, data = self.RFunctionParam_x)
        File: redRPlot.py, line 514 in plot
        Code: self.plotMultiple()
          File: redRPlot.py, line 518 in plotMultiple
          Code: self.parameters = self._getParameters()
            File: redRPlot.py, line 481 in _getParameters
            Code: print Rcall,k
              File: redRLog.py, line 225 in write
              Code: logOutput(REDRCORE, DEVEL, text = '%s, redREnviron settings were' % (inst,))
                TypeError: 'NoneType' object is not callable 
############################################################

Original comment by kylecovi...@gmail.com on 14 Feb 2011 at 2:55

GoogleCodeExporter commented 8 years ago
is this still an issue?

Original comment by kylecovi...@gmail.com on 2 Jun 2011 at 4:51

GoogleCodeExporter commented 8 years ago
i think this is fixed

Original comment by kylecovi...@gmail.com on 7 Jun 2011 at 2:44