Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command not stored #9

Open
goerz opened this issue Jun 1, 2014 · 5 comments
Open

Command not stored #9

goerz opened this issue Jun 1, 2014 · 5 comments

Comments

@goerz
Copy link

goerz commented Jun 1, 2014

The setting for the "Command" in the Notebook server config is lost on exiting the app.

@mangecoeur
Copy link
Owner

Hum, that should work (it does for me)... I assume you have the lastest bundle and that you remembered to click Save after editing the commend ;).

Can you tell me:

What folder you put ipython-desktop.app in (could be something to do with the app needed some limited write permission)

What version of OSX you are using

What is in the "command" field after each step -

  1. Install bundle and run ipython-desktop.
  2. Close and re-open ipython-desktop.
  3. Edit "command", DO NOT CLICK SAVE but instead close, and re-open
  4. Edit "command" CLICK SAVE, close and re-open

@goerz
Copy link
Author

goerz commented Jun 1, 2014

Yes, downloaded the bundle today (Version 0.2.0 (0.2.0))

The app in in /Applications, to which I don't have write access (when dragging in applications, I have to give my password). The app doesn't store its settings somewhere in my ~/Library folder?

Value of the command field:

  1. Install bundle and run ipython-desktop.
    /usr/bin/ipython notebook --no-browser
  2. Close and re-open ipython-desktop.
    /usr/bin/ipython notebook --no-browser
  3. Edit "command" to /Volumes/HOME/goerz/Library/Enthought/Canopy_64bit/User/bin/ipython notebook --no-browser, DO NOT CLICK SAVE but instead close, and re-open.
    /usr/bin/ipython notebook --no-browser
  4. Edit "command" to /Volumes/HOME/goerz/Library/Enthought/Canopy_64bit/User/bin/ipython notebook --no-browser, CLICK SAVE, close, and re-open.
    /usr/bin/ipython notebook --no-browser

That is, no matter what I do, after closing and re-opening the app, the command is always /usr/bin/ipython notebook --no-browser

@mangecoeur
Copy link
Owner

Hum... actually the app doesn't store config in ~/Library, instead it uses the local storage features of node-webkit (more cross platform, also just faster prototyping). In theory that should Just Work, but clearly not. I don't have much of time right now to fix this I'm afraid, but will try and squeeze in some time to try and figure this out.

If you are feeling bold and have some spare time, you are more than welcome to download/build ipython-desktop yourself and have a poke around, I can also guide you through the build.

@goerz
Copy link
Author

goerz commented Jun 1, 2014

No worries... just wanted to put it out there.. It's not my primary use case at the moment, anyway.

@mangecoeur
Copy link
Owner

@goerz I think i found the bug that was causing the config to be overwritten (checking property of json string instead of parsed json object, duh). Latest version improves configuration and process handling, give it a whirl (if you dare)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants