It seems that a vector length hint was missing in the GetPosition call, therefore a raw pointer is returned. We’ll fix this. Until then you can use this syntax:
p=[0,0,0]
cameraNode.GetPosition(p)
print(p)
Please use the current version of Slicer, especially for development.
I’ve submitted a pull request to add the missing size hints, which will make GetPosition() syntax work as expected. The fix will be available in the Slicer Preview Release within a few days.