tannercollin / standardnotes-fs

Mount your Standard Notes as a filesystem.
GNU General Public License v3.0
148 stars 12 forks source link

pip: No matching distribution found for standardnotes-fs #6

Closed ghost closed 6 years ago

ghost commented 6 years ago

Is standardnotes-fs gone from pip?

$ pip install standardnotes-fs Collecting standardnotes-fs Could not find a version that satisfies the requirement standardnotes-fs (from versions: ) No matching distribution found for standardnotes-fs

$ python --version Python 2.7.15

macOS 10.13.15

tannercollin commented 6 years ago

Can you try with pip3? I need to update the docs to make it more clear how to install.

ghost commented 6 years ago

Thanks! That worked.

Now it lets me run the program, but despite properly entering my email and password, it says, "Invalid email or password."

--- Matt

tannercollin commented 6 years ago

Hmm can you try to log into this account instead:

standardnotes-fs@domain.com testaccount

ghost commented 6 years ago

$ snfs ~/notes Please enter your Standard Notes username: standardnotes-fs@domain.com Please enter your password (hidden): Traceback (most recent call last): File "/usr/local/bin/snfs", line 11, in sys.exit(main()) File "/usr/local/lib/python3.6/site-packages/standardnotes_fs/standardnotes_fs.py", line 143, in main keys = sn_api.gen_keys(password) File "/usr/local/lib/python3.6/site-packages/standardnotes_fs/api.py", line 38, in gen_keys password, pw_info['pw_salt'], pw_info['pw_cost']) File "/usr/local/lib/python3.6/site-packages/standardnotes_fs/crypt.py", line 24, in pure_generate_password_and_key 'sha512', password.encode(), pw_salt.encode(), pw_cost, AttributeError: 'NoneType' object has no attribute 'encode'

tannercollin commented 6 years ago

Ohh sorry, the PyPi version doesn't have support for 003 type accounts yet.

Can you install the latest version with: pip3 install git+https://github.com/tannercollin/standardnotes-fs

And try logging into your normal account?

I plan to deploy to PyPi once the recent changes have been tested.

ghost commented 6 years ago

I still get the same error.

That's okay. I was just wanting to play around with it, anyway.

I can look again after your next deploy.

Thanks!

tannercollin commented 6 years ago

Could you try the test account? (If you don't mind - I don't have an OS X machine to test on)

ghost commented 6 years ago

Oh, I had to do --upgrade:

pip3 install git+https://github.com/tannercollin/standardnotes-fs --upgrade

Now it works!

Thanks!

tannercollin commented 6 years ago

Welcome dude, please let me know of any other bugs :)