mail[bug #20915] Failure of Grace opening in MS Windows


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Troels E. Linnet on June 18, 2013 - 07:59:
Follow-up Comment #2, bug #20915 (project relax):

Fix for bug #20915, (https://gna.org/bugs/?20915) - Failure of Grace opening
in MS Windows

Troels E. Linnet provided this patch, and was discovered during work on a
Windows 7 system: telinnet _aaattt_ bio_dot_ku_dot_dk

This is a small fix for a wrong call to "raise
RelaxMissingBinaryError(binary)", when issuing an external call to xmgrace.

The "path_sep" would be equal = [/], and the RE search would not find(True)
the full path specified for the xmgrace file.
This is now shifted to python: os.path.isfile
http://docs.python.org/2/library/os.path.html

Another fix, is that as a standard the command "xmgrace" is provided. This
will work fine through windows cmd, but the true name for program in windows
is "xmgrace.exe", and so an additional search for +".exe" is also performed.









(file #18104)
    _______________________________________________________

Additional Item Attachment:

File name: patchV2                        Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20915>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Tue Jun 18 10:20:08 2013