Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: coreplayer2 on October 11, 2013, 01:06:29 PM

Title: 5.0.1 Apps tool - "Failed" issue
Post by: coreplayer2 on October 11, 2013, 01:06:29 PM
Using Apps to download and/or install or update extensions frequently results in a "Failed" message (see screenshot).  However the very same extensions which failed in Apps are downloadable using alternative methods eg: tce-ab or wget or tc-tce-update or tce-load -wi

(https://db.tt/EGkHgxly)

(https://db.tt/p6oZNiKQ)


This morning I picked some extensions, one intentionally and the rest at random, all resulted in the same Failed message.


submitqc5.tcz
totem.tcz
testdisk.tcz
vim.tcz
etc etc

Title: Re: 5.0.1 Apps tool - "Failed" issue
Post by: roberts on October 11, 2013, 01:29:30 PM
As there has been no recent changes to Apps, I suspect that your issue is caused by incorrect permission on the /tmp directory. And once that occurs it would cause such a failure. Upon first encounter please check /tmp permission and if possible note the extension or possibly the prior extension to look for cause.
Title: Re: 5.0.1 Apps tool - "Failed" issue
Post by: coreplayer2 on October 11, 2013, 02:49:26 PM
Thanks Roberts for giving some thought to this issue, I'll continue investigating
Title: Re: 5.0.1 Apps tool - "Failed" issue
Post by: coreplayer2 on October 11, 2013, 02:53:51 PM
After a reboot the tmp permissions on tested systems are

Code: [Select]
tc@box:~$ ls -ld /tmp
drwxrwxrwt    5 root     staff          240 Oct 11 18:50 /tmp/
tc@box:~$

Which appears to be normal, yet Failed message persists

Title: Re: 5.0.1 Apps tool - "Failed" issue
Post by: coreplayer2 on October 11, 2013, 03:33:12 PM
Interestingly..

Systems that do not have aterm installed which instead use LXTerminal displays errors when running Apps:
(https://db.tt/Nx4H5h4B)

..Additionally, whether Apps is run with LXTerminal or aterm the failed status appears associated with unable to find *md5.txt for any selected extensions, which appears to be related the ongoing Apps Failed issue
(https://db.tt/YMazHdwg)


I might add that this "Apps Failed"  issue didn't start recently, iirc goes back to days of tc-4.x, but can't say when the issue began exactly.  It's just that it's been occurring much more frequently of late.
Title: Re: 5.0.1 Apps tool - "Failed" issue
Post by: roberts on October 11, 2013, 04:52:44 PM
Confirmed the issue is with a non-compliant lxterminal.

This issue goes back to the early 5.0 alpha when it was discussed that aterm had been factored out of Xprogs.tcz into a separate aterm.tcz.
Without aterm Apps cannot display the download progess box and immediately fails.

Apps requires an aterm(xterm) compliant terminal. Check with the maintainer of lxterminal if it can be made to be compliant. Otherwise stay with the supported aterm.
Title: Re: 5.0.1 Apps tool - "Failed" issue
Post by: bmarkus on October 12, 2013, 03:02:04 AM

Apps requires an aterm(xterm) compliant terminal. Check with the maintainer of lxterminal if it can be made to be compliant. Otherwise stay with the supported aterm.

Will check
Title: Re: 5.0.1 Apps tool - "Failed" issue
Post by: bmarkus on October 15, 2013, 02:48:36 AM
lxterminal updated in repo. Now apps works with lxterminal.
Title: Re: 5.0.1 Apps tool - "Failed" issue
Post by: coreplayer2 on October 15, 2013, 02:55:19 AM
cool thanks,  after removing LXTerminal I found that reinstalling aterm did in fact fix both the above issues with Apps.

Thanks again