Bug#410271: fails to create database

2007-02-09 Thread Pedro Zorzenon Neto
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 +, 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]



Bug#410271: fails to create database

2007-02-08 Thread Rafal Czlonka
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

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)

Versions of packages tdl depends on:
ii  libc6   2.3.6.ds1-11 GNU C Library: Shared libraries
ii  libncurses5 5.5-5Shared libraries for terminal hand
ii  libreadline55.2-2GNU readline and history libraries

tdl recommends no packages.

-- no debconf information


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