Re: [galaxy-dev] Issue with job_name, UnicodeDecodeError in drmaa

2017-05-29 Thread Peter Cock
Thanks, pull request submitted: https://github.com/galaxyproject/galaxy/pull/4121 Peter On Mon, May 29, 2017 at 5:23 PM, Saravanaraj Ayyampalayam wrote: > Peter, > > Here is the git diff output that shows the changes I made: > > diff --git a/lib/galaxy/jobs/runners/__init__.py > b/lib/galaxy/

Re: [galaxy-dev] Issue with job_name, UnicodeDecodeError in drmaa

2017-05-29 Thread Saravanaraj Ayyampalayam
Peter, Here is the git diff output that shows the changes I made: diff --git a/lib/galaxy/jobs/runners/__init__.py b/lib/galaxy/jobs/runners/__init__.py index ebf4859..6ee51c8 100644 --- a/lib/galaxy/jobs/runners/__init__.py +++ b/lib/galaxy/jobs/runners/__init__.py @@ -419,7 +419,7 @@ class Job

Re: [galaxy-dev] Issue with job_name, UnicodeDecodeError in drmaa

2017-05-29 Thread Peter Cock
Thanks Saravanaraj, You should not need to change the locale, after all many Galaxy servers and their users will be labelling their files in non-English with "special" characters - but perhaps en_US.UTF-8 would be safer in your case as it seems that few people use Galaxy with en_US.iso885915 other

Re: [galaxy-dev] Issue with job_name, UnicodeDecodeError in drmaa

2017-05-29 Thread Saravanaraj Ayyampalayam
Peter, You are correct. Changing string.letters to string.ascii_letters fixed it. I had to change it in two places. My locale is : LANG=en_US.iso885915 LC_CTYPE="en_US.iso885915" LC_NUMERIC="en_US.iso885915" LC_TIME="en_US.iso885915" LC_COLLATE="en_US.iso885915" LC_MONETARY="en_US.iso885915" LC

Re: [galaxy-dev] Issue with job_name, UnicodeDecodeError in drmaa

2017-05-29 Thread Peter Cock
Curious, my new guess is this is position 52 a temporary string from this expression: string.letters + string.digits + '_' This would fit with it being something unusual about the locale of your Galaxy server, and my suggested hack may work - replace string.letters with string.ascii_letters Sepa

Re: [galaxy-dev] Issue with job_name, UnicodeDecodeError in drmaa

2017-05-29 Thread Saravanaraj Ayyampalayam
Peter, The job name looks OK. Here is the output of the debug statements: galaxy.jobs.runners.drmaa DEBUG 2017-05-29 10:37:21,423 Making job_name, tag was '15132', plan to use u'g15132_fastq_to_fasta_python_ra...@uga.edu' with underscores replacements galaxy.jobs.runners.drmaa DEBUG 2017-05-29

Re: [galaxy-dev] Issue with job_name, UnicodeDecodeError in drmaa

2017-05-29 Thread Peter Cock
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' % (g

[galaxy-dev] Issue with job_name, UnicodeDecodeError in drmaa

2017-05-28 Thread Saravanaraj Ayyampalayam
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 Trac