[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Google Docs API and Perl/EPrints



Afternoon everyone,

I managed to find a solution to my install problems with this module. I
visited the wise ones over at PerlMonks and somebody was kind enough to
explain how the tests that were failing during install were nothing too
serious and told me how to get around the problem.

I can finally move on to the fun part of actually writing the script.

Here is the solution if anybody is curious:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.perlmonks.org%2F%3Fnode_id%3D11104105&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=mrNhiVNKwFooQPdjctA53s8PTdOsBMFndVHQ1Ek7crM%3D&reserved=0

Thanks,
James

On Wed, Aug 7, 2019 at 11:53 AM James Kerwin via Eprints-tech <
eprints-tech at ecs.soton.ac.uk> wrote:

> Hi Ian,
>
> The reason I want to use that particular one is because the team I work
> with use a Google Docs spreadsheet for this report that the button
> generates. In the past it was all done "by hand" which is to say the
> repository developer ran a series of scripts, generated a CSV file and then
> copied it into the google spreadsheet. Then the team could all access it at
> once and work on it.
>
> TLDR: Unfortunately, one of the dependencies fails the tests during install
>
> Full version:
>
> Net::Google::DataAPI::Auth::OAuth2 won't install due to failed tests.
>
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmetacpan.org%2Fpod%2FNet%3A%3AGoogle%3A%3ADataAPI%3A%3AAuth%3A%3AOAuth2&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=FBnw2c6JBRaIWT2rIGVu5uqjNGNCHgKCBHKtITKhKsY%3D&amp;reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmetacpan.org%2Fpod%2FNet%3A%3AGoogle%3A%3ADataAPI%3A%3AAuth%3A%3AOAuth2&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=FBnw2c6JBRaIWT2rIGVu5uqjNGNCHgKCBHKtITKhKsY%3D&amp;reserved=0>
>
>
> The output mentions something about a "$hd" variable which I now think
> relates to a "hosted domain". I can't tell if it's a "me" problem or a
> problem with the module itself. Somebody else has had the exact same test
> failures, but no solution seems to exist:
>
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Frt.cpan.org%2FPublic%2FBug%2FDisplay.html%3Fid%3D124866&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=f953CcVqfW9IWUptQxh3vmy4gNiUt3lhSMVzbAKd7QU%3D&amp;reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Frt.cpan.org%2FPublic%2FBug%2FDisplay.html%3Fid%3D124866&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=f953CcVqfW9IWUptQxh3vmy4gNiUt3lhSMVzbAKd7QU%3D&amp;reserved=0>
>
>
> Anyway, I'll continue investigating solutions and alternatives. At the
> moment I'm trying to learn all about OAuth2 which is as interesting as... a
> totally uninteresting thing.
>
> Thanks for your help!
>
> James
>
> On Wed, Aug 7, 2019 at 9:30 AM STUART Ian via Eprints-tech <
> eprints-tech at ecs.soton.ac.uk> wrote:
>
>>
>>
>> On 06/08/2019 16:05, James Kerwin via Eprints-tech wrote:
>> > Hi All,
>> >
>> > I am curious to know if any of you have attempted installing:
>> >
>> > Net::Google::Spreadsheets::V4
>> >
>> > I would be even more curious if you had succeeded! I've been trying to
>> > install it on a "spare" server for a few days and I've finally given up
>> > this afternoon.
>>
>> Any particular reason you use that package?
>>
>> I've used Spreadsheet::ParseExcel & Spreadsheet::XLSX with success [in
>> another Perl/Moose application]
>>
>> --
>> Ian Stuart.
>> Perl & Python developer,
>> EDINA,
>> The University of Edinburgh.
>> ?
>>
>> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fedina.ac.uk%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Rw989b9YT72y9NgJ7l%2FSnIs7Cs6TPn0RI%2FJvE2Ji6yE%3D&amp;reserved=0
>> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fedina.ac.uk%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Rw989b9YT72y9NgJ7l%2FSnIs7Cs6TPn0RI%2FJvE2Ji6yE%3D&amp;reserved=0>
>> The University of Edinburgh is a charitable body, registered in Scotland,
>> with registration number SC005336.
>>
>> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2FsrDLwzFSq2vEMHogWr2jtbc32Omp3GkXKB05nmWS6o%3D&amp;reserved=0
>> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2FsrDLwzFSq2vEMHogWr2jtbc32Omp3GkXKB05nmWS6o%3D&amp;reserved=0>
>> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=IU6M72qqhyhEn7zogr7jiYxKyiD31CxNHFd6fJMpuUQ%3D&amp;reserved=0
>> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=IU6M72qqhyhEn7zogr7jiYxKyiD31CxNHFd6fJMpuUQ%3D&amp;reserved=0>
>> *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=RFEHxKmi2qs3zQ6iwZ%2BHuidfI4CuIb5NYRAEsHjAGf8%3D&amp;reserved=0
>> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=RFEHxKmi2qs3zQ6iwZ%2BHuidfI4CuIb5NYRAEsHjAGf8%3D&amp;reserved=0>
>>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2FsrDLwzFSq2vEMHogWr2jtbc32Omp3GkXKB05nmWS6o%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=IU6M72qqhyhEn7zogr7jiYxKyiD31CxNHFd6fJMpuUQ%3D&amp;reserved=0
> *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C99cf832822214d2f379508d71c0b07bf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=RFEHxKmi2qs3zQ6iwZ%2BHuidfI4CuIb5NYRAEsHjAGf8%3D&amp;reserved=0
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190808/408e9318/attachment-0001.html