Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kassenbuch.py export macht Festplatte voll #170

Closed
qugebert opened this issue Jun 6, 2023 · 1 comment
Closed

kassenbuch.py export macht Festplatte voll #170

qugebert opened this issue Jun 6, 2023 · 1 comment
Assignees

Comments

@qugebert
Copy link

qugebert commented Jun 6, 2023

Ich reiche noch kurz eine etwas vernünftigere Beschreibung nach:

Es war aufgefallen, dass die "Kassenbuch Mai" - Mail ausgeblieben ist.
Nachdem ich heute separat die https://github.com/fau-fablab/FabLabKasse-interna/blob/master/mail-monthly.sh aufgerufen hatte kam sinngemäß eine Fehlermeldung, dass die Festplatte voll sei.

Nach kurzer Suche stellte sich heraus, dass die beiden temporären Dateien, die von o.g. Script erzeugt wurden wohl 63GB und 20GB groß sind.

Auch wird die --from Angabe wohl ignoriert, also der gesamt Zeitraum wurde exportiert, aber selbst der gesamte Zeitraum dürfte nicht ansatzweise so groß werden.

@phdoerfler phdoerfler self-assigned this Jun 6, 2023
phdoerfler added a commit that referenced this issue Jun 19, 2023
Aside from the issue with --from, the export should be fixed now.
The previous DIY CSV export produced binary 0s:
-> replaced with python csv writer
Some Decimal values were exported as "2E+1" instead of "20":
-> used {0:f} formatting instead of str()
Fixed a possible bug where the same might have happend when writing to
sqlite.
@mgmax
Copy link
Member

mgmax commented Oct 7, 2023

wurde mittlerweile behoben

@mgmax mgmax closed this as completed Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants