POedit freezes after pressing save buttton

RayCherng Yu raycherng at gmail.com
Mon Feb 8 02:12:38 UTC 2016


I do have /tmp.
$ls -l /
total 73
drwxr-xr-x   2 root  wheel  1024  1月 28 00:19 bin
drwxr-xr-x   8 root  wheel  1536  2月  7 14:24 boot
drwxr-xr-x   3 root  wheel   512  2月  2 17:15 compat
-r--r--r--   1 root  wheel  6190  1月 28 00:21 COPYRIGHT
dr-xr-xr-x  11 root  wheel   512  2月  8 10:05 dev
-rw-r--r--   1 root  wheel  4096  2月  8 02:05 entropy
drwxr-xr-x  25 root  wheel  2560  2月  4 04:28 etc
lrwxr-xr-x   1 root  wheel     8  2月  1 14:16 home -> usr/home
drwxr-xr-x   3 root  wheel  1536  1月 28 00:20 lib
drwxr-xr-x   4 root  wheel   512  2月  1 22:05 libexec
drwxr-xr-x   2 root  wheel   512  1月 28 00:18 media
drwxr-xr-x   2 root  wheel   512  1月 28 00:18 mnt
dr-xr-xr-x   2 root  wheel   512  1月 28 00:18 proc
drwxr-xr-x   2 root  wheel  2560  1月 28 00:20 rescue
drwxr-xr-x   2 root  wheel   512  2月  7 14:20 root
drwxr-xr-x   2 root  wheel  2560  1月 28 00:21 sbin
lrwxr-xr-x   1 root  wheel    11  1月 28 00:21 sys -> usr/src/sys
drwxrwxrwt  11 root  wheel   512  2月  8 02:07 tmp
drwxr-xr-x  16 root  wheel   512  2月  4 15:16 usr
drwxr-xr-x  25 root  wheel   512  2月  8 10:05 var


Maybe I don't have bash. The shell I installed is tcsh. How can I check if
bash is installed?

2016-02-08 8:38 GMT+08:00 Warren Block <wblock at wonkity.com>:

> 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.
>>
>>


-- 
"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