无法解析云代码部署 [英] Parse Cloud Code deploy not possible
问题描述
我希望你能帮助我解决这个问题.我下载了Windows的最新版本的ParseConsole.exe,并尝试部署由parse new生成的cloudcode. 那就是控制台发送的错误:
i hope you can help me handle this. I downloaded the newest version of ParseConsole.exe for Windows and tried to deploy my cloudcode which was generated by parse new. Thats the error send by the console:
Traceback (most recent call last):
File "<string>", line 6, in <module>
File ".\build\pyi.win32\parse\out00-PYZ.pyz\main", line 695, in main
File ".\build\pyi.win32\parse\out00-PYZ.pyz\main", line 206, in handle_deploy
File ".\build\pyi.win32\parse\out00-PYZ.pyz\parse", line 332, in deploy
File ".\build\pyi.win32\parse\out00-PYZ.pyz\parse", line 231, in upload_sourc
_files
File ".\build\pyi.win32\parse\out00-PYZ.pyz\parse", line 39, in post
File ".\build\pyi.win32\parse\out00-PYZ.pyz\urllib2", line 126, in urlopen
File ".\build\pyi.win32\parse\out00-PYZ.pyz\urllib2", line 391, in open
File ".\build\pyi.win32\parse\out00-PYZ.pyz\urllib2", line 409, in _open
File ".\build\pyi.win32\parse\out00-PYZ.pyz\urllib2", line 369, in _call_chai
File ".\build\pyi.win32\parse\out00-PYZ.pyz\urllib2", line 1178, in https_ope
File ".\build\pyi.win32\parse\out00-PYZ.pyz\urllib2", line 1142, in do_open
File ".\build\pyi.win32\parse\out00-PYZ.pyz\httplib", line 914, in request
File ".\build\pyi.win32\parse\out00-PYZ.pyz\httplib", line 954, in _send_requ
st
File ".\build\pyi.win32\parse\out00-PYZ.pyz\httplib", line 759, in send
File ".\build\pyi.win32\parse\out00-PYZ.pyz\ssl", line 203, in sendall
File ".\build\pyi.win32\parse\out00-PYZ.pyz\ssl", line 174, in send
TypeError: write() argument 1 must be string or read-only buffer, not bytearray
希望您能提供帮助.我试图在global.json文件中添加其他版本,但这无济于事.
I hope you can help. I tried to add other versions in my global.json file but it doesn't help.
谢谢
推荐答案
在从1.3.0版升级到1.3.3版之后,这也开始发生在我身上
This started happening to me too after upgrading to version 1.3.3 (from 1.3.0)
我正在使用Windows计算机,因此无法升级python,我认为它已嵌入exe或类似的文件中.
I am using a Windows machine so I cannot upgrade python, I think it's embedded in the exe or something like that.
这很烦人,因为它以前可以与我的版本一起使用!
It's very annoying since it worked before with the version I had!
非常不专业.我希望他们能尽快解决.
Very unprofessional.. I hope they will solve it soon.
更新:
版本1.3.4现在可用于Windows,但仍无法正常工作.尝试部署时收到消息
Version 1.3.4 is now available for Windows but it still does not work.. trying to deploy I get the message
更新失败,出现内部错误
Update failed with internal error
更新2:
现在似乎可以正常工作了……我不确定他们是否在自己身边修理了东西.它说版本1.3.4已过时,我猜这是在检查版本时的一个错误.
It seems to work now... I am not sure if they fix something on their side. It says version 1.3.4 is deprecated buy my guess is that it just a bug with checking the versions.
这篇关于无法解析云代码部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!