Skip to content

Instantly share code, notes, and snippets.

@zokier
Created March 9, 2014 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zokier/9451923 to your computer and use it in GitHub Desktop.
Save zokier/9451923 to your computer and use it in GitHub Desktop.
$ cargo-lite install --git https://github.com/bjz/cgmath-rs.git
note: Inferred pkgname cgmath-rs from path https://github.com/bjz/cgmath-rs.git
Traceback (most recent call last):
File "/tmp/cargo-lite/bin/cargo-lite", line 587, in <module>
main(opts)
File "/tmp/cargo-lite/bin/cargo-lite", line 573, in main
pkg.install(args=rustcargs)
File "/tmp/cargo-lite/bin/cargo-lite", line 497, in install
force=force)
File "/tmp/cargo-lite/bin/cargo-lite", line 289, in install
ds = self.build(args, force)
File "/tmp/cargo-lite/bin/cargo-lite", line 190, in build
h = _hash_dir(b.get("hash_files", ["*.rs"]), os.path.dirname(self.path))
File "/tmp/cargo-lite/bin/cargo-lite", line 130, in _hash_dir
state.update(str(os.path.getmtime(os.path.join(root, f))))
TypeError: Unicode-objects must be encoded before hashing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment