From owner-freebsd-translators@freebsd.org Sat Feb 6 23:23:50 2016 Return-Path: Delivered-To: freebsd-translators@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59061A9F5F5 for ; Sat, 6 Feb 2016 23:23:50 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 39CC11969 for ; Sat, 6 Feb 2016 23:23:50 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id u16NNgBW005014 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 6 Feb 2016 16:23:42 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id u16NNgep005011; Sat, 6 Feb 2016 16:23:42 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 6 Feb 2016 16:23:42 -0700 (MST) From: Warren Block To: RayCherng Yu cc: freebsd-translators@freebsd.org Subject: Re: POedit freezes after pressing save buttton In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sat, 06 Feb 2016 16:23:42 -0700 (MST) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-translators@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Translators List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 23:23:50 -0000 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 : > 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. > >