Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-1731 Update some TVB dependencies
  3. TVB-2342

Fix Mac Build after upgrade of AllenSDK, pyTables, Pillow and CherryPy

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.6
    • Component/s: None
    • Labels:
      None
    • Sprint:
      1.5.6

      Description

      After pytables upgrade:

      ValueError: New Mach-O header is too large to relocate in '/WORK/Hudson/workspace/TVB - Build - Mac/dist/tvb.app/Contents/Resources/lib/python2.7/tables/.dylibs/libsz.2.dylib' (new size=1172L, max size=1136L, delta=104L)
      

      After Image/Pillow upgrades:

        File "runpy.pyc", line 174, in _run_module_as_main
        File "runpy.pyc", line 72, in _run_code
        File "/Users/lia.domide/Downloads/TVB_Distribution/tvb.app/Contents/Resources/lib/python2.7/tvb/interfaces/web/run.py", line 58, in <module>
          from tvb.interfaces.web.controllers.users_controller import UserController
        File "/Users/lia.domide/Downloads/TVB_Distribution/tvb.app/Contents/Resources/lib/python2.7/tvb/interfaces/web/controllers/users_controller.py", line 58, in <module>
          from tvb.core.services.texture_to_json import color_texture_to_list
        File "/Users/lia.domide/Downloads/TVB_Distribution/tvb.app/Contents/Resources/lib/python2.7/tvb/core/services/texture_to_json.py", line 39, in <module>
          from PIL import Image
        File "PIL/Image.pyc", line 56, in <module>
        File "PIL/_imaging.pyc", line 14, in <module>
        File "PIL/_imaging.pyc", line 10, in __load
      ImportError: dlopen(/Users/lia.domide/Downloads/TVB_Distribution/tvb.app/Contents/Resources/lib/python2.7/lib-dynload/PIL/_imaging.so, 2): Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib
        Referenced from: /Users/lia.domide/Downloads/TVB_Distribution/tvb.app/Contents/Frameworks/libtiff.5.dylib
        Reason: Incompatible library version: libtiff.5.dylib requires version 13.0.0 or later, but libjpeg.8.dylib provides version 9.0.0
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 5 hours Time Not Required
                  1d 5h