Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-2353

After seting library profile in ipython notebook the logs from console are no longer displayed in browser

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.5
    • Fix Version/s: 1.5.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      ipython notebook

      Description

      Reloading sys seems to generate the problem. A possible fix would be in profile.py set_profile method:

      old_out = sys.stdout
      reload(sys)
      sys.setdefaultencoding('utf-8')
      sys.stdout = old_out
      

      Currently something similar is done, but only in simulator.lab.py

        Attachments

          Activity

            People

            • Assignee:
              lia.domide Lia Domide
              Reporter:
              paula.popa Paula Popa
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour Time Not Required
                1h