Modify batch with remakks , still can't work

# get Gnuradio sources (you probably already did this)
git clone https://github.com/gnuradio/gnuradio.git

cd gnuradio
git remote add pinky https://github.com/pinkavaj/gnuradio.git
git fetch -p --all

# get all up-to-data, I suppose You does not commit to upstream
# branches
git checkout master
git pull
git checkout -b next origin/next
git pull

# get and swich into the branch with fixes
git checkout -b top_blk-fix-03 pinky/top_blk-fix-03

# optionaly you can rebase on top of the latest gnuradio
git rebase master

# or next if you need even more recent stuff
git rebase next


No error , patches were applyed

- retreived the today version

 sudo ./run1.sh
linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.009.git-204-g984575c9

gr-osmosdr v0.1.4-45-g46e95395 (0.1.5git) gnuradio v3.7.7.1-180-gb9bdd1ce
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy
a <CHANNEL>    - automatic fine tunning to channel C
d <CHANNEL>    - disable demodulation for channel C
e <CHANNEL>    - enable demodulation for channel C
h              - print help
l              - list top 30 channels by PWR
x              - exit
Command: Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 2000000.052982 Hz
[R82XX] PLL not locked!
Using Volk machine: sse4_2_64
a 95
Traceback (most recent call last):
  File "./demod/tetrapol_cli.py", line 130, in <module>
    mod = ModAutoTune(sys.argv[2:])
  File "./demod/tetrapol_cli.py", line 27, in __init__
    self.rpc.set_auto_tune(int(args[0]))
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1098, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1428, in __request
    verbose=self.__verbose
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1140, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1152, in single_request
    http_conn = self.send_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1264, in send_request
    self.send_content(connection, request_body)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1294, in send_content
    connection.endheaders(request_body)
  File "/usr/lib/python3.4/http/client.py", line 1061, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python3.4/http/client.py", line 906, in _send_output
    self.send(msg)
  File "/usr/lib/python3.4/http/client.py", line 841, in send
    self.connect()
  File "/usr/lib/python3.4/http/client.py", line 819, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python3.4/socket.py", line 509, in create_connection
    raise err
  File "/usr/lib/python3.4/socket.py", line 500, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Command: e 95
Traceback (most recent call last):
  File "./demod/tetrapol_cli.py", line 133, in <module>
    mod = ModOutput(sys.argv[2:])
  File "./demod/tetrapol_cli.py", line 56, in __init__
    self.rpc.set_output_enabled(channels, enabled)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1098, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1428, in __request
    verbose=self.__verbose
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1140, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1152, in single_request
    http_conn = self.send_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1264, in send_request
    self.send_content(connection, request_body)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1294, in send_content
    connection.endheaders(request_body)
  File "/usr/lib/python3.4/http/client.py", line 1061, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python3.4/http/client.py", line 906, in _send_output
    self.send(msg)
  File "/usr/lib/python3.4/http/client.py", line 841, in send
    self.connect()
  File "/usr/lib/python3.4/http/client.py", line 819, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python3.4/socket.py", line 509, in create_connection
    raise err
  File "/usr/lib/python3.4/socket.py", line 500, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Command: x
./run1.sh: 90: kill: No such process

Processing: ../tetrapol_rec/channel*.bits
Failed to open input file: No such file or directory

Thanks for anwer


2015-09-03 22:43 GMT+02:00 fe8769 <fe8769@gmail.com>:
Hello

Tetrapol-kit needs now patches to run

https://github.com/gnuradio/gnuradio/pull/485

here is the way to apply

# get Gnuradio sources (you probably already did this)
git clone https://github.com/gnuradio/gnuradio.git

cd gnuradio
git remote add pinky https://github.com/pinkavaj/gnuradio.git
git fetch -p --all

# get all up-to-data, I suppose You does not commit to upstream
# branches
git checkout master
git pull
git checkout next
git pull

# get and swich into the branch with fixes
git checkout -b top_blk-fix-03 pinky/top_blk-fix-03

# optionaly you can rebase on top of the latest gnuradio
git rebase master

# or next if you need even more recent stuff
git rebase next

====================
git checkout next doesn't work
but pinky-next yes

but all lines after don't work either

If anyone has the correct way to apply theses patches, it would be welcome

--



--