Skip to content

Keyword Search Raises AttributeError #65

Closed Answered by huettenhain
utkonos asked this question in Q&A
Discussion options

You must be logged in to vote

This is an odd error and I cannot reproduce it locally. From the error message, it looks like the unit cache is corrupted. There is a unit called uuenc and you should have it registered as a command-line executable, and the binref code should be able to find it via the invocation of

import refinery
# ...
getattr(refinery, 'uuenc')

which is what is failing here.

In the root directory of the refinery package, there should be a file called __init__.pkl which contains the pickled unit cache. You can try deleting that file, the cache will be re-populated, that might fix it. Otherwise, the best I can recommend is re-installing refinery in a clean virtual environment.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@utkonos
Comment options

@huettenhain
Comment options

Answer selected by utkonos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants