dev-zzo / kiwiclient

9 stars 40 forks source link

Wrong Pull request #10

Closed leponto closed 4 years ago

leponto commented 4 years ago

Thank you for writting the kiwiclient!

1.) With the current version jks-prv/kiwiclient i got the following traceback:

C:\Python27>python C:\Python27_kiwiclient-master\kiwifax.py -F -f 4608 -s sielsdr.ddns.net -p 8073 20200305T1700Z CRITICAL: 20200305T1700Z CRITICAL: Logging started 20200305T1700Z INFO: Switching to: printing Traceback (most recent call last): File "C:\Python27_kiwiclient-master\kiwifax.py", line 765, in main recorder.connect(options.server_host, options.server_port) File "C:\Python27_kiwiclient-master\kiwi\client.py", line 193, in connect self._prepare_stream(host, port, self._type) File "C:\Python27_kiwiclient-master\kiwi\client.py", line 132, in _prepare_stream uri = '/%d/%s' % (self._options.timestamp, which) AttributeError: Values instance has no attribute 'timestamp' Failed to connect, sleeping and reconnecting

When I went back to the commit at 29th March 2019, it seems to work just fine https://github.com/jks-prv/kiwiclient/tree/79a0b02fae7b71d6c5232cdb4e05fe2b8547314c

Is the newer code may broken with changes in the API version?

2.) Could you please give me advice how to control the alignment and the inverted apperance of the recording to the .png file? The finished .png file I get isn't centered and sometimes appers inverted. 20200305T1541Z_3855000_Alignement 20200305T1638Z_3853000_wrongAlignement_Color is inverted