santosderek / Imgur-To-Folder

Download Imgur albums and images to desired folder
Other
80 stars 9 forks source link

After install, does not ask for API Client_ID or Client_Secret #22

Open jyhash opened 1 year ago

jyhash commented 1 year ago

After installing the application, the tutorial docs say that I should be asked to input my Client_ID and Client_Secret, but after install I get nothing asking for it. Here's the output after doing the install pip . command:

Processing /Users/mediacenter/Imgur-To-Folder
  Preparing metadata (setup.py) ... done
Requirement already satisfied: requests in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from ImgurToFolder==0.11.0) (2.28.1)
Collecting pytest-asyncio (from ImgurToFolder==0.11.0)
  Obtaining dependency information for pytest-asyncio from https://files.pythonhosted.org/packages/7d/2c/2e5ab8708667972ee31b88bb6fed680ed5ba92dfc2db28e07d0d68d8b3b1/pytest_asyncio-0.21.1-py3-none-any.whl.metadata
  Downloading pytest_asyncio-0.21.1-py3-none-any.whl.metadata (4.0 kB)
Collecting pytest>=7.0.0 (from pytest-asyncio->ImgurToFolder==0.11.0)
  Obtaining dependency information for pytest>=7.0.0 from https://files.pythonhosted.org/packages/78/af/1a79db43409ea8569a8a91d0a87db4445c7de4cefcf6141e9a5c77dda2d6/pytest-7.4.1-py3-none-any.whl.metadata
  Downloading pytest-7.4.1-py3-none-any.whl.metadata (7.9 kB)
Requirement already satisfied: charset-normalizer<3,>=2 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from requests->ImgurToFolder==0.11.0) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from requests->ImgurToFolder==0.11.0) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from requests->ImgurToFolder==0.11.0) (1.26.12)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from requests->ImgurToFolder==0.11.0) (2020.12.5)
Collecting iniconfig (from pytest>=7.0.0->pytest-asyncio->ImgurToFolder==0.11.0)
  Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting packaging (from pytest>=7.0.0->pytest-asyncio->ImgurToFolder==0.11.0)
  Downloading packaging-23.1-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 1.3 MB/s eta 0:00:00
Collecting pluggy<2.0,>=0.12 (from pytest>=7.0.0->pytest-asyncio->ImgurToFolder==0.11.0)
  Obtaining dependency information for pluggy<2.0,>=0.12 from https://files.pythonhosted.org/packages/05/b8/42ed91898d4784546c5f06c60506400548db3f7a4b3fb441cba4e5c17952/pluggy-1.3.0-py3-none-any.whl.metadata
  Downloading pluggy-1.3.0-py3-none-any.whl.metadata (4.3 kB)
Collecting exceptiongroup>=1.0.0rc8 (from pytest>=7.0.0->pytest-asyncio->ImgurToFolder==0.11.0)
  Obtaining dependency information for exceptiongroup>=1.0.0rc8 from https://files.pythonhosted.org/packages/ad/83/b71e58666f156a39fb29417e4c8ca4bc7400c0dd4ed9e8842ab54dc8c344/exceptiongroup-1.1.3-py3-none-any.whl.metadata
  Downloading exceptiongroup-1.1.3-py3-none-any.whl.metadata (6.1 kB)
Collecting tomli>=1.0.0 (from pytest>=7.0.0->pytest-asyncio->ImgurToFolder==0.11.0)
  Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Downloading pytest_asyncio-0.21.1-py3-none-any.whl (13 kB)
Downloading pytest-7.4.1-py3-none-any.whl (324 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 324.2/324.2 kB 6.0 MB/s eta 0:00:00
Downloading exceptiongroup-1.1.3-py3-none-any.whl (14 kB)
Downloading pluggy-1.3.0-py3-none-any.whl (18 kB)
Building wheels for collected packages: ImgurToFolder
  Building wheel for ImgurToFolder (setup.py) ... done
  Created wheel for ImgurToFolder: filename=ImgurToFolder-0.11.0-py3-none-any.whl size=12861 sha256=f169e2890fc2326b53ade821748655110de7f837a455bd09dddd11c28730274f
  Stored in directory: /Users/mediacenter/Library/Caches/pip/wheels/17/43/33/6d4ee2b7a5c3d166837ba561cea269332279d368a7a46501f2
Successfully built ImgurToFolder
Installing collected packages: tomli, pluggy, packaging, iniconfig, exceptiongroup, pytest, pytest-asyncio, ImgurToFolder
Successfully installed ImgurToFolder-0.11.0 exceptiongroup-1.1.3 iniconfig-2.0.0 packaging-23.1 pluggy-1.3.0 pytest-7.4.1 pytest-asyncio-0.21.1 tomli-2.0.1

It then dropped me back to a blank prompt.

At no point does it ask for a Client_ID or Secret, and I don't know how to trigger it to enter it in manually.

I'm trying to install on a Mac using Ventura 13.5.1. Any suggestions for how to get it working with the client secrets?

Thanks!

santosderek commented 1 year ago

@jyhash

Hello! 👋 It looks like I wrote the documentation in a confusing way. It was stating that during installation the initial setup would kick up. This was a mistake on my part. Initial setup would kick off when running itf the first time.

It's based off the config pulled from ~/.config/imgurToFolder/config.json; so after doing setup the first time, the config will be saved in this location.

I've updated the README in #23.

Sorry for the confusion!