Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

LightTable is stalled on startup #1959

Closed
Davidslv opened this issue Aug 29, 2015 · 7 comments
Closed

LightTable is stalled on startup #1959

Davidslv opened this issue Aug 29, 2015 · 7 comments

Comments

@Davidslv
Copy link

Yesterday as far as I remember I touched the user behaviours to add line numbers, which was showing fine, although when I tried to start Light Table again it stays in that screen and nothing else happens

version: 0.7.2
OSX version: 10.10.4 (14E46)

I've tried:

  • Force Quit and start Light Table, same result
  • Trash it and use a new one, same result
  • Trash it, restart, use new one, same result

screen shot 2015-08-29 at 09 06 22

@kenny-evitt
Copy link
Contributor

@Davidslv Would you post your user.behaviors file?

@rundis
Copy link
Contributor

rundis commented Sep 1, 2015

Also @Davidslv You might want to check the logs in ~/Library/Application\ Support/LightTable/logs/ to see if you get any pointers as to what the problem might be

@Davidslv
Copy link
Author

Davidslv commented Sep 1, 2015

Hey, thank you for your time answering, so the log says the following:

Could not load behaviors for plugin: UserInvalid behavior: :lt.objs.settings/initial-behaviorsError: nth not supported on this type cljs.core/Keyword
    at Error (<anonymous>)
    at c (file:///Applications/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:3409:15)
    at a (file:///Applications/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:3419:18)
    at lt.objs.settings.flat_behaviors__GT_map (file:///Applications/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:27746:234)
    at lt.objs.settings.parse_file (file:///Applications/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:27865:131)
    at eval (file:///Applications/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:7939:51)
    at c (file:///Applications/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:3982:15)
    at a (file:///Applications/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:3996:18)
    at cljs.core.LazySeq.cljs$core$IReduce$_reduce$arity$3 (file:///Applications/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:5568:31)

Unfortunately I don't know where the user.behaviours is, but seems pretty much it's the responsible for the crash. What can I do in this situation?

Thank you

@rundis
Copy link
Contributor

rundis commented Sep 1, 2015

@Davidslv ~/Library/Application\ Support/LightTable/User/user.behaviors

@Davidslv
Copy link
Author

Davidslv commented Sep 1, 2015

Thanks @rundis, seems I'm not very lucky rollbacking the user.behaviors file, I still get the same error.

Could not load behaviors for plugin: UserInvalid behavior: :lt.objs.settings/initial-behaviorsError: nth not supported on this type cljs.core/Keyword

It seems the same problem someone had a while ago here: https://groups.google.com/forum/#!topic/light-table-discussion/b_NaAX0pvPo

@rundis
Copy link
Contributor

rundis commented Sep 1, 2015

Feel free to join the gitter room for somewhat more synchronous communication :-)
In the thread you mention, Chris indicated that maybe the error is caused by the user.keymap file having some funkiness in it,

@Davidslv
Copy link
Author

Davidslv commented Sep 1, 2015

I've decided to delete the folder ~/Library/Application\ Support/LightTable/ and is back to normal.
Thank you for your time 👍

@rundis rundis closed this as completed Sep 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants