On Sun, Oct 26, 2008 at 03:17:04PM +0900, Alexander Danilov wrote:
> Niko Tyni пишет:
>> On Sun, Oct 26, 2008 at 12:59:33AM +0900, Alexander Danilov wrote:
>>> Package: libdesktop-notify-perl
>>> Version: 0.01-1
>>> Severity: grave
>>> Justification: renders package unusable
>>>
>>> I am unable to use this package. Simple example from man page:
>>>
>>> use Desktop::Notify;
>>>
>>> my $notify = Desktop::Notify->new();
>>> my $notification = $notify->create(summary => 'Desktop::Notify',
>>> body => 'Hello, world!',
>>> timeout => 5000);
>>> $notification->show();
>>> $notification->close();
>>> return error
>>>
>>> Argument "" isn't numeric in subroutine entry at
>>> /usr/lib/perl5/Net/DBus/Binding/Iterator.pm line 445.
>>
>> That's apparently just a warning. The example actually works for me but
>> just closes the notification so fast it can't be seen.
>>
>> Try adding a sleep statement between show() and close().
>
> sleep(X) help, but this is an error in Desktop::Notify, simular utility
> notify-send from libnotify-bin package do the same task, e.g. send notify
> and exit and notification is visible for some time after notify-send
> exit.
(Please keep [EMAIL PROTECTED] Cc'd)
The actual example has this:
# Display the notification
$notification->show();
# Close the notification later
$notification->close();
where "later" seems to indicate that the observed behaviour is the
intended one.
In any case, the package doesn't seem to be unusable. I suggest
downgrading the severity. I'm giving the maintainer a chance to comment
first, however.
--
Niko Tyni [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]