Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #230467

Vim fails with some unspecified out-of-memory error [was: Re: simple-scan fails with Canon LiDE 300--except as root]

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Vim fails with some unspecified out-of-memory error [was: Re: simple-scan fails with Canon LiDE 300--except as root]
Date 2021-01-09 07:50 +0100
Message-ID <Bvget-4hs-1@gated-at.bofh.it> (permalink)
References <Bv8JX-83S-7@gated-at.bofh.it> <Bv9mG-5i-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Vi, 08 ian 21, 23:20:46, ghe2001 wrote:
> 
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Friday, January 8, 2021 10:28 PM, Jen Nussbaum <bg271828@yahoo.com> wrote:
> 
> > I don't know why I tried this, but I then ran simple-scan as root, and...it worked perfectly.
> 
> I had a similar problem with vim -- I have no idea what was wrong.  I 
> fixed it with a line in .bashrc: alias vi="sudo vi" (I was already in 
> /etc/sudoers with a no password login).
 
This is most likely completely unrelated.

> Not the most elegant solution, but it saved a lot of time, and it works...

The fix probably works simply because you are running vi(m) as a 
different user and consequently with a different configuration.

You can easily confirm this either by running vim as a different 
*regular* user, or just moving your ~/.vimrc and ~/.vim/ out of the way.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

simple-scan fails with Canon LiDE 300--except as root Jen Nussbaum <bg271828@yahoo.com> - 2021-01-08 23:50 +0100
  Re: simple-scan fails with Canon LiDE 300--except as root ghe2001 <ghe2001@protonmail.com> - 2021-01-09 00:30 +0100
    Vim fails with some unspecified out-of-memory error [was: Re:  simple-scan fails with Canon LiDE 300--except as root] Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-09 07:50 +0100
  Re: simple-scan fails with Canon LiDE 300--except as root Brian <ad44@cityscape.co.uk> - 2021-01-09 01:10 +0100
    Re: simple-scan fails with Canon LiDE 300--except as root "Dr. Jennifer Nussbaum" <bg271828@yahoo.com> - 2021-01-09 05:00 +0100
      Re: simple-scan fails with Canon LiDE 300--except as root Brian <ad44@cityscape.co.uk> - 2021-01-09 13:20 +0100
        Re: simple-scan fails with Canon LiDE 300--except as root "Dr. Jennifer Nussbaum" <bg271828@yahoo.com> - 2021-01-09 13:40 +0100
          Re: simple-scan fails with Canon LiDE 300--except as root Brian <ad44@cityscape.co.uk> - 2021-01-09 13:50 +0100
            Re: simple-scan fails with Canon LiDE 300--except as root "Dr. Jennifer Nussbaum" <bg271828@yahoo.com> - 2021-01-09 14:00 +0100
              Re: simple-scan fails with Canon LiDE 300--except as root Brian <ad44@cityscape.co.uk> - 2021-01-09 14:10 +0100
                Re: simple-scan fails with Canon LiDE 300--except as root "Dr. Jennifer Nussbaum" <bg271828@yahoo.com> - 2021-01-09 14:30 +0100
                Re: simple-scan fails with Canon LiDE 300--except as root Brian <ad44@cityscape.co.uk> - 2021-01-09 14:50 +0100
                Re: simple-scan fails with Canon LiDE 300--except as root Brian <ad44@cityscape.co.uk> - 2021-01-09 15:20 +0100

csiph-web