Project

General

Profile

Fehler #422

DATEV-Export / GoBD-Export mit Archive::ZIP unter ubuntu 20.04 LTS buggy

Added by Jan Büren over 4 years ago.

Status:
Neu
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/19/2020
Due date:
% Done:

0%

Estimated time:

Description

Der Export kann kein gültiges ZIP-Archiv mehr erstellen und liefert die nichtssagende Systemmeldung:

Can't use string ("error writing zip file at /var/w"...) as an ARRAY ref while "strict refs" in use at /var/www/kivitendo-erp/SL/Controller/GoBD.pm line 52.

Bzw. wenn man den DATEV-Export straced:

@
1513 openat(AT_FDCWD, "/var/www/kivitendo-erp/users/kivitendo-tmp-1584597562-164332-1513", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 6

1513 ioctl(6, TCGETS, 0x7fff1423a250) = -1 ENOTTY (Inappropriate ioctl for device)

1513 lseek(6, 0, SEEK_CUR) = 0

1513 fstat(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0

1513 brk(0x55761d57f000) = 0x55761d57f000

1513 openat(AT_FDCWD, "EXTF_DATEV_kivitendo_translit2020-02-01-2020-02-29.csv", O_RDONLY|O_CLOEXEC) = 7

1513 ioctl(7, TCGETS, 0x7fff1423a250) = -1 ENOTTY (Inappropriate ioctl for device)@

Mit

use IO::Compress::Zip qw(zip $ZipError);

funktioniert es.

Also available in: Atom PDF