You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear developpers:
As mentioned, InfoZIP fails to compile in Julia 1.8+ versions in Windows.
Your package is very useful for us, thanks in advance for any fix or suggestion.
The text was updated successfully, but these errors were encountered:
Dear Jose....
We faced the same problem.
So we use our own alternative in ModelSelection.jl but it is still under
development.
The package will be ready in a few weeks.
Until Sam update his package, we will be (internally) using something like
this (using ZipFile instead of InfoZIP):
function zip_folder(sourcefolder::AbstractString, destfolder::AbstractString
)
path_separator = Sys.iswindows() ? "\\" : "/"
compress = true # or false, like you wish
zdir = ZipFile.Writer(destfolder)
for (root, dirs, files) in walkdir(sourcefolder)
for file in files
filepath = joinpath(root, file)
f = open(filepath, "r")
content = read(f, String)
close(f)
remdir = sourcefolder * path_separator
zippath = replace(filepath, remdir => "")
zf = ZipFile.addfile(zdir, zippath; method=(compress ? ZipFile.Deflate :
ZipFile.Store));
write(zf, content)
end
end
close(zdir)
end
El mié, 22 mar 2023 a las 17:10, José Bayoán Santiago Calderón, PhD (<
***@***.***>) escribió:
--
Demian T. Panigo
https://www.researchgate.net/profile/Demian_Panigo
Lic. en Economía, UNLP,
Master en Cs Sociales, UBA,
Doctor en Economía, EHESS-ENS (Paris)
Investigador Independiente del CONICET
Docente investigador de la UNM, la UNQ, la UNDAV y la UNLP.
Dear developpers:
As mentioned, InfoZIP fails to compile in Julia 1.8+ versions in Windows.
Your package is very useful for us, thanks in advance for any fix or suggestion.
The text was updated successfully, but these errors were encountered: