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

qprocess won't start #63

Closed
arnauldb opened this issue Jul 6, 2015 · 18 comments
Closed

qprocess won't start #63

arnauldb opened this issue Jul 6, 2015 · 18 comments

Comments

@arnauldb
Copy link

arnauldb commented Jul 6, 2015

Hello,

in windows 8.1 64 I have an error message after launching Qtpass. It says Qprocess doesn't start...any help.

Thank you.

Arnauld

@beefcurtains
Copy link
Contributor

@annejan can you use the modern.ie vm for this or do you need a new one?

@arnauldb
Copy link
Author

arnauldb commented Jul 6, 2015

I would prefer to have qprocess launched than using a vm...

@annejan
Copy link
Member

annejan commented Jul 6, 2015

@arnauldb I'm assuming @beefcurtains meant for me to test it in a Windows VM since I don't (normally) run Windows ;-)

Quick question though, did you use my installer or compile QtPass yourself?

@arnauldb
Copy link
Author

arnauldb commented Jul 6, 2015

ok, I misunderstood. I used your installer qtpass-0.8.4.exe. Then I launch QtPass, fill in the fields to generate a new key pair. Then I have a screen saying "generate GnuPG keypair" that lasts for 10, 20 minutes...until I close it. Then, after closing, an other error message "password store not initialised". And

@annejan
Copy link
Member

annejan commented Jul 6, 2015

I have installed Windows 8.1 (64bit) and have the same thing happening indeed.

It seems to be something that can happen on all windows versions though. Thanks for reporting this.
Will keep you updated on how the fix is going . .

@arnauldb
Copy link
Author

arnauldb commented Jul 6, 2015

region

@arnauldb
Copy link
Author

arnauldb commented Jul 6, 2015

Thank you, and thanks for your work.

@annejan
Copy link
Member

annejan commented Jul 8, 2015

Can you confirm https://github.com/IJHack/qtpass/releases/tag/v0.8.5.1 fixes this issue?
In my test VM the recent changes fixed this issue completely . .

@arnauldb
Copy link
Author

arnauldb commented Jul 9, 2015

Hello,

no, it doesn't work for me. I completely uninstalled previous versions, but I still have the error message saying Qprocess doesn't start. And the window for generating the keys lasts for hours. Here is my config in QtPass

region

@arnauldb arnauldb closed this as completed Jul 9, 2015
@arnauldb arnauldb reopened this Jul 9, 2015
@annejan
Copy link
Member

annejan commented Jul 27, 2015

The QProcess::FailedToStart is caused by hanging process..
I'm guessing the keygen never worked or is requesting more input or something, and/or you already have a GPG keypair but the keyring couldn't be opened (had that sometimes).
Will try and replicate on new VM tomorrow.

@marcoep
Copy link

marcoep commented Aug 2, 2015

Hey everyone
I have the same error (Windows 8.1 64bit). Although I used TortoiseGit to clone my existing password repository beforehand, QtPass says QProcess::FailedToStart. So my guess its not only about the keygen but something with the connection to gpg2.exe
Cheers

@annejan
Copy link
Member

annejan commented Aug 3, 2015

Now wondering . . could it be that weird slash "tent" in the path /\ that is breaking things?

@ghtyrant
Copy link

I just ran into a similar issue (using the latest release version, v1.0.2, 01e696e). QtPass wanted to create a keypair for me on start, resulting in the process indicator spinning endlessy. Closing the window and cancelling the options dialog got me the main window with the same "QProcess::FailedToStart" error.

My solution: The .password-store folder didn't exist (C:\Users\user.password-store). I changed to path to C:\Users\user\pass because Windows does not like folder names that start with a dot, created the folder manually and things started to work.

I'm not sure if this really is related to this issue, needs someone else to give my solution a try.

@kelno
Copy link

kelno commented Oct 27, 2015

I have the exact same problem on windows 10, using version 1.03.
The solution given by ghtyrant worked for me, thanks!
Btw thanks for you amazing work annejan.

@annejan
Copy link
Member

annejan commented Oct 27, 2015

I'll look into not (trying to) create(ing) a folder that starts with a dot on windows.
I can imagine how from historic p.o.v. an empty foldername with an extention can be a problem on the Windows platform.
I'll resort to creating a 'normal' hidden folder on Windows.

It seems sometimes a process-timeout on the (pretty timeconsuming) keypair generation can still be a problem too. I'll keep that in mind during the refactoring of the process-handling and all I'm currently doing.

@annejan
Copy link
Member

annejan commented Oct 29, 2015

Started work on this cae2eed, will need Windows machine to test (tomorrow)

@annejan
Copy link
Member

annejan commented Nov 3, 2015

Well, this seems to work after 02c3745 and 7482b42

screen shot 2015-11-03 at 14 27 09
Proper Windows hidden file . .

@annejan
Copy link
Member

annejan commented Nov 17, 2015

I can't seem to break this anymore on WinXP, Win7, Win8 or Win10 (modern.ie VMS)

@annejan annejan closed this as completed Nov 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants