Open ggpwnkthx opened 8 months ago
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()
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:![image](https://github.com/meganz/sdk/assets/27917224/3541d34f-c132-43e2-8fe8-f8ee8b551248)
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.