Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error reading signature file #49

Closed
workflowsguy opened this issue Aug 18, 2015 · 3 comments
Closed

error reading signature file #49

workflowsguy opened this issue Aug 18, 2015 · 3 comments
Assignees

Comments

@workflowsguy
Copy link

I have installed Siegfried on OS X via homebrew.

When executing sf FILE.EXT I get the error

Error: error loading signature file, got: Siegfried: error reading signature file; got gob: unknown type id or corrupted data
Try running sf -update

I can run "sf -update" as often as I want, but the error message persists.

Update: mistydemeo/digipres/siegfriedhas version 1.0, which does not seem to be the most recent version. Could you please update the tap?

@richardlehane
Copy link
Owner

Hi workflowsguy
thanks for reporting this & for trying sf.

The signature format changed with sf versions 1.1 and 1.2. Attempts to use the newer signatures with an older install of sf should fail gracefully, not break like this, & I will endeavour to make future upgrades less error prone.

The immediate solution for you is either to upgrade to the latest version of sf (1.2.2) or to rebuild your 1.0 signatures.

You can rebuild your 1.0 signatures with the command:

roy build

You may need to prefix this with sudo depending on where your home directory is. So try sudo roy build if you get a permissions error.

Re. upgrading to 1.2.2:

I don't host the brew tap myself but will see if I can fork and push an update, perhaps this coming weekend.

Your other option for upgrading is to build sf from source. Instructions for this are here: https://github.com/richardlehane/siegfried/wiki/Getting-started#installing-from-source. If you'd like to try this, I'm happy to walk you through any issues you have - just add further comments to this issue.

All the best
Richard

@richardlehane richardlehane self-assigned this Aug 19, 2015
@workflowsguy
Copy link
Author

Thank you for the information, Richard.

I have successfully rebuilt the signatures with roy and can get going. In the long run, having a current version of Siegfried installable through Homebrew would be great, though.

Cheers,
Stefan

@richardlehane
Copy link
Owner

Hi Stefan
the Homebrew tap has now been updated to 1.2.2
all the best
Richard

@ghost ghost mentioned this issue Sep 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants