Toon app: Buienradar

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Re: Toon app: Buienradar

Postby Toonz » Tue Mar 13, 2018 11:41 pm

ronalddehaan wrote:Hi Toonz,

Just a quick question, I don't know if it's been asked before or not, but is it normal that the Buienradar app is 'updated' every day?
I am getting 'update' messages in my inbox on a daily bases (at 01.00) that the app has been updated. The version, however, only changes ever so often.
Please let me know :)


This is a mistake in the buienradar 8.3.3 installation. It contains a version.txt file with 8.3.2 instead of 8.3.3.
Will fix this in the buienradar 8.3.4 shortly (and add the EU map to it).

You could manually edit the version.txt file in the buienradar folder to 8.3.3. That will stop the autoupdates.
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1253
Joined: December 2016

Re: Toon app: Buienradar

Postby Toonz » Thu Mar 15, 2018 9:59 am

Hi all,

Version 8.3.4 released on ToonStore.

Changelog:
- EU radarmap option added to the big radarscreen
- version numbering of 8.3.3 was incorrect causing ToonStore to update the app daily when the auto-update feature of ToonStore was switched on

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1253
Joined: December 2016

Re: Toon app: Buienradar

Postby globegrabber » Thu Mar 15, 2018 8:54 pm

Thx for adding the EU map in the app, Great work :D
Globegrabber.
globegrabber
Starting Member
Starting Member
 
Posts: 45
Joined: September 2017

Re: Toon app: Buienradar

Postby ronalddehaan » Mon Mar 19, 2018 8:59 am

Toonz wrote:Hi all,

Version 8.3.4 released on ToonStore.

Changelog:
- EU radarmap option added to the big radarscreen
- version numbering of 8.3.3 was incorrect causing ToonStore to update the app daily when the auto-update feature of ToonStore was switched on

Kind regardz,

Toonz


Wow, great that you found the cause and released an update so quick! Good stuff! I will update the app when i get home :)
ronalddehaan
Starting Member
Starting Member
 
Posts: 29
Joined: August 2017

Re: Toon app: Buienradar

Postby Rudolf » Wed Mar 28, 2018 10:05 am

I can't install this app anymore. I used to have it installed, but I disabled it in Globals.xml to debug memory issues / spontaneous reboots.
I've tried reenabling and updating via ToonStore, but it doesn't work.
I can select 8.3.4 for installation and that seems to work (a download starts in the background and the gui restarts afterwards)

There's nothing installed in /qmf/qml/apps and Globals.xml doesn't have an entry to load buienrader.

ToonStore is fully updated (1.1.4) and my Toon is at 4.9.23.

Other apps I had disabled in the past work fine (boilerstatus/afvalwijzer etc.)

Where can I find ToonStore's logging to dig into this issue?
Rudolf
Member
Member
 
Posts: 117
Joined: December 2017

Re: Toon app: Buienradar

Postby Toonz » Wed Mar 28, 2018 11:36 am

Hi Rudolf,

log file can be found here: /mnt/data/update/_opkg.qb2-ene-9.9.99.script.sh.log.
It should show error messages or something like 'nothing to do'.
I guess the latter is the case because I suspect you haven't really uninstalled buienradar, but merely disabled it.
The install script thinks the app is still installed and therefore decides to do nothing.

In this case the best way forward is to properly uninstall first with:
Code: Select all
opkg remove buienradar

and then reinstall again via ToonStore.

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1253
Joined: December 2016

Re: Toon app: Buienradar

Postby Rudolf » Wed Mar 28, 2018 12:27 pm

Thanks for pointing me to that logfile, that's very helpful.

I tried removing buienrader via opkg, but it's not installed.

Code: Select all
eneco-:/mnt/data/update# opkg remove buienradar
No packages removed.


list-installed doesn't list it either
Code: Select all
eneco-:/mnt/data/update# opkg list-installed
base-files - 3.0.14-r100
base-passwd - 3.5.20-r1
base-qb2-ene - 4.9.23-1183-1
boilerstatus - 1.0.3-r0
boot-logos - 1.71
busybox - 1.27.2-r1
busybox-mountall - 1.27.2-r1
busybox-syslog - 1.27.2-r1
ca-certificates - 20160104-r1
chrony - 1.27-r1
cron - 3.0pl1-r8
curl - 7.50.0-r0
directfb - 1.2.8-r1.0
dropbear - 2015.71-r0
fileinfo - 1.0.6-r0
firmware-ba - 1.44
firmware-ma - 1.113-master
firmware-zwave-ctrlr - 1.8-4.55-NrNfNm-noeep
flash-gui - 1.651-ene-qeio
flash-lite-adobe - 4.0.3-54-fb0
flash-qwidget-diy - 1.161-qeio
freetype - 2.4.3-r1
glibc - 2.10.1-r37.1
glibc-binary-localedata-de-de - 2.10.1-r37.1
glibc-binary-localedata-en-gb - 2.10.1-r37.1
glibc-binary-localedata-en-us - 2.10.1-r37.1
glibc-binary-localedata-es-es - 2.10.1-r37.1
glibc-binary-localedata-fr-fr - 2.10.1-r37.1
glibc-binary-localedata-it-it - 2.10.1-r37.1
glibc-binary-localedata-nl-nl - 2.10.1-r37.1
glibc-gconv - 2.10.1-r37.1
glibc-gconv-iso8859-1 - 2.10.1-r37.1
glibc-localedata-i18n - 2.10.1-r37.1
glibc-localedata-iso14651-t1 - 2.10.1-r37.1
glibc-localedata-iso14651-t1-common - 2.10.1-r37.1
glibc-localedata-translit-circle - 2.10.1-r37.1
glibc-localedata-translit-cjk-compat - 2.10.1-r37.1
glibc-localedata-translit-compat - 2.10.1-r37.1
glibc-localedata-translit-font - 2.10.1-r37.1
glibc-localedata-translit-fraction - 2.10.1-r37.1
glibc-localedata-translit-narrow - 2.10.1-r37.1
glibc-localedata-translit-neutral - 2.10.1-r37.1
glibc-localedata-translit-small - 2.10.1-r37.1
glibc-localedata-translit-wide - 2.10.1-r37.1
glibc-patch-dns - 2.10.1-r37.2
gnupg - 1.4.10-r3
gnutls - 2.10.4-r11.0
gpgme - 1.1.4-r5
gpgv - 1.4.10-r3
happ-eventmgr - 1.203-master
happ-kpi - 1.397-master
happ-pwrusage - 1.665-ene-master
happ-scsync - 1.253-ene-master
happ-smartplug - 1.196-master
happ-thermstat - 1.1889-ene-fix-WTF-943-hotfix-add-rcm-rc-properly
happ-usermsg - 1.78-master
happ-weather - 1.137-master
hcb-bxtproxy - 1.347-master
hcb-comm - 1.179-N-master
hcb-config - 1.325-master
hcb-log - 1.72-master
hcb-netcon - 1.327-master
hcb-rrd - 2.153-master
hcb-watchdog - 1.60-master
hdrv-hue - 1.204-master
hdrv-p1 - 1.707-ene-master
hdrv-zwave - 1.1221-master
i2c-tools - 3.0.3-r0
initscripts - 1.2-r6-runlvls
iptables - 1.4.9.1-r7.1
jansson - 1.3-r1.0
joe - 3.1-r3
jpeg - 8b-r1
kernel - 2.6.36-R10-h27
kernel-image - 2.6.36-R10-h27
kernel-module-fat - 2.6.36-R10-h27
kernel-module-ftdi-sio - 2.6.36-R10-h27
kernel-module-msdos - 2.6.36-R10-h27
kernel-module-pl2303 - 2.6.36-R10-h27
kernel-module-rt5370sta - 2.6.36-R10-h27
kernel-module-rt5370sta-cfg - 2.6.36-R10-h27
kernel-module-rtl8191su - 2.6.36-R10-h27
kernel-module-vfat - 2.6.36-R10-h27
kernel-module-zwave300 - 2.6.36-R10-h27
less - 436-r1
libbz2 - 1.0.6-r0
libcrypto - 0.9.8m-r14.1
libcrypto1.0.0 - 1.0.2h-r2
libcurl - 7.50.0-r0
libgcc - 4.5-r33.1+svnr170443
libgcrypt - 1.4.1-r0
libgpg-error - 1.4-r7.1
libhcb-base - 1.287-master
libhcb-boxtalk - 1.117-master
libhcb-com - 1.118-N-master
libhcb-drv - 1.336-master
libhcb-xml - 1.102-master
libjansson4 - 2.10-r1.0
libnetfilter-conntrack - 0.0.101-r0
libnfnetlink - 1.0.0-r0.0
libopkg - 0.1.8+svns635-r7-gcv
libpng12 - 1.2.44-r3.0
libssl - 0.9.8m-r14.1
libssl1.0.0 - 1.0.2h-r2
libstdc++ - 4.5-r33.1+svnr170443
libsysfs - 2.1.0-r3
libuuid - 2.18-r36.0
lighttpd - 1.4.33-28
lighttpd-mod-hcb-web - 1.4.33-26
locale-base-de-de - 2.10.1-r37.1
locale-base-en-gb - 2.10.1-r37.1
locale-base-en-us - 2.10.1-r37.1
locale-base-es-es - 2.10.1-r37.1
locale-base-fr-fr - 2.10.1-r37.1
locale-base-it-it - 2.10.1-r37.1
locale-base-nl-nl - 2.10.1-r37.1
lzo - 1.08-r15
makedevs - 1.0.0-r10
module-init-tools - 3.12-r6
module-init-tools-depmod - 3.12-r6
modutils-initscripts - 1.0-r3
mtd-utils - 1.4.1-r0
ncurses - 5.7+20110115-r16
ncurses-libncurses - 5.7+20110115-r16
ncurses-libtinfo - 5.7+20110115-r16
ncurses-terminfo - 5.7+20110115-r16
ncurses-terminfo-base - 5.7+20110115-r16
netbase - 4.21-r50
openssh-sftp-server - 7.3p1-r10.0
openssl - 1.0.2h-r3
openssl-conf - 1.0.2h-r3
openvpn - 2.3.11-r1
opkg - 0.1.8+svns635-r7-gcv
opkg-collateral - 1.0-r3
pointercal - 0.0-r22
pth - 2.0.2-r2
qmf-0 - 1.19-master-r0
qt-gui - 1.7978-ene-hotfix-4.9
qt-libs - 5.3.1-06-setpos
readline - 5.2-r8
samba-nmbd - 3.0.20-r8
sysvinit - 2.86-r63
sysvinit-inittab - 2.86-r63
sysvinit-pidof - 2.86-r63
sysvinit-utils - 2.86-r63
toonstore - 1.1.4-r0
tsc-certificates - 1.0.1-r0
tslib - 1.0-r28.7hae
tslib-calibrate - 1.0-r28.7hae
tslib-conf - 1.0-r28.7hae
tzdata-americas - 2011b-r8.0
tzdata-europe - 2011b-r8.0
update-modules - 1.0-r10
update-rc.d - 0.7-r2
wastecollection - 3.5-r0
wget - 1.12-r8.3
wireless-tools - 29-r5
wpa-supplicant - 2.6-r0
wpa-supplicant-cli - 2.6-r0
wpa-supplicant-passphrase - 2.6-r0
www-jquery-ui - 1.8.21-16
www-resources - 1.35-master
x11vnc - 0.9.13-r0
zlib - 1.2.3-r7.0


Yet it seems to think it is installed, because it tries to backup some files.

Code: Select all
/mnt/data/update/_opkg.qb2-ene-9.9.99.script.sh: line 568: echo>> dependencies found: tsc-certificates-1.0.0: not found
src/gz tsc2 http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0
>> configured opkg feeds:
src/gz tsc1 http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4
src/gz tsc2 http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0
>> opkg update
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4/Packages.gz.
Inflating http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4/Packages.gz.
Updated list of available packages in /var/lib/opkg/tsc1.
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4/Packages.sig.
Signature check passed.
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0/Packages.gz.
Inflating http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0/Packages.gz.
Updated list of available packages in /var/lib/opkg/tsc2.
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0/Packages.sig.
Signature check passed.
>> Package cache: /mnt/data/update
>> opkg --cache /mnt/data/update install --download-only buienradar
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4/buienradar_8.3.4-r0_qb2.ipk.
>> opkg --cache /mnt/data/update install --download-only tsc-certificates
Package tsc-certificates (1.0.1-r0) installed in root is up to date.
>> downloaded:
52.0K   total
>> dropboxMessage buienradar-8.3.4BRBRBekijk de berichten voor deze software voor informatie over eventuele configuratie.
>> no packages to be removed
>> 2018-03-28 11:04:48 +0200 (pid 21582), status = prepared
>> 2018-03-28 11:04:52 +0200 (pid 21738), status = execute
>> 2018-03-28 11:04:52 +0200 (pid 21738), status = executing
>> opkg --cache /mnt/data/update install tsc-certificates
Package tsc-certificates (1.0.1-r0) installed in root is up to date.
>> opkg --cache /mnt/data/update install buienradar
Installing buienradar (8.3.4-r0) to root...
Copying /mnt/data/update/buienradar_8.3.4-r0_qb2.ipk.
Running preinstall for buienradar-8.3.4
Older installation detected.
Backing up previous settings ...
mv: can't rename '/HCBv2/qml/apps/buienradar/selected*.txt': No such file or directory
Collected errors:
* pkg_run_script: package "buienradar" preinst script returned status 1.
* preinst_configure: Aborting installation of buienradar.
* opkg_install_cmd: Cannot install package buienradar.
>> deleting /tmp/dependencies_to_install.txt
>> deleting /tmp/packages_to_install.txt
>> reinstating cache handling (default 0)


I'll create a dummy file that matches that wildcard to see if it proceeds.
Rudolf
Member
Member
 
Posts: 117
Joined: December 2017

Re: Toon app: Buienradar

Postby Toonz » Wed Mar 28, 2018 2:15 pm

Ah, seems a bug in the install script (failing if no config data is present).
Can you manually create a file 'selectedStation.txt' in the buienradar folder and try again?
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1253
Joined: December 2016

Re: Toon app: Buienradar

Postby Rudolf » Wed Mar 28, 2018 8:47 pm

Thanks for the suggestion.
I believe I tried that. (not 100% sure it was in the first attempt in the log below)
First I created a file called selectedzip.txt, lateron I added
selectedLongitude.txt selectedLatitude.txt and selectedStation.txt

But that didn't help, buienradar shows as installed, but I can't add its tile, and it doesn't list a version in ToonStore.
I tried removing it twice, but that fails when there's no *.ipk-file to remove.
(Even with a dummy .ipk-file in that folder)

What makes the ToonStore think that the app is still installed? Is it the buienradar-folder in /qmf/qml/apps?
I'm quite familiar with bash/linux, so if you can point me to the location of the script I can dig into it myself.

Or should I get rid of all apps and reinstall ToonStore?

Code: Select all
>> Welcome to the ToonStore updater,
>> brought to you by the Toonroot Software Collective (TSC)
>>
>> 2018-03-28 11:04:35 +0200 (pid 21582) _opkg.qb2-ene-9.9.99.script.sh qb2 ene 9.9.99 prepare

>> 2018-03-28 11:04:35 +0200 (pid 21582), status = preparing
>> Firmware version: 4.9.23, build 1183, rev 1.
>> System load     : 0.96
>> Free RAM        : 4540K
>> Flushing file system buffers and cache ...
>> Free RAM now    : 7384K
>> Hotfix for writing System Time to RTC
Hardware Clock before: Wed Mar 28 09:04:37 2018  0.000000 seconds
Hardware Clock after : Wed Mar 28 09:04:38 2018  0.000000 seconds
>> Installing buienradar-8.3.4
>> Extracting packages from the following repo('s):
src/gz tsc1 http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4
/mnt/data/update/_opkg.qb2-ene-9.9.99.script.sh: line 568: echo>> dependencies found: tsc-certificates-1.0.0: not found
src/gz tsc2 http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0
>> configured opkg feeds:
src/gz tsc1 http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4
src/gz tsc2 http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0
>> opkg update
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4/Packages.gz.
Inflating http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4/Packages.gz.
Updated list of available packages in /var/lib/opkg/tsc1.
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4/Packages.sig.
Signature check passed.
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0/Packages.gz.
Inflating http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0/Packages.gz.
Updated list of available packages in /var/lib/opkg/tsc2.
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0/Packages.sig.
Signature check passed.
>> Package cache: /mnt/data/update
>> opkg --cache /mnt/data/update install --download-only buienradar
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4/buienradar_8.3.4-r0_qb2.ipk.
>> opkg --cache /mnt/data/update install --download-only tsc-certificates
Package tsc-certificates (1.0.1-r0) installed in root is up to date.
>> downloaded:
52.0K   total
>> dropboxMessage buienradar-8.3.4BRBRBekijk de berichten voor deze software voor informatie over eventuele configuratie.
>> no packages to be removed
>> 2018-03-28 11:04:48 +0200 (pid 21582), status = prepared
>> 2018-03-28 11:04:52 +0200 (pid 21738), status = execute
>> 2018-03-28 11:04:52 +0200 (pid 21738), status = executing
>> opkg --cache /mnt/data/update install tsc-certificates
Package tsc-certificates (1.0.1-r0) installed in root is up to date.
>> opkg --cache /mnt/data/update install buienradar
Installing buienradar (8.3.4-r0) to root...
Copying /mnt/data/update/buienradar_8.3.4-r0_qb2.ipk.
Running preinstall for buienradar-8.3.4
Older installation detected.
Backing up previous settings ...
mv: can't rename '/HCBv2/qml/apps/buienradar/selected*.txt': No such file or directory
Collected errors:
* pkg_run_script: package "buienradar" preinst script returned status 1.
* preinst_configure: Aborting installation of buienradar.
* opkg_install_cmd: Cannot install package buienradar.
>> deleting /tmp/dependencies_to_install.txt
>> deleting /tmp/packages_to_install.txt
>> reinstating cache handling (default 0)
>> deleting /tmp/install_status
>> deleting all in /mnt/data/update
>> (this may give some errors, no problem here ...)
>> 2018-03-28 11:04:56 +0200 (pid 21738), status = executed
>> Restarting qt-gui and hcb_config ...
>> 2018-03-28 13:27:48 +0200 (pid 853), status = prepare

>> Welcome to the ToonStore updater,
>> brought to you by the Toonroot Software Collective (TSC)
>>
>> 2018-03-28 13:27:48 +0200 (pid 853) _opkg.qb2-ene-9.9.99.script.sh qb2 ene 9.9.99 prepare

>> 2018-03-28 13:27:48 +0200 (pid 853), status = preparing
>> Firmware version: 4.9.23, build 1183, rev 1.
>> System load     : 1.25
>> Free RAM        : 2524K
>> Flushing file system buffers and cache ...
>> Free RAM now    : 7320K
>> Hotfix for writing System Time to RTC
Hardware Clock before: Wed Mar 28 11:27:52 2018  0.000000 seconds
Hardware Clock after : Wed Mar 28 11:27:52 2018  0.000000 seconds
>> Installing buienradar-8.3.4
>> Extracting packages from the following repo('s):
src/gz tsc1 http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4
/mnt/data/update/_opkg.qb2-ene-9.9.99.script.sh: line 568: echo>> dependencies found: tsc-certificates-1.0.0: not found
src/gz tsc2 http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0
>> configured opkg feeds:
src/gz tsc1 http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4
src/gz tsc2 http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0
>> opkg update
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4/Packages.gz.
Inflating http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4/Packages.gz.
Updated list of available packages in /var/lib/opkg/tsc1.
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4/Packages.sig.
Signature check passed.
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0/Packages.gz.
Inflating http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0/Packages.gz.
Updated list of available packages in /var/lib/opkg/tsc2.
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/../pkgs/tsc-certificates-1.0.0/Packages.sig.
Signature check passed.
>> Package cache: /mnt/data/update
>> opkg --cache /mnt/data/update install --download-only buienradar
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/buienradar-8.3.4/buienradar_8.3.4-r0_qb2.ipk.
>> opkg --cache /mnt/data/update install --download-only tsc-certificates
Package tsc-certificates (1.0.1-r0) installed in root is up to date.
>> downloaded:
52.0K   total
>> dropboxMessage buienradar-8.3.4BRBRBekijk de berichten voor deze software voor informatie over eventuele configuratie.
>> no packages to be removed
>> 2018-03-28 13:27:59 +0200 (pid 853), status = prepared
>> 2018-03-28 13:28:02 +0200 (pid 1073), status = execute
>> 2018-03-28 13:28:02 +0200 (pid 1073), status = executing
>> opkg --cache /mnt/data/update install tsc-certificates
Package tsc-certificates (1.0.1-r0) installed in root is up to date.
>> opkg --cache /mnt/data/update install buienradar
Installing buienradar (8.3.4-r0) to root...
Copying /mnt/data/update/buienradar_8.3.4-r0_qb2.ipk.
Running preinstall for buienradar-8.3.4
Older installation detected.
Backing up previous settings ...
mv: can't rename '/HCBv2/qml/apps/buienradar/selected*.txt': No such file or directory
Collected errors:
* pkg_run_script: package "buienradar" preinst script returned status 1.
* preinst_configure: Aborting installation of buienradar.
* opkg_install_cmd: Cannot install package buienradar.
>> deleting /tmp/dependencies_to_install.txt
>> deleting /tmp/packages_to_install.txt
>> reinstating cache handling (default 0)
>> deleting /tmp/install_status
>> deleting all in /mnt/data/update
>> (this may give some errors, no problem here ...)
>> 2018-03-28 13:28:05 +0200 (pid 1073), status = executed
>> Restarting qt-gui and hcb_config ...
>> 2018-03-28 13:33:59 +0200 (pid 1735), status = prepare

>> Welcome to the ToonStore updater,
>> brought to you by the Toonroot Software Collective (TSC)
>>
>> 2018-03-28 13:33:59 +0200 (pid 1735) _opkg.qb2-ene-9.9.99.script.sh qb2 ene 9.9.99 prepare

>> 2018-03-28 13:33:59 +0200 (pid 1735), status = preparing
>> Firmware version: 4.9.23, build 1183, rev 1.
>> System load     : 1.02
>> Free RAM        : 3008K
>> Flushing file system buffers and cache ...
>> Free RAM now    : 6388K
>> Hotfix for writing System Time to RTC
Hardware Clock before: Wed Mar 28 11:34:00 2018  0.000000 seconds
Hardware Clock after : Wed Mar 28 11:34:01 2018  0.000000 seconds
>> no packages to be installed
>> Removing buienradar-8.3.4
>> opkg remove buienradar
No packages removed.
>> dropboxMessage buienradar-8.3.4BRBR
>> 2018-03-28 13:34:03 +0200 (pid 1735), status = prepared
>> 2018-03-28 13:34:06 +0200 (pid 1842), status = execute
>> 2018-03-28 13:34:06 +0200 (pid 1842), status = executing
>> deleting /tmp/packages_to_delete.txt
>> reinstating cache handling (default 0)
>> deleting /tmp/install_status
>> deleting all in /mnt/data/update
>> (this may give some errors, no problem here ...)
rm: can't remove '/mnt/data/update/*.ipk': No such file or directory
>> 2018-03-28 13:34:06 +0200 (pid 1842), status = executed
>> Restarting qt-gui and hcb_config ...
>> 2018-03-28 14:02:25 +0200 (pid 4301), status = prepare

>> Welcome to the ToonStore updater,
>> brought to you by the Toonroot Software Collective (TSC)
>>
>> 2018-03-28 14:02:25 +0200 (pid 4301) _opkg.qb2-ene-9.9.99.script.sh qb2 ene 9.9.99 prepare

>> 2018-03-28 14:02:25 +0200 (pid 4301), status = preparing
>> Firmware version: 4.9.23, build 1183, rev 1.
>> System load     : 1.12
>> Free RAM        : 5088K
>> Flushing file system buffers and cache ...
>> Free RAM now    : 8140K
>> Hotfix for writing System Time to RTC
Hardware Clock before: Wed Mar 28 12:02:27 2018  0.000000 seconds
Hardware Clock after : Wed Mar 28 12:02:28 2018  0.000000 seconds
rm: can't remove '/var/lib/opkg/tsc*': No such file or directory
>> no packages to be installed
>> Removing buienradar-8.3.4
>> opkg remove buienradar
No packages removed.
>> dropboxMessage buienradar-8.3.4BRBR
>> 2018-03-28 14:02:31 +0200 (pid 4301), status = prepared
>> 2018-03-28 14:02:33 +0200 (pid 4418), status = execute
>> 2018-03-28 14:02:33 +0200 (pid 4418), status = executing
>> deleting /tmp/packages_to_delete.txt
>> reinstating cache handling (default 0)
>> deleting /tmp/install_status
>> deleting all in /mnt/data/update
>> (this may give some errors, no problem here ...)
rm: can't remove '/mnt/data/update/*.ipk': No such file or directory
>> 2018-03-28 14:02:33 +0200 (pid 4418), status = executed
>> Restarting qt-gui and hcb_config ...
Rudolf
Member
Member
 
Posts: 117
Joined: December 2017

Re: Toon app: Buienradar

Postby marcelr » Wed Mar 28, 2018 10:38 pm

The installer installs the app in /qmf/qml/apps/<app-name>-<app-version>, creates a symlink to this directory and stores the control file and pre- and postinstaller (if present) in /usr/lib/opkg/info/
So, simply removing the app does not convince the package manager that you actually removed it. You will need to get rid of the opkg-related parts as well, and that is best achieved by opkg remove <app-name>.
If that fails (e.g., because you removed the app manually, with rm and the likes), the opkg-related stuff remains where it is.
marcelr
Global Moderator
Global Moderator
 
Posts: 1080
Joined: May 2012
Location: Ehv

Re: Toon app: Buienradar

Postby Rudolf » Thu Mar 29, 2018 7:03 am

It seems that there's still some stuff in /usr/lib/opkg/status, it shows the following entries:

Code: Select all
Package: buienradar
Version: 8.3.4-r0
Depends: tsc-certificates (>= 1.0.0)
Provides:
Status: install user not-installed
Architecture: qb2

Package: buienradar
Version: 8.3.3-r0
Depends: tsc-certificates (>= 1.0.0)
Provides:
Status: install user not-installed
Architecture: qb2


But this is not the data that is used by ToonStore, ToonStore checks for the existence of the folder in 'qmf/qml/apps/'
If I understand the code below correctly:

Code: Select all
        function getInstalledStatus() {
                var findMinus = folder.indexOf("-");
                if (findMinus > 0) {
                        folderStripped = folder.substring(0, findMinus);
                } else {
                        folderStripped = folder;
                }
                return (app.installedApps.indexOf(folderStripped) > 0 );
        }

        function getInstalledVersion() {
                var findMinus = folder.indexOf("-");
                if (findMinus > 0) {
                        folderStripped = folder.substring(0, findMinus);
                } else {
                        folderStripped = folder;
                }
                var versionStr = appVersionTxt.read();
                return versionStr.trim();
        }


Removing that folder allowed me to reinstall again. And the logs looks good.

Yet there's another issue, ToonStore lists two versions of 'WasteCollection', 3.5/3.6 and 3.6/3.6, both installed. But that's not something for this thread. :lol:
Thanks for the hints, I can finally enjoy buienradar on my Toon again. :D
Rudolf
Member
Member
 
Posts: 117
Joined: December 2017

Re: Toon app: Buienradar

Postby Toonz » Thu Mar 29, 2018 8:34 am

Rudolf wrote:Yet there's another issue, ToonStore lists two versions of 'WasteCollection', 3.5/3.6 and 3.6/3.6, both installed. But that's not something for this thread. :lol:
Thanks for the hints, I can finally enjoy buienradar on my Toon again. :D


This is my error, I forgot to remove the old entry of wastecollection in the repository when creating the new one (fixed now, just refresh the ToonStore data to remove the double entry)
Thanks for the tip.
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1253
Joined: December 2016

Re: Toon app: Buienradar

Postby jnieuw » Wed Apr 18, 2018 8:09 am

So somehow after a reboot the Buienradar app cannot contact https://xml.buienradar.nl anymore.

Wget gives this:
Code: Select all
eneco-001-097000:~# wget https://xml.buienradar.nl/
--2018-04-18 06:59:25--  https://xml.buienradar.nl/
Resolving xml.buienradar.nl... 104.93.83.81, 104.93.83.24, 2a02:26f0:fe:29d::5ddd, ...
Connecting to xml.buienradar.nl|104.93.83.81|:443... connected.
OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Unable to establish SSL connection.


With curl I can download the xml file.
Code: Select all
eneco-001-097000:~# curl https://xml.buienradar.nl
<buienradarnl>
  <weergegevens>
    <titel>www.buienradar.nl - actuele weersinformatie</titel>
    <link>http://www.buienradar.nl</link>
    <omschrijving>Publieke weersinformatie feed</omschrijving>
    <language>nl-nl</language>
    <copyright>(C)opyright 2005 - 2018 Buienradar B.V. Alle rechten voorbehouden</copyright>
    <gebruik>Deze feed mag vrij worden gebruikt onder voorwaarde van bronvermelding buienradar.nl inclusief een hyperlink naar https://www.buienradar.nl. Aan de feed kunnen door gebruikers of andere personen geen rechten worden ontleend.</gebruik>
    <image>
.......
  </weergegevens>
</buienradarnl>


Already reinstalled tsc-certificates_1.0.1-r0_qb2.zip


The "regenverwachting" tile shows me the correct location and when I change it the image of google maps changes properly.
I cannot select a "Weerstation" because the xml cannot be loaded.
Does anyone have an idea? (Firmware 4.15.2)
jnieuw
Starting Member
Starting Member
 
Posts: 32
Joined: October 2017

Re: Toon app: Buienradar

Postby Toonz » Wed Apr 18, 2018 8:12 am

jnieuw wrote:Does anyone have an idea? (Firmware 4.15.2)


This firmware is not officially released, haven't tested it myself. But I suspect an issue with your SSL certificates, see my other post in the Afvalwijzertopic
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1253
Joined: December 2016

Re: Toon app: Buienradar

Postby jnieuw » Wed Apr 18, 2018 11:08 am

Hi Toonz,

Like I said, I already reinstalled the tsc-certificates_1.0.1-r0_qb2.zip, but that did not fix it.
How can I check is tsc-certificates is installed correctly?
jnieuw
Starting Member
Starting Member
 
Posts: 32
Joined: October 2017

PreviousNext

Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 1 guest