buckwheat icon indicating copy to clipboard operation
buckwheat copied to clipboard

Prebuilt version of enry might not work on some platforms

Open egor-bogomolov opened this issue 4 years ago • 2 comments

To detect languages, we download a prebuilt release of enry based on the OS. Seems like in some cases it won't work (see issue in Sosed). Possible workarounds are:

  1. A backup plan in this case -- to build enry from scratch if the prebuilt version fails
  2. Add thorough specification of the software you need to run enry smoothly (e.g., g++ version or something)

egor-bogomolov avatar Jul 30 '20 11:07 egor-bogomolov

From

There is no such error since I downloaded the released version of entry and re-run

it seems like merely downloading the latest release binary has resolved the issue for the OP on Ubuntu 14.04 🤔

The only suspicious thing that I noticed is that buckwheat hardcodes enry v1.0.0 meanwhile the latest version that allegedly worked was already release by that time v1.1.0.

bzz avatar Aug 27 '20 17:08 bzz

If it's somehow may help, I have finished python bindings for enry and built wheels for enry, so you can use it as python library.

Pypi: https://pypi.org/project/enry/ Covered API for enry: https://github.com/go-enry/go-enry/blob/master/python/enry/definitions.py

vsmaxim avatar Sep 18 '20 09:09 vsmaxim