Thursday, April 23, 2020

Re: XML Client Issue - Gnuradio 3.8

HI,
thanks to you Glen and Marcus!
Searching I see that there's an opened issue about that, and I'll try to tweak manually the GRC generate source to the correct Python3 syntax.
Anyway, thanks again,

Vittorio

Il giorno mar 21 apr 2020 alle ore 23:30 Marcus D. Leech <patchvonbraun@gmail.com> ha scritto:
On 04/21/2020 01:04 PM, Vitt Benv wrote:
Good evening,

I'm experiencing this error while using a XMLRPC Client block:

#########################
Executing: /usr/bin/python3 -u /home/vic/remote-trx/local_6.py

  File "/home/vic/remote-trx/local_6.py", line 192
    self.xmlrpc_client_0 = xmlrpclib.Server('http://'192.168.1.80':12100')
                                                           ^
SyntaxError: invalid syntax
#########################

I'm on version 3.8, and I suppose that this issue it's related to this Gnuradio version; in version 3.7 all runs fine (the counterpart of this flowgraph sits on a Gnuradio 3.7 and there isnt any problem)

Any suggestion / workaround ???

Thanks in advance,

Vittorio I3VFJ
Not a GR 3.7->3.8 issue, per-se, but because the quoting rules in Python 3 are slightly different than Python 2. 


No comments:

Post a Comment