Closed onlineankitgupta closed 5 years ago
I am able to fetch data from MDX query now on my tabular model, not sure what made the difference. print(source.getCatalog("AdvenrureWorks2012-1200"))
This issue comes with Windows machine, I moved to Ubuntu where it works so closing the bug.
Can you show the code fixed it ? what this url mean ? "‘[http://101.101.101.27/ankit/msmdpump.dll']"
I am able to query SSAS tabular model using other clients over http but with XMLA0.7.2 Package I am not able to see my catalog, following is the error I get.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 1, in
File "/home/ankigupt/pythonxmla1/olap/xmla/olap/xmla/xmla.py", line 156, in getCatalog
aslist=unique_name==None)
File "/home/ankigupt/pythonxmla1/olap/xmla/olap/xmla/xmla.py", line 112, in getSchemaElements
props = func(r, properties)
File "/home/ankigupt/pythonxmla1/olap/xmla/olap/xmla/connection.py", line 93, in
*args, **kw)
File "/home/ankigupt/pythonxmla1/olap/xmla/olap/xmla/connection.py", line 159, in Discover
raise XMLAException(fault.message, dictify(fromETree(fault.detail, ns=None)))
File "/home/ankigupt/pythonxmla1/olap/xmla/olap/xmla/utils.py", line 143, in fromETree
for (k,v) in e.attrib.items():
AttributeError: 'bytes' object has no attribute 'attrib'
Anything missing from my side?