Jump to content
Ketarin forum
Guest paulderdash

Updates using filehippo id

Recommended Posts

I still have 2 problems using patched version: it's 7zip_32 and 7zip_64

I'm trying to get stable, so "Avoid beta" is checked.

Each time Log show it's "MD5 does not match" and download same file again. But if i check MD5 manually - checksums are fine.

 

Yeah, that doesn't work. I checked 1.6.1 rc1, 1.7.0 b1 and the latest version on the repository. All have the same problem with MD5 checking.

I found the part in the source code, that checks for MD5, but didn't figure out yet why it doesn't work.

Basically the problem is, that the MD5 Checksum is listed on the Technical page, but Ketarin loads the Description page. And because of this Ketarin can't read the MD5 and in the end it tries to compare 0 (zero) with the MD5 of the already downloaded file. And ofcourse it will never match.

Share this post


Link to post
Share on other sites

FileHippo changed the site again. This time they changed the MD5 hash formatting, which means that Ketarin must be adjusted again.

 

In ExternalServices.cs this line must be changed:

 

Regex validMd5 = new Regex(">([0-9a-f]{32})<", RegexOptions.IgnoreCase);

 

to

 

Regex validMd5 = new Regex("(?si)md5.+?([0-9a-f]{32})", RegexOptions.IgnoreCase);

 

I added this fix to the source of revision 464 and compiled Ketarin. Here is the fixed exe file, until floele posts an official version :)

Share this post


Link to post
Share on other sites

Yea, I was wondering why most of my files decided to suddenly update themselves today even though it appeared they were exactly the same version. Thanks for the quick update.  :-)

Share this post


Link to post
Share on other sites

FileHippo changed the site again. This time they changed the MD5 hash formatting, which means that Ketarin must be adjusted again.

 

I added this fix to the source of revision 464 and compiled Ketarin. Here is the fixed exe file, until floele posts an official version :)

 

Thanks it works like a charm.

Share this post


Link to post
Share on other sites

It seems that something has changed again regarding filehippo, today o tried to download new updates and i get this error.

LibreOffice (@FileHippo)	The operation has timed out (http://www.filehippo.com/download/file/34040ec736b71b24714a280fd8b6e95f47613a507fd3b813e3a5f4d002d65dd5)

This is only an example , i have the same error on almost every program using filehippo id.

Share this post


Link to post
Share on other sites

What version you are using?

 

I`m using latest 1.7b2 and have no issues whatsoever, except that MD5 regexp not matching and that means everything gets always downloaded.

Share this post


Link to post
Share on other sites
Guest GiacomoGo

FileHippo changed the site again. This time they changed the MD5 hash formatting, which means that Ketarin must be adjusted again.

 

In ExternalServices.cs this line must be changed:

 

Regex validMd5 = new Regex(">([0-9a-f]{32})<", RegexOptions.IgnoreCase);

 

to

 

Regex validMd5 = new Regex("(?si)md5.+?([0-9a-f]{32})", RegexOptions.IgnoreCase);

 

I added this fix to the source of revision 464 and compiled Ketarin. Here is the fixed exe file, until floele posts an official version :)

 

Ketarin is great when FileHippo is stable.

 

Any chance that this little regex could reside outside the binary, e.g., in the config?

Then we can simply update that regex as needed (or Ketarin could include this check in as an update?)

 

Would be beautiful to not have to check this thread every time filehippos start updating unnecessarily.

 

Nonetheless -- MANY THANKS to all who develop and keep this going!

Wonderful gift to windows users.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.