JDMA error

Hi again,

My pp_transfer issue is now solved (thanks Juan!), but the JDMA task fails (u-dl797):

SyntaxError: Non-ASCII character ‘\xc2’ in file /home/users/adittus/cylc-run/u-dl797/share/fcm_make_pp_jasmin/build/bin/transfer.py on line 290, but no encoding declared; see PEP 263 – Defining Python Source Code Encodings | peps.python.org for details

I can attempt to debug this, but I wondered if this may also affect other users since I’m not aware of any changes/ updates to transfer.py, have you encountered this before?

Thanks,
Andrea

Hmmm, the JDMA task should not be running transfer.py so that’s odd to start with. Let me take a look.

I don’t know if anyone else has run JDMA in a terrafirma suite. It’s possible I’ve mucked something up somewhere when I merged the postproc changes across.

Hi Andrea,

I’ve tracked down the issue. Python2 v Python3. :roll_eyes: I’ve fixed the code and committed it.

Do you still have the fcm_make_pp_jasmin and fcm_make2_pp_jasmin tasks showing in the cylc GUI? If so could you please retrigger them. Make sure the fcm_make_pp_jasmin task completes before running fcm_make2_pp_jasmin.

If you don’t then simply copy my fixed up file:
On JASMIN:
cp /home/users/rshatcher/cylc-run/u-dl797-adittus/share/fcm_make_pp_jasmin/build/bin/transfer.py ~/cylc-run/u-dl797/share/fcm_make_pp_jasmin/build/bin

Cheers
Ros

Thanks a lot for figuring this one out Ros!

Everything works now, many thanks :slight_smile:
Andrea