您无权访问脚本使用的库[xyz],或者该库已被删除 [英] You do not have access to library [xyz], used by your script, or it has been deleted

查看:248
本文介绍了您无权访问脚本使用的库[xyz],或者该库已被删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这很可能是Google服务器错误.这里是一些细节和解决方案.

This was very likely a Google server error. Here are some details and the solution.

此操作从美国东部时间10月27日美国东部时间晚上8:55(格林尼治标准时间-4)开始,持续了将近3天,直到我停止等待它修复,就像我几周前评论的最后一个问题一样.

This started at 8:55pm EDT (GMT -4) Friday, October 27 and continued for almost 3 days when I stopped waiting for it to fix itself like the last problem I commented on a few weeks ago.

17天内什么都没有改变,所以我应该失去访问权限.该脚本最肯定仍然在那里.涉及的所有内容均归我"所有.

Nothing had changed in 17 days such that I should lose access. The script was most certainly still there. Everything involved was owned by "me."

可能触发该问题的是我将我的一个库(甚至没有中断"的库)从开发人员模式设置为固定版本模式.那时Google丢失了数据.

What may have triggered the problem is that I set one of my libraries--not even the one that "broke"--from developer mode to fixed version mode. At that moment, Google lost data.

推荐答案

我更改了使它共同起作用的两件事,所以我不知道这是必要的,但我会做出有根据的猜测.

I changed two things that collectively made it work, so I don't know which was necessary, but I'll make an educated guess.

我有一个基本脚本或调用脚本,以及一个目标脚本或调用脚本/库.所谓的库是丢失"的库.但是,更重要的变化是,我使用script.google.com从头开始创建了基础,从旧脚本中复制了代码,然后重新添加了库.复制库并不能解决问题,因为库引用随副本一起提供.

I had a base or calling script and a target or called script / library. The called library is the one that got "lost." However, the more important change was that I created the base from scratch with script.google.com, copied the code from the old script, and re-added the libraries. Copying the base did not solve the problem because the library references come with the copy.

我还完全复制了目标脚本(而不是将代码复制到空白脚本).这意味着它有一个新的项目ID.

I also copied the target script wholly (rather than copying the code to a blank script). This meant it had a new project ID.

别忘了重新运行脚本,因为您将需要重新添加权限.

Don't forget to re-run the scripts because you will need to re-add permissions.

我在原始帖子中添加了解决方案,但我将其发布为正式显示已回答的问题. (我会尽量记住下次将答案发布在答案中.)

I added the solution to the original post, but I'm posting this to formally show the question as answered. (I'll try to remember to post the answer in the answer next time.)

这篇关于您无权访问脚本使用的库[xyz],或者该库已被删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆