Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line parameters not working in actual source code version at least in portable version #5905

Open
swtrse opened this issue Jan 23, 2020 · 4 comments

Comments

@swtrse
Copy link

swtrse commented Jan 23, 2020

Version: Current source code version on day 2020-01-23
What: build-wine as stated in the documentation using the docker image. Compilation did succeed and 3 executables are created. When starting the executeables the wallet is showing up and everything works fine.
Defect: At least in the portable.exe (I did not thest the other ones) the command line parameters do not work.
setconfig <configparameter> <value>: Got compleatly ignored -> config not changed/created
deamon stop: Got compleatly ignored
deamon: Seems to work

@ecdsa
Copy link
Member

ecdsa commented Jan 29, 2020

the command daemon stop does not exist anymore in 4.0. you should just use stop instead
concerning setconfig, I guess you might have set a similarly deprecated value

@swtrse
Copy link
Author

swtrse commented Jan 31, 2020

I strongly hope that rpcuser, rpcpassword and rpcport are not deprecated.
As a workaround I now edit the config file directly before starting the daemon.

@SomberNight
Copy link
Member

SomberNight commented Feb 3, 2020

The issue with setconfig is that you now need to give it the -o option to work (without a running daemon).

The other (kind of off-topic) issue is that by default the Windows binaries do not give any user-feedback (they do not print to stdout/stderr) (see #2592).

With console=True, I get:

> .\electrum-3.3.8-1456-ge35cfb1ef-portable.exe setconfig autoconnect False
Daemon not running; try 'electrum daemon -d'
To run this command without a daemon, use --offline
> .\electrum-3.3.8-1456-ge35cfb1ef-portable.exe -o setconfig autoconnect False
true

@Tigerix
Copy link
Contributor

Tigerix commented Jul 4, 2020

Would be nice having the portable version support commandline parameters....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants