https://bugzilla.wikimedia.org/show_bug.cgi?id=72092
--- Comment #11 from Wesalius <[email protected]> --- (In reply to Marc A. Pelletier from comment #2) > The problem is that gridengine will perform an arbitrary, and sometimes > variable, number of shell substitutions over the commandline, making the use > of quotes or escapes (in any combination) on the command line problematic at > the best of times. This problem is fundamental to gridengine. > > Sometimes, double quoting or escaping internal quotes can solve the issue > for a specific set of command line values, but this varies and is sometimes > hard to predict (for instance, the presence of some shell metacharacter > within the /quoted/ string causes gridengine to invoke an extra '/bin/sh -c' > at the remote end, stripping one level of extra quoting). > > The only reliable ways to circumvent that issue are to either (a) create a > small shell script that contains the final invocation with adequate quoting, > and invoke /that/ through jsub/qsub instead, or (b) pass arguments to the > job in some other manner than the command line (if pywikibot can accept > arguments from a file, for instance, this could be used instead). I tried to submit the command through script. I made an executable .sh file containing this string: python /shared/pywikipedia/core/scripts/category.py move -from:Hudební_skupiny_1970-1979 -to:Hudební_skupiny_1970–1979 -simulate -verbose -debug Submitted this script through jsub. The .err file after the script execution contained: ... COMMAND: ['/shared/pywikipedia/core/scripts/category.py', 'move', '-from:Hudebn\xc3\xad_skupiny_1970-1979', '-to:Hudebn\xc3\xad_skupiny_1970\xe2\x80\x931979', '-simulate', '-verbose', '-debug'] DATE: 2014-10-19 08:35:52.070622 UTC ... Moving category page 'Kategorie:Hudební skupiny 1970-1979' requested, but the page doesn't exist. Moving category talk page 'Diskuse ke kategorii:Hudební skupiny 1970-1979' requested, but the page doesn't exist. Any further ideas or suggestions? -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
