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

Contributor's code from tvb.interfaces.... packages is not taken from the Git clone, but always from inside TVB_Distribution/tvb_data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      Problem found on Linux, but most probably will replicate also on Windows.

      Description

      python -m tvb.interfaces.web.run
      seems to prefer tvb.interfaces.web.run.py found in current folder, regardless of what we set as PYTHONHOME.
      On Mac this works correctly because the folder where python executable is, differs from the one where tvb/interfaces/.... is.
      reload() doesn't seem to work, as being done from run.py also considers curent file as priority source. If we do reload(tvb.interfaces) from a different tvb package (e.g. abcDisplayer.py) it seems to load correctly (from GIT clone), but that is too late, and we can not easily enforce that.

      To fix the Linux/Windows package, we could reorganize tvb_data folder:
      tvb_data/tvb..
      tvb_data/numpy....
      tvb_data/EXE/python
      OR:
      tvb_data/LIBS/tvb..
      tvb_data/LIBS/numpy....
      tvb_data/python
      OR:
      convince python -m tvb.interfaces.web.run to use a different search method.

        Attachments

          Activity

            People

            • Assignee:
              bogdan.neacsa Bogdan Neacsa
              Reporter:
              ciprian.tomoiaga Ciprian Tomoiaga
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 30 minutes
                1d 1h 30m