Google Apps脚本:什么是“反序列化继续失败”?意思? [英] Google Apps Script: What does "Deserialization of continuation failed" mean?

查看:176
本文介绍了Google Apps脚本:什么是“反序列化继续失败”?意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个Google Apps脚本,在Google Spreadsheet中进行一些精彩的计算。

该脚本读取表单中两列的值,并将其输出写入第三列。

当脚本被调用时,我调用 var someVar = Browser.inputBox(prompt); 3次,以便从用户获得2 输入和1 输出列的列名称。

例如,如果用户希望脚本从列A和B读取并写入列C,他/她应指定字母'A','B '和'C',按照指定的顺序,弹出3个输入框。

该脚本已成功执行多次。最近,在第一个 Browser.inputBox 调用之后(意思是在输入框中填充一些值并按下OK后),会出现继续的反序列化失败错误显示在页面顶部的红色,类似烤面包的消息框中),脚本停止执行(意味着剩余的2个输入框不会出现)。



我搜索了反序列化连续失败,我从字面上得到了2个结果。他们两个都没用。有谁知道这个错误信息应该是什么意思,以及如何解决它?当$ Browser.inputBox 或者 时,其他脚本暂停操作被使用(例如调试器)并且正在等待最终用户交互,脚本被序列化(用于存储的花哨词)作为继续



如果您能够在某些可重现的情况下缩小此错误,请在问题跟踪器中查找一个项目。或者也可以查看其他连续报道 - https://code.google.com/p/google-apps-script-issues/issues/list?can=1&q=continuation


I wrote a Google Apps Script to do some fancy computation in a Google Spreadsheet.

The script reads values from two columns in the sheet, and writes its output to a third column.

When the script is invoked, I call var someVar = Browser.inputBox("prompt"); 3 times in order to get -- from the user -- the column names of the 2 input and 1 output columns.

For example, if a user wants the script to read from columns A and B and write to column C, he/she should specify the letters 'A', 'B', and 'C', in the specified order, in the 3 input boxes that pop up.

The script executed successfully a number of times. Lately, after the first Browser.inputBox call (meaning after filling some value in the input box, and pressing OK), a "Deserialization of continuation failed" error occurs (it is shown in a red, toast-like message box at the top of the page), and the script stops executing (meaning the 2 remaining input boxes do not appear).

I googled for "Deserialization of continuation failed", I got literally 2 results. Both of them are useless. Does anyone know what is this error message supposed to mean, and how to fix it? Any help would be much appreciated.

解决方案

When Browser.inputBox or other script pausing operations are used (eg. the debugger) and are waiting end user interaction, the script is "serialized" (fancy word for stored) as a continuation.

If you are able to narrow down this error in some reproducible scenario, please lot an item in the Issue Tracker. Or perhaps look through other reported with continuation - https://code.google.com/p/google-apps-script-issues/issues/list?can=1&q=continuation

这篇关于Google Apps脚本:什么是“反序列化继续失败”?意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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