Author Topic: ttx can't running on FDK change number 61250.  (Read 757 times)

freelife80

  • Full Member
  • ***
  • Posts: 2
    • Email
ttx can't running on FDK change number 61250.
« on: 2014-03-13, 20:13:35 »
I installed FDK v2.5 Feb 17 2014 change number 61250.

Then If I use ttx command, it displays below error message.
['C:\FDK\Tools\Shared Data\FDKScripts\ttx': [Errno 2] No such file or directory]

Older versions of FDK had ttx not ttx.py however the latest version has ttx.py.
I tried again after remove the '.py' extension of the file name.
But it was not the correct solution.

Please help me what can I do.

BobH

  • Beta: FontLab Studio Win
  • Hero Member
  • ***
  • Posts: 38
Re: ttx can't running on FDK change number 61250.
« Reply #1 on: 2014-03-14, 10:34:56 »
In my experience, when you got to step 4 of the Windows installation procedure, which says:
Quote
4. Open a command prompt window. If you do not know how to do this, read the file "FDK\Technical Documentation\CommandLineHowTo.pdf".
you need to use a command prompt with admin rights -- otherwise it won't be able to update your PATH as needed.

To get an administrator command prompt, right-click on the command prompt icon and select Run as administrator.

freelife80

  • Full Member
  • ***
  • Posts: 2
    • Email
Re: ttx can't running on FDK change number 61250.
« Reply #2 on: 2014-03-17, 22:32:07 »
Thank you, BobH

I already set the system path configuration.
So other tools(like sfntedit, makeotf etc.) are works well.
But only ttx does not working correctly.

Arno Enslin

  • Hero Member
  • *****
  • Posts: 111
Re: ttx can't running on FDK change number 61250.
« Reply #3 on: 2014-07-09, 10:15:59 »
I hope, that the developers of the AFDKO read this message, too.

@ freelife80

It is not needed to command FinishInstallWindows.cmd, if you command ttx.cmd directly from the directory "Fdk/Tools/Win".

But, there is a bug. I am using AFDKO version 2.5 62754. Maybe that is the same bug as in version 2.5 61250:

As a workaround you can change the following line in ttx.cmd from

%AFDKO_Python% %AFDKO_SCRIPTS%\ttx  %*

to

%AFDKO_Python% %AFDKO_SCRIPTS%\ttx.py  %*

-----------------

Note, that "%AFDKO_Python% %AFDKO_SCRIPTS%\ttx  %*" was not a bug in former versions!

I think, that there is the file "ttx" (without extension) missing in the directory

"Tools\SharedData\FDKScripts".

Now (change number 62754) there is only ttx.py in that directory.

The content of "ttx" in "Tools\SharedData\FDKScripts" was:

Code: [Select]
#! /usr/bin/env python


def _dummy():
from encodings import latin_1, utf_8, utf_16_be


import sys
from fontTools import ttx

ttx.main(sys.argv[1:])

----------------------------

I have a request to Adobe: Please make the older change numbers of AFDKO 2.5 available, because it is easier to locate those bugs then. Sometimes you create new bugs, while you are fixing bugs.

Quoting a line from the release notes of FDK v2.5 April 5 2014 change number 61944 (!):

Quote
Fixed FDK/Tools/win/ttx.cmd file so that the 'ttx' command works again.

Read Roberts (Adobe)

  • Moderator
  • Hero Member
  • *****
  • Posts: 33
  • Fontlab Studio 5.0.4, built 2741, Mac OX 10.5
    • Email
Re: ttx can't running on FDK change number 61250.
« Reply #4 on: 2014-07-14, 13:29:43 »
The next public FDK release will be up in a few weeks. I agree that keeping access to older versions is useful, and will do so.

- Read Roberts