Hi Rafal,

   Thanks for reporting the bug. I analysed it and these are my toughts
about it:
   
   The manpage specifies:
If no database exists, the "add" command will create it automatically (in
the current directory, unless the TDL_DATABASE environment is  set, in
which case this specifies the path to use).

   This is the point where "tdl" fails. The auto-create behaviour has a
bug.

   However, if you run the command "create", tdl works as expected, you
can use it as you wish. To remove "lock" problems, remove the file
.tdldb.lock that was created automatically.

   About the lockfile, it is created in the same directory of the
database file. It should not be a global lockfile (home directory),
since some users (like me) open several tdl at the same time, each one
using a diferent directory/database/lockfile.

   I'm working on this bug, as a workaround, please create the database
with the "create" command before adding new tasks.

   - changing the bug severity to "normal", since the program can be
used as expected if you create the database first. It is not completly
unusable.

   Thanks,
   Pedro

On Fri, Feb 09, 2007 at 03:58:34AM +0000, Rafal Czlonka wrote:
> Package: tdl
> Version: 1.5.2-2
> Severity: grave
> 
> When trying to add a task I get this message:
> 
> warning: no database found above this directory
> 
> When trying to add it again or trying to save it the message looks like
> this:
> 
> Database ./.tdldb appears to be locked by (pid,node,user)=(9707,thor,rjc)
> 
> This makes the program completely unusable.
> 
> It also would be a better idea to create the lock file in the home
> directory instead of the current one.
> 
> Regards,
> rjc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to