-
-
Notifications
You must be signed in to change notification settings - Fork 277
[BUG] No-git store flow is broken #845
Comments
Can reproduce this, but at least for me the following worked:
We might want to show the permission granting snackbar not just during first-time setup, but also after "External repository" has been checked. |
Guess I'm gonna make this a dialog now...
I thought we did, I'll check. |
When I selected the option to use an "External repository" I did get asked to grant permissions for Password Store to have the needed permissions to access the directory but that didn't change anything. I did finally get Password Store to see my passwords from the set directory but I had to force kill Password Store and relaunch it with the "External repository" options still set which is not very convenient IMO. |
I think I now have a general idea of why this occurs so a fix should not be difficult to land over the weekend. Once #776 is merged I will take a stab at this. |
I followed these steps too, but pressing the 'Refresh list' menu option did not prompt me to clone my repository first. I did however find a separate bug with the swipe refresh view that I've resolved. |
Here's what I did:
I'm also not sure how it would ever start a git operation, because the code only resets the navigation state persisted in the viewmodel. |
Ahh I did not do steps 2 and 3 from your list which is way the 'Refresh List' option may not have worked for me. Essentually what I did was the following
|
I must have misread then, I assumed the problem was that switching between the two types.
Now this part I don't necessarily understand. Did you not get this screen upon launching the app?
When I selected a directory, I was returned to the settings page. Then I pressed back, and was taken to the screen I showed above, with the Snackbar asking for storage permission. Granting that immediately showed my passwords. |
I don't recall seeing that screen, although I won't rule out user error as it may have shown and I did something to some how skip it. |
That's very odd... Can you please reinstall the app and make a screen recording of yourself navigating through? I want to see what exactly is the app presenting you so I can know what to fix. Thanks in advance! |
I'd like to add my 2¢ to this issue: I am also experiencing this issue. I tried removing and reinstalling the application without much success. I am asked to choose a directory (which I do, it's on the SD card) and I grant the access to this directory. But this information is not stored in the parameters which results in the Configuration wizard being relaunch again. I still haven't found how to get access to my password files. If I try too often to select the directory, then Password Store crashes. The main difference is the OS I use which is LineageOS v17.1 |
What device are you using? That'd help me filter out the crash from Google Play logs. Edit: never mind, Play Store logs are absolutely worthless :/ If you are able to get a log yourself I'd be eternally grateful. |
* Harsh Shandilya [juin 27, 2020 12:56]:
> I'd like to add my 2¢ to this issue:
>
> I am also experiencing this issue. I tried removing and reinstalling the application without much success.
> I did try to configure from the "Parameters" button or from the
> Installation / Configuration wizard that pop up the first time you
> start the application.
>
> I am asked to choose a directory (which I do, it's on the SD card)
> and I grant the access to this directory. But this information is
> not stored in the parameters which results in the Configuration
> wizard being relaunch again. I still haven't found how to get
> access to my password files. If I try too often to select the
> directory, then Password Store crashes.
>
> The main difference is the OS I use which is LineageOS v17.1
What device are you using? That'd help me filter out the crash from Google Play logs.
Oh I totally forgot that piece of information, sorry about that.
It's a Galaxy A3 2016.
But I did not install the Google Apps (I installed through F-Droid) so
my crash is probably not reported. I don't know how I can send the
crash dump but if you point me to some documentation I'll try to help
:).
--
(°> Nicolas Évrard
( ) Liège
`¯
|
There's some reading involved but it should be sufficiently straightforward to get through. You'll need the SDK tools from here, then clone this repository and run |
* Harsh Shandilya [juin 28, 2020 10:17]:
> * Harsh Shandilya [juin 27, 2020 12:56]:
> > I'd like to add my 2¢ to this issue: > > I am also experiencing
> > this issue. I tried removing and reinstalling the application
> > without much success. > I did try to configure from the
> > "Parameters" button or from the > Installation / Configuration
> > wizard that pop up the first time you > start the application. >
> > > I am asked to choose a directory (which I do, it's on the SD
> > > card) > and I grant the access to this directory. But this
> > > information is > not stored in the parameters which results in
> > > the Configuration > wizard being relaunch again. I still
> > > haven't found how to get > access to my password files. If I
> > > try too often to select the > directory, then Password Store
> > > crashes. > > The main difference is the OS I use which is
> > > LineageOS v17.1 What device are you using? That'd help me
> > > filter out the crash from Google Play logs.
> Oh I totally forgot that piece of information, sorry about that.
> It's a Galaxy A3 2016. But I did not install the Google Apps (I
> installed through F-Droid) so my crash is probably not reported. I
> don't know how I can send the crash dump but if you point me to
> some documentation I'll try to help :).
There's some reading involved but it should be sufficiently
straightforward to get through. You'll need the SDK tools from
[here](https://developer.android.com/studio/command-line#tools-sdk),
then clone [this](https://github.com/JakeWharton/pidcat) repository
and run `python pidcat.py dev.msfjarvis.aps` from the directory
after connecting your phone. Then get Password Store to crash and
hopefully you'll see a stacktrace on your computer. Paste that on
[any](https://bin.msfjarvis.dev) [one](https://del.dog)
[of](https://hastebin.com) the various pastebin-style sites and send
the link to it here. Thanks for the initiative!
Thanks for the info but there has been an update of Password Store and
now it does not crash anymore. The location is store in the parameters
but I am still stuck on the configuration screen whenever I launch the
application.
--
(°> Nicolas Évrard
( ) Liège
`¯
|
Can I see a screenshot of the screen you're stuck on? |
And what happens when you select 'Use local directory' (first button)? |
* Harsh Shandilya [juillet 3, 2020 10:53]:
And what happens when you select 'Use local directory' (first button)?
I have to choose the location between "SD Card" or "Hidden
(prefered)".
I choose "SD Card", it says that a directory has already been selected
and ask me if I want to use it or modify it.
If I choose "Use it" I am back at that screen.
If I choose "Modify it", I go to the parameters screen, a popup
appears telling me to choose a directory once I pushed on OK, I am in
the file chooser where I choose the right directory then press on
"Grant access to 'passwords'". A popup appears and I grant the
access and then I am back in the parameters screen.
Once I exit this screen I am back to the screen of the screenshot I
posted.
If I close Password Store and launch it again then I am back at the
screen of the screenshot.
I can access my passwords through OpenKeyChain so I can use my phone
but it's an annoyance.
(And thank you for your help by the way :D).
…--
(°> Nicolas Évrard
( ) Liège
`¯
|
That doesn't seem to make much sense :/ |
* Harsh Shandilya [juillet 3, 2020 11:35]:
That doesn't seem to make much sense :/
:(
What version of Password Store are you on?
1.9.0 from f-droid
--
(°> Nicolas Évrard
( ) Liège
`¯
|
I just tested this on the latest version and everything works correctly. Please file a new issue if there's any other problems. |
* Harsh Shandilya [août 20, 2020 11:00]:
I just tested this on the latest version and everything works
correctly. Please file a new issue if there's any other problems.
Which version is that? I still have the issue with version 1.9.2
(fetched from F-Droid).
--
(°> Nicolas Évrard
( ) Liège
`¯
|
v1.11.0. F-Droid's incompetence is breaking our builds as usual so you'll have to wait until they sort their stuff out. |
* Harsh Shandilya [août 20, 2020 11:33]:
> Which version is that? I still have the issue with version 1.9.2 (fetched from F-Droid).
v1.11.0. F-Droid's incompetence is breaking our builds as usual so you'll have to wait until they sort their stuff out.
FYI F-Droid's has updated PasswordStore version to 1.11.3
The issue is still there.
--
(°> Nicolas Évrard
( ) Liège
`¯
|
Like I said, file a new issue. |
@msfjarvis I've faced this bug when working on the new onboarding flow. We were not finishing the onboarding activity. It can be easily resolved by opening the app again ig. This is also fixed in the new onboarding flow. |
Cool, @nicoe you can confirm this with the snapshot builds linked in the README. And file an issue if it's not resolved for you still. |
Describe the bug
In the legacy version of password store it was possible to setup the app so that it could use a password store that was not a Git repo. For example I use SyncThing to sync my password store across all my devices, and I could point the legacy app to that and tell it to not use Git.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
For pass to use the selected directory and read the already stored password list without the need of a Git repo like how it worked with version 1.3.3
Device information (please complete the following information):
The text was updated successfully, but these errors were encountered: