Note that there are some explanatory texts on larger screens.

plurals
  1. POEclipse/Ant md5 do not match any other md5
    primarykey
    data
    text
    <p>so i'm still struggling to follow this : <a href="http://code.google.com/p/dkpro-core-asl/wiki/MyFirstDKProProject" rel="nofollow">http://code.google.com/p/dkpro-core-asl/wiki/MyFirstDKProProject</a></p> <p>i'm stick at another place with very strange MD5 trouble, and i do not understand why my Eclipse/Ant calculate different md5 than the md5 i can calculate by using md5sum (cygwin) or with Python for example !</p> <p>Eclipse/Ant msg : </p> <pre><code>BUILD FAILED D:\eclipseWorkspace\maven.1334761781732\branches\1.2.x\de.tudarmstadt.ukp.dkpro.core.treetagger\src\scripts\build.xml:34: The following error occurred while executing this line: D:\eclipseWorkspace\maven.1334761781732\branches\1.2.x\de.tudarmstadt.ukp.dkpro.core.treetagger\src\scripts\build.xml:311: The following error occurred while executing this line: D:\eclipseWorkspace\maven.1334761781732\branches\1.2.x\de.tudarmstadt.ukp.dkpro.core.treetagger\src\scripts\build.xml:451: MD5 checksum mismatch for [la-tagger-little-endian.par]. Please verify the checksum and if necessary update this script. Expected: f959f8633ef842f069f0331ad19dc8b4 Actual : bde1f6a63b2c5a658ba25a8eb90832a8 </code></pre> <p>ok, this is something possible as the file may have changed on the FTP, here is the part of the build.xml files of ANT :</p> <pre><code>&lt;target name="la"&gt; &lt;property name="version.la" value="2011050700"/&gt; &lt;install-model-file url="ftp://ftp.ims.uni-stuttgart.de/pub/corpora/latin-par-linux-3.2.bin.gz" type="tagger" endianness="little-endian" language="la" encoding="ISO-8859-1" md5="f959f8633ef842f069f0331ad19dc8b4"/&gt; &lt;/target&gt; </code></pre> <p>where things just go weird for me is there :</p> <p>using CYGWIN (afer manually downloading the file via FTP with filezilla, binary mode or auto, of course not ascii) : </p> <pre><code>$ md5sum latin-par-linux-3.2.bin.gz e77493eed28857bf93aca91c2a6e5a9b *latin-par-linux-3.2.bin.gz </code></pre> <p>using python :</p> <pre><code>import urllib import hashlib data = urllib.urlopen("ftp://ftp.ims.uni-stuttgart.de/pub/corpora/latin-par-linux-3.2.bin.gz").read() md5 = hashlib.md5() md5.update(data) print md5.hexdigest() e77493eed28857bf93aca91c2a6e5a9b </code></pre> <p>or </p> <pre><code>def md5_for_file(filePath): md5 = hashlib.md5() file = open(filePath, 'rb') while True: data = file.read(8192) if not data: break md5.update(data) file.close() return md5.hexdigest() print md5_for_file(r"D:\ftp.ims.uni-stuttgart.de.pub.corpora.20120419\latin-par-linux-3.2.bin.gz") e77493eed28857bf93aca91c2a6e5a9b </code></pre> <p>and also using a freeware from web to calculate MD5, they all match each other BUT are different than the one ANT calculate as "actual" !</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload