From: W. Trevor King Date: Mon, 6 Sep 2010 00:02:09 +0000 (-0400) Subject: Improve error message for old (ASCII) JPK file formats. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ba2d8ae839fb985aa1debaf510f1dfad3df51eba;p=hooke.git Improve error message for old (ASCII) JPK file formats. Michael Haggerty gave me the name of JPK's upgrade script so we can point users in the right direction. --- diff --git a/hooke/driver/jpk.py b/hooke/driver/jpk.py index 3cbe1df..171ce7a 100644 --- a/hooke/driver/jpk.py +++ b/hooke/driver/jpk.py @@ -281,4 +281,7 @@ class JPKDriver (Driver): return info def _read_old(self, path, info): - raise NotImplementedError('No old-style JPK files were available for testing, please send us yours: %s' % path) + raise NotImplementedError( + "Early JPK files (pre-zip) are not supported by Hooke. Please " + "use JPK's `out2jpk-force` script to convert your old files " + "to a more recent format before loading them with Hooke.")