Time for more debugging, try inserting something like this inserted the line above into /panfs/pstor.storage/home/qbcglab/galaxy_run/galaxy-dist/lib/galaxy/jobs/runners/drmaa.py (having backed up the file): log.debug( 'Making job_name, tag was %r, plan to use %r with underscores replacements' % (galaxy_id_tag, job_name)) And if that doesn't help, check all the characters: for i, letter in enumerate(job_name): log.debug( 'Making job_name, character %i in proposed job_name %r is %i' % (i, letter, ord(letter))) My hunch is that the locale of the Galaxy server differs from that on the cluster, meaning DRMAA is stricter about allowed characters because Python's string.letters would be whatever is allowed on the Galaxy server's locale. If I am right, a crude fix would be switching to using string.ascii_letters, i.e. job_name = ''.join( x if x in ( string.ascii_letters + string.digits + '_' ) else '_' for x in job_name ) Peter On Mon, May 29, 2017 at 6:54 AM, Saravanaraj Ayyampalayam <raj76@uga.edu> wrote:
Hello,
I updated to the latest version (17.05) galaxy code. I was updating from a very old version. I fixed all the issues with except one. I am getting the following error when I submit a job.
galaxy.jobs.runners ERROR 2017-05-29 01:42:44,008 (15131) Unhandled exception calling queue_job Traceback (most recent call last): File "/panfs/pstor.storage/home/qbcglab/galaxy_run/galaxy-dist/lib/galaxy/jobs/runners/__init__.py", line 104, in run_next method(arg) File "/panfs/pstor.storage/home/qbcglab/galaxy_run/galaxy-dist/lib/galaxy/jobs/runners/drmaa.py", line 132, in queue_job job_name = self._job_name(job_wrapper) File "/panfs/pstor.storage/home/qbcglab/galaxy_run/galaxy-dist/lib/galaxy/jobs/runners/drmaa.py", line 397, in _job_name job_name = ''.join( x if x in ( string.letters + string.digits + '_' ) else '_' for x in job_name ) File "/panfs/pstor.storage/home/qbcglab/galaxy_run/galaxy-dist/lib/galaxy/jobs/runners/drmaa.py", line 397, in <genexpr> job_name = ''.join( x if x in ( string.letters + string.digits + '_' ) else '_' for x in job_name ) UnicodeDecodeError: 'ascii' codec can't decode byte 0xa6 in position 52: ordinal not in range(128)
I spent a day trying to debug this and didn’t get anywhere. The job_name looks OK.
I would really appreciate some help from the community.
Thanks! -Raj
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/