Summary: | Downloading values from yahoo fails HTTP Error 401: Unauthorized | ||
---|---|---|---|
Product: | [Applications] skrooge | Reporter: | Christoph Vogtländer <kde> |
Component: | general | Assignee: | Stephane MANKOWSKI <stephane> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | archideb |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 25.1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/office/skrooge/-/commit/1d8da82a4ba6c4d59ee24785e261d232cbf1edbc | Version Fixed In: | |
Sentry Crash Report: |
Description
Christoph Vogtländer
2024-10-03 08:43:12 UTC
Hi, Yahoo doesn't allow anymore to download. I removed this source and added a new one from boursorama. See https://invent.kde.org/office/skrooge/-/commit/5758d908b5918401a0e75b17b1d23253fb12272a So, this ticket is closed. *** Bug 495425 has been marked as a duplicate of this bug. *** Hello, i have problem with plugin boursorama: /usr/share/skrooge/skrooge-boursorama.py IRE.MI Traceback (most recent call last): File "/usr/share/skrooge/skrooge-boursorama.py", line 138, in <module> from_date = date.fromisoformat(sys.argv[2]) ~~~~~~~~^^^ With a good code and date and duration, this is working: /usr/share/skrooge/skrooge-boursorama.py AIRBUS 2024-10-22 1d Hello, this is error: /usr/share/skrooge/skrooge-boursorama.py AIRBUS 2024-10-22 1d date,price Traceback (most recent call last): File "/usr/share/skrooge/skrooge-boursorama.py", line 143, in <module> dump_to_csv(symbol, results, sys.stdout) File "/usr/share/skrooge/skrooge-boursorama.py", line 132, in dump_to_csv for value in ticker_values: ^^^^^^^^^^^^^ File "/usr/share/skrooge/skrooge-boursorama.py", line 116, in download_history earliest_date = yield from parse_one_page(soup, start_date) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/skrooge/skrooge-boursorama.py", line 100, in parse_one_page with override_locale(locale.LC_NUMERIC, "fr_FR.UTF-8"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/usr/share/skrooge/skrooge-boursorama.py", line 71, in override_locale locale.setlocale(category, locale_string) File "/usr/lib/python3.12/locale.py", line 615, in setlocale return _setlocale(category, locale) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ locale.Error: unsupported locale setting Git commit 1d8da82a4ba6c4d59ee24785e261d232cbf1edbc by Stephane MANKOWSKI. Committed on 29/10/2024 at 22:31. Pushed by smankowski into branch 'master'. Downloading values from yahoo fails HTTP Error 401: Unauthorized M +1 -0 CHANGELOG M +7 -16 skgbankmodeler/skrooge-boursorama.py https://invent.kde.org/office/skrooge/-/commit/1d8da82a4ba6c4d59ee24785e261d232cbf1edbc (In reply to Stephane MANKOWSKI from comment #6) > Git commit 1d8da82a4ba6c4d59ee24785e261d232cbf1edbc by Stephane MANKOWSKI. > Committed on 29/10/2024 at 22:31. > Pushed by smankowski into branch 'master'. > > Downloading values from yahoo fails HTTP Error 401: Unauthorized > > M +1 -0 CHANGELOG > M +7 -16 skgbankmodeler/skrooge-boursorama.py > > https://invent.kde.org/office/skrooge/-/commit/ > 1d8da82a4ba6c4d59ee24785e261d232cbf1edbc Good job! The plugin now works correctly both on the command line and within Skrooge. Thank you for your kind availability. |