tidalcycles / vim-tidal

Vim plugin for TidalCycles
MIT License
223 stars 56 forks source link

Installation error "Variable not in scope" #32

Closed dubreuia closed 5 years ago

dubreuia commented 5 years ago

I've installed Tidal and Supercollider following this tutorial: https://tidalcycles.org/index.php/Linux_installation

And vim-tidal following the README (manual install), when I launch Tidal I get:

➜  tidal              
GHCi, version 8.2.2: http://www.haskell.org/ghc/  :? for help

<interactive>:8:26: error:
    Variable not in scope: cpsUtils' :: IO (a0, b0, c0)

<interactive>:10:12: error:
    Variable not in scope: superDirtSetters :: t0 -> IO (a0, b0)

<interactive>:10:29: error: Variable not in scope: getNow

<interactive>:11:12: error:
    Variable not in scope: superDirtSetters :: t0 -> IO (a0, b0)

<interactive>:11:29: error: Variable not in scope: getNow

<interactive>:12:12: error:
    Variable not in scope: superDirtSetters :: t0 -> IO (a0, b0)

<interactive>:12:29: error: Variable not in scope: getNow

<interactive>:13:12: error:
    Variable not in scope: superDirtSetters :: t0 -> IO (a0, b0)

<interactive>:13:29: error: Variable not in scope: getNow

<interactive>:14:12: error:
    Variable not in scope: superDirtSetters :: t0 -> IO (a0, b0)

<interactive>:14:29: error: Variable not in scope: getNow

<interactive>:15:12: error:
    Variable not in scope: superDirtSetters :: t0 -> IO (a0, b0)

<interactive>:15:29: error: Variable not in scope: getNow

<interactive>:16:12: error:
    Variable not in scope: superDirtSetters :: t0 -> IO (a0, b0)

<interactive>:16:29: error: Variable not in scope: getNow

<interactive>:17:12: error:
    Variable not in scope: superDirtSetters :: t0 -> IO (a0, b0)

<interactive>:17:29: error: Variable not in scope: getNow

<interactive>:18:12: error:
    Variable not in scope: superDirtSetters :: t0 -> IO (a0, b0)

<interactive>:18:29: error: Variable not in scope: getNow

<interactive>:19:14: error:
    Variable not in scope: superDirtSetters :: t0 -> IO (a0, b0)

<interactive>:19:31: error: Variable not in scope: getNow

<interactive>:21:13: error:
    Variable not in scope: dirtSetters :: t0 -> IO (a0, b0)

<interactive>:21:25: error: Variable not in scope: getNow

<interactive>:22:13: error:
    Variable not in scope: dirtSetters :: t0 -> IO (a0, b0)

<interactive>:22:25: error: Variable not in scope: getNow

<interactive>:23:13: error:
    Variable not in scope: dirtSetters :: t0 -> IO (a0, b0)

<interactive>:23:25: error: Variable not in scope: getNow

<interactive>:24:13: error:
    Variable not in scope: dirtSetters :: t0 -> IO (a0, b0)

<interactive>:24:25: error: Variable not in scope: getNow

<interactive>:25:13: error:
    Variable not in scope: dirtSetters :: t0 -> IO (a0, b0)

<interactive>:25:25: error: Variable not in scope: getNow

<interactive>:26:13: error:
    Variable not in scope: dirtSetters :: t0 -> IO (a0, b0)

<interactive>:26:25: error: Variable not in scope: getNow

<interactive>:27:13: error:
    Variable not in scope: dirtSetters :: t0 -> IO (a0, b0)

<interactive>:27:25: error: Variable not in scope: getNow

<interactive>:28:13: error:
    Variable not in scope: dirtSetters :: t0 -> IO (a0, b0)

<interactive>:28:25: error: Variable not in scope: getNow

<interactive>:29:13: error:
    Variable not in scope: dirtSetters :: t0 -> IO (a0, b0)

<interactive>:29:25: error: Variable not in scope: getNow

<interactive>:30:15: error:
    Variable not in scope: dirtSetters :: t0 -> IO (a0, b0)

<interactive>:30:27: error: Variable not in scope: getNow

<interactive>:33:31: error:
    • Variable not in scope: c1 :: Pattern a0 -> m b0
    • Perhaps you meant one of these:
        ‘cF’ (imported from Sound.Tidal.Context),
        ‘cI’ (imported from Sound.Tidal.Context),
        ‘cP’ (imported from Sound.Tidal.Context)

<interactive>:33:34: error:
    • Variable not in scope: c2 :: Pattern a0 -> m b0
    • Perhaps you meant one of these:
        ‘cF’ (imported from Sound.Tidal.Context),
        ‘cI’ (imported from Sound.Tidal.Context),
        ‘cP’ (imported from Sound.Tidal.Context)

<interactive>:33:37: error:
    • Variable not in scope: c3 :: Pattern a0 -> m b0
    • Perhaps you meant one of these:
        ‘cF’ (imported from Sound.Tidal.Context),
        ‘cI’ (imported from Sound.Tidal.Context),
        ‘cP’ (imported from Sound.Tidal.Context)

<interactive>:33:40: error:
    • Variable not in scope: c4 :: Pattern a0 -> m b0
    • Perhaps you meant one of these:
        ‘cF’ (imported from Sound.Tidal.Context),
        ‘cI’ (imported from Sound.Tidal.Context),
        ‘cP’ (imported from Sound.Tidal.Context)

<interactive>:33:43: error:
    • Variable not in scope: c5 :: Pattern a0 -> m b0
    • Perhaps you meant one of these:
        ‘cF’ (imported from Sound.Tidal.Context),
        ‘cI’ (imported from Sound.Tidal.Context),
        ‘cP’ (imported from Sound.Tidal.Context)

<interactive>:33:46: error:
    • Variable not in scope: c6 :: Pattern a0 -> m b0
    • Perhaps you meant one of these:
        ‘cF’ (imported from Sound.Tidal.Context),
        ‘cI’ (imported from Sound.Tidal.Context),
        ‘cP’ (imported from Sound.Tidal.Context)

<interactive>:33:49: error:
    • Variable not in scope: c7 :: Pattern a0 -> m b0
    • Perhaps you meant one of these:
        ‘cF’ (imported from Sound.Tidal.Context),
        ‘cI’ (imported from Sound.Tidal.Context),
        ‘cP’ (imported from Sound.Tidal.Context)

<interactive>:33:52: error:
    • Variable not in scope: c8 :: Pattern a0 -> m b0
    • Perhaps you meant one of these:
        ‘cF’ (imported from Sound.Tidal.Context),
        ‘cI’ (imported from Sound.Tidal.Context),
        ‘cP’ (imported from Sound.Tidal.Context)

<interactive>:33:55: error:
    • Variable not in scope: c9 :: Pattern a0 -> m b0
    • Perhaps you meant one of these:
        ‘cF’ (imported from Sound.Tidal.Context),
        ‘cI’ (imported from Sound.Tidal.Context),
        ‘cP’ (imported from Sound.Tidal.Context)

<interactive>:33:58: error:
    • Variable not in scope: c10 :: Pattern a0 -> m b0
    • Perhaps you meant one of these:
        ‘cF0’ (imported from Sound.Tidal.Context),
        ‘cR0’ (imported from Sound.Tidal.Context),
        ‘cT0’ (imported from Sound.Tidal.Context)

<interactive>:33:62: error:
    Variable not in scope: d1 :: Pattern a0 -> m b0

<interactive>:33:65: error:
    Variable not in scope: d2 :: Pattern a0 -> m b0

<interactive>:33:68: error:
    Variable not in scope: d3 :: Pattern a0 -> m b0

<interactive>:33:71: error:
    Variable not in scope: d4 :: Pattern a0 -> m b0

<interactive>:33:74: error:
    Variable not in scope: d5 :: Pattern a0 -> m b0

<interactive>:33:77: error:
    • Variable not in scope: d6 :: Pattern a0 -> m b0
    • Perhaps you meant ‘Chords.m6’ (imported from Sound.Tidal.Chords)

<interactive>:33:80: error:
    Variable not in scope: d7 :: Pattern a0 -> m b0

<interactive>:33:83: error:
    Variable not in scope: d8 :: Pattern a0 -> m b0

<interactive>:33:86: error:
    • Variable not in scope: d9 :: Pattern a0 -> m b0
    • Perhaps you meant ‘Chords.m9’ (imported from Sound.Tidal.Chords)

<interactive>:33:89: error:
    Variable not in scope: d10 :: Pattern a0 -> m b0

<interactive>:34:17: error: Variable not in scope: hush :: m a0
Loaded GHCi configuration from /home/alex/Downloads/vim-tidal-0.3.3/bin/../Tidal.ghci
tidal> 
Leaving GHCi.
➜  cabal install tidal
Resolving dependencies...
All the requested packages are already installed:
tidal-1.0.10
dubreuia commented 5 years ago

Similiar to #16, I have the proper version thought

munshkr commented 5 years ago

Hi @dubreuia can you try updating the plugin? I updated the boot script to match latest Tidal version.

munshkr commented 5 years ago

It seems to be working now that Tidal 1.0.11 was just released, just run cabal update and cabal install tidal --reinstall. Feel free to reopen if you still have problems.