ui.sh does not run tor from current directory #90

Closed
opened 2019-02-14 17:37:55 +00:00 by wmww · 5 comments

Tor is shipped in the alpha release (presumably because Cwtch requires a version newer than most Linux distros currently provide). ./ui.sh does not run the provided tor, instead it fails without specifying if tor was not found or too old.

ui/main.go [ERR ] Could not start Tor: Could not connect to or start Tor that met requirments (min Tor version 0.3.5.x)

I was able to work around this by uninstalling my distro's tor package and copying the provided binary to /usr/bin/.

Tor is shipped in the alpha release (presumably because Cwtch requires a version newer than most Linux distros currently provide). `./ui.sh` does not run the provided tor, instead it fails without specifying if tor was not found or too old. ``` ui/main.go [ERR ] Could not start Tor: Could not connect to or start Tor that met requirments (min Tor version 0.3.5.x) ``` I was able to work around this by uninstalling my distro's tor package and copying the provided binary to /usr/bin/.

Same problem here I think. Trying to install and run the binary version for linux, I ran into some problems

It doesn't find the tor in the installation directory launching ui.sh:

2019/02/14 18:33:28 connectivity/torProvider.go [INFO] tor version:
2019/02/14 18:33:28 connectivity/torProvider.go [INFO] tor version:
2019/02/14 18:33:28 ui/main.go [ERR ] Could not start Tor: Could not connect to or start Tor that met requirments (min Tor version 0.3.5.x)

After adding the installation directory to PATH, there's a collision between a directory tor that it's trying to create and the shipped tor executable:

2019/02/14 18:36:16 ui/main.go [ERR ] Could not start Tor: Unable to create data dir: mkdir tor: not a directory

I could get it to run after moving tor executable to another directory and adding that to PATH.

Same problem here I think. Trying to install and run the binary version for linux, I ran into some problems It doesn't find the tor in the installation directory launching `ui.sh`: ``` 2019/02/14 18:33:28 connectivity/torProvider.go [INFO] tor version: 2019/02/14 18:33:28 connectivity/torProvider.go [INFO] tor version: 2019/02/14 18:33:28 ui/main.go [ERR ] Could not start Tor: Could not connect to or start Tor that met requirments (min Tor version 0.3.5.x) ``` After adding the installation directory to `PATH`, there's a collision between a directory `tor` that it's trying to create and the shipped `tor` executable: ``` 2019/02/14 18:36:16 ui/main.go [ERR ] Could not start Tor: Unable to create data dir: mkdir tor: not a directory ``` I could get it to run after moving `tor` executable to another directory and adding that to `PATH`.
Author

@mara I just reported your second problem in #91

@mara I just reported your second problem in #91

Thank you !

Thank you !
Owner

ui.sh is I believe autogenerated by our QT buildsystem. I'm updating our code which manages running tor to behave better with the bundled tor in #94

ui.sh is I believe autogenerated by our QT buildsystem. I'm updating our code which manages running tor to behave better with the bundled tor in #94
Owner

fixed in code, will be out in a new release soon

fixed in code, will be out in a new release soon
dan closed this issue 2019-02-19 20:26:07 +00:00
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
3 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/ui#90
No description provided.