500 - Internal Server Error

From the command line (after cli) can you try:

opkg install jim-xconv

I've also had error messages like those below, from WebIf installation after fixweb.
Code:
...
Please select option: fixweb
Removing package webif from root...
Installing webif (1.4.4-1) to root...
Downloading [URL]http://hpkg.tv/hdrfoxt2/base/webif_1.4.4-1_mipsel.opk[/URL].
Configuring webif.
/mod/webif/lib/system.class:4: Error: error loading extension "/mod/lib/jim/xconv.so": File not found
Can't load package xconv
at file "/mod/webif/lib/bin/diskattrs", line 3
in procedure 'require' called at file "/mod/webif/lib/setup", line 13
at file "/mod/webif/lib/setup", line 8
at file "/mod/webif/lib/system.class", line 4
/mod/webif/lib/system.class:4: Error: error loading extension "/mod/lib/jim/xconv.so": File not found
Can't load package xconv
at file "/mod/webif/lib/auto/upgrade", line 3
in procedure 'require' called at file "/mod/webif/lib/setup", line 13
at file "/mod/webif/lib/setup", line 8
at file "/mod/webif/lib/system.class", line 4
...

And previously:
...
...
I then used the opb packages posted on
https://wiki.hummy.tv/wiki/Customised_Firmware_-_Features_Available

webif_1.4.2-7_mipsel.opb left a log on the USB stick with errors starting at line 111 as follows:

Code:
...
/mod/webif/lib/system.class:4: Error: error loading extension "/mod/lib/jim/xconv.so": File not found
Can't load package xconv
at file "/mod/webif/lib/bin/diskattrs", line 3
in procedure 'require' called at file "/mod/webif/lib/setup", line 13
at file "/mod/webif/lib/setup", line 8
at file "/mod/webif/lib/system.class", line 4
/mod/webif/lib/system.class:4: Error: error loading extension "/mod/lib/jim/xconv.so": File not found
Can't load package xconv
at file "/mod/webif/lib/auto/upgrade", line 3
in procedure 'require' called at file "/mod/webif/lib/setup", line 13
at file "/mod/webif/lib/setup", line 8
at file "/mod/webif/lib/system.class", line 4
...
<snip>
So, is this something to be concerned about?

That one's a bit weird. The jim-xconv and libxconv packages are included in the bundle, so I don't know why you get the errors.

Is it a problem that
  • /mod/webif/lib/setup defines the require proc which eventually uses source to load the required code file from /mod/webif/lib, and
  • /mod/webif/lib/setup calls require system.class but in turn
  • /mod/webif/lib/system.class calls source /mod/webif/lib/setup?
As found by grahamlthompson, xconv doesn't seem to be the problem. package require xconv is the significant line after calling source.

<offtopic>Is the quoting function in this forum software really hopeless, or is it just me?</offtopic>
 
Last edited:
What is wrong with it?
I find nested quotes are cut off so that I can only read the first few lines.

On investigation I see that if JavaScript is enabled you get a "Click to expand" function. In an ideal world the CSS that sets a specific height for QUOTE sections would only be loaded if JavaScript is enabled, but I suppose a NoScript surrogate would sort it for me. Anyway, I won't worry that others can't see the quotes now.

For the record, this CSS fragment makes it possible to scroll the clipped quote blocks if the "Click to expand" function is not working:
CSS:
.bbCodeBlock--expandable .bbCodeBlock-expandContent {
  overflow-y:visible; 
  }
 
Last edited:
Hope this helps - tried to install chase decrypt again today. Gave the following error

>>> opkg install chasedecrypt
Installing chasedecrypt (0.1.0-0) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/chasedecrypt_0.1.0-0_mipsel.opk.
Installing chaseget (0.1.1-6) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/chaseget_0.1.1-6_mipsel.opk.
Installing curl-command (1.0.0) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/curl-command_1.0.0_mipsel.opk.
Upgrading ir on root from 1.09 to 1.12-1...
Downloading http://hpkg.tv/hdrfoxt2/base/ir_1.12-1_mipsel.opk.
Humax software version: 1.03.12
Installing procps (3.2.8-3) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/procps_3.2.8-3_mipsel.opk.
Configuring ir.
Configuring curl-command.
Configuring procps.
Configuring chaseget.
Configuring chasedecrypt.
Collected errors:
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/smartmontools.list: No such file or directory.

Done.
 
Hope this helps - tried to install chase decrypt again today. Gave the following error
Code:
>>> opkg install chasedecrypt
...
Collected errors:
 * pkg_get_installed_files: Failed to open /mod/var/opkg/info/smartmontools.list: No such file or directory.
Done.
This looks OK wrt chasedecrypt but perhaps you should force reinstall smartmontools: either from the command line or using the WebIf>Diagnostics function.
 
Thanks

Got this

>>> opkg install --force-reinstall smartmontools
Removing package smartmontools from root...
Installing smartmontools (6.4) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/smartmontools_6.4_mipsel.opk.
Configuring smartmontools.
Collected errors:
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/smartmontools.list: No such file or directory.
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/smartmontools.list: No such file or directory.


Also noticed unable to decrypt the last episode of The Long Song. The recording has been indexed by the DLNA server. Copying to Virtual Disc doesn't de-crypt either.

Downloading recording also remains decrypted. I have tried re-building the DLNA Index
 
Thanks

Got this
Code:
>>> opkg install --force-reinstall smartmontools
Removing package smartmontools from root...
Installing smartmontools (6.4) to root...
Downloading [URL]http://hpkg.tv/hdrfoxt2/base/smartmontools_6.4_mipsel.opk[/URL].
Configuring smartmontools.
Collected errors:
 * pkg_get_installed_files: Failed to open /mod/var/opkg/info/smartmontools.list: No such file or directory.
 * pkg_get_installed_files: Failed to open /mod/var/opkg/info/smartmontools.list: No such file or directory.
Let's see ls -al /mod/var/opkg/info.
Also noticed unable to decrypt the last episode of The Long Song. The recording has been indexed by the DLNA server. Copying to Virtual Disc doesn't de-crypt either.

Downloading recording also remains decrypted. I have tried re-building the DLNA Index
Is the recording viewable?
If so, can you decrypt it with the command stripts -@<key> <programme.ts>?
 
Yes recording is viewable

Let's see ls -al /mod/var/opkg/info.

1.22
Enter system PIN: ****

/-------------------------\
| T E L N E T M E N U |
\-------------------------/

[ Humax HDR-Fox T2 (humax) 1.03.12/3.00 ]

maint - Restart into maintenance mode.
rma - Enable return-to-manufacturer (RMA) mode.
reset - Reset custom firmware environment.
upgrade - Upgrade all installed packages.
passwd - Remove web interface password.
fixweb - Re-install web interface.
stat - Show current activity.
x - Exit and close connection.
reboot - Reboot the Humax.
diag - Run a diagnostic.
cli - System command line (advanced users).

Please select option: cli

-----------------------------------------------------------------------

Humax HDR-Fox T2 (humax) 1.03.12/3.00

To return to the menu, type: exit

humax# ls -al /mod/var/opkg/info
drwxr-xr-x 2 root root 12288 Dec 23 09:47 .
drwxrwxrwx 4 root root 4096 Jul 7 2014 ..
-rw-r--r-- 1 root root 15 Oct 8 2011 anacron.conffiles
-rw-r--r-- 1 root root 314 Oct 30 2011 anacron.control
-rw-rw-rw- 1 root root 65 Dec 23 09:47 anacron.list
-rwxr-xr-x 1 root root 226 Oct 8 2011 anacron.postinst
-rwxr-xr-x 1 root root 194 Oct 8 2011 anacron.prerm
-rw-r--r-- 1 root root 175 Mar 22 2016 at.control
-rw-r--r-- 1 root root 123 Dec 23 09:47 at.list
-rwxr-xr-x 1 root root 65 Mar 22 2016 at.postinst
-rwxr-xr-x 1 root root 48 Mar 22 2016 at.prerm
-rw-r--r-- 1 root root 271 Jan 27 2015 auto-unprotect.control
-rw-rw-rw- 1 root root 87 Dec 23 09:47 auto-unprotect.list
-rwxr-xr-x 1 root root 87 Jan 28 2015 auto-unprotect.postinst
-rwxr-xr-x 1 root root 64 Jan 28 2015 auto-unprotect.prerm
-rw-r--r-- 1 root root 224 Jan 2 2013 busybox.control
-rw-rw-rw- 1 root root 3895 Dec 23 09:47 busybox.list
-rw-r--r-- 1 root root 178 Apr 21 2011 bzip2.control
-rw-rw-rw- 1 root root 232 Dec 23 09:47 bzip2.list
-rw-r--r-- 1 root root 283 Aug 13 17:32 chasedecrypt.control
-rw-rw-rw- 1 root root 928 Dec 23 09:47 chasedecrypt.list
-rw-r--r-- 1 root root 549 Nov 16 2016 chaseget.control
-rw-rw-rw- 1 root root 278 Dec 23 09:47 chaseget.list
-rwx------ 1 root root 301 Sep 20 2015 chaseget.postinst
-rw-r--r-- 1 root root 304 Feb 2 2017 cron-daemon.control
-rw-r--r-- 1 root root 85 Dec 23 09:47 cron-daemon.list
-rwxr-xr-x 1 root root 51 Mar 22 2016 cron-daemon.postinst
-rwxr-xr-x 1 root root 50 Mar 16 2016 cron-daemon.prerm
-rw-r--r-- 1 root root 173 Feb 23 2012 curl-command.control
-rw-rw-rw- 1 root root 14 Dec 23 09:47 curl-command.list
-rw-r--r-- 1 root root 241 Oct 14 2013 custom-portal.control
-rw-rw-rw- 1 root root 2522 Dec 23 09:47 custom-portal.list
-rwxr-xr-x 1 root root 58 Oct 14 2013 custom-portal.postinst
-rwxr-xr-x 1 root root 640 Oct 26 2011 custom-portal.preinst
-rwxr-xr-x 1 root root 57 Oct 14 2013 custom-portal.prerm
-rw-r--r-- 1 root root 186 Jan 17 2015 dbupdate.control
-rw-rw-rw- 1 root root 27 Dec 23 09:47 dbupdate.list
-rw-r--r-- 1 root root 214 Apr 28 2012 disable-dso.control
-rw-rw-rw- 1 root root 23 Dec 23 09:47 disable-dso.list
-rw-r--r-- 1 root root 223 Feb 9 2015 disable-ota.control
-rw-rw-rw- 1 root root 108 Dec 23 09:47 disable-ota.list
-rw-r--r-- 1 root root 159 Mar 23 2014 e2fsprogs.control
-rw-rw-rw- 1 root root 563 Dec 23 09:47 e2fsprogs.list
-rw-r--r-- 1 root root 191 Jan 28 2018 epg.control
-rw-r--r-- 1 root root 13 Dec 23 09:47 epg.list
-rw-r--r-- 1 root root 170 Mar 26 2017 ffmpeg.control
-rw-r--r-- 1 root root 985 Dec 23 09:47 ffmpeg.list
-rw-r--r-- 1 root root 171 Apr 23 2011 file.control
-rw-rw-rw- 1 root root 104 Dec 23 09:47 file.list
-rwxr-xr-x 1 root root 208 Dec 17 2012 fuse.control
-rw-rw-rw- 1 root root 574 Dec 23 09:47 fuse.list
-rwxr-xr-x 1 root root 50 Jul 30 2011 fuse.postinst
-rwxr-xr-x 1 root root 59 Jul 30 2011 fuse.prerm
-rw-r--r-- 1 root root 187 May 18 2016 hmt.control
-rw-r--r-- 1 root root 13 Dec 23 09:47 hmt.list
-rw-r--r-- 1 root root 169 Feb 5 2016 hwctl.control
-rw-r--r-- 1 root root 15 Dec 23 09:47 hwctl.list
-rw-r--r-- 1 root root 145 Dec 14 2011 id3v2.control
-rw-rw-rw- 1 root root 38 Dec 23 09:47 id3v2.list
-rw-r--r-- 1 root root 189 Oct 1 2011 inotify-tools.control
-rw-rw-rw- 1 root root 135 Dec 23 09:47 inotify-tools.list
-rw-r--r-- 1 root root 243 Jan 9 2017 ir.control
-rw-rw-rw- 1 root root 1399 Dec 23 09:47 ir.list
-rwxr-xr-x 1 root root 85 Jan 12 2015 ir.postinst
-rwxr-xr-x 1 root root 411 Jan 14 2015 ir.preinst
-rw-r--r-- 1 root root 182 Jan 31 2015 jim-binary.control
-rw-rw-rw- 1 root root 24 Dec 23 09:47 jim-binary.list
-rw-r--r-- 1 root root 169 Mar 17 2016 jim-cgi.control
-rw-r--r-- 1 root root 21 Dec 23 09:47 jim-cgi.list
-rw-r--r-- 1 root root 182 Nov 2 2016 jim-oo.control
-rw-r--r-- 1 root root 20 Dec 23 09:47 jim-oo.list
-rw-r--r-- 1 root root 332 Mar 12 2017 jim-sqlite3.control
-rw-r--r-- 1 root root 24 Dec 23 09:47 jim-sqlite3.list
-rw-r--r-- 1 root root 205 Mar 11 2017 jim-xconv.control
-rw-r--r-- 1 root root 22 Dec 23 09:47 jim-xconv.list
-rw-r--r-- 1 root root 181 Nov 2 2016 jim.control
-rw-r--r-- 1 root root 15 Dec 23 09:47 jim.list
-rw-r--r-- 1 root root 160 Jul 19 2011 lamemp3.control
-rw-rw-rw- 1 root root 91 Dec 23 09:47 lamemp3.list
-rw-r--r-- 1 root root 187 Oct 23 2015 libpcre.control
-rw-r--r-- 1 root root 670 Dec 23 09:47 libpcre.list
-rw-r--r-- 1 root root 168 May 18 2011 libreadline.control
-rw-rw-rw- 1 root root 153 Dec 23 09:47 libreadline.list
-rw-r--r-- 1 root root 193 Mar 10 2017 libxconv.control
-rw-r--r-- 1 root root 42 Dec 23 09:47 libxconv.list
-rw-r--r-- 1 root root 24 Jan 12 2015 lighttpd.conffiles
-rw-r--r-- 1 root root 259 Feb 8 2016 lighttpd.control
-rw-r--r-- 1 root root 2471 Dec 23 09:47 lighttpd.list
-rwxr-xr-x 1 root root 511 Feb 6 2016 lighttpd.postinst
-rwxr-xr-x 1 root root 53 Jan 12 2015 lighttpd.prerm
-rw-r--r-- 1 root root 176 Jun 10 2014 lsof.control
-rw-rw-rw- 1 root root 14 Dec 23 09:47 lsof.list
-rw-r--r-- 1 root root 58 May 2 2011 mediatomb.conffiles
-rw-r--r-- 1 root root 193 Dec 17 2014 mediatomb.control
-rw-rw-rw- 1 root root 4236 Dec 23 09:47 mediatomb.list
-rwxr-xr-x 1 root root 55 May 2 2011 mediatomb.postinst
-rwxr-xr-x 1 root root 42 May 2 2011 mediatomb.postrm
-rwxr-xr-x 1 root root 54 May 2 2011 mediatomb.prerm
-rw-r--r-- 1 root root 18 Apr 13 2011 mongoose.conffiles
-rw-r--r-- 1 root root 196 Feb 21 2014 mongoose.control
-rw-rw-rw- 1 root root 96 Dec 23 09:47 mongoose.list
-rwxr-xr-x 1 root root 626 Aug 5 2013 mongoose.postinst
-rwxr-xr-x 1 root root 53 Apr 13 2011 mongoose.prerm
-rw------- 1 root root 205 Mar 24 2014 multienv.control
-rw-rw-rw- 1 root root 74 Dec 23 09:47 multienv.list
-rw-r--r-- 1 root root 13 Apr 13 2011 ncurses.conffiles
-rw-r--r-- 1 root root 207 Apr 21 2011 ncurses.control
-rw-rw-rw- 1 root root 82327 Dec 23 09:47 ncurses.list
-rw-r--r-- 1 root root 181 Nov 27 2014 nicesplice.control
-rw-rw-rw- 1 root root 20 Dec 23 09:47 nicesplice.list
-rwxr-xr-x 1 root root 230 Jan 18 2014 ntfs-3g.control
-rw-rw-rw- 1 root root 212 Dec 23 09:47 ntfs-3g.list
-rw-r--r-- 1 root root 190 Apr 30 2018 nugget.control
-rw-r--r-- 1 root root 278 Dec 23 09:47 nugget.list
-rw-r--r-- 1 root root 181 Apr 21 2011 openssl-command.control
-rw-rw-rw- 1 root root 17 Dec 23 09:47 openssl-command.list
-rw-r--r-- 1 root root 164 Oct 21 2012 procps.control
-rw-rw-rw- 1 root root 274 Dec 23 09:47 procps.list
-rw-r--r-- 1 root root 261 Dec 4 2016 recmon.control
-rw-r--r-- 1 root root 72 Dec 23 09:47 recmon.list
-rwxr-xr-x 1 root root 117 Jan 26 2015 recmon.postinst
-rwxr-xr-x 1 root root 56 Jan 25 2015 recmon.prerm
-rw-r--r-- 1 root root 192 Jun 28 2017 rsvsync.control
-rw-r--r-- 1 root root 71 Dec 23 09:47 rsvsync.list
-rw-r--r-- 1 root root 43 May 10 2011 samba.conffiles
-rw-r--r-- 1 root root 191 Mar 13 2014 samba.control
-rw-rw-rw- 1 root root 324 Dec 23 09:47 samba.list
-rwxr-xr-x 1 root root 74 Mar 2 2014 samba.postinst
-rwxr-xr-x 1 root root 49 Mar 2 2014 samba.postrm
-rwxr-xr-x 1 root root 50 May 10 2011 samba.prerm
-rw-r--r-- 1 root root 235 Feb 10 2017 service-control.control
-rw-r--r-- 1 root root 98 Dec 23 09:47 service-control.list
-rw-r--r-- 1 root root 16 Feb 20 2016 smartmontools.conffiles
-rw-r--r-- 1 root root 238 Feb 20 2016 smartmontools.control
-rw-rw-rw- 1 root root 82 Dec 23 09:47 smartmontools.list
-rwxr-xr-x 1 root root 75 Feb 20 2016 smartmontools.postinst
-rwxr-xr-x 1 root root 87 Feb 20 2016 smartmontools.prerm
-rw-r--r-- 1 root root 189 Apr 2 2018 sqlite3.control
-rw-r--r-- 1 root root 143 Dec 23 09:47 sqlite3.list
-rw-r--r-- 1 root root 42 Jun 16 2011 ssmtp.conffiles
-rw-r--r-- 1 root root 200 Jun 16 2011 ssmtp.control
-rw-rw-rw- 1 root root 67 Dec 23 09:47 ssmtp.list
-rw-r--r-- 1 root root 277 May 2 2018 stripts.control
-rw-r--r-- 1 root root 17 Dec 23 09:47 stripts.list
-rw-r--r-- 1 root root 148 Apr 24 2014 swapper.control
-rw-rw-rw- 1 root root 27 Dec 23 09:47 swapper.list
-rwxr-xr-x 1 root root 53 Apr 22 2014 swapper.postinst
-rwxr-xr-x 1 root root 52 Apr 22 2014 swapper.prerm
-rw-r--r-- 1 root root 204 Feb 13 2016 tcpfix.control
-rw-rw-rw- 1 root root 26 Dec 23 09:47 tcpfix.list
-rwxr-xr-x 1 root root 57 Feb 13 2016 tcpfix.postinst
-rw-r--r-- 1 root root 165 Oct 8 2014 tcpping.control
-rw-rw-rw- 1 root root 17 Dec 23 09:47 tcpping.list
-rw-r--r-- 1 root root 150 Jan 14 2017 tmenu.control
-rw-r--r-- 1 root root 58 Dec 23 09:47 tmenu.list
-rw-r--r-- 1 root root 203 Jan 4 2013 trm.control
-rw-rw-rw- 1 root root 13 Dec 23 09:47 trm.list
-rw-r--r-- 1 root root 160 Sep 6 2016 tweak.control
-rw-r--r-- 1 root root 16 Dec 23 09:47 tweak.list
-rw-r--r-- 1 root root 220 Dec 30 2014 virtual-disk2.control
-rw-rw-rw- 1 root root 151 Dec 23 09:47 virtual-disk2.list
-rwxr-xr-x 1 root root 58 Apr 26 2011 virtual-disk2.postinst
-rwxr-xr-x 1 root root 57 Apr 26 2011 virtual-disk2.prerm
-rw-r--r-- 1 root root 193 Mar 12 2018 webif-channelicons.control
-rw-r--r-- 1 root root 73738 Dec 23 09:47 webif-channelicons.list
-rw-r--r-- 1 root root 182 Jun 13 2014 webif-charts.control
-rw-rw-rw- 1 root root 952 Dec 23 09:47 webif-charts.list
-rw-r--r-- 1 root root 154 Jan 28 2018 webif.conffiles
-rw-r--r-- 1 root root 783 Oct 10 22:18 webif.control
-rw-r--r-- 1 root root 51843 Dec 23 09:47 webif.list
-rwxr-xr-x 1 root root 1595 Jan 28 2018 webif.postinst
-rwxr-xr-x 1 root root 439 Jan 28 2018 webif.preinst
-rwxr-xr-x 1 root root 358 Jan 28 2018 webif.prerm
-rw-r--r-- 1 root root 146 Jan 21 2015 wireless-tools.control
-rw-rw-rw- 1 root root 142 Dec 23 09:47 wireless-tools.list
humax#

Response to

stripts -@<key> <The Long Song_2018_2101.ts>

ersion 1.22
Enter system PIN: ****

/-------------------------\
| T E L N E T M E N U |
\-------------------------/

[ Humax HDR-Fox T2 (humax) 1.03.12/3.00 ]

maint - Restart into maintenance mode.
rma - Enable return-to-manufacturer (RMA) mode.
reset - Reset custom firmware environment.
upgrade - Upgrade all installed packages.
passwd - Remove web interface password.
fixweb - Re-install web interface.
stat - Show current activity.
x - Exit and close connection.
reboot - Reboot the Humax.
diag - Run a diagnostic.
cli - System command line (advanced users).

Please select option: cli

-----------------------------------------------------------------------

Humax HDR-Fox T2 (humax) 1.03.12/3.00

To return to the menu, type: exit

humax# stripts -@<key> <The Long Song_2018_2101.ts>
/bin/sh: syntax error: unexpected redirection
humax#
 
Thanks. Decrypted the file using Foxy without issues.
Telnet tools.

Wrong forum; and if you really are talking about an HD-FOX, chase decryption isn't available anyway.

Of all the posters on this forum.

You are the most arrogant , most caustic poster on here and the least likely poster to help anyone. In this thread so far you have contributed precisely zero.

I often recommend from other forums that that new users should come here hoping that they do not get a responce from you, which to say the least is likely to be no help at all. lacking any helpful information at all.

Thanks to those you have helped in this thread. No thanks to Black Hole who's attitude would clearly put off any new user with his attitude that anyone using this forum should have read and remembered every post on this forum.

To new members - here's a simple task.

Find the latest link to the latest HDR-FOX-T2 custom firmware update and where to download it from. This of course without Black Hole inputs at all. Please post how you got there in the end if at all.

Please post how you get on.

Thanks to Ezra Pound who posted the info re scripts. Which made clear how the package worked which I had not seen before.
 
Last edited:
Is it a problem that
  • /mod/webif/lib/setup defines the require proc which eventually uses source to load the required code file from /mod/webif/lib, and
  • /mod/webif/lib/setup calls require system.class but in turn
  • /mod/webif/lib/system.class calls source /mod/webif/lib/setup?
No, because all the code in /mod/webif/lib/setup is protected by an if test which fails on the second or subsequent pass. And things loaded via require are similarly protected.
 
Back
Top