Google cloud storage Gsutil通知停止通道提供失败

Google cloud storage Gsutil通知停止通道提供失败,google-cloud-storage,Google Cloud Storage,我遵循了这个教程(),它在观察步骤中起作用。 但我不能停止观看,并作出回应: $ 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 u

我遵循了这个教程(),它在观察步骤中起作用。 但我不能停止观看,并作出回应:

$ 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

成功了^^