Author Topic: testers wanted for new version of update-notifier 1.3  (Read 4652 times)

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2408
Re: testers wanted for new version of update-notifier 1.3
« Reply #45 on: July 16, 2011, 10:08:58 PM »
Found a another error about settings... ::)
Days will not display as update setting,

Days display here:


Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3734
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: testers wanted for new version of update-notifier 1.3
« Reply #46 on: July 17, 2011, 01:17:58 AM »
Set hours of 0, and only days of 30, What now?

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2408
Re: testers wanted for new version of update-notifier 1.3
« Reply #47 on: July 17, 2011, 01:21:07 AM »
Set hours of 0, and only days of 30, What now?
The picture is the same but having 30 days and 0 hours.

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3734
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: testers wanted for new version of update-notifier 1.3
« Reply #48 on: July 17, 2011, 01:28:09 AM »
close update-notifier, and open update-notifier-launcher in a terminla/konsole, What is display?

Edit: Sorry my mistake, means...
It will set auto-check disabled, after i set hours of 0, and days of 1...
« Last Edit: July 17, 2011, 01:46:01 AM by Leiche »

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2408
Re: testers wanted for new version of update-notifier 1.3
« Reply #49 on: July 17, 2011, 01:48:10 AM »
Let me first report what I tried, Leiche:

First of all wann you open Settings the previously choosed settings are not shown and the menu comes at a "virgin" state. Nevertheless the settings are remembered which is shown in "The next update is..." message.

But this works when I don't choose "0 hours".
I tried combinations 0day-4hours, 1d-4h and 30d-4h. All worked right, the settings were remembered though not shown at the Setting menu.

Wann I choose 0 hours settings are not remembered (may be are cleared), no check is done for updates and the icon of the upd-notifier stays with a question mark on it saying it is disabled.
==================

Now I'll start it in Terminal.

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2408
Re: testers wanted for new version of update-notifier 1.3
« Reply #50 on: July 17, 2011, 02:15:46 AM »
Exited and started upd-not three times with different settings:

1. Started after I've chosen 30 days and 4 hours (and exited after that).
Here in this session I chose 30days-0hours and after that exited notifier.
Code: [Select]
[Vorteks@localhost ~]$ update-notifier-launcher
waiting to connect repositories
/home/Vorteks/.update-notifier-launcher/NUT directory found



Removed this instance of update-notifier from the log (pid 5472)


The following notifier processes will be killed and removed from the log:
        28418 /usr/bin/update-notifier-launcher: line 28: kill: (28418) - No
such process



/usr/bin/update-notifier-launcher: line 34: kill: (5494) - No such process

All pre-existing notifier processes have been killed and removed from the log



This instance of update-notifier-launcher has been logged (pid 5472)
Starting update-notifier..
pop-ups=true
724
/home/Vorteks/.update-notifier-launcher/PID directory found


pid 5497 has been logged for this instance of update-notifier
pop-ups=true
apt-force-yes=false
724
Next update time is Tuesday Aug 16 at 2:49PM
update refresh status=true
Active repo: gnustep.ethz.ch
PING heustock.ethz.ch (129.132.86.210) 56(84) bytes of data.
64 bytes from heustock.ethz.ch (129.132.86.210): icmp_req=1 ttl=49 time=38.3 ms

--- heustock.ethz.ch ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 38.376/38.376/38.376/0.000 ms


Connection to repository server is successful


pop-ups=true
apt-force-yes=false
724
Next update time is Tuesday Aug 16 at 2:49PM
update refresh status=true


/home/Vorteks/.update-notifier exists.. removing
/home/Vorteks/.update-notifier removed
New /home/Vorteks/.update-notifier directory created


Updating package sources..
Get:1 http://gnustep.ethz.ch pclinuxos/2010 release [1893B]
Get:2 http://distro.ibiblio.org pclinuxos/2010 release [504B]    
Fetched 2397B in 0s (4337B/s)        
Get:1 http://gnustep.ethz.ch pclinuxos/2010/main pkglist [2350kB]
Get:2 http://distro.ibiblio.org pclinuxos/2010/megagames pkglist [10.6kB]      
Get:3 http://distro.ibiblio.org pclinuxos/2010/megagames release [161B]        
Get:4 http://gnustep.ethz.ch pclinuxos/2010/main release [142B]
Get:5 http://gnustep.ethz.ch pclinuxos/2010/updates pkglist [1107kB]
Get:6 http://gnustep.ethz.ch pclinuxos/2010/updates release [145B]
Get:7 http://gnustep.ethz.ch pclinuxos/2010/nonfree pkglist [62.8kB]
Get:8 http://gnustep.ethz.ch pclinuxos/2010/nonfree release [144B]
Get:9 http://gnustep.ethz.ch pclinuxos/2010/games pkglist [46.7kB]
Get:10 http://gnustep.ethz.ch pclinuxos/2010/games release [142B]
Get:11 http://gnustep.ethz.ch pclinuxos/2010/kde4 pkglist [179kB]
Get:12 http://gnustep.ethz.ch pclinuxos/2010/kde4 release [141B]
Fetched 3757kB in 2s (1491kB/s)                          
Reading Package Lists... Done
Building Dependency Tree... Done


Making all-pkg-list


Making new-pkg-list


0 updates available; 0 new packages available.


pop-ups=true
apt-force-yes=false
724
Next update time is Tuesday Aug 16 at 2:49PM
update refresh status=true
Change settings|
/home/Vorteks/.update-notifier-launcher/SETTINGS directory found


pop-ups=true
apt-force-yes=false
720


timer set to zero.. manual update enabled
update refresh status=false
Exit update-notifier|


Starting exit processes from PID 5497..


The following processes exist in the log:
        5472

        5497

Removed this instance of update-notifier from the log (pid 5497)
Killing yad pid 7056: /usr/bin/update-notifier: line 583: kill: (7056) - No such
process
Killing logged pid 5472: Killed
[Vorteks@localhost ~]$

Exiting..

[Vorteks@localhost ~]$
Repos are checked, notification popped up, icon is marked OK by a green mark.

2. Started after I've chosen 30 days and 0 hours
Here in this session I chose 15days and 4 hours and after that exit.
Code: [Select]
[Vorteks@localhost ~]$ update-notifier-launcher
waiting to connect repositories
/home/Vorteks/.update-notifier-launcher/NUT directory found



Removed this instance of update-notifier from the log (pid 8228)


The following notifier processes will be killed and removed from the log:
        5472 /usr/bin/update-notifier-launcher: line 28: kill: (5472) - No such
process



/usr/bin/update-notifier-launcher: line 34: kill: (8517) - No such process

All pre-existing notifier processes have been killed and removed from the log



This instance of update-notifier-launcher has been logged (pid 8228)
Starting update-notifier..
pop-ups=true
/home/Vorteks/.update-notifier-launcher/PID directory found


pid 8520 has been logged for this instance of update-notifier
720
pop-ups=true
apt-force-yes=false
720


timer set to zero.. manual update enabled
update refresh status=false
pop-ups=true
apt-force-yes=false
720


timer set to zero.. manual update enabled
update refresh status=false
Change settings|
/home/Vorteks/.update-notifier-launcher/SETTINGS directory found


pop-ups=true
apt-force-yes=false
724
Next update time is DISABLED
update refresh status=true
Exit update-notifier|


Starting exit processes from PID 8520..


The following processes exist in the log:
        8228
        8520

Removed this instance of update-notifier from the log (pid 8520)
Killing yad pid 9412: /usr/bin/update-notifier: line 583: kill: (9412) - No such
process
Killing logged pid 8228: Killed
[Vorteks@localhost ~]$
Exiting..

[Vorteks@localhost ~]$
No checking, instead of them
Quote
timer set to zero.. manual update enabled
update refresh status=false

Icon is with blue question mark and says checking is disabled.

3. Started after I've chosen 15 days and 4 hours
Here in this I don't change settings and exit.
Code: [Select]
[Vortex@localhost ~]$ update-notifier-launcher
waiting to connect repositories
/home/Vortex/.update-notifier-launcher/NUT directory found



Removed this instance of update-notifier from the log (pid 10718)


The following notifier processes will be killed and removed from the log:
        8228 /usr/bin/update-notifier-launcher: line 28: kill: (8228) - No such
process



/usr/bin/update-notifier-launcher: line 34: kill: (10970) - No such process

All pre-existing notifier processes have been killed and removed from the log



This instance of update-notifier-launcher has been logged (pid 10718)
Starting update-notifier..
pop-ups=true
724
/home/Vortex/.update-notifier-launcher/PID directory found


pid 10973 has been logged for this instance of update-notifier
pop-ups=true
apt-force-yes=false
724
Next update time is Tuesday Aug 16 at 2:55PM
update refresh status=true
Active repo: gnustep.ethz.ch
PING heustock.ethz.ch (129.132.86.210) 56(84) bytes of data.
64 bytes from heustock.ethz.ch (129.132.86.210): icmp_req=1 ttl=49 time=38.5 ms

--- heustock.ethz.ch ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 38.573/38.573/38.573/0.000 ms


Connection to repository server is successful


pop-ups=true
apt-force-yes=false
724
Next update time is Tuesday Aug 16 at 2:55PM
update refresh status=true


/home/Vortex/.update-notifier exists.. removing
/home/Vortex/.update-notifier removed
New /home/Vortex/.update-notifier directory created


Updating package sources..
Get:1 http://gnustep.ethz.ch pclinuxos/2010 release [1893B]
Get:2 http://distro.ibiblio.org pclinuxos/2010 release [504B]                  
 
Fetched 2397B in 0s (8726B/s)                        
Get:1 http://gnustep.ethz.ch pclinuxos/2010/main pkglist [2350kB]
Get:2 http://distro.ibiblio.org pclinuxos/2010/megagames pkglist [10.6kB]      
Get:3 http://distro.ibiblio.org pclinuxos/2010/megagames release [161B]        
Get:4 http://gnustep.ethz.ch pclinuxos/2010/main release [142B]
Get:5 http://gnustep.ethz.ch pclinuxos/2010/updates pkglist [1107kB]
Get:6 http://gnustep.ethz.ch pclinuxos/2010/updates release [145B]
Get:7 http://gnustep.ethz.ch pclinuxos/2010/nonfree pkglist [62.8kB]
Get:8 http://gnustep.ethz.ch pclinuxos/2010/nonfree release [144B]
Get:9 http://gnustep.ethz.ch pclinuxos/2010/games pkglist [46.7kB]
Get:10 http://gnustep.ethz.ch pclinuxos/2010/games release [142B]
Get:11 http://gnustep.ethz.ch pclinuxos/2010/kde4 pkglist [179kB]
Get:12 http://gnustep.ethz.ch pclinuxos/2010/kde4 release [141B]
Fetched 3757kB in 2s (1589kB/s)                          
Reading Package Lists... Done
Building Dependency Tree... Done


Making all-pkg-list


Making new-pkg-list


0 updates available; 0 new packages available.


pop-ups=true
apt-force-yes=false
724
Next update time is Tuesday Aug 16 at 2:55PM
update refresh status=true
Change settings|
/home/Vortex/.update-notifier-launcher/SETTINGS directory found


pop-ups=true
apt-force-yes=false
364
Next update time is Tuesday Aug 16 at 2:55PM
update refresh status=true
Exit update-notifier|


Starting exit processes from PID 10973..


The following processes exist in the log:
        10718
        10973

Removed this instance of update-notifier from the log (pid 10973)
Killing yad pid 11906: /usr/bin/update-notifier: line 583: kill: (11906) - No
such process
Killing logged pid 10718: Killed
[Vortex@localhost ~]$
Exiting..
^C
[Vortex@localhost ~]$
As seen after non-zero hours is chosen all is well.
« Last Edit: July 17, 2011, 02:17:28 AM by Vorteks »

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2408
Re: testers wanted for new version of update-notifier 1.3
« Reply #51 on: July 17, 2011, 02:53:20 AM »
this is mess my brain, i will remove it, and set only hours.
Maximum 72h enough, or higher?
Usually I don't use update-notifier just helping now. Let others say. I update manually via Synaptic and the longest interval is about a week for me.

It seems "0 hours" override somehow the days and this way the script thinks zero time (e.g. manual) is chosen.

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3734
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: testers wanted for new version of update-notifier 1.3
« Reply #52 on: July 17, 2011, 02:57:52 AM »

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2408
Re: testers wanted for new version of update-notifier 1.3
« Reply #53 on: July 17, 2011, 03:55:09 AM »
found the bug

Is it line #103 in update-notifier?
Quote
if [[ $HRS -eq 0 ]]; then

 :)

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3734
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: testers wanted for new version of update-notifier 1.3
« Reply #54 on: July 17, 2011, 03:57:22 AM »
yes, Sir  ;D

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2408
Re: testers wanted for new version of update-notifier 1.3
« Reply #55 on: July 17, 2011, 03:59:59 AM »
So now I am installing the last version...

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4521
  • Philosophy= Bigger Hammer
Re: testers wanted for new version of update-notifier 1.3
« Reply #56 on: July 17, 2011, 04:00:29 AM »
found something a bit odd .. at every start it deletes the old file and makes a new one ??

Code: [Select]
[scoundrel@localhost ~]$ update-notifier
/home/scoundrel/.update-notifier-launcher/PID directory found


pid 12894 has been logged for this instance of update-notifier
pop-ups=true
apt-force-yes=false
24
Next update time is Monday Jul 18 at 11:48AM
update refresh status=true
Active repo: distro.ibiblio.org
PING distro.ibiblio.org (152.19.134.43) 56(84) bytes of data.
64 bytes from distro.ibiblio.org (152.19.134.43): icmp_req=1 ttl=52 time=200 ms

--- distro.ibiblio.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 200.218/200.218/200.218/0.000 ms


Connection to repository server is successful


pop-ups=true
apt-force-yes=false
24
Next update time is Monday Jul 18 at 11:48AM
update refresh status=true


/home/scoundrel/.update-notifier exists.. removing
/home/scoundrel/.update-notifier removed
New /home/scoundrel/.update-notifier directory created


Updating package sources..
Get:1 http://distro.ibiblio.org pclinuxos/2010 release [1893B]
Fetched 1893B in 0s (4337B/s)
Get:1 http://distro.ibiblio.org pclinuxos/2010/main pkglist [2350kB]
Get:2 http://distro.ibiblio.org pclinuxos/2010/main release [142B]            
Get:3 http://distro.ibiblio.org pclinuxos/2010/updates pkglist [1107kB]      
Get:4 http://distro.ibiblio.org pclinuxos/2010/updates release [145B]        
Get:5 http://distro.ibiblio.org pclinuxos/2010/nonfree pkglist [62.8kB]      
Get:6 http://distro.ibiblio.org pclinuxos/2010/nonfree release [144B]        
Get:7 http://distro.ibiblio.org pclinuxos/2010/games pkglist [46.7kB]        
Get:8 http://distro.ibiblio.org pclinuxos/2010/games release [142B]          
Get:9 http://distro.ibiblio.org pclinuxos/2010/kde4 pkglist [179kB]          
Get:10 http://distro.ibiblio.org pclinuxos/2010/kde4 release [141B]          
Fetched 3746kB in 1m10s (53.2kB/s)                                            
Reading Package Lists... Done
Building Dependency Tree... Done


Making all-pkg-list


Making new-pkg-list


0 updates available; 0 new packages available.


pop-ups=true
apt-force-yes=false
24
Next update time is Monday Jul 18 at 11:48AM
update refresh status=true
Please Donate Today..Or I Will Make You Wish You Had

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3734
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: testers wanted for new version of update-notifier 1.3
« Reply #57 on: July 17, 2011, 04:08:03 AM »
found something a bit odd .. at every start it deletes the old file and makes a new one ??

Code: [Select]
[scoundrel@localhost ~]$ update-notifier
/home/scoundrel/.update-notifier-launcher/PID directory found


pid 12894 has been logged for this instance of update-notifier
pop-ups=true
apt-force-yes=false
24
Next update time is Monday Jul 18 at 11:48AM
update refresh status=true
Active repo: distro.ibiblio.org
PING distro.ibiblio.org (152.19.134.43) 56(84) bytes of data.
64 bytes from distro.ibiblio.org (152.19.134.43): icmp_req=1 ttl=52 time=200 ms

--- distro.ibiblio.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 200.218/200.218/200.218/0.000 ms


Connection to repository server is successful


pop-ups=true
apt-force-yes=false
24
Next update time is Monday Jul 18 at 11:48AM
update refresh status=true


/home/scoundrel/.update-notifier exists.. removing
/home/scoundrel/.update-notifier removed
New /home/scoundrel/.update-notifier directory created


Updating package sources..
Get:1 http://distro.ibiblio.org pclinuxos/2010 release [1893B]
Fetched 1893B in 0s (4337B/s)
Get:1 http://distro.ibiblio.org pclinuxos/2010/main pkglist [2350kB]
Get:2 http://distro.ibiblio.org pclinuxos/2010/main release [142B]            
Get:3 http://distro.ibiblio.org pclinuxos/2010/updates pkglist [1107kB]      
Get:4 http://distro.ibiblio.org pclinuxos/2010/updates release [145B]        
Get:5 http://distro.ibiblio.org pclinuxos/2010/nonfree pkglist [62.8kB]      
Get:6 http://distro.ibiblio.org pclinuxos/2010/nonfree release [144B]        
Get:7 http://distro.ibiblio.org pclinuxos/2010/games pkglist [46.7kB]        
Get:8 http://distro.ibiblio.org pclinuxos/2010/games release [142B]          
Get:9 http://distro.ibiblio.org pclinuxos/2010/kde4 pkglist [179kB]          
Get:10 http://distro.ibiblio.org pclinuxos/2010/kde4 release [141B]          
Fetched 3746kB in 1m10s (53.2kB/s)                                            
Reading Package Lists... Done
Building Dependency Tree... Done


Making all-pkg-list


Making new-pkg-list


0 updates available; 0 new packages available.


pop-ups=true
apt-force-yes=false
24
Next update time is Monday Jul 18 at 11:48AM
update refresh status=true


How else to search for updates, and display if any updates avalaible?

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2408
Re: testers wanted for new version of update-notifier 1.3
« Reply #58 on: July 17, 2011, 04:09:59 AM »
Installed Beta-2Leiche and choosing 1day-0hours and 40days-0hours doesn't throw that bug. :)

It checks for updates (no updates here for now) and rightly schedules the next day of check and rests in green status.
Hooray for Leiche! :D

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3734
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: testers wanted for new version of update-notifier 1.3
« Reply #59 on: July 17, 2011, 04:18:12 AM »
Installed Beta-2Leiche and choosing 1day-0hours and 40days-0hours doesn't throw that bug. :)

It checks for updates (no updates here for now) and rightly schedules the next day of check and rests in green status.
Hooray for Leiche! :D

Thank you, now we waiting about updates  ;)