Giter Site home page Giter Site logo

pyfldigi's People

Contributors

flyinglotus1983 avatar km4yri avatar praxiscode avatar willcl-ark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyfldigi's Issues

Connection refused

I was having trouble using functions and went back to start over. I found the first issue is that I can not link my code to fldigi. Fldigi will start and stop but will not execute anything in between. The command app.is_running() returns false. Here is the error from python. Windows 10 64 bit. Fldigi-4.1.04.01

Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\rprat\Anaconda3\lib\site-packages\urllib3\connection.py", line 157, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "C:\Users\rprat\Anaconda3\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
raise err
File "C:\Users\rprat\Anaconda3\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\rprat\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen
chunked=chunked,
File "C:\Users\rprat\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 387, in _make_request
conn.request(method, url, **httplib_request_kw)
File "C:\Users\rprat\Anaconda3\lib\http\client.py", line 1229, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\rprat\Anaconda3\lib\http\client.py", line 1275, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Users\rprat\Anaconda3\lib\http\client.py", line 1224, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Users\rprat\Anaconda3\lib\http\client.py", line 1016, in _send_output
self.send(msg)
File "C:\Users\rprat\Anaconda3\lib\http\client.py", line 956, in send
self.connect()
File "C:\Users\rprat\Anaconda3\lib\site-packages\urllib3\connection.py", line 184, in connect
conn = self._new_conn()
File "C:\Users\rprat\Anaconda3\lib\site-packages\urllib3\connection.py", line 169, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x000002810F7C6B00>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\rprat\Anaconda3\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\Users\rprat\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "C:\Users\rprat\Anaconda3\lib\site-packages\urllib3\util\retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=7362): Max retries exceeded with url: // (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002810F7C6B00>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\rprat\Anaconda3\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\rprat\Anaconda3\lib\site-packages\pyfldigi\client\txmonitor.py", line 170, in run
state = self.clientObj.main.get_trx_state()
File "C:\Users\rprat\Anaconda3\lib\site-packages\pyfldigi\client\main.py", line 287, in get_trx_state
state = str(self.client.main.get_trx_status()).upper()
File "C:\Users\rprat\Anaconda3\lib\xmlrpc\client.py", line 1112, in call
return self.__send(self.__name, args)
File "C:\Users\rprat\Anaconda3\lib\xmlrpc\client.py", line 1452, in __request
verbose=self.__verbose
File "C:\Users\rprat\Anaconda3\lib\site-packages\pyfldigi\client\transport.py", line 39, in request
resp = requests.post(url, data=request_body, headers=headers)
File "C:\Users\rprat\Anaconda3\lib\site-packages\requests\api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "C:\Users\rprat\Anaconda3\lib\site-packages\requests\api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Users\rprat\Anaconda3\lib\site-packages\requests\sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\rprat\Anaconda3\lib\site-packages\requests\sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "C:\Users\rprat\Anaconda3\lib\site-packages\requests\adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=7362): Max retries exceeded with url: // (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002810F7C6B00>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

pyFldigi blocks normal operation of FLDIGI on Windows

As soon as the client object is created, FLDIGI will no longer transmit text entered into the transmit pane or sent from FLAMP on the same machine. If FLDIGI's TxID feature is enabled, the RSID is sent, but no data follows it.

I'm not sure if the root cause lies with pyFldigi or FLDIGI itself, but the issue doesn't appear to affect the same Python script running on Linux. I haven't experienced the issue between FLAMP and FLDIGI on either OS. If FLDIGI were solely at fault, I would expect the same behavior from both pyFldigi and FLAMP.

The problem was observed with FLDIGI 4.1.16, 4.1.18, and 4.1.20 with pyFldigi 0.4 on Python 3.8 on Windows 10 Professional 64-bit, but not Raspberry Pi OS Buster with Python 3.7.

Read DTMF macro output

When Configure->Miscellaneous->Misc->DTMF->Decode DTMF tones is enabled

image

fldigi will print its output to the RX text field:
image

However, using
f.text.get_rx_data() does not include this output. Is it possible to get it using another function in this library?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.