On Sun, Jan 18, 2015 at 02:13:49PM -0500, David J Patrick wrote:
> n 18 January 2015 at 08:52, Raphaël Droz <raphael.d...@gmail.com> wrote:
> 
> >
> > I'd say: insufficient disk space.
> >
> 
> That's not it. I have 12gb in /home/ and 2gb available in /
> 
> It's really weird, I'm trying to open one of several addressbook files that
> I USED to use with abook, but every time "~" is appended and a new (empty)
> addressbook file is opened!

What version are you using (or which commit/patches)?
What's the return value?

- Check if a *.new file is created.
- Check file/directory permissions and owner/group and ACL.

- Check save_database() from database.c which does:
1° fopen(<db>.new, "w")) or exit
2° if list isn't empty, write it to <db>.new  [ never exit here ]
3° if access(<db>) rename(<db>, <db>~) (happens in your case) [ otherwise 
returns -1 ]
4° rename(<db>.new, <db>) [ otherwise returns -1 ]

A simple $ strace -e trace=file abook may give you a hint about what's
(probably) wrong with your filesystem "configuration".

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Abook-devel mailing list
Abook-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/abook-devel

Reply via email to