From owner-freebsd-translators@freebsd.org Mon Feb 8 00:38:22 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 7FA5FA9F352 for ; Mon, 8 Feb 2016 00:38:22 +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 56006A9F for ; Mon, 8 Feb 2016 00:38:21 +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 u180cLJW090209 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 7 Feb 2016 17:38:21 -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 u180cLgB090206; Sun, 7 Feb 2016 17:38:21 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 7 Feb 2016 17:38:21 -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]); Sun, 07 Feb 2016 17:38:21 -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: Mon, 08 Feb 2016 00:38:22 -0000 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 : > 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. > > > > > -- > "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. > > From owner-freebsd-translators@freebsd.org Mon Feb 8 02:12:38 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 8D514AA1F2E for ; Mon, 8 Feb 2016 02:12:38 +0000 (UTC) (envelope-from raycherng@gmail.com) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 53C7CDFF for ; Mon, 8 Feb 2016 02:12:38 +0000 (UTC) (envelope-from raycherng@gmail.com) Received: by mail-ig0-x231.google.com with SMTP id 5so49327474igt.0 for ; Sun, 07 Feb 2016 18:12:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tzNKSxlpe34il2cHILwvUGb5fLXg63gJiJifqYzTZy4=; b=jQTs3Ud+RLhJccPLM+EyRYbNToKGBB65HMaTfSdZOYQQFJGsn82vMy+mbnBLkVXEs8 V33/VQCNfCc9hnD7Y7gIYo2FB71tezCqvw5pl4JpfHSnb7INA2I86yCH4KGsCgKqVPnx RIP79DSxLG6fQdaxt9BS8FWYxcwXZivBymAw9tLg6Nh0zILG6IOaJaG/w0EJW0OwDsqQ FlF5hteQeCygOCDLU/wrxiqqrmwB313l73VfMjDaYdTmsvwONHW4fRvIpzoMyBfOchrA Zo/XU6e7yyWTfap31umT2jW93rr5E3zjH1WpAkumxohy5nQWVPRPB8uKcL6/UJ6wSdYI kyjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=tzNKSxlpe34il2cHILwvUGb5fLXg63gJiJifqYzTZy4=; b=Co7QIVGjCnu01ZF3/DVtu1bUHhsOMvaPaYj76NrrVVyVtbgE4YNLsp8plhSVhrpvFx pxGsx/sngO49V3gBYrrUqYnTABiI5D8aoRX25DAKHjY+TenO+YkbPz+U3iVf8ElSoris iCYuZoZJytUMFFLD5Rtp1YZJn4ETPHbCwMq48E9BJ2CY98W5BoFZo841OyWJY4pzclrz xH+8DJRDXbwltENV/7E0vGjJw3M3VfWNMkei+HOky1SYWWlJqJWIhTR+J9L0m0365ED1 dxAxqe3amd6KENJSvUByWvyXAwvlfMj1t2ABgYgdll/NdpSqoAdZuf0W0ArKIhv71W9V geKQ== X-Gm-Message-State: AG10YOSbk6Tm+ZvyuWZ5qfe+1+EJP8eaI/Ra4u/eyb9fEb8S09pUBEizRPiMzPrOp+mtYS3gltRSK/zuMaDV3A== MIME-Version: 1.0 X-Received: by 10.50.40.38 with SMTP id u6mr21571263igk.15.1454897557602; Sun, 07 Feb 2016 18:12:37 -0800 (PST) Received: by 10.107.156.8 with HTTP; Sun, 7 Feb 2016 18:12:37 -0800 (PST) In-Reply-To: References: Date: Mon, 8 Feb 2016 10:12:37 +0800 Message-ID: Subject: Re: POedit freezes after pressing save buttton From: RayCherng Yu To: Warren Block Cc: freebsd-translators@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Mon, 08 Feb 2016 02:12:38 -0000 I do have /tmp. $ls -l / total 73 drwxr-xr-x 2 root wheel 1024 1=E6=9C=88 28 00:19 bin drwxr-xr-x 8 root wheel 1536 2=E6=9C=88 7 14:24 boot drwxr-xr-x 3 root wheel 512 2=E6=9C=88 2 17:15 compat -r--r--r-- 1 root wheel 6190 1=E6=9C=88 28 00:21 COPYRIGHT dr-xr-xr-x 11 root wheel 512 2=E6=9C=88 8 10:05 dev -rw-r--r-- 1 root wheel 4096 2=E6=9C=88 8 02:05 entropy drwxr-xr-x 25 root wheel 2560 2=E6=9C=88 4 04:28 etc lrwxr-xr-x 1 root wheel 8 2=E6=9C=88 1 14:16 home -> usr/home drwxr-xr-x 3 root wheel 1536 1=E6=9C=88 28 00:20 lib drwxr-xr-x 4 root wheel 512 2=E6=9C=88 1 22:05 libexec drwxr-xr-x 2 root wheel 512 1=E6=9C=88 28 00:18 media drwxr-xr-x 2 root wheel 512 1=E6=9C=88 28 00:18 mnt dr-xr-xr-x 2 root wheel 512 1=E6=9C=88 28 00:18 proc drwxr-xr-x 2 root wheel 2560 1=E6=9C=88 28 00:20 rescue drwxr-xr-x 2 root wheel 512 2=E6=9C=88 7 14:20 root drwxr-xr-x 2 root wheel 2560 1=E6=9C=88 28 00:21 sbin lrwxr-xr-x 1 root wheel 11 1=E6=9C=88 28 00:21 sys -> usr/src/sys drwxrwxrwt 11 root wheel 512 2=E6=9C=88 8 02:07 tmp drwxr-xr-x 16 root wheel 512 2=E6=9C=88 4 15:16 usr drwxr-xr-x 25 root wheel 512 2=E6=9C=88 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 : > 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: >> =E8=AD=A6=E5=91=8A=EF=BC=9Aheader field 'Project-Id-Version' still has t= he initial default value >> /usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3: >> =E8=AD=A6=E5=91=8A=EF=BC=9Aheader 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: >> =E8=AD=A6=E5=91=8A=EF=BC=9Aheader field 'Last-Translator' still has the = initial default value >> /usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3: >> =E8=AD=A6=E5=91=8A=EF=BC=9Aheader field 'Language-Team' still has the in= itial default value >> >> >> >> "=E8=AD=A6=E5=91=8A" 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 : >> 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=E6=9C=88 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 instal= led >> 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: >> >> =E7=84=A1=E6=B3=95=E5=9F=B7=E8=A1=8C=E7=A8=8B=E5= =BC=8F=EF=BC=9Amsgfmt -o /dev/null -c >> "/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.temp.p= o" >> >> 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..." >> >> >> >> =E2=80=94 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..." >> >> >> =E2=80=94 Warren Buffett. >> >> --=20 "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..." =E2=80=94 Warren Buffett.