POedit freezes after pressing save buttton

Warren Block wblock at wonkity.com
Mon Feb 8 00:38:22 UTC 2016


On Sun, 7 Feb 2016, RayCherng Yu wrote:

> $msgfmt -o /dev/null -c "/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po"
> 
> /usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3: 警告:header field 'Project-Id-Version' still has the initial default value
> /usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3: 警告:header field 'PO-Revision-Date' still has the initial default value
> /usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3: 警告:header field 'Last-Translator' still has the initial default value
> /usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3: 警告:header field 'Language-Team' still has the initial default value
> 
> 
> 
> "警告" means warning.

Those are all warnings about the file content, which is fine, and shows 
that msgfmt can actually run.

I can think of a few things that could be a problem.  Maybe the 
temporary file that poedit tries to check can't be created.  This could 
be due to permissions on /tmp (or maybe no /tmp).  Or maybe poedit is 
trying to run it with a shell that is not installed (bash?)?

> 2016-02-07 7:23 GMT+08:00 Warren Block <wblock at wonkity.com>:
>       On Sun, 7 Feb 2016, RayCherng Yu wrote:
>
>             Yes, /usr/local/bin/msgfmt is present.
>
>             $ls -al /usr/local/bin/msgfmt
>             -rwxr-xr-x  1 root  wheel  73960  1月 29 13:16 /usr/local/bin/msgfmt
>
>             gettexts-tools is installed.
>
>             $pkg info|grep gettext-tools
>             gettext-tools-0.19.6           GNU gettext development and translation tools
> 
>
>       Can you run msgfmt manually?
>
>         msgfmt -o /dev/null -c "/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po"
>
>       Maybe this is due to a permissions problem or a security setting?
>
>             2016-02-05 1:09 GMT+08:00 Warren Block <wblock at wonkity.com>:
>                   On Fri, 5 Feb 2016, RayCherng Yu wrote:
>
>                         My VM has 4gb RAM and 20gb hardisk.I forgot how much swapspace it had. I think it has enough swap space because I installed FreeBSD 10.2 with
>             automatic disk
>                         allocation to entire disk
>                         space.
> 
>
>                         I deleted that vm and created a new one in order to test the xfce logout menu option but I have not installed xwindow and xfce for that vm yet so I
>             can't test it
>                         now.
>
>                         I tested poedit again 30 minute ago on another machine(2008 macbook, FreeBSD 11-CURRENT with xwindow and KDE installed). I make po to create a fresh
>             po file and
>                         translate the "FreeBSD
>                         Porter's Handbook" to "FreeBSD Porter"(delete several).Then,pressed save button.I got this error message:
>
>                         無法執行程式:msgfmt -o /dev/null -c "/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.temp.po"
>
>                         The Chinese message means "Cannot run:"
>
>                         My poedit version is:
>
>                         poedit-1.8.4_1                 Gettext catalogs (.po files) editor
> 
>
>                   It appears to be using msgfmt just to check the output.  Is /usr/local/bin/msgfmt present?  It is part of the devel/gettext-tools port.  Is that port or
>             package installed?
> 
> 
> 
>
>             --
>             "Life is like a snowball. The important thing is finding wet snow and a really long hill."
>
>             "Price is what you pay. Value is what you get."
>
>             "The first rule of Investing is don't lose money; the second rule is don't forget rule #1..."
>
>             "Wall Street is the only place that people ride to work in a Rolls-Royce to get advice from those who take the subway..."
>
>                                                                                                                            — Warren Buffett.
> 
> 
> 
> 
> --
> "Life is like a snowball. The important thing is finding wet snow and a really long hill."
> 
> "Price is what you pay. Value is what you get."
> 
> "The first rule of Investing is don't lose money; the second rule is don't forget rule #1..."
> 
> "Wall Street is the only place that people ride to work in a Rolls-Royce to get advice from those who take the subway..."
> 
>                                                                                                                — Warren Buffett.
> 
>


More information about the freebsd-translators mailing list