ganga-devs / ganga

Ganga is an easy-to-use frontend for job definition and management
GNU General Public License v3.0
100 stars 159 forks source link

Incorrect string split across lines in Job.py #2382

Closed dhcroft closed 2 months ago

dhcroft commented 2 months ago

In the file ganga/ganga/GangaCore/GPIDev/Lib/Job/Job.py there is code on lines 1434 and 1435 which generate error text for preparing an already prepared Job.

msg = "The application associated with job %s has already been prepared. "
"To force the operation, call prepare(force=True)" % self.id

This gives the error TypeError: not all arguments converted during string formatting

There should be a \ at the end of the first line so it knows to continue the line.

mesmith75 commented 2 months ago

Thanks!