Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id:
93659
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
chris.good [...] ozemail.com.au
Cc:
CHORNY [...] cpan.org
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)

Attachments
20140320_Test-Perl-Critic_bug93659.txt smime.p7s Show all



Subject: Bizarre copy of ARRAY in list assignment at C:\strawberry\perl\lib/Carp.pm line 228
Date: Sun, 9 Mar 2014 08:48:11 +1100
To: <bug-Perl-Dist-Strawberry@rt.cpan.org>
From: "Chris Good" <chris.good@ozemail.com.au>

Hi,

 

Windows 7 64-bit Strawberry Perl 5.18.2.1 64 bit

 

I’m a GnuCash user and I’ve been having many problems getting Finance::Quote to upgrade from 1.20 to 1.27.

 

I updated GnuCash from 2.6.1 to 2.6.2. Strawberry Perl was 5.18.1 at this time.

 

Then I initially tried to use the Gnucash Start, All Programs, GnuCash, Install Online Price Retrieval

which runs "C:\Program Files (x86)\gnucash\bin\install-fq-mods.cmd" :

 

Started 09:25

* Check Perl

* Check Perl version

* Determine which Perl flavour we have found

Access is denied.

(It then continued but eventually failed – sorry I did not keep details of errors, but as I remember, there were many errors about being unable to move files due to  permissions problems). I then tried as administrator but also failed.

 

I found on the GnuCash FAQ, instructions that say you need to uninstall perl before using 'Install Online Price Retrieval',

so I did that and dir C:\Strawberry was automatically removed during the uninstall.

 

I then installed Strawberry Perl 5.18.2.1 64 bit from the .msi at

http://strawberryperl.com/releases.html (no problem with this)

 

Should I be using 64 bit Strawberry Perl?

I know I was previously using ActivePerl 64 bit so I assume that is OK…

 

I’ve tried running ‘cpan install Finance::Quote’ as a normal user and it failed with :

Bizarre copy of ARRAY in list assignment at C:\strawberry\perl\lib/Carp.pm line 228

 

So I retried as administrator – here is the full log :

 

C:\windows\system32>cpan install Finance:Quote

CPAN: CPAN::SQLite loaded ok (v0.203)

Database was generated on Sat, 08 Mar 2014 09:15:11 GMT

 

Running install for module 'Finance::Quote'

Running make for E/EC/ECOCODE/Finance-Quote-1.27.tar.gz

CPAN: Digest::SHA loaded ok (v5.85)

CPAN: Compress::Zlib loaded ok (v2.063)

Checksum for C:\strawberry\cpan\sources\authors\id\E\EC\ECOCODE\Finance-Quote-1.

27.tar.gz ok

CPAN: Archive::Tar loaded ok (v1.96)

CPAN: File::Temp loaded ok (v0.2304)

CPAN: Parse::CPAN::Meta loaded ok (v1.4409)

CPAN: CPAN::Meta loaded ok (v2.133380)

CPAN: Module::CoreList loaded ok (v3.03)

 

  CPAN.pm: Building E/EC/ECOCODE/Finance-Quote-1.27.tar.gz

 

Checking if your kit is complete...

Looks good

Warning: prerequisite Date::Calc 0 not found.

Generating a dmake-style Makefile

Writing Makefile for Finance::Quote

Writing MYMETA.yml and MYMETA.json

---- Unsatisfied dependencies detected during ----

----     ECOCODE/Finance-Quote-1.27.tar.gz    ----

    Test::Perl::Critic [build_requires]

    Test::Kwalitee [build_requires]

    Date::Calc [requires]

Running make test

  Delayed until after prerequisites

Running make install

  Delayed until after prerequisites

Running install for module 'Test::Perl::Critic'

Running make for T/TH/THALJEF/Test-Perl-Critic-1.02.tar.gz

Checksum for C:\strawberry\cpan\sources\authors\id\T\TH\THALJEF\Test-Perl-Critic

-1.02.tar.gz ok

CPAN: Module::Build loaded ok (v0.4203)

 

  CPAN.pm: Building T/TH/THALJEF/Test-Perl-Critic-1.02.tar.gz

 

Checking prerequisites...

  requires:

    !  Perl::Critic is not installed

    !  Perl::Critic::Utils is not installed

    !  Perl::Critic::Violation is not installed

 

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions

of the modules indicated above before proceeding with this installation

 

Created MYMETA.yml and MYMETA.json

Creating new 'Build' script for 'Test-Perl-Critic' version '1.02'

---- Unsatisfied dependencies detected during ----

----   THALJEF/Test-Perl-Critic-1.02.tar.gz   ----

    Perl::Critic::Violation [requires]

    Perl::Critic::Utils [requires]

    Perl::Critic [requires]

Running Build test

  Delayed until after prerequisites

Running Build install

  Delayed until after prerequisites

Running install for module 'Perl::Critic::Violation'

Running make for T/TH/THALJEF/Perl-Critic-1.121.tar.gz

Checksum for C:\strawberry\cpan\sources\authors\id\T\TH\THALJEF\Perl-Critic-1.12

1.tar.gz ok

 

  CPAN.pm: Building T/TH/THALJEF/Perl-Critic-1.121.tar.gz

 

Checking prerequisites...

  requires:

  requires:

    !  B::Keywords is not installed

    !  Config::Tiny is not installed

    !  Email::Address is not installed

    !  Exception::Class is not installed

    !  PPIx::Regexp is not installed

    !  PPIx::Utilities::Node is not installed

    !  PPIx::Utilities::Statement is not installed

    !  Pod::Spell is not installed

    !  Readonly is not installed

    !  String::Format is not installed

  recommends:

    *  Readonly::XS is not installed

 

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions

of the modules indicated above before proceeding with this installation

 

Created MYMETA.yml and MYMETA.json

Creating new 'Build' script for 'Perl-Critic' version '1.121'

 

Versions of optional/unlisted/indirect dependencies:

 

    File::HomeDir = 1.00

    File::Which = 1.09

    Readonly::XS = not installed

    Term::ANSIColor = 4.02

 

---- Unsatisfied dependencies detected during ----

----     THALJEF/Perl-Critic-1.121.tar.gz     ----

    Email::Address [requires]

    Pod::Spell [requires]

    Config::Tiny [requires]

    String::Format [requires]

    PPIx::Utilities::Statement [requires]

    Exception::Class [requires]

    Module::Pluggable [requires]

    PPIx::Regexp [requires]

    B::Keywords [requires]

    Readonly [requires]

    PPIx::Utilities::Node [requires]

Running Build test

  Delayed until after prerequisites

Running Build install

  Delayed until after prerequisites

Running install for module 'Email::Address'

Running make for R/RJ/RJBS/Email-Address-1.901.tar.gz

CPAN: LWP::UserAgent loaded ok (v6.05)

CPAN: Time::HiRes loaded ok (v1.9726)

Fetching with LWP:

http://cpan.strawberryperl.com/authors/id/R/RJ/RJBS/Email-Address-1.901.tar.gz

CPAN: YAML::XS loaded ok (v0.41)

Checksum for C:\strawberry\cpan\sources\authors\id\R\RJ\RJBS\Email-Address-1.901

.tar.gz ok

Bizarre copy of ARRAY in list assignment at C:\strawberry\perl\lib/Carp.pm line

228.

 

 

It seems to be getting this same error when installing different modules, so I’ve reported it here rather than as a Carp bug.

 

I cannot find anything recent on the web that seems relevant about this ‘Bizarre’ error.

I cannot think of anything else to try.

Can some-one please help? Please let me know if you need any more info.

 

Regards, Chris Good

Message body not shown because it is not plain text.

In case of Finance::Quote, you can safely skip tests that depend on Test::Perl::Critic and Test::Kwalitee Is this error repeatable for this module? I see that actual error is in install of Email::Address. Does it appear when you try to install only Email::Address? Note: possibly related to https://rt.perl.org/Ticket/Display.html?id=78186 https://rt.perl.org/Ticket/Display.html?id=78186 https://rt.cpan.org/Ticket/Display.html?id=72467 -- Alexandr Ciornii, http://chorny.net
Subject: RE: [rt.cpan.org #93659] Bizarre copy of ARRAY in list assignment at C:\strawberry\perl\lib/Carp.pm line 228
Date: Fri, 14 Mar 2014 06:08:42 +1100
To: <bug-Perl-Dist-Strawberry@rt.cpan.org>
From: "Chris Good" <chris.good@ozemail.com.au>
Hi Alexandr, Thanks for your suggestions. The error was not repeatable immediately. Yesterday I continued running 'cpan install Finance::Quote' or running 'cpan install' for the last module that failed and it was still aborting with different errors, such as 'No such file or directory', or the Bizarre error, but making progress, until I got to following error which rerunning does not get past. This error recurs immediately but with different directories (only the XXXX parts changing): Couldn't move C:\strawberry\cpan\build\tmp-XXXX\File-ShareDir-ProjectDistDir-1.0 00001\maint-travis-ci to C:\strawberry\cpan\build\File-ShareDir-ProjectDistDir-1 .000001-XXXX\maint-travis-ci: No such file or directory at C:\strawberry\perl\ lib/CPAN/Distribution.pm line 528. Please see attached for the full log. Can you please suggest how I can progress past this? Regards, Chris good

Message body is not shown because sender requested not to inline it.

Message body not shown because it is not plain text.

Do you have antivirus running? If yes, try turning it off. -- Alexandr Ciornii, http://chorny.net
Subject: RE: [rt.cpan.org #93659] Bizarre copy of ARRAY in list assignment at C:\strawberry\perl\lib/Carp.pm line 228
Date: Sat, 15 Mar 2014 10:01:13 +1100
To: <bug-Perl-Dist-Strawberry@rt.cpan.org>
From: "Chris Good" <chris.good@ozemail.com.au>
Hi Alexandr, I turned off McAfee Internet Security Suite and 'cpan install File::ShareDir::ProjectDistDir' worked, Then 'cpan install Finance::Quote' also worked! Get Quotes button was still greyed out in GnuCash, so I ran 'perl gnc-fq-check' which showed that Date::Manip was missing. After installing that (with McAfee back on), Get Quotes is now working. I assume it was McAfee that was causing the access denied and permission errors, and the Bizarre error was just a side issue. There had been a reboot and installation of usual few Windows Updates in the meantime unfortunately. I wish I'd tried it with McAfee still turned on first. I searched the McAfee logs and couldn't find any evidence of McAfee preventing an access but that could just be that I'm not looking in the right place. Thanks very much for all your help. Regards, Chris Good
Show quoted text
> -----Original Message----- > From: Alexandr Ciornii via RT [mailto:bug-Perl-Dist-Strawberry@rt.cpan.org] > Sent: Friday, 14 March 2014 6:26 AM > To: chris.good@ozemail.com.au > Subject: [rt.cpan.org #93659] Bizarre copy of ARRAY in list assignment at > C:\strawberry\perl\lib/Carp.pm line 228 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=93659 > > > Do you have antivirus running? If yes, try turning it off. > > -- > Alexandr Ciornii, http://chorny.net

Message body not shown because it is not plain text.

Subject: RE: [rt.cpan.org #93659] Bizarre copy of ARRAY in list assignment at C:\strawberry\perl\lib/Carp.pm line 228
Date: Sun, 16 Mar 2014 11:03:46 +1100
To: <bug-Perl-Dist-Strawberry@rt.cpan.org>
From: "Chris Good" <chris.good@ozemail.com.au>
Hi Alexandr, I have now tried to update another Win 7 PC running McAfee Internet Security Suite (latest version 12.8.934), and it also failed (this time with ‘No such file or directory’) until I turned off Real-Time Scanning. So now I’m confident the Anti-Virus program is the problem as there was no reboot or Windows Updates in the mix this time. I am surprised that that I had to turn off anti-virus program. While I have seen this recommended many times by software suppliers, this is the first time I remember that I actually had to do it. I’ll try to report this to McAfee. Is this a known problem? I tried searching https://rt.cpan.org/Public for virus & McAfee but didn’t find anything relevant. Regards, Chris Good
Show quoted text
> -----Original Message----- > From: Chris Good [mailto:chris.good@ozemail.com.au] > Sent: Saturday, 15 March 2014 10:01 AM > To: 'bug-Perl-Dist-Strawberry@rt.cpan.org' > Subject: RE: [rt.cpan.org #93659] Bizarre copy of ARRAY in list assignment at > C:\strawberry\perl\lib/Carp.pm line 228 > > Hi Alexandr, > > I turned off McAfee Internet Security Suite and 'cpan install > File::ShareDir::ProjectDistDir' worked, > Then 'cpan install Finance::Quote' also worked! > > Get Quotes button was still greyed out in GnuCash, so I ran 'perl > gnc-fq-check' which showed that > Date::Manip was missing. After installing that (with McAfee back on), Get > Quotes is now working. > > I assume it was McAfee that was causing the access denied and permission > errors, and the Bizarre error was just a side issue. > There had been a reboot and installation of usual few Windows Updates in > the > meantime unfortunately. > > I wish I'd tried it with McAfee still turned on first. > I searched the McAfee logs and couldn't find any evidence of McAfee > preventing > an access but that could just be that I'm not looking in the right place. > > Thanks very much for all your help. > > Regards, Chris Good >
> > -----Original Message----- > > From: Alexandr Ciornii via RT [mailto:bug-Perl-Dist-
> Strawberry@rt.cpan.org]
> > Sent: Friday, 14 March 2014 6:26 AM > > To: chris.good@ozemail.com.au > > Subject: [rt.cpan.org #93659] Bizarre copy of ARRAY in list assignment at > > C:\strawberry\perl\lib/Carp.pm line 228 > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=93659 > > > > > Do you have antivirus running? If yes, try turning it off. > > > > -- > > Alexandr Ciornii, http://chorny.net

Message body not shown because it is not plain text.

CC: "'Erik Colson'" <eco@ecocode.net>, "'David T.'" <sunfish62@yahoo.com>
Subject: RE: [rt.cpan.org #93659] Bizarre copy of ARRAY in list assignment at C:\strawberry\perl\lib/Carp.pm line 228
Date: Sun, 16 Mar 2014 12:08:50 +1100
To: <bug-Perl-Dist-Strawberry@rt.cpan.org>
From: "Chris Good" <chris.good@ozemail.com.au>
I raised McAfee Service Request number 1446848354 to report the problem.
Show quoted text
> -----Original Message----- > From: Chris Good [mailto:chris.good@ozemail.com.au] > Sent: Sunday, 16 March 2014 11:04 AM > To: 'bug-Perl-Dist-Strawberry@rt.cpan.org' > Subject: RE: [rt.cpan.org #93659] Bizarre copy of ARRAY in list assignment at > C:\strawberry\perl\lib/Carp.pm line 228 > > Hi Alexandr, > > I have now tried to update another Win 7 PC running McAfee Internet > Security Suite (latest version 12.8.934), and it also failed (this time with ‘No > such file or directory’) until I turned off Real-Time Scanning. > So now I’m confident the Anti-Virus program is the problem as there was no > reboot or Windows Updates in the mix this time. > > I am surprised that that I had to turn off anti-virus program. While I have > seen this recommended many times by software suppliers, this is the first > time I remember that I actually had to do it. > > I’ll try to report this to McAfee. > > Is this a known problem? > I tried searching https://rt.cpan.org/Public for virus & McAfee but didn’t find > anything relevant. > > Regards, Chris Good >
> > -----Original Message----- > > From: Chris Good [mailto:chris.good@ozemail.com.au] > > Sent: Saturday, 15 March 2014 10:01 AM > > To: 'bug-Perl-Dist-Strawberry@rt.cpan.org' > > Subject: RE: [rt.cpan.org #93659] Bizarre copy of ARRAY in list assignment at > > C:\strawberry\perl\lib/Carp.pm line 228 > > > > Hi Alexandr, > > > > I turned off McAfee Internet Security Suite and 'cpan install > > File::ShareDir::ProjectDistDir' worked, > > Then 'cpan install Finance::Quote' also worked! > > > > Get Quotes button was still greyed out in GnuCash, so I ran 'perl > > gnc-fq-check' which showed that > > Date::Manip was missing. After installing that (with McAfee back on), Get > > Quotes is now working. > > > > I assume it was McAfee that was causing the access denied and permission > > errors, and the Bizarre error was just a side issue. > > There had been a reboot and installation of usual few Windows Updates in > > the > > meantime unfortunately. > > > > I wish I'd tried it with McAfee still turned on first. > > I searched the McAfee logs and couldn't find any evidence of McAfee > > preventing > > an access but that could just be that I'm not looking in the right place. > > > > Thanks very much for all your help. > > > > Regards, Chris Good > >
> > > -----Original Message----- > > > From: Alexandr Ciornii via RT [mailto:bug-Perl-Dist-
> > Strawberry@rt.cpan.org]
> > > Sent: Friday, 14 March 2014 6:26 AM > > > To: chris.good@ozemail.com.au > > > Subject: [rt.cpan.org #93659] Bizarre copy of ARRAY in list assignment at > > > C:\strawberry\perl\lib/Carp.pm line 228 > > > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=93659 > > > > > > > Do you have antivirus running? If yes, try turning it off. > > > > > > -- > > > Alexandr Ciornii, http://chorny.net

Message body not shown because it is not plain text.

On Tue Mar 11 03:38:02 2014, CHORNY wrote:
Show quoted text
> In case of Finance::Quote, you can safely skip tests that depend on > Test::Perl::Critic and Test::Kwalitee
I removed those from dependency list of F::Q. Thanks for the info. -- Erik
Subject: RE: [rt.cpan.org #93659] Bizarre copy of ARRAY in list assignment at C:\strawberry\perl\lib/Carp.pm line 228
Date: Thu, 20 Mar 2014 22:47:43 +1100
To: <bug-Perl-Dist-Strawberry@rt.cpan.org>
From: "Chris Good" <chris.good@ozemail.com.au>
Hi Alexandr, After Erik released Finance::Quote 1.28 which removed dependencies on Test::Perl::Critic & Test::Kwalitee, I was able to install (while McAfee Real-Time Scanning was ON) and use Finance::Quote 1.28 fine, using both Strawberry Perl 5.18.2.1 32 & 64 bit. I then tested installing Test::Perl::Critic under Strawberry Perl 5.18.2.1 64-bit (msi) with McAfee Real-Time Scanning ON, and it failed installing during Config::Tiny so the problem seems to be between McAfee Real-Time Scanning and Config::Tiny. I have attached as much of the log as I could get. The relevant errors seem to be: dmake.exe: Warning: -- Target [install] was made but the time stamp has not been updated. And No such file or directory I haven't had any response from McAfee yet. Regards, Chris Good

Message body is not shown because sender requested not to inline it.

Message body not shown because it is not plain text.

On Thu Mar 20 07:48:03 2014, chris.good@ozemail.com.au wrote:
Show quoted text
> Hi Alexandr, > I then tested installing Test::Perl::Critic under Strawberry Perl > 5.18.2.1 > 64-bit (msi) with McAfee Real-Time Scanning ON, > and it failed installing during Config::Tiny > so the problem seems to be between McAfee Real-Time Scanning and > Config::Tiny. > > I have attached as much of the log as I could get. > > The relevant errors seem to be: > dmake.exe: Warning: -- Target [install] was made but the time stamp > has not > been updated. > And > No such file or directory
This error is repeated in your log "Couldn't move C:\strawberry\cpan\build\tmp-6248\Config-Tiny-2.20\xt to C:\strawb erry\cpan\build\Config-Tiny-2.20-JUYc7u\xt: No such file or directory at C:\strawberry\perl\lib/CPAN/Distribution.pm line 528. " This means that directory was unpacked, but it was not possible to find it, I guess because antivirus blocks it. -- Alexandr Ciornii, http://chorny.net
Subject: RE: [rt.cpan.org #93659] Bizarre copy of ARRAY in list assignment at C:\strawberry\perl\lib/Carp.pm line 228
Date: Sat, 22 Mar 2014 08:10:56 +1100
To: <bug-Perl-Dist-Strawberry@rt.cpan.org>
From: "Chris Good" <chris.good@ozemail.com.au>
However, running : cpan install Test::Perl::Critic succeeded, Config::Tiny installed OK. Regards, Chris Good

Message body not shown because it is not plain text.



This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.