linux ubuntu cli issue
hey @titusz (and @vingle)
We just ran our first tests of Mova app on Ubuntu today, and we ran into this one. We might be blocked on deploying to that platform till we can get it sorted. I am not sure how high priority that is for Nic, but would like to find out.
generating iscc for path /home/wesley/1_Projects/lighthouse-obsession.mp4 with title: lighthouse
stderr: Traceback (most recent call last):
File "iscc_cli/cli.py", line 97, in
Error occurred in handler for 'iscc-request': Error: error during iscc generation
at Socket.
This system supports the C.UTF-8 locale which is recommended. You might be able to resolve your issue by exporting the following environment variables:
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
[62677] Failed to execute script 'cli' due to unhandled exception!
iscc gen process exited with code 1
Can you confirm that the error also happens if you call the iscc-cli command directly from the command line on the system? You could also check under what locale the electron app is running. The caller of the command-line tool sets the locale. You might be able to set that with the subprocess call from node.js.
Ok great, I will test those things!
we confirmed that iscc gen worked with the unbundled iscc cli, so we are going to try tweaking the env vars for the subprocess next