Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Unclear message when invoked without arguments #6

Open
n-peugnet opened this issue Jul 7, 2021 · 3 comments
Open

Unclear message when invoked without arguments #6

n-peugnet opened this issue Jul 7, 2021 · 3 comments

Comments

@n-peugnet
Copy link

Description

On start, I get the error Unison exited with the following description (which is the usage string of unison) and I can only close the application:

Usage: unison [options]
    or unison root1 root2 [options]
    or unison profilename [options]

For a list of options, type "unison -help".
For a tutorial on basic usage, type "unison -doc tutorial".
For other documentation, type "unison -doc topics".
exit status 1

Versions

gunison: v0.1.0
unison: 2.48.4

Log

applying update: {Progressed:false Diff:[] Input:[] Interrupt:false Kill:false Messages:[] Alert:{Message:{Text: Importance:0} Proceed:<nil> Abort:<nil>}} (wantQuit = false)
loading UI state from /home/nicolas/.config/gunison/state.json
state: Width:747 Height:698 Maximized:false ColumnOrder:[0 1 2 3] ColumnWidth:[430 130 100 130]
starting /usr/bin/unison -dumbtty
applying update: {Progressed:false Diff:[] Input:[] Interrupt:false Kill:false Messages:[] Alert:{Message:{Text: Importance:0} Proceed:<nil> Abort:<nil>}} (wantQuit = false)
starting main loop
Unison output: 253 bytes: "Usage: unison [options]\n    or unison root1 root2 [options]\n    or unison profilename [options]\n\nFor a list of options, type \"unison -help\".\nFor a tutorial on basic usage, type \"unison -doc tutorial\".\nFor other documentation, type \"unison -doc topics\".\n" <nil>
Unison output: 0 bytes: "" EOF
Unison exit: exit status 1
processing Unison output: 253 bytes
applying update: {Progressed:false Diff:[] Input:[] Interrupt:false Kill:false Messages:[] Alert:{Message:{Text: Importance:0} Proceed:<nil> Abort:<nil>}} (wantQuit = false)
processing Unison exit: 1 exit status 1
applying update: {Progressed:false Diff:[] Input:[] Interrupt:false Kill:false Messages:[{Text:Usage: unison [options]
    or unison root1 root2 [options]
    or unison profilename [options]

For a list of options, type "unison -help".
For a tutorial on basic usage, type "unison -doc tutorial".
For other documentation, type "unison -doc topics". Importance:1} {Text:exit status 1 Importance:3}] Alert:{Message:{Text: Importance:0} Proceed:<nil> Abort:<nil>}} (wantQuit = false)
saving UI state to /home/nicolas/.config/gunison/state.json
state: Width:747 Height:698 Maximized:false ColumnOrder:[0 1 2 3] ColumnWidth:[430 130 100 130]
@n-peugnet
Copy link
Author

Ah ok, I think I get it. I need to specify the remotes with CLI arguments

@vfaronov
Copy link
Owner

vfaronov commented Jul 7, 2021

That’s right.

Gunison should handle this better, so I’m leaving this open for now. Would that usage message be clearer if gunison was substituted for unison in the first three lines?

@n-peugnet
Copy link
Author

I am just beginning to try unison (and gunison) so I am not sure if this is the correct terminology. But something like this would probably be more helpful to me:

No profile specified and default profile does not exist.

Run gunison with the same command-line arguments as you would run unison.

I used "profile" and "default profile" as it seams that is what unison uses. When I created a profile named "default" using the unison GUI I did not have to add any args to gunison as it used this profile automatically.

@vfaronov vfaronov changed the title Unison exited error on start Unclear message when invoked without arguments Oct 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants