PDA

View Full Version : Cream?



Note360
July 28th, 2006, 08:50 PM
I just installed cream after using Gvim for a while and what happened? It comes up as GVim with this error message:


Error detected while processing function Cream..Cream_init_userdir..Cream_checkdir:
line 23:
E484: Can't open file /tmp/v141824/0

Error: Unable to find a location for user files.

gunksta
July 29th, 2008, 03:01 AM
This is an old, old post but I'm sure someone will have this problem again someday. I got the same error and it took me a few minutes to figure it out, but I figured I should post the answer.

You probably started gvim BEFORE starting cream, which isn't a good idea. You need to delete ~/.viminfo and then cream should work correctly.

KenJean
September 27th, 2009, 09:42 AM
There is another possibility (This just happened to me).

If after installation of cream, the first time you invoke it is as a super-user (e.g. sudo cream some-file) then the .cream directory will be created with root as owner.

Thereafter, you will always have to invoke cream as a super-user, or you'll get the dreaded Unable-to-find-a-location-for-user-files error.

The solution, of course, is to open a file manager of some sort as root, delete the .cream directory and then invoke cream normally.

-KJ