messages seen when using vi or vim

Bug #1266413 reported by Anasuya M Shankar
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Invalid
Undecided
Deepak C Shetty

Bug Description

Descriptions:

===========

When using vi or vim editor on the ubuntu guest, The following messages are observed :
E576: viminfo: Missing '>' in line:
E576: viminfo: Missing '>' in line:
Press ENTER or type command to continue

This happens both when editing and when quitting.

Environment:
Host: Power8
Guest : ubuntu hosted on Power8

Command line to spawn the ubuntu guest:
qemu-system-ppc64 -enable-kvm -M pseries -cpu POWER8 -smp 1 -m 10G -nographic -nodefaults -monitor stdio -serial pty -append "root=/dev/sda" -kernel trusty-server-cloudimg-ppc64el-vmlinuz-generic -device spapr-vscsi -device spapr-vlan,netdev=net0,mac=6c:ae:8b:69:16:11 -netdev bridge,br=virbr0,id=net0 -drive file=trusty-server-cloudimg-ppc64el.img.qcow2

Tags: ppc64el
Robie Basak (racb)
tags: added: ppc64el
affects: openldap (Ubuntu) → vim (Ubuntu)
Revision history for this message
Breno Leitão (breno-leitao) wrote :

I just tested it on my power7+ machine and I don't see this problem. I am wondering if your viminfo didn't get corrupted.

Revision history for this message
Deepak C Shetty (dpkshetty) wrote :

I was able to reproduce the problem by going to the .viminfo file and deliberately removing '>' from one of the cmds listed after
the line "# History of marks within files (newest to oldest):" in .viminfo

Adding it back... the issue is not seen.

So it definitely looks like somehow the '>' went missing in the .viminfo in your case.

I also went ahead, removed vim, manually rm -f .viminfo, re-installed vim and used vim and noticed that the .viminfo created afresh works fine w/o exhibiting the issue reported here.

I am on Power8 Host running ubuntu alpha cloudimage in guest.

thanx,
deepak

Revision history for this message
Anasuya M Shankar (anasuyams) wrote :

Thanks for the analysis Deepak.
I got an ubuntu image and tried with the same, I dont seem to observe the messages anymore.Looked like my image was corrupted.

Revision history for this message
Deepak C Shetty (dpkshetty) wrote :

Can you close this bug then ?

Changed in vim (Ubuntu):
assignee: nobody → Deepak C Shetty (dpkshetty)
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.