Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-2155

Log fails on uniccode string

    Details

    • Type: Bug
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: log
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Team:
      Data Access and Database

      Description

      Log is currently failing if we pass unicode string, it is easy to reproduce by doing: log.info(u"hello"). It fails with:

        File "/home/becla/dataArchDev/Linux64/log/master-gfab0203bd3+3/python/lsst/log/log.py", line 103, in info
          log("", INFO, fmt, *args, depth=2)
        File "/home/becla/dataArchDev/Linux64/log/master-gfab0203bd3+3/python/lsst/log/log.py", line 94, in log
          _getFuncName(depth), frame.f_lineno, fmt % args)
        File "/home/becla/dataArchDev/Linux64/log/master-gfab0203bd3+3/python/lsst/log/logLib.py", line 648, in forcedLog_iface
          return _logLib.forcedLog_iface(*args)
      TypeError: in method 'forcedLog_iface', argument 6 of type 'std::string const &'

        Attachments

          Activity

            People

            • Assignee:
              salnikov Andy Salnikov
              Reporter:
              fritzm Fritz Mueller
              Watchers:
              Andy Salnikov, Jacek Becla, John Gates, Kian-Tat Lim
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel