Nov-05-2019, 05:44 PM
First I create a osmocom-sink signal-source and Xmlrpc-server. I want to use rcp commands to change cent_frequency. İt give to me this error
****Executing: /usr/bin/python3 -u /root/Downloads/xmlsiz.py
Traceback (most recent call last):
File "/root/Downloads/xmlsiz.py", line 20, in <module>
import SimpleXMLRPCServer
ModuleNotFoundError: No module named 'SimpleXMLRPCServer'
>>> Done (return code 1)****
I Fixed it. I changed library name to
import SimpleXMLRPCServer
from xmlrpc.server import SimpleXMLRPCServer
But İt is giving to me this error again !
[email protected]:~/Downloads# python3 '/root/Downloads/xmlsiz.py'
Traceback (most recent call last):
File "/root/Downloads/xmlsiz.py", line 157, in <module>
main()
File "/root/Downloads/xmlsiz.py", line 135, in main
tb = top_block_cls()
File "/root/Downloads/xmlsiz.py", line 81, in __init__
self.xmlrpc_server_0 = SimpleXMLRPCServer.SimpleXMLRPCServer(('localhost', 8080), allow_none=True)
AttributeError: type object 'SimpleXMLRPCServer' has no attribute 'SimpleXMLRPCServer'
How Can I Fix This ? Gnuradio 3.8.0 python3 version is not compatible Python3 Xmlrpc Library.
I need to use xmlrpc library
****Executing: /usr/bin/python3 -u /root/Downloads/xmlsiz.py
Traceback (most recent call last):
File "/root/Downloads/xmlsiz.py", line 20, in <module>
import SimpleXMLRPCServer
ModuleNotFoundError: No module named 'SimpleXMLRPCServer'
>>> Done (return code 1)****
I Fixed it. I changed library name to
import SimpleXMLRPCServer
from xmlrpc.server import SimpleXMLRPCServer
But İt is giving to me this error again !
[email protected]:~/Downloads# python3 '/root/Downloads/xmlsiz.py'
Traceback (most recent call last):
File "/root/Downloads/xmlsiz.py", line 157, in <module>
main()
File "/root/Downloads/xmlsiz.py", line 135, in main
tb = top_block_cls()
File "/root/Downloads/xmlsiz.py", line 81, in __init__
self.xmlrpc_server_0 = SimpleXMLRPCServer.SimpleXMLRPCServer(('localhost', 8080), allow_none=True)
AttributeError: type object 'SimpleXMLRPCServer' has no attribute 'SimpleXMLRPCServer'
How Can I Fix This ? Gnuradio 3.8.0 python3 version is not compatible Python3 Xmlrpc Library.
I need to use xmlrpc library