llinkz / directTDoA

a Python 2/3 GUI for automated TDoA recording & processing
Do What The F*ck You Want To Public License
17 stars 5 forks source link

update map not working anymore - returned error: UPDATE FAIL - ERROR : Expecting value: line 2 column 1 (char 1) #12

Open llinkz opened 3 months ago

llinkz commented 3 months ago

It's because kiwisdr.com webmaster has modified the /public/ webpage source code recently.

it's no more <div class='cl-entry'> at start of each node description but <div class='cl-info'> now

Change that in https://github.com/llinkz/directTDoA/blob/7f01623237d0588b34cddf65a600936071f943f0/directTDoA.py#L177

Regards linkz

IU1IPB commented 2 months ago

Hello,

just installed 7f01623, with the above suggest patch already installed, but the error is (almost) still there:

UPDATE FAIL - ERROR : Expecting value: line 2 column 1 (char 1)

Thank-you Ugo

llinkz commented 2 months ago

Hello

I probably wasn't clear on what to change and the modification must be done manually, I have not made a commit on this point

line 177 must be: for html in req.text.split("<div class='cl-info'>")[1:]: see if it is the case

IU1IPB commented 2 months ago

My mistake, sorry. The patch is ok. Thank-you Ugo