Coder Social home page Coder Social logo

zef install error about archive-simplezip HOT 3 OPEN

hutou avatar hutou commented on July 20, 2024
zef install error

from archive-simplezip.

Comments (3)

pmqs avatar pmqs commented on July 20, 2024

Hmm, just kicked off the GitHub workflow to test with the latest Raku it has available (2024.05) and it ran fine -- see https://github.com/pmqs/Archive-SimpleZip/actions/runs/9522975460 for the results.

Also my Linux dev box is running an older version of Raku, namely 2023.08, and again it worked fine.

What OS are you running? and what version of Raku?

from archive-simplezip.

hutou avatar hutou commented on July 20, 2024

My OS is Linux

$ uname -a
Linux xps15al 6.9.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000 x86_64 GNU/Linux

and Raku version is:

$ raku -v
Welcome to Rakudo™ v2024.05.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2024.05.

I also read this:

warning this module relies on unspec'd rakudo internals and can (and has and will) break without warning.

on https://github.com/LLFourn/p6-CompUnit-Util !!!

So I re-ran zef with the --force-test option:

$ zef install Archive::SimpleZip --force-test
===> Searching for: Archive::SimpleZip
===> Searching for missing dependencies: CompUnit::Util, Compress::Zlib, Compress::Zlib::Raw
===> Staging CompUnit::Util:ver<0.6.0>
===> Staging [OK] for CompUnit::Util:ver<0.6.0>
===> Staging Compress::Zlib::Raw:ver<1.0.1>
===> Staging [OK] for Compress::Zlib::Raw:ver<1.0.1>
===> Staging Compress::Zlib:ver<1.1.0>
===> Staging [OK] for Compress::Zlib:ver<1.1.0>
===> Staging Archive::SimpleZip:ver<0.8.0>:auth<zef:pmqs>
===> Staging [OK] for Archive::SimpleZip:ver<0.8.0>:auth<zef:pmqs>
===> Testing: CompUnit::Util:ver<0.6.0>
[CompUnit::Util] # Failed test 'all-loaded finds the correct units'
[CompUnit::Util] # at t/01-utils.t line 14
[CompUnit::Util] # You failed 1 test of 17
===> Testing [FAIL]: CompUnit::Util:ver<0.6.0>
[CompUnit::Util] Failed to get passing tests, but continuing with --force-test
===> Testing: Compress::Zlib::Raw:ver<1.0.1>
===> Testing [OK] for Compress::Zlib::Raw:ver<1.0.1>
===> Testing: Compress::Zlib:ver<1.1.0>
===> Testing [OK] for Compress::Zlib:ver<1.1.0>
===> Testing: Archive::SimpleZip:ver<0.8.0>:auth<zef:pmqs>
===> Testing [OK] for Archive::SimpleZip:ver<0.8.0>:auth<zef:pmqs>
===> Installing: CompUnit::Util:ver<0.6.0>
===> Installing: Compress::Zlib::Raw:ver<1.0.1>
===> Installing: Compress::Zlib:ver<1.1.0>
===> Installing: Archive::SimpleZip:ver<0.8.0>:auth<zef:pmqs>

Then I tried using the library on an existing zip file, but could not find how to display archive contents !
The following simple code does compile.

use v6;
use Archive::SimpleZip;

my $z = SimpleZip.new: "test.zip";
say $z.^methods

(I discovered Raku and its ecosystem only a few days ago!)

from archive-simplezip.

pmqs avatar pmqs commented on July 20, 2024

Good to hear you got it working and thanks for the note about CompUnit::Util.

Regarding using this module to read zip file, you are out of luck. This module can only write zip file.

Shout if you still want to use my module and are still having problems.

from archive-simplezip.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.