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

metabase-profile fails on Strawberry Perl [rt.cpan.org #85428] #71

Open
xdg opened this issue Apr 3, 2016 · 0 comments
Open

metabase-profile fails on Strawberry Perl [rt.cpan.org #85428] #71

xdg opened this issue Apr 3, 2016 · 0 comments

Comments

@xdg
Copy link
Contributor

xdg commented Apr 3, 2016

https://rt.cpan.org/Ticket/Display.html?id=85428

CPAN::Reporter seems to install fine (using CPAN).

But when I enter "o conf init test_report", CPAN runs metabase-profile, 
and fails.

It displays a prompt for Full Name, but won't accept any input.

Would you like to run 'metabase-profile' now to create 
'C:\Users\ben\.cpanreport
er\metabase_id.json'? [y] y
Running [C:\STRAWB~1\perl\site\bin\metabase-profile.BAT --output 
C:\Users\ben\.c
panreporter\metabase_id.json --email [email protected] --secret 
05420000]
...
Enter full name:

After a while it seems to timeout and prompt for Transport (See below). 
At which point, what I tried to enter as my Full Name gets entered as my 
transport.  If I didn't try to enter a full name, I can enter a 
Transport, but it then prompts for metabase-profile again, and again, 
until I hit ^C to break the loop.

Running metabase-profile from the command line works fine, after which 
"o conf init test_report" skips the metabase-profile section, and works.

     Regards, Ben

Distribution name and version:

CPAN::Reporter version 1.2010


Perl version

Strawberry Perl

perl 5, version 14, subversion 2 (v5.14.2) built for 
MSWin32-x64-multi-thread

Operating System vendor and version

Windows 7 Professional - Service Pack 1

MINGW32_NT-6.1 VI 1.0.12(0.46/3/2) 2011-07-20 17:52 i686 unknown

Exact cut and pasted error or warning messages

By default, CPAN::Reporter will prompt you for confirmation that
the test report should be sent before actually doing it. This
gives the opportunity to skip sending particular reports if
you need to (e.g. if you caused the failure). This option takes
"grade:action" pairs.

(Recommended: 'default:ask/yes pass/na:yes')

send_report? [default:ask/yes pass/na:yes]

CPAN::Reporter sends your reports over HTTPS using Metabase. This option 
lets
you set a different uri, transport mechanism and metabase profile path. 
If you
are receiving HTTPS errors, you may change the uri to use plain HTTP, though
this is not recommended. Unless you know what you're doing, just accept
the default value.

(Recommended: 'Metabase uri https://metabase.cpantesters.org/api/v1/ 
id_file met
abase_id.json')

transport? [metabase] Metabase uri 
https://metabase.cpantesters.org/api/v1/ id_f
ile metabase_id.json

Would you like to run 'metabase-profile' now to create 
'C:\Users\ben\.cpanreport
er\metabase_id.json'? [y] y
Running [C:\STRAWB~1\perl\site\bin\metabase-profile.BAT --output 
C:\Users\ben\.c
panreporter\metabase_id.json --email [email protected] --secret 
05420000]
...
Enter full name: Use of uninitialized value $answer in chomp at 
C:\STRAWB~1\perl
\site\bin\metabase-profile.BAT line 64.
missing required argument "full_name" when constructing 
Metabase::User::Profile
at C:/strawberry/perl/site/lib/Metabase/Fact.pm line 38
         Metabase::Fact::__validate_args('Metabase::User::Profile', 
'ARRAY(0x2a25
480)', 'HASH(0x31ed40)') called at 
C:/strawberry/perl/site/lib/Metabase/User/Pro
file.pm line 21
         Metabase::User::Profile::create('Metabase::User::Profile', 
'email_addres
s', '[email protected]', 'full_name', undef) called at 
C:\STRAWB~1\perl\s
ite\bin\metabase-profile.BAT line 70
transport? [metabase] Metabase uri 
https://metabase.cpantesters.org/api/v1/ id_f
ile metabase_id.json

Would you like to run 'metabase-profile' now to create 
'C:\Users\ben\.cpanreport
er\metabase_id.json'? [y]
Running [C:\STRAWB~1\perl\site\bin\metabase-profile.BAT --output 
C:\Users\ben\.c
panreporter\metabase_id.json --email [email protected] --secret 
107f0000]
...
Enter full name: Use of uninitialized value $answer in chomp at 
C:\STRAWB~1\perl
\site\bin\metabase-profile.BAT line 64.
missing required argument "full_name" when constructing 
Metabase::User::Profile
at C:/strawberry/perl/site/lib/Metabase/Fact.pm line 38
         Metabase::Fact::__validate_args('Metabase::User::Profile', 
'ARRAY(0x2995
480)', 'HASH(0x32ed40)') called at 
C:/strawberry/perl/site/lib/Metabase/User/Pro
file.pm line 21
         Metabase::User::Profile::create('Metabase::User::Profile', 
'email_addres
s', '[email protected]', 'full_name', undef) called at 
C:\STRAWB~1\perl\s
ite\bin\metabase-profile.BAT line 70
transport? [metabase] Metabase uri 
https://metabase.cpantesters.org/api/v1/ id_f
ile metabase_id.json

Would you like to run 'metabase-profile' now to create 
'C:\Users\ben\.cpanreport
er\metabase_id.json'? [y] n
You can create a Metabase profile by typing 'metabase-profile' in your
command prompt and moving the resulting file to the location you specified.
If you did not specify an absolute path, put it in your .cpanreporter
directory.  You will need to do this before continuing.
transport? [metabase] Metabase uri 
https://metabase.cpantesters.org/api/v1/ id_f
ile metabase_id.json

Would you like to run 'metabase-profile' now to create 
'C:\Users\ben\.cpanreport
er\metabase_id.json'? [y]
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

1 participant