-
Notifications
You must be signed in to change notification settings - Fork 23
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
Uncaught DOMException: An attempt was made to use an object that is not, or is no longer, usable #30
Comments
Hi ... you can't call directly a python method, because the client/html needs to wait for guy to establish the socket. Like that : <script src="guy.js"></script>
<body></body>
<script>
async function test() {
list = await self.elements()
console.log(list)
}
guy.init( test )
</script> guy.init will start the test method, when the socket will be ready ... (nearly immediatly) |
Hi, I don't know why, but i never get the mail with your answer, I really really would like to know this before, and really thank to let me know this :) I'll test all this now. |
Hi hi, sadly is not working D: I'm testing in this way:
In my tests, there is some weird things. First, If I start the If I use How I know the function finish when I start it manually? because the I don't know why start the function take soo much time..., I have overloaded the
And the more things are pretty simple things, shouldn't take more than a few seconds... I'm confused D: |
Okey..., I found why this, here is weird thing, and not about the lib :D If we refresh mozilla will do weird things, is like don't connect directly to the server, maybe try to use the cache or something, if I force to reload two time mozilla I get a message in python that I'm trying to connect, to force this I need to use the anonymous mode., With that, all works.... Maybe try from guy disable the cache? |
Hi hi, I'm starting to learn how to use this, sadly I don't have idea why this don't works, I try several things but still can't solve this, but is too similar to the minimal examples of the documentation...
Checking in the explorer, I get the next message:
I'm using the latest version from pip3.
Thx!
The text was updated successfully, but these errors were encountered: