Gsutil通知stopchannel给出失败

时间:2014-09-26 04:57:19

标签: google-cloud-storage

我遵循了本教程(Object Change Notification),它在观看步骤中起作用。 但我不能停止回应:

$ gsutil notification stopchannel my_channel-id my_resource-id
Removing channel my_channel-id with resource identifier my_resource-id
Failure: initializer for ctype 'char *' must be a str or list or tuple, not unicode.

gsutil版本:4.6


编辑:问题已修复

我用-DD选项调试

$ gsutil -DD notification stopchannel my_channel-id my_resource-id

它打印了来自virtualenv的异常,因此我停用virtualenv并再次运行stopchannel。

有效。 ^^

0 个答案:

没有答案