Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-690 Code Review - Unit test
  3. TVB-784

Weird log-entries when starting TVB from Deployment package.

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.0.2
    • Component/s: TVB Framework
    • Labels:
      None
    • Environment:
      Win 64 (build from 17.10.) Browser FF 16

      Description

      When starting after a "clean", the log has some weired entries, when trying to start a Sim:

      • something in mplh5 seem to be wrong (however we want to kick it out anyway, right?)
      • we seem to have an unnecessary genshi-setting (or miss a lib here)
      • the compiler-warning about Numpy is worrying a bit (but we do compile it soon anyway. Or do we already??)
      • we use deprecated functions for managing memory-tasks

      Following the relevant snipp from the log.

      Unhandled exception in thread started by
      Traceback (most recent call last):
      File "C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip
      \mplh5canvas\simple_server.py", line 318, in serve_forever
      [], [], poll_interval)
      File "socket.pyc", line 224, in meth

      File "socket.pyc", line 170, in _dummy

      socket.error: [Errno 9] Bad file descriptor
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\tvb\cor
      e\adapters\abcadapter.py:175: DeprecationWarning: psutil.phymem_usage is depreca
      ted
      total_free_memory = psutil.phymem_usage().free + psutil.virtmem_usage().free
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\tvb\cor
      e\adapters\abcadapter.py:175: DeprecationWarning: psutil.virtmem_usage is deprec
      ated; use psutil.swap_memory() instead
      total_free_memory = psutil.phymem_usage().free + psutil.virtmem_usage().free
      Loading file. Created temporary file: c:\users\jmersm~1.cod\appdata\local\temp\c
      ff_7459935\CNetwork\tvb_connectivity_matrix.gpickle
      CherryPy Checker:
      The config entry 'tools.buffet_genshi.on' may be invalid, because the 'buffet_ge
      nshi' tool was not found.
      section: [/]

      Succeed.
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\numpy\l
      ib\utils.py:1132: DeprecationWarning: The compiler package is deprecated and rem
      oved in Python 3.x.
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\tvb\cor
      e\adapters\abcadapter.py:175: DeprecationWarning: psutil.phymem_usage is depreca
      ted
      total_free_memory = psutil.phymem_usage().free + psutil.virtmem_usage().free
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\tvb\cor
      e\adapters\abcadapter.py:175: DeprecationWarning: psutil.virtmem_usage is deprec
      ated; use psutil.swap_memory() instead
      total_free_memory = psutil.phymem_usage().free + psutil.virtmem_usage().free
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\tvb\cor
      e\adapters\abcadapter.py:175: DeprecationWarning: psutil.phymem_usage is depreca
      ted
      total_free_memory = psutil.phymem_usage().free + psutil.virtmem_usage().free
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\tvb\cor
      e\adapters\abcadapter.py:175: DeprecationWarning: psutil.virtmem_usage is deprec
      ated; use psutil.swap_memory() instead
      total_free_memory = psutil.phymem_usage().free + psutil.virtmem_usage().free
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\sqlalch
      emy\orm\dependency.py:746: SAWarning: Object of type <CorticalSurface> not in se
      ssion, add operation along 'RegionMappingData.__surface' won't proceed
      uowcommit, "add")
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\sqlalch
      emy\orm\dependency.py:746: SAWarning: Object of type <Connectivity> not in sessi
      on, add operation along 'RegionMappingData.__connectivity' won't proceed
      uowcommit, "add")
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\sqlalch
      emy\orm\dependency.py:746: SAWarning: Object of type <CorticalSurface> not in se
      ssion, add operation along 'LocalConnectivityData.__surface' won't proceed
      uowcommit, "add")
      Will not remove file c:\users\jmersm~1.cod\appdata\local\temp\cff_7459935\CNetwo
      rk\tvb_connectivity_matrix.gpickle from file system
      Remove .data attribute
      Remove .tmpsrc attribute
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\tvb\cor
      e\adapters\abcadapter.py:175: DeprecationWarning: psutil.phymem_usage is depreca
      ted
      total_free_memory = psutil.phymem_usage().free + psutil.virtmem_usage().free
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\tvb\cor
      e\adapters\abcadapter.py:175: DeprecationWarning: psutil.virtmem_usage is deprec
      ated; use psutil.swap_memory() instead
      total_free_memory = psutil.phymem_usage().free + psutil.virtmem_usage().free
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\sqlalch
      emy\orm\dependency.py:746: SAWarning: Object of type <CorticalSurface> not in se
      ssion, add operation along 'ProjectionMatrixData.__sources' won't proceed
      uowcommit, "add")
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\sqlalch
      emy\orm\dependency.py:746: SAWarning: Object of type <SensorsEEG> not in session
      , add operation along 'ProjectionMatrixData.__sensors' won't proceed
      uowcommit, "add")
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\tvb\cor
      e\adapters\abcadapter.py:175: DeprecationWarning: psutil.phymem_usage is depreca
      ted
      total_free_memory = psutil.phymem_usage().free + psutil.virtmem_usage().free
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\tvb\cor
      e\adapters\abcadapter.py:175: DeprecationWarning: psutil.virtmem_usage is deprec
      ated; use psutil.swap_memory() instead
      total_free_memory = psutil.phymem_usage().free + psutil.virtmem_usage().free
      C:\Users\jmersmann.CODEBOX\Desktop\TVB_Distribution\tvb_data\library.zip\sqlalch
      emy\orm\dependency.py:746: SAWarning: Object of type <Connectivity> not in sessi
      on, add operation along 'ProjectionMatrixData.__sources' won't proceed
      uowcommit, "add")

        Attachments

          Activity

            People

            • Assignee:
              bogdan.neacsa Bogdan Neacsa
              Reporter:
              jochen.mersmann Jochen Mersmann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 hours Original Estimate - 3 hours
                3h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 2 hours, 15 minutes
                2d 2h 15m