kresusapp issueshttps://framagit.org/groups/kresusapp/-/issues2022-06-14T09:03:39Zhttps://framagit.org/kresusapp/kresus/-/issues/1170Push v0.18.0 docker tag to docker repo2022-06-14T09:03:39ZBenjamin BouvierPush v0.18.0 docker tag to docker repohttps://framagit.org/kresusapp/kresus/-/issues/1169Current month ongoing shows next month2022-06-14T07:17:10ZNicolas Frandeboeufmail@nicofrand.euCurrent month ongoing shows next monthOn the 31st may Kresus shows an ongoing for current month for a value of 10th June.On the 31st may Kresus shows an ongoing for current month for a value of 10th June.v0.18.1https://framagit.org/kresusapp/kresus/-/issues/1168Docker image : python3-pdfminer dependency is missing ?2022-06-01T21:44:41ZOlivier GalyDocker image : python3-pdfminer dependency is missing ?# Bug report
I have an error for La Banque Postal account.
I use the nightly docker image. I think the pdfminer dependency is missing in the docker build.
Woob's version I am using is: 3.1
Kresus's version I am using is: 0.18.0
Dock...# Bug report
I have an error for La Banque Postal account.
I use the nightly docker image. I think the pdfminer dependency is missing in the docker build.
Woob's version I am using is: 3.1
Kresus's version I am using is: 0.18.0
Docker image : bnjbvr/kresus-nightly:prod
Server logs (if apply):
```
[2022-05-31T03:52:32.606] [ERROR] providers/woob - Got error while running command "accounts": Unknown error: Please install python3-pdfminer to parse PDF.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pdfminer/image.py", line 8, in <module>
from typing import Literal
ImportError: cannot import name 'Literal' from 'typing' (/usr/lib/python3.7/typing.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/woob/woob/tools/pdf.py", line 527, in extract_text
from pdfminer.converter import TextConverter
File "/usr/local/lib/python3.7/dist-packages/pdfminer/converter.py", line 20, in <module>
from .image import ImageWriter
File "/usr/local/lib/python3.7/dist-packages/pdfminer/image.py", line 10, in <module>
from typing_extensions import Literal # type: ignore[misc]
ModuleNotFoundError: No module named 'typing_extensions'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/app/build/server/providers/woob/py/main.py", line 704, in fetch
results['values'] = self.get_accounts()
File "/home/user/app/build/server/providers/woob/py/main.py", line 554, in get_accounts
for account in list(self.backend.iter_accounts()):
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/module.py", line 81, in iter_accounts
return self.browser.get_accounts_list()
File "/woob/woob/browser/browsers.py", line 998, in inner
return func(browser, *args, **kwargs)
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/browser.py", line 578, in get_accounts_list
for account in self.page.iter_accounts(name=owner_name):
File "/woob/woob/browser/elements.py", line 232, in __iter__
for obj in item:
File "/woob/woob/browser/elements.py", line 377, in __iter__
self.handle_attr(attr, getattr(self, 'obj_%s' % attr))
File "/woob/woob/browser/elements.py", line 394, in handle_attr
value = self.use_selector(func, key=key)
File "/woob/woob/browser/elements.py", line 147, in use_selector
value = func()
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/accountlist.py", line 202, in obj_iban
return response.page.get_iban()
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/accountlist.py", line 610, in get_iban
content = extract_text(self.data)
File "/woob/woob/tools/pdf.py", line 530, in extract_text
raise ImportError('Please install python3-pdfminer to parse PDF')
ImportError: Please install python3-pdfminer to parse PDF
```https://framagit.org/kresusapp/kresus/-/issues/1167Migration incomplete for bnporc -> bnp due to Account model redefining vendor...2022-06-14T07:17:10ZpledouMigration incomplete for bnporc -> bnp due to Account model redefining vendorId (already defined in Access)# Rapport de bug
Merci de compléter tous les champs suivants, dans la mesure du possible, et de
décrire le plus précisément possible votre souci.
Version de Weboob que j'utilise : 3.1
Version de Kresus que j'utilise : 0.18.0
Les étap...# Rapport de bug
Merci de compléter tous les champs suivants, dans la mesure du possible, et de
décrire le plus précisément possible votre souci.
Version de Weboob que j'utilise : 3.1
Version de Kresus que j'utilise : 0.18.0
Les étapes à faire pour reproduire le bug : Lancer la synchronisation de mon compte existant depuis plusieurs versions de kresus (1 an)
Ce que je m'attends à voir : fin d'execution sans erreur, lignes importées et solde à jour
Ce que j'observe en pratique : nouvelles lignes importées mais solde non mis à jour.
Mes logs côté client (s'ils s'appliquent) : Non applicable
Mes logs côté serveur (s'ils s'appliquent)
```
[2022-05-29T20:29:40.173] [INFO] providers/woob - Saving session for access from bank bnp with login *******680
[2022-05-29T20:29:40.191] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-05-29T20:29:40.193] [INFO] accounts-manager - -> 4 bank account(s) found
[2022-05-29T20:29:40.193] [ERROR] helpers - Assertion error: data inconsistency
Error
at panic (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:31:46)
at assert (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:38:9)
at isPerfectMatch (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/diff-accounts.js:10:26)
at /usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/diff-list.js:68:21
at AccountManager.getActualAccountBalances (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:265:50)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async AccountManager.syncTransactions (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:426:29)
at async fetchOperations (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:205:37)
[2022-05-29T20:29:40.194] [ERROR] helpers - when fetching operations: Assertion error: data inconsistency
Error
at panic (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:31:46)
at assert (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:38:9)
at isPerfectMatch (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/diff-accounts.js:10:26)
at /usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/diff-list.js:68:21
at AccountManager.getActualAccountBalances (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:265:50)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async AccountManager.syncTransactions (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:426:29)
at async fetchOperations (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:205:37)
[2022-05-29T20:29:40.194] [INFO] helpers - Error: Assertion error: data inconsistency
Error
at panic (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:31:46)
at assert (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:38:9)
at isPerfectMatch (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/diff-accounts.js:10:26)
at /usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/diff-list.js:68:21
at AccountManager.getActualAccountBalances (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:265:50)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async AccountManager.syncTransactions (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:426:29)
at async fetchOperations (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:205:37)
at panic (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:33:11)
at assert (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:38:9)
at isPerfectMatch (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/diff-accounts.js:10:26)
at /usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/diff-list.js:68:21
at AccountManager.getActualAccountBalances (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:265:50)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async AccountManager.syncTransactions (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:426:29)
at async fetchOperations (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:205:37)
[2022-05-29T20:29:40.199] [ERROR] HTTP - POST /api/accesses/17/fetch/operations - 500 (9861 ms)
```v0.18.1https://framagit.org/kresusapp/kresus/-/issues/1166Change currency for manual accounts (was: Cannot change to dollars)2022-12-21T15:03:15ZSebastian BurlacuChange currency for manual accounts (was: Cannot change to dollars)I cannot change to dollars from Euros. Btw is this a France-friendly application? I'm using this in Canada and none of my banks are on here, plus it just seems built for a different audience that uses Euros... It looks nice, just hard fo...I cannot change to dollars from Euros. Btw is this a France-friendly application? I'm using this in Canada and none of my banks are on here, plus it just seems built for a different audience that uses Euros... It looks nice, just hard for me to figure out how to use it.https://framagit.org/kresusapp/kresus.org/-/issues/70Find an alternative to TOC for the table of contents2022-05-21T12:31:13ZBenjamin BouvierFind an alternative to TOC for the table of contentsIt's buggy now, and not maintained anymore it seems. We run into this error when trying to use it:
```
ERROR Cannot load plugin `toc` log.py:96
cannot import name 'python_2_uni...It's buggy now, and not maintained anymore it seems. We run into this error when trying to use it:
```
ERROR Cannot load plugin `toc` log.py:96
cannot import name 'python_2_unicode_compatible'
from 'pelican.utils' (/usr/local/lib/python3.7/sit
e-packages/pelican/utils.py)
```
We could try to find an alternative instead, or fix it ourselves if we have the energy.https://framagit.org/kresusapp/kresus/-/issues/1165Allow date edition for manual transaction2022-08-02T17:40:48ZNicolas Frandeboeufmail@nicofrand.euAllow date edition for manual transactionWhile planning my expenses and budget I often set the date of the transaction while waiting for the bank to aknowledge it.
If that takes a while the manual transaction is not detected as an ongoing anymore and makes it harder to spot as ...While planning my expenses and budget I often set the date of the transaction while waiting for the bank to aknowledge it.
If that takes a while the manual transaction is not detected as an ongoing anymore and makes it harder to spot as a duplicate.
This does not impact the balance anymore but I like to keep the history clean.
Allowing to edit the date of the transaction (to set it to tomorrow for ex.) would help.v0.19.0https://framagit.org/kresusapp/kresus/-/issues/1164Update typeorm to 0.3.*2023-04-26T21:01:09ZBenjamin BouvierUpdate typeorm to 0.3.*https://github.com/typeorm/typeorm/releases/tag/0.3.0https://github.com/typeorm/typeorm/releases/tag/0.3.0https://framagit.org/kresusapp/kresus/-/issues/1163Docker image is broken?2022-05-17T16:24:37ZBenjamin BouvierDocker image is broken?Seems that `npm` isn't installed by default in the docker image, and we try to use it in the entrypoint. Caught by the demo website not running anymore...Seems that `npm` isn't installed by default in the docker image, and we try to use it in the entrypoint. Caught by the demo website not running anymore...Benjamin BouvierBenjamin Bouvierhttps://framagit.org/kresusapp/kresus/-/issues/1162Unable to install on Raspberry Pi2022-06-19T17:40:50ZfloviolleauUnable to install on Raspberry Pi# Bug report
Thanks for your super project!
I'm trying to install it on a RPI
- Weboob's version I am using is: not yet installed
- Kresus's version I am using is: 0.17.4
- Steps to reproduce: yarn install
- What I expect: be able to ...# Bug report
Thanks for your super project!
I'm trying to install it on a RPI
- Weboob's version I am using is: not yet installed
- Kresus's version I am using is: 0.17.4
- Steps to reproduce: yarn install
- What I expect: be able to install
- What I observe: error on mozjpeg dependency
Middleware:
- Yarn version: 1.22.18
- Node version: 14.19.1
- Platform: linux arm
- Trace:
Error: ENOENT: no such file or directory, lstat '/home/user/projects/kresus/node_modules/mozjpeg/�@@�
@@@@@@�@@@@�'
Do you have any clues?
Do you have full details on how to install the full stack?
Thanks a lot!https://framagit.org/kresusapp/kresus/-/issues/1161Categories: add visual feedback when default categories have been created.2022-05-05T22:06:14ZNicolas Frandeboeufmail@nicofrand.euCategories: add visual feedback when default categories have been created.From #912.From #912.v0.18.0https://framagit.org/kresusapp/kresus/-/issues/1160Add an explanatory text for the charts by currencies, to explain there's no c...2022-05-11T10:59:37ZNicolas Frandeboeufmail@nicofrand.euAdd an explanatory text for the charts by currencies, to explain there's no conversion going onFrom #912.From #912.v0.18.0https://framagit.org/kresusapp/kresus/-/issues/1159[UX] Better way to add and see auto-categorization rules on report screen2022-06-21T10:45:57ZA-Nicoladie[UX] Better way to add and see auto-categorization rules on report screenHi,
On importing for the first time, it's a pain to add rules for the categories. (_or maybe I missed something again..._ 🙄)
1. Copy the label on the report screen
2. Open the menu
3. Select auto-categorization
4. Check if rule doesn'...Hi,
On importing for the first time, it's a pain to add rules for the categories. (_or maybe I missed something again..._ 🙄)
1. Copy the label on the report screen
2. Open the menu
3. Select auto-categorization
4. Check if rule doesn't exist 😓
5. Click on the 'Add' button
6. Paste the label
7. Select the category
8. Validate
It could be nice if on each line we could have an action menu with "Create a rule for this line" which sends the user to the rule creation screen, with label auto filled.
Also, an icon on each line, to see if the line is selected by a rule could be nice too.Benjamin BouvierBenjamin Bouvierhttps://framagit.org/kresusapp/kresus/-/issues/1158[UX] Add hint on auto-categorization create/edit rule screen2023-09-26T06:43:29ZA-Nicoladie[UX] Add hint on auto-categorization create/edit rule screenAfter a few hours of use, I suddenly realized that I could create a category directly in the auto-category create screen... 😅
A little hint text could be nice for people (like me) who aren't paying attention ("_Select a category or add...After a few hours of use, I suddenly realized that I could create a category directly in the auto-category create screen... 😅
A little hint text could be nice for people (like me) who aren't paying attention ("_Select a category or add one by writing its name_")
Thanks!https://framagit.org/kresusapp/kresus/-/issues/1157Balance charts are off by 1 day2022-05-17T16:24:36ZNicolas Frandeboeufmail@nicofrand.euBalance charts are off by 1 dayExample:
Today (or yesterday, it does not matter) my balance has a value of 500 and the last 2 transactions were from today, of a value of 10 and 20 €.
The balance chart will display a value for today of 500 - 30 = 470 instead of 500.Example:
Today (or yesterday, it does not matter) my balance has a value of 500 and the last 2 transactions were from today, of a value of 10 and 20 €.
The balance chart will display a value for today of 500 - 30 = 470 instead of 500.Nicolas Frandeboeufmail@nicofrand.euNicolas Frandeboeufmail@nicofrand.euhttps://framagit.org/kresusapp/kresus/-/issues/1156Docker images should use yarn instead of npm2022-05-17T16:24:37ZNicolas Frandeboeufmail@nicofrand.euDocker images should use yarn instead of npmThat would avoid issues with yarn.lock not used and would be consistent with the documentation.That would avoid issues with yarn.lock not used and would be consistent with the documentation.Benjamin BouvierBenjamin Bouvierhttps://framagit.org/kresusapp/kresus/-/issues/1155Manual transactions fetch should update the real balance too2022-05-17T16:24:36ZNicolas Frandeboeufmail@nicofrand.euManual transactions fetch should update the real balance toohttps://framagit.org/kresusapp/kresus/-/issues/1154Issues following !14632022-04-05T22:01:48ZNicolas Frandeboeufmail@nicofrand.euIssues following !1463- [x] Fetching transactions should update the real balance too if there are new transactions (#1155)
- [ ] Not really a bug per se: I have disabled accesses (I moved from the bank) for which I created a last transaction to set the balanc...- [x] Fetching transactions should update the real balance too if there are new transactions (#1155)
- [ ] Not really a bug per se: I have disabled accesses (I moved from the bank) for which I created a last transaction to set the balance (computed) to 0. Now it only returns the sum of the transactions (without the offset). Maybe for disabled accesses we should have a migration that sets the balance to the computed balance (with offset) ?
- [x] Accounts resync does not update the real balance (was: I have one account (without transactions, it's a loan) for which the `balance` is never updated (stays at `null`)). See !1465https://framagit.org/kresusapp/kresus/-/issues/1153Client display not up to date after balance sync'ing2022-02-09T21:33:24ZBenjamin BouvierClient display not up to date after balance sync'ingSTR
===
- sync balance
- observe balance not being updated in the client (?)STR
===
- sync balance
- observe balance not being updated in the client (?)https://framagit.org/kresusapp/kresus/-/issues/1152Calculer les totaux des comptes côté back-end2022-02-14T19:19:30ZLuc DidryCalculer les totaux des comptes côté back-endActuellement, les totaux des comptes sont fait côté front-end. La page appelle `/api/all` qui renvoie toutes les informations de tous les comptes, les transactions, les paramètres, etc, puis prend la balance initiale de chaque compte et ...Actuellement, les totaux des comptes sont fait côté front-end. La page appelle `/api/all` qui renvoie toutes les informations de tous les comptes, les transactions, les paramètres, etc, puis prend la balance initiale de chaque compte et joue toutes les transactions pour aboutir au total de chaque compte.
Bien que cela soit pour l’instant très rapide, le fichier json renvoyé par `/api/all` ne peut que grossir et cela finira par poser problème. Il fait, chez moi, déjà 2Mio.
Proposition : déporter ces calculs côté back-end et ajouter des points d’API pour récupérer les transactions de façon paginée ainsi que pour la recherche.