我有弹弓配置,这是s3的工作,但我需要迁移谷歌存储。我有这个
#!/usr/bin/perl
use warnings;
use strict;
open my $fh_in, '<', $ARGV[0] or die "No input: $!";
open my $fh_out, '>', $ARGV[1] or die "No output: $!";
open my $fh_pseudo, '<', "path/to/pseudo" or die "unable to open pseudo: $!";
my %corres;
while (<$fh_pseudo>) {
chomp;
my ($name, $pseudo) = split /\t/, $_;
$corres{$name} = $pseudo if $name && $pseudo;
}
while (my $line = <$fh_in>) {
$line =~ s/\b$_\b/$corres{$_}/g for keys %corres;
print $fh_out $line;
}
我认为,问题出现在GoogleAccessId上,但我找不到这个值!。
错误是
edgee_slingshot.js:390 POST https://img_appengine.storage.googleapis.com/ 403()transfer @ edgee_slingshot.js:390(匿名函数)@ edgee_slingshot.js:294(匿名函数)@ edgee_slingshot.js:325(匿名函数)@ dynamics_browser .js:51_maybeInvokeCallback @ livedata_connection.js:446receiveResult @ livedata_connection.js:466_livedata_result @ livedata_connection.js:1631onMessage @ livedata_connection.js:274(匿名函数)@ stream_client_sockjs.js:172_.each ._。forEach @ underscore.js:105self .socket.onmessage @ stream_client_sockjs.js:171REventTarget.dispatchEvent @sockjs-0.3.4.js:87SockJS._dispatchMessage @sockjs-0.3.4.js:1072SockJS._didMessage @sockjs-0.3.4.js:1130that.ws.onmessage @ sockjs-0.3.4.js:1277 autoform-slingshot.coffee:143 errorClass {error:“ - 403”,原因:“无法将文件上传到云存储”,详情:未定义,消息:“无法将文件上传到云端存储[ - 403]”,errorType: “Meteor.Error”}详细信息:undefinederror:“ - 403”errorType:“Meteor.Error”消息:“无法将文件上传到云存储[ - 403]”原因:“无法将文件上传到云存储”堆栈:( ...)get stack:stack()参数:nullcaller:nulllength:0name:“get stack” proto :()set stack:stack() proto :错误(匿名函数)@ autoform-slingshot.coffee:143(匿名函数)@ edgee_slingshot.js:369
答案 0 :(得分:0)
我相信你有错误的accessId。它应该看起来像一个电子邮件地址,位于服务帐户密钥的“管理服务帐户”部分