From MAILER-DAEMON Tue Aug 23 21:24:49 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Qw2D3-0005An-RP for mharc-lyxblogger-users@gnu.org; Tue, 23 Aug 2011 21:24:49 -0400 Received: from eggs.gnu.org ([140.186.70.92]:50179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qw2D0-00057w-TC for lyxblogger-users@nongnu.org; Tue, 23 Aug 2011 21:24:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qw2D0-00026q-4Z for lyxblogger-users@nongnu.org; Tue, 23 Aug 2011 21:24:46 -0400 Received: from mail6.webfaction.com ([74.55.86.74]:54863 helo=smtp.webfaction.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qw2D0-00026h-0S for lyxblogger-users@nongnu.org; Tue, 23 Aug 2011 21:24:46 -0400 Received: from dime (c-76-19-133-52.hsd1.ma.comcast.net [76.19.133.52]) by smtp.webfaction.com (Postfix) with ESMTP id C250D59B12EA; Tue, 23 Aug 2011 20:24:43 -0500 (CDT) Date: Tue, 23 Aug 2011 21:24:41 -0400 From: Jack Desert To: Matej Zima , LyXBlogger Users Message-ID: <20110823212441.3f7e030b@dime> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 74.55.86.74 Subject: Re: [Lyxblogger-users] lyxblogger error X-BeenThere: lyxblogger-users@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2011 01:24:48 -0000 Matej, Interesting.. So you can post to the test site, even with a Chinese install of Ubuntu. But fails when posting to your real blog? I'm not sure what would cause that. Is your blog live already, or is it something I could try to post to from my end? Jack On Mon, 22 Aug 2011 15:16:30 +0800 Matej Zima wrote: > Hi, > when using LyXBlogger i get the following error: > > File "/usr/local/lib/python2.7/dist-packages/lyxblogger.py", line > 908, in > main() > File "/usr/local/lib/python2.7/dist-packages/lyxblogger.py", line > 882, in main > cat_id = get_cat_id(wp) > File "/usr/local/lib/python2.7/dist-packages/lyxblogger.py", line > 455, in get_cat_id > print (str(cat_counter) + '. ' + cat.name) > UnicodeEncodeError: 'gb2312' codec can't encode character u'\u017e' in > position 4: illegal multibyte sequence > None > > > > > > > > ************************************************************ > ******* ERROR ******* > > System says: UnicodeEncodeError: 'gb2312' codec can't encode character > u'\u017e' in position 4: illegal multibyte sequence > > > > If i post to the test site everything goes fine. It seems to me there > is some problem either with my server where i try to post or my linux > system which is ubuntu origin but uses chinese characters by > default... I have tried with eLyXer but the same problem persists. > Any suggestions? > > Regards, > Matej -- "There are two kinds of cryptography in this world: cryptography that will stop your kid sister from reading your files, and cryptography that will stop major governments from reading your files. This book is about the latter." --Bruce Schneier, Applied Cryptography: Protocols, Algorithms, and Source Code in C. From MAILER-DAEMON Wed Aug 24 17:38:05 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QwL9B-00049r-H2 for mharc-lyxblogger-users@gnu.org; Wed, 24 Aug 2011 17:38:05 -0400 Received: from eggs.gnu.org ([140.186.70.92]:52139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwL99-00049i-6k for lyxblogger-users@nongnu.org; Wed, 24 Aug 2011 17:38:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwL97-00027R-Vx for lyxblogger-users@nongnu.org; Wed, 24 Aug 2011 17:38:03 -0400 Received: from mail6.webfaction.com ([74.55.86.74]:48436 helo=smtp.webfaction.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwL97-00027N-Pr for lyxblogger-users@nongnu.org; Wed, 24 Aug 2011 17:38:01 -0400 Received: from dime (c-76-19-133-52.hsd1.ma.comcast.net [76.19.133.52]) by smtp.webfaction.com (Postfix) with ESMTP id B830A59A2DB7; Wed, 24 Aug 2011 16:38:00 -0500 (CDT) Date: Wed, 24 Aug 2011 17:37:57 -0400 From: Jack Desert To: Matej Zima , LyXBlogger Users Message-ID: <20110824173757.2fc8669d@dime> In-Reply-To: References: <20110823212441.3f7e030b@dime> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 74.55.86.74 Subject: Re: [Lyxblogger-users] lyxblogger error X-BeenThere: lyxblogger-users@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2011 21:38:04 -0000 On Wed, 24 Aug 2011 14:39:42 +0800 Matej Zima wrote: > Yes, that's right. I may try some other version of linux and see if it > works, or do you think the problem is at my server's side (apache or > php?).. > > Matej I'm not sure where the error lies, but do keep us posted when you try either a different OS or different server settings. Jack > > On Wed, Aug 24, 2011 at 9:24 AM, Jack Desert > wrote: > > > Matej, > > > > Interesting.. So you can post to the test site, even with a Chinese > > install of Ubuntu. But fails when posting to your real blog? I'm > > not sure what would cause that. Is your blog live already, or is it > > something I could try to post to from my end? > > > > Jack > > > > On Mon, 22 Aug 2011 15:16:30 +0800 > > Matej Zima wrote: > > > > > Hi, > > > when using LyXBlogger i get the following error: > > > > > > File "/usr/local/lib/python2.7/dist-packages/lyxblogger.py", line > > > 908, in > > > main() > > > File "/usr/local/lib/python2.7/dist-packages/lyxblogger.py", > > > line 882, in main > > > cat_id = get_cat_id(wp) > > > File "/usr/local/lib/python2.7/dist-packages/lyxblogger.py", > > > line 455, in get_cat_id > > > print (str(cat_counter) + '. ' + cat.name) > > > UnicodeEncodeError: 'gb2312' codec can't encode character > > > u'\u017e' in position 4: illegal multibyte sequence > > > None > > > > > > > > > > > > > > > > > > > > > > > > ************************************************************ > > > ******* ERROR ******* > > > > > > System says: UnicodeEncodeError: 'gb2312' codec can't encode > > > character u'\u017e' in position 4: illegal multibyte sequence > > > > > > > > > > > > If i post to the test site everything goes fine. It seems to me > > > there is some problem either with my server where i try to post > > > or my linux system which is ubuntu origin but uses chinese > > > characters by default... I have tried with eLyXer but the same > > > problem persists. Any suggestions? > > > > > > Regards, > > > Matej > > > > > > > > -- > > "There are two kinds of cryptography in this world: cryptography > > that will stop your kid sister from reading your files, and > > cryptography that will stop major governments from reading your > > files. This book is about the latter." > > > > --Bruce Schneier, Applied Cryptography: Protocols, Algorithms, and > > Source Code in C. > > -- "There are two kinds of cryptography in this world: cryptography that will stop your kid sister from reading your files, and cryptography that will stop major governments from reading your files. This book is about the latter." --Bruce Schneier, Applied Cryptography: Protocols, Algorithms, and Source Code in C.