You are not logged in.

#1 2010-12-17 22:22:01

arinlares
Member
From: Anaheim, CA
Registered: 2010-02-01
Posts: 165
Website

[Solved] Series of unexplicable Vim errors, unsure how to resolve.

For the past month or two, only in Arch, I've been getting the following error when running Vim as root.  They all showed up one day after an update, and I've been trying to get rid of them since.

E575: viminfo: Illegal starting char in line: DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-nrYjC0GO74,guid=3e0869febb497799ec42cbe90000014f
E575: viminfo: Illegal starting char in line: DBUS_SESSION_BUS_PID=2077
E575: viminfo: Illegal starting char in line: DBUS_SESSION_BUS_WINDOWID=31457281
E575: viminfo: Illegal starting char in line: ^Ggtk-no.svg
E575: viminfo: Illegal starting char in line: ^Ggohome.svg

The closest I've ever gotten to resolving it up to this point, was a forum post somewhere with the resolution to this error, which is to remove the ~/.viminfo file:

E575: viminfo: Illegal starting char in line: ^B13 

I think it might be related to gvim, which I have installed in the past, but don't have now, or else something to do with an icon theme somewhere, but am honestly stumped on how to resolve all of these errors.  The wiki article doesn't have entry on troubleshooting, and searching for any one of the errors on Google turns up no results.  Has anybody else had this issue?  Is there a way to solve it?

Last edited by arinlares (2010-12-17 23:33:46)

Offline

#2 2010-12-17 22:42:41

saline
Member
Registered: 2010-02-20
Posts: 86

Re: [Solved] Series of unexplicable Vim errors, unsure how to resolve.

If you don't use marks or search/command/jump history, then delete ~/.viminfo
Otherwise, search that file for those strings and delete the lines they occur in.

Offline

#3 2010-12-17 23:10:30

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: [Solved] Series of unexplicable Vim errors, unsure how to resolve.

saline wrote:

If you don't use marks or search/command/jump history, then delete ~/.viminfo
Otherwise, search that file for those strings and delete the lines they occur in.

Surely, if the problem only occurs when running as root, then the problem is in /root/.viminfo, not ~/.viminfo.

I'd definitely back that up before deleting it.

Offline

#4 2010-12-17 23:13:59

saline
Member
Registered: 2010-02-20
Posts: 86

Re: [Solved] Series of unexplicable Vim errors, unsure how to resolve.

frabjous wrote:
saline wrote:

If you don't use marks or search/command/jump history, then delete ~/.viminfo
Otherwise, search that file for those strings and delete the lines they occur in.

Surely, if the problem only occurs when running as root, then the problem is in /root/.viminfo, not ~/.viminfo.

I'd definitely back that up before deleting it.

Yep. I missed that.

Offline

#5 2010-12-17 23:17:28

arinlares
Member
From: Anaheim, CA
Registered: 2010-02-01
Posts: 165
Website

Re: [Solved] Series of unexplicable Vim errors, unsure how to resolve.

I checked my .viminfo file and it didn't point to any files whatsoever, and deleted it.  Nothing changed.  I'm trying to find the possible files (find gtk-no.svg, and find gohome.svg), and nothing's turning up.

Tracked the first three lines to these entries in my /root/.viminfo file:

DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-nrYjC0GO74,guid=3e0869febb497799ec42cbe90000014f
DBUS_SESSION_BUS_PID=2077
DBUS_SESSION_BUS_WINDOWID=314572

Commenting them out gets rid of the first three errors, but I still get the two related to the .svg files, and doesn't compromise vim's functions at all.  Not eve /root/.viminfo contains any references to a gtk-no.svg or a gohome.svg anywhere.  Removing the file (after backing up it up first) resolved the issue.  Thanks a bunch, both of you.

Last edited by arinlares (2010-12-17 23:33:33)

Offline

Board footer

Powered by FluxBB