Re: [EP-tech] Google Docs API and Perl/EPrints
James Kerwin via Eprints-tech <[email protected]>
| Newsgroups | gmane.comp.web.eprints.devel |
|---|---|
| Message-ID | <EMEW3|22c54736fcaf5bb61da026b642e63199v76BrP14eprints-tech-bounces|ecs.soton.ac.uk|CAKkNZ9BJMDHc=RXyz1f4Wni-nPg2dnHHXrPoLMopAbVRFaKKfQ@mail.gmail.com> |
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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ced1a8514be4e98927108d71b257374%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=0apyqiCfDyrnrQFn8ykrL0bn7UtfNDE%2FfdYUhhLksb4%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ced1a8514be4e98927108d71b257374%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=7CRzn3gWg63D5qFU3idaDel%2BJ5F%2BSrqgj48lrMa2y2I%3D&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 < [email protected]> 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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ced1a8514be4e98927108d71b257374%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=7NOrMiHQrbg1MZ3cLC8Gh1DGmRYpJTfvclfpDkuzAKk%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ced1a8514be4e98927108d71b257374%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=2oUNg6LaaRfpzx%2B65Kkzk3txSt6zjBqsQL%2F8xW2%2F4%2Fk%3D&reserved=0 > *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ced1a8514be4e98927108d71b257374%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=NZRiFG1bm6caV91iFSPjzDovu5Xw4APKY4%2BxO7cgbmI%3D&reserved=0 > *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ced1a8514be4e98927108d71b257374%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=UERSxizCfk8FSWBlqUIIWEyfbNtusA7M2x5RyZo6qwo%3D&reserved=0 > *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/