-
Notifications
You must be signed in to change notification settings - Fork 510
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
Python - MegaNode.getChildren() always returns None #2655
Comments
MegaNode::getChildren() always returns NULL unless used on a node returned MegaApi::authorizeNode according to the Doxygen docs. You would have to use MegaApi::getChildren(), but I don't know if that actually works as I'm on an older version using MegaApi::getFileFolderChildren() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Both of the Python example files don't seem to work completely. Logging in, fetching nodes, getting account details, getting contacts, and even creating a folder works without any issues for me. However, attempting to traverse any nodes does not work. Every node, regardless of if it's the root node, an incoming share, or even if I login to a folder. I can get the node's name, but never any children.
I've also tried a very simplified threaded event listener pattern:
Running the above code I get the following output:
Despite there being items in the root:
My build script is pretty straight forward.
And it's compiled using a container with the following Dockerfile:
I have also tried building with Python 3.9, but I get the same results.
The text was updated successfully, but these errors were encountered: