From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84318 Path: news.gmane.org!not-for-mail From: Mica Semrick Newsgroups: gmane.comp.tex.context Subject: Re: Clean Machine, MacTeX 2013 installed, ConTeXt problem Date: Wed, 18 Sep 2013 16:36:43 -0700 Message-ID: References: <52396FEB.5090809@wxs.nl> <0A07BB90-DDB6-47D3-8E59-268F9F538F52@rna.nl> <5239E904.2050506@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1722894832==" X-Trace: ger.gmane.org 1379547406 8394 80.91.229.3 (18 Sep 2013 23:36:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Sep 2013 23:36:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 19 01:36:51 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VMRIh-0002p1-Kq for gctc-ntg-context-518@m.gmane.org; Thu, 19 Sep 2013 01:36:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F75510193; Thu, 19 Sep 2013 01:34:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id M4hewbbSILcW; Thu, 19 Sep 2013 01:34:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C9E75101DE; Thu, 19 Sep 2013 01:34:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F059B101DE for ; Thu, 19 Sep 2013 01:34:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rY5Rbd6+jKaX for ; Thu, 19 Sep 2013 01:34:48 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 86C1810193 for ; Thu, 19 Sep 2013 01:34:48 +0200 (CEST) Original-Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8INahGK016957 for ; Thu, 19 Sep 2013 01:36:43 +0200 Original-Received: by mail-wg0-f43.google.com with SMTP id z12so7050015wgg.34 for ; Wed, 18 Sep 2013 16:36:43 -0700 (PDT) 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 :content-type; bh=UKN4mz/4xrWnO/aGUYdqmaIkurMsiiz/SazlyvJluqo=; b=Ex5BEcaOuOON/oGTCzg78cN/1MFA2K8voGP13GD0ZJQZAEE33behKDhe4fHuvsrZPC VLiL3oe/WOC+w3cjKyOVjV+59AZuyHsEx36N8Ap7n/lHPLM6GtmLmejl3eWyJn8u2TEl iGvKyhYlUBLH3DZMcRYoJopE43e6j5KxJERoQNUJWE4aSsteH+P5+7zqVnQJ1KfgRbc/ bfMIgdtcGPVbV4AWOkawki7nz2otxji3EWBzHj4XAJTt2XFW29eI+3ycY+uUX4nUe9Ui Pz4jx/D902jeZ8rSCrOkYW67h/6PSJKLTc2n/JMpzH2PNN9Nc+tEBKpKfWssCo7D+ZTK baLw== X-Received: by 10.180.185.166 with SMTP id fd6mr9277740wic.5.1379547403448; Wed, 18 Sep 2013 16:36:43 -0700 (PDT) Original-Received: by 10.217.120.73 with HTTP; Wed, 18 Sep 2013 16:36:43 -0700 (PDT) In-Reply-To: <5239E904.2050506@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::22b; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07KqLAHbz - 60f56f9433ad - 20130919 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84318 Archived-At: --===============1722894832== Content-Type: multipart/alternative; boundary=001a11c228e2eef7f604e6b0e833 --001a11c228e2eef7f604e6b0e833 Content-Type: text/plain; charset=ISO-8859-1 Hi, Not sure if this is helpful, but I get a very similar error when trying to build the nokogiri gem with RVM & ruby 2.0 on my Mac OS X 10.6.8 machine. I'm not at that machine currently, but I can post the error if you think that will help. Best, Mica On Wed, Sep 18, 2013 at 10:55 AM, Hans Hagen wrote: > On 9/18/2013 4:53 PM, Gerben Wierda wrote: > >> On 18 Sep 2013, at 11:18, Hans Hagen wrote: >> >> On 9/18/2013 10:47 AM, Gerben Wierda wrote: >>> >>>> As my computer died I had to set up a clean one. I installed MacTeX 2013 >>>> and tried to compile a ConTeXt project, but this failed: >>>> >>>> texexec --pdf --mode=editor --once .../products/prd_book.tex >>>> >>>> resolvers | caches | path >>>> '/Users/gerben/Library/**texlive/2013/texmf-var' >>>> created/System/Library/**Frameworks/Ruby.framework/** >>>> Versions/2.0/usr/lib/ruby/2.0.**0/rubygems/core_ext/kernel_** >>>> require.rb:45:in >>>> `require': >>>> /usr/local/texlive/2013/texmf-**dist/scripts/context/ruby/** >>>> base/switch.rb:501: >>>> invalid multibyte escape: /\xFF/ (SyntaxError) >>>> from >>>> /System/Library/Frameworks/**Ruby.framework/Versions/2.0/** >>>> usr/lib/ruby/2.0.0/rubygems/**core_ext/kernel_require.rb:45:**in >>>> `require' >>>> from >>>> /usr/local/texlive/2013/texmf-**dist/scripts/context/ruby/** >>>> texexec.rb:11:in >>>> `
' >>>> >>>> It seems a problem in a ruby file in MacTeX 2013. Can someone help me >>>> get this working? >>>> >>> >>> Maybe something utf in the latest ruby ... can you try to replace the >>> \xFF with \xFFFC and see what happens? >>> >> >> Same thing happens. Now it says \xFFFC is an invalid multibyte escape >> > > it runs ok with \xFF here in 1.9 > > in 2.0 i need to patch in that file: > > series.each_char do |key| # was .each but there is no alias to each_char > any longer > > does the top of switch.rb mention: > > #encoding: ASCII-8BIT > > (i do have a prototype of texexec in lua but no time to finish that now > but i fear at some moment i have to do it as i cannot foresee ruby 2.0 > compatibility issues) > > > Hans > > > > ------------------------------**------------------------------**----- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ------------------------------**------------------------------**----- > ______________________________**______________________________** > _______________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/** > listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/**projects/contextrev/ > wiki : http://contextgarden.net > ______________________________**______________________________** > _______________________ > --001a11c228e2eef7f604e6b0e833 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

Not sure if this is helpful, but I = get a very similar error when trying to build the nokogiri gem with RVM &am= p; ruby 2.0 on my Mac OS X 10.6.8 machine. I'm not at that machine curr= ently, but I can post the error if you think that will help.=A0

Best,
Mica


On Wed, Sep 18, 2013 at 10:55 AM, Ha= ns Hagen <pragma@wxs.nl> wrote:
On 9/18/2013 4:53 PM, Gerb= en Wierda wrote:
On 18 Sep 2013, at 11:18, Hans Hagen <pragma@wxs.nl> wrote:

On 9/18/2013 10:47 AM, Gerben Wierda wrote:
As my computer died I had to set up a clean one. I installed MacTeX 2013 and tried to compile a ConTeXt project, but this failed:

texexec --pdf --mode=3Deditor --once .../products/prd_book.tex

resolvers =A0 =A0 =A0 | caches | path
'/Users/gerben/Library/texlive/2013/texmf-var'
created/System/Library/Frameworks/Ruby.framework/Versions/2.0= /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in=
`require':
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/base/= switch.rb:501:
invalid multibyte escape: /\xFF/ (SyntaxError)
from
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/li= b/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
`require'
from
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texex= ec.rb:11:in
`<main>'

It seems a problem in a ruby file in MacTeX 2013. Can someone help me
get this working?

Maybe something utf in the latest ruby ... can you try to replace the \xFF = with \xFFFC and see what happens?

Same thing happens. Now it says \xFFFC is an invalid multibyte escape

it runs ok with \xFF here in 1.9

in 2.0 i need to patch in that file:

series.each_char do |key| # was .each but there is no alias to each_char an= y longer

does the top of switch.rb mention:

#encoding: ASCII-8BIT

(i do have a prototype of texexec in lua but no time to finish that now but= i fear at some moment i have to do it as i cannot foresee ruby 2.0 compati= bility issues)


Hans



-------------------------------------------------------------= ----
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 Hans Hagen | PRAGMA ADE
=A0 =A0 =A0 =A0 =A0 =A0 =A0 Ridderstraat 27 | 8061 GH Hasselt | The Netherl= ands
=A0 =A0 tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0| ww= w.pragma-pod.nl
-------------------------------------------------------------= ----
_____________________________________________________________= ______________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0:
http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/ wiki =A0 =A0 : http:= //contextgarden.net
_____________________________________________________________= ______________________

--001a11c228e2eef7f604e6b0e833-- --===============1722894832== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1722894832==--