Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js2py.internals.simplex.JsException: TypeError: 'undefined' is not a function #296

Open
Smawexi opened this issue Nov 26, 2022 · 0 comments

Comments

@Smawexi
Copy link

Smawexi commented Nov 26, 2022

Traceback (most recent call last):
File "D:\Study\Homework\py\scrape\hm\guojiayaojianju.py", line 46, in
print(context.get_request_payload())
File "D:\fsy\Anaconda3\lib\site-packages\js2py\base.py", line 1203, in call
return to_python(parent.obj.callprop(meth, *args))
File "D:\fsy\Anaconda3\lib\site-packages\js2py\base.py", line 996, in callprop
return cand.call(self, args)
File "D:\fsy\Anaconda3\lib\site-packages\js2py\base.py", line 1464, in call
return Js(self.code(*args))
File "", line 151, in PyJsHoisted_get_request_payload

File "D:\fsy\Anaconda3\lib\site-packages\js2py\base.py", line 949, in call
return self.call(self.GlobalObject, args)
File "D:\fsy\Anaconda3\lib\site-packages\js2py\base.py", line 1464, in call
return Js(self.code(*args))
File "", line 71, in PyJsHoisted_get_encData_
File "D:\fsy\Anaconda3\lib\site-packages\js2py\base.py", line 949, in call
return self.call(self.GlobalObject, args)
File "D:\fsy\Anaconda3\lib\site-packages\js2py\base.py", line 1464, in call
return Js(self.code(*args))
File "", line 49, in PyJsHoisted_b_
File "D:\fsy\Anaconda3\lib\site-packages\js2py\base.py", line 949, in call
return self.call(self.GlobalObject, args)
File "D:\fsy\Anaconda3\lib\site-packages\js2py\base.py", line 1464, in call
return Js(self.code(*args))
File "", line 57, in PyJsHoisted_y_
File "D:\fsy\Anaconda3\lib\site-packages\js2py\base.py", line 993, in callprop
raise MakeError('TypeError',
js2py.internals.simplex.JsException: TypeError: 'undefined' is not a function (tried calling property 'fill' of 'Array')

An error occurred when I called the given function in ‘context’. The local node environment is OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant