On 12/28/2017 2:22 PM, Ren� Rebe wrote:
Hi Jan,

On 28 Dec 2017, at 18:40, Jan Rovins <[email protected] <mailto:[email protected]>> wrote:

On 12/28/2017 8:46 AM, Ren� Rebe wrote:
Why while it is downloading files throws "ERROR: File type does not
match filename (Zstandard compressed data)!�?

Most likely because your system�s file command does not yet know and support zstd.
Try updating it.

Hi Rene,

I have a request to better (permanent) document this solution. When T2 first switched to zst compression, it took me a very long time to figure out the solution to this problem, and update my file command's config.� Then a bit later, the solution was mentioned on the mailing list.� But then a many months later I had to set up a new T2 build system (on a non-T2 host), and totally forgot what I did to get this working, and It took me a while to find the mention of the fixes on the mailing list, and how to fix it again.

Some possible solutions are:
�1. Update the main documentation's� Trouble shooting section to include the zst file remedy.

�2. Add a hint in the scripts that print the warning: "ERROR: File type does not match filename (Zstandard compressed data)!�? Hint would be like:� (Does your "file" command support zst? check /etc/magic)

I would normally do a patch for item 2 above, but I am not around any of my T2 systems right now, and won't be until after the new year, and may not be able to get to it for a while after that. so if someone else can get to it before I can, they are welcome.

Author: rene
Date: 2017-12-28 19:53:52 +0100 (Thu, 28 Dec 2017)
New Revision: 46347
Log:
* implemented file/Zstd paranoia check
* fixed zstd vs. bzip2 typo in another test

Review the ChangeSet with:
�svn diff -c 46347 https://svn.exactcode.de/t2

Modified:
�trunk/scripts/Check-System
���9 ++++++++-

Many Thanks.

~J
--
�ExactCODE GmbH,�Lietzenburger Str. 42, DE-10789 Berlin
http://exactcode.com <http://exactcode.com/>�| http://exactscan.com <http://exactscan.com/>�| http://ocrkit.com <http://ocrkit.com/>�| http://t2-project.org <http://t2-project.org/>�| http://rene.rebe.de


----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to