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

Problem when file path contains dot #26

Open
j-xella opened this issue Sep 29, 2014 · 4 comments
Open

Problem when file path contains dot #26

j-xella opened this issue Sep 29, 2014 · 4 comments

Comments

@j-xella
Copy link

j-xella commented Sep 29, 2014

I have the following problem when one of files passed to splice has path like this

/normal/path/./with/dot


"~/tmp/20140926/intel/addin/SPAthena/src/SPUtils/SPSchedule.cpp.base" [readonly][noeol] 304L, 5854C
Error detected while processing function splice#SpliceInit:
line 2:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/summit/ga2jaku/Summit/usr/local/share/vim/vim74/autoload/splice.py", line 13, in
import splicelib.init as splice
File "/usr/local/summit/ga2jaku/Summit/usr/local/share/vim/vim74/autoload/splicelib/init.py", line 2, in
import modes
File "/usr/local/summit/ga2jaku/Summit/usr/local/share/vim/vim74/autoload/splicelib/modes.py", line 893, in
loupe = LoupeMode()
File "/usr/local/summit/ga2jaku/Summit/usr/local/share/vim/vim74/autoload/splicelib/modes.py", line 433, in init
self.current_buffer = buffers.result
File "/usr/local/summit/ga2jaku/Summit/usr/local/share/vim/vim74/autoload/splicelib/util/bufferlib.py", line 52, in re
sult
return Buffer(4)
File "/usr/local/summit/ga2jaku/Summit/usr/local/share/vim/vim74/autoload/splicelib/util/bufferlib.py", line 14, in __
init
_
self.name = self._buffer.name
AttributeError: 'Buffer' object has no attribute '_buffer'
line 3:
Traceback (most recent call last):
File "", line 1, in
NameError: name 'SpliceInit' is not defined
Press ENTER or type command to continue

@j-xella
Copy link
Author

j-xella commented Sep 29, 2014

The problem also happens when one of files is a symbolic link to path with dot.

@karamfil
Copy link

Hi, did you found a workaround for this?

@karamfil
Copy link

karamfil commented Feb 11, 2019

@j-xella Are you using this as merge too when resolving conflicts or as difftool to me this hapens on difftool. because it is trying to initialize 4th buffer - but there are no 4 buffers in diff :)

@sergeda
Copy link

sergeda commented Mar 17, 2021

@karamfil How you were able to resolve this issue and use it as difftool?

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

3 participants