From: Ed Ruder Date: 2010-01-31T07:35:27+09:00 Subject: Re: rdoc_osx_dictionary 1.0.1 Released I had a similar problem, but with a merb gem (merb-slices). Output is the first chunk, below. I uninstalled all merb gems (some had 9 versions on my box!) and 'sudo rdoc_osx_dictionary' seemed to succeed. Output is the second chunk, below. Unfortunately, though the dictionary shows up in Dictionary.app, and some Ruby entries show up as I type their names, no definitions are rendered when I select an entry. Also, the canonical String#split method doesn't even have an entry, though there are other String# methods ("/", "blank?", and "camel_case" are the first few). Awesome idea! I just hope I can get it to work on my box! Ed ------- [~]$ sudo rdoc_osx_dictionary Password: Updating ri class cache with 5652 classes... New entries for dictionary. Rebuilding dictionary. Error reading the cache for ; recreating the cache! - Building RubyAndGems.dictionary. - Cleaning objects directory. - Preparing dictionary template. - Preprocessing dictionary sources. utf8 "\xE4" does not map to Unicode at /Developer/Extras/Dictionary Development Kit/bin/make_line.pl line 51, <> chunk 3445. Malformed UTF-8 character (unexpected non-continuation byte 0xf6, immediately after start byte 0xe4) in substitution iterator at /Developer/Extras/Dictionary Development Kit/bin/make_line.pl line 49, <> chunk 3445. Malformed UTF-8 character (unexpected non-continuation byte 0xfc, immediately after start byte 0xf6) in substitution iterator at /Developer/Extras/Dictionary Development Kit/bin/make_line.pl line 49, <> chunk 3445. Malformed UTF-8 character (unexpected non-continuation byte 0x27, immediately after start byte 0xfc) in substitution iterator at /Developer/Extras/Dictionary Development Kit/bin/make_line.pl line 49, <> chunk 3445. utf8 "\xE1" does not map to Unicode at /Developer/Extras/Dictionary Development Kit/bin/make_line.pl line 51, <> chunk 20843. Malformed UTF-8 character (unexpected non-continuation byte 0x62, immediately after start byte 0xe1) in substitution iterator at /Developer/Extras/Dictionary Development Kit/bin/make_line.pl line 49, <> chunk 20843. - Extracting index data. No entry tag ** [

module <

All Slice code is expected to be namespaced inside a module

Class Methods:

activate, deactivate, init, loaded, setup_default_structure!, setup_router

From:

merb-slices-1.0.12

] ** at /Developer/Extras/Dictionary Development Kit/bin/extract_index.pl line 72, <> chunk 30. Error. installing rsync: link_stat "/Users/ed_ruder/.ri/objects/RubyAndGems.dictionary" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] installed Run Dictionary.app to use the new dictionary. (activate in prefs!) [~]$ ------- [~]$ sudo rdoc_osx_dictionaryUpdating ri class cache with 5195 classes...New entries for dictionary. Rebuilding dictionary. Error reading the cache for ; recreating the cache! - Building RubyAndGems.dictionary. - Cleaning objects directory. - Preparing dictionary template. - Preprocessing dictionary sources. utf8 "\xE4" does not map to Unicode at /Developer/Extras/Dictionary Development Kit/bin/make_line.pl line 51, <> chunk 3424. Malformed UTF-8 character (unexpected non-continuation byte 0xf6, immediately after start byte 0xe4) in substitution iterator at /Developer/Extras/Dictionary Development Kit/bin/make_line.pl line 49, <> chunk 3424. Malformed UTF-8 character (unexpected non-continuation byte 0xfc, immediately after start byte 0xf6) in substitution iterator at /Developer/Extras/Dictionary Development Kit/bin/make_line.pl line 49, <> chunk 3424. Malformed UTF-8 character (unexpected non-continuation byte 0x27, immediately after start byte 0xfc) in substitution iterator at /Developer/Extras/Dictionary Development Kit/bin/make_line.pl line 49, <> chunk 3424. utf8 "\xE1" does not map to Unicode at /Developer/Extras/Dictionary Development Kit/bin/make_line.pl line 51, <> chunk 19139. Malformed UTF-8 character (unexpected non-continuation byte 0x62, immediately after start byte 0xe1) in substitution iterator at /Developer/Extras/Dictionary Development Kit/bin/make_line.pl line 49, <> chunk 19139. - Extracting index data. - Preparing dictionary bundle. - Adding body data. - Preparing index data. ** Note: Null key text. Skipped line [ 782510 0 - ]. ** Note: Null key text. Skipped line [ 840207 0 - ]. ** Note: Null key text. Skipped line [ 1107480 0 - ]. ** Note: Null key text. Skipped line [ 2465429 0 - ]. ** Note: Null key text. Skipped line [ 2473202 0 - ]. ** Note: Null key text. Skipped line [ 3873592 0 - ]. * Duplicate index. Skipped [addressforgery 859605 0 AddressForgery ] * Duplicate index. Skipped [apt 894035 0 Apt ] * Duplicate index. Skipped [array 896200 0 Array ] * Duplicate index. Skipped [awesometemplate 903428 0 AwesomeTemplate ] * Duplicate index. Skipped [basicforgery 907707 0 BasicForgery ] * Duplicate index. Skipped [binparser 909808 0 BinParser ] . . . * Duplicate index. Skipped [willpaginate 5724561 0 WillPaginate ] * Duplicate index. Skipped [zentest 5746450 0 ZenTest ] * Duplicate index. Skipped [zentestmapping 5752592 0 ZenTestMapping ] - Building key_text index. ** Note: Null key text. Skipped line [ 782510 0 - ]. ** Note: Null key text. Skipped line [ 840207 0 - ]. ** Note: Null key text. Skipped line [ 1107480 0 - ]. ** Note: Null key text. Skipped line [ 2465429 0 - ]. ** Note: Null key text. Skipped line [ 2473202 0 - ]. ** Note: Null key text. Skipped line [ 3873592 0 - ]. - Building reference index. - Fixing dictionary property. - Copying CSS. - Finished building objects/RubyAndGems.dictionary. installing installed Run Dictionary.app to use the new dictionary. (activate in prefs!) [~]$ ------- hi there wrote: > Ryan Davis wrote: >> I'm also using Xcode 3.2.1, fwiw... if you're significantly behind on >> that, it may be worth upgrading. > > > here is my outputs: > > ~> sudo rdoc_osx_dictionary > Updating ri class cache with 6010 classes... > New entries for dictionary. Rebuilding dictionary. > - Building RubyAndGems.dictionary. > - Cleaning objects directory. > - Preparing dictionary template. > - Preprocessing dictionary sources. > - Extracting index data. > - Preparing dictionary bundle. > - Adding body data. > - Preparing index data. > *** Duplicate entry_id: [class_MIME__Type] at > /Developer/Extras/Dictionary Development > Kit/bin/replace_entryid_bodyid.pl line 88, line 13393. > Error. > installing > rsync: link_stat "/Users/stainless/.ri/objects/RubyAndGems.dictionary" > failed: No such file or directory (2) > rsync error: some files/attrs were not transferred (see previous errors) > (code 23) at main.c(1039) [sender=3.0.6] > installed > Run Dictionary.app to use the new dictionary. (activate in prefs!) > ~> gem list | grep mime > mime-types (1.16) > mimetype-fu (0.1.2) > > After i uninstall mime-type, re-run sudo rdoc_osx_dictionary, it just > works -- Posted via http://www.ruby-forum.com/.