Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

fails to load notebooks with spaces in name #5

Open
jwkvam opened this issue Feb 28, 2018 · 7 comments
Open

fails to load notebooks with spaces in name #5

jwkvam opened this issue Feb 28, 2018 · 7 comments
Labels
bug Something isn't working

Comments

@jwkvam
Copy link

jwkvam commented Feb 28, 2018

This looks really handy! I often have spaces in my notebook filenames and it seems like that breaks something. It just loads up an empty buffer when I try.

@szymonmaszke szymonmaszke added the bug Something isn't working label Feb 28, 2018
@szymonmaszke szymonmaszke self-assigned this Feb 28, 2018
@szymonmaszke szymonmaszke reopened this Feb 28, 2018
@szymonmaszke
Copy link
Owner

Confirm whether it's working now, cheers!

@jwkvam
Copy link
Author

jwkvam commented Feb 28, 2018

Looks good to me thanks!

@jwkvam jwkvam closed this as completed Feb 28, 2018
@szymonmaszke szymonmaszke removed their assignment Mar 1, 2018
@mrquincle
Copy link

mrquincle commented Sep 6, 2018

Ah, that's why it didn't work!!

$> uname -a
Linux V 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$> notedown --version
1.5.1

I installed vimpyter via Vundle. I can't find the version via :help vimpyter-options. Do I have a version that is too old? How do I find out?

@szymonmaszke
Copy link
Owner

Just update the plugin using :PluginUpdate and you should be fine. You can clone this repository and compare commits with the one located in Vundle, close if everything is fine.

@szymonmaszke szymonmaszke reopened this Sep 6, 2018
@mrquincle
Copy link

Ah, I only now discovered that Vundle is actually cloning your repository under the hood, neat. https://github.com/szymonmaszke/vimpyter.git. It's up to date with origin/master. So, that means there must still be some bugs somewhere. Can I somehow get you a log?

@szymonmaszke
Copy link
Owner

Give me more details about your issues. Filename, does this plugin work for you at all? Vim/Neovim version, preferably directory where your .ipynb is located, anything you think could be related.

mrquincle pushed a commit to mrquincle/vimpyter that referenced this issue Sep 6, 2018
@mrquincle
Copy link

mrquincle commented Sep 6, 2018

This patch fixes it. For any file with spaces in the name, for example Keras Adversarial Autoencoder.ipynb only $TMPDIR/Keras will be created and will be empty. I narrowed it down to the system call to notedown where the target file apparently needs quotes. There might be other places in the code with filenames that actually need quotes as well, but this already fixes it on my system. Thanks for the plugin!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants