On Thu, Jan 7, 2016 at 3:53 PM, Jay McCarthy <[email protected]> wrote:
> If you use the `html-parsing` package on the package server, you will > not have these problems. Also, I will merge the upstream patches > shortly. > When I tried to do: "raco pkg install html-parsing" racket crashed. Text dump attached for reference. Dave > Jay > > On Thu, Jan 7, 2016 at 6:41 PM, David Storrs <[email protected]> > wrote: > > > > > > On Thu, Jan 7, 2016 at 3:25 PM, John Clements <[email protected] > > > > wrote: > >> > >> > >> > On Jan 7, 2016, at 2:57 PM, David Storrs <[email protected]> > wrote: > >> > > >> > So, I'm now doing this: > >> > > >> > (require (planet neil/html-parsing:3:0) (planet neil/xexp:2:0)) > >> > > >> > Those loaded just fine right off, although I needed to figure out raco > >> > pkg install sxml was necessary, but I got that. > >> > > >> > During the install, I got the following: > >> > > >> > > >> > [dstorrs@MacBook-Pro > :~/Dropbox/dstorrs/personal/study/scheme/HTML-TreeBuilder:<dev*>]$ > >> > raco pkg install sxml > >> > <...ginormous amounts of stuff...> > >> > raco setup: 4 skipping: <pkgs>/xrepl-doc/xrepl/xrepl.scrbl > >> > raco setup: docs failure: query-exec: unable to open the database file > >> > error code: 14 > >> > SQL: "ATTACH $1 AS other" > >> > database: > >> > #<path:/Users/dstorrs/Library/Racket/6.3/doc/docindex.sqlite> > >> > mode: 'read-only > >> > file permissions: (write read) > >> > raco setup: --- installing collections --- > >> > raco setup: --- post-installing collections --- > >> > raco pkg install: packages installed, although setup reported errors > >> > > >> > [dstorrs@MacBook-Pro > :~/Dropbox/dstorrs/personal/study/scheme/HTML-TreeBuilder:<dev*>]$ > >> > > >> > I do have sqlite3 installed on my machine, so that's not the problem. > >> > Why is it failing and what do I need to do to fix it? > >> > >> Wow! > >> > >> As quasi-maintainer of the sxml package… i don’t think this has anything > >> to do with the sxml package :). > >> > >> Does the referenced file (docindex.sqlite) exist? > > > > > > Yep. And it's readable / writable by me, too: > > > > -rw-r--r-- 1 dstorrs staff 518144 Jan 7 14:48 docindex.sqlite > > > >> > >> > >> More generally, I would expect that this doc build failure would not > >> affect the operability of the sxml library. > >> > > > > Doesn't seem to have, no. I was just wondering what would cause it. > > > >> > >> John > >> > >> > >> > > > > > > On Thu, Jan 7, 2016 at 3:35 PM, Neil Van Dyke <[email protected]> > wrote: > >> > >> David Storrs wrote on 01/07/2016 05:57 PM: > >>> > >>> > >>> (require (planet neil/html-parsing:3:0) (planet neil/xexp:2:0)) > >>> > >>> Those loaded just fine right off, although I needed to figure out raco > >>> pkg install sxml was necessary, but I got that. > >> > >> > >> You shouldn't need to require `(planet neil/xexp:2:0)` explicitly -- > just > >> consider it to be starting-point documentation on SXML, for now. > > > > > > Ah, thank you. Removed. > > > >> > >> > >> For other SXML tools, I get them (Oleg's SSAX and SXPath, and Jim > Bender's > >> `sxml-match`) all from PLaneT. (I recall John C. put some or all of > these > >> into a mega `sxml` package in the new package system, but I haven't > tried > >> it.) > > > > > > I've installed the sxml package and will let you know how it goes. > > > >> > >> > >>> > >>> > >>> [dstorrs@MacBook-Pro > :~/Dropbox/dstorrs/personal/study/scheme/HTML-TreeBuilder:<dev*>]$ > >>> raco pkg install sxml > >>> <...ginormous amounts of stuff...> > >>> raco setup: 4 skipping: <pkgs>/xrepl-doc/xrepl/xrepl.scrbl > >>> raco setup: docs failure: query-exec: unable to open the database file > >>> error code: 14 > >>> SQL: "ATTACH $1 AS other" > >>> database: > #<path:/Users/dstorrs/Library/Racket/6.3/doc/docindex.sqlite> > >>> mode: 'read-only > >>> file permissions: (write read) > >> > >> > >> I don't know whether this error is related to the packages themselves, > or > >> just a coincidence. > > > > > > It doesn't seem to be causing issues right now, so I'm just going to > roll by > > it. > > > > > >> > >> > >> Neil V. > >> > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Racket Users" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Jay McCarthy > Associate Professor > PLT @ CS @ UMass Lowell > http://jeapostrophe.github.io > > "Wherefore, be not weary in well-doing, > for ye are laying the foundation of a great work. > And out of small things proceedeth that which is great." > - D&C 64:33 > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
[dstorrs@MacBook-Pro:~/Dropbox/dstorrs/personal/study/scheme/HTML-TreeBuilder:<dev*>]$ raco pkg install html-parsing raco pkg install html-parsing Resolving "html-parsing" via http://download.racket-lang.org/releases/6.3/catalog/ Resolving "html-parsing" via http://pkgs.racket-lang.org Downloading repository github://github.com/jeapostrophe/html-parsing/master raco setup: version: 6.3 raco setup: platform: x86_64-macosx [3m] raco setup: installation name: 6.3 raco setup: variants: 3m raco setup: main collects: /Applications/Racket_v6.3/collects raco setup: collects paths: raco setup: /Users/dstorrs/Library/Racket/6.3/collects raco setup: /Applications/Racket_v6.3/collects raco setup: main pkgs: /Applications/Racket_v6.3/share/pkgs raco setup: pkgs paths: raco setup: /Applications/Racket_v6.3/share/pkgs raco setup: /Users/dstorrs/Library/Racket/6.3/pkgs raco setup: links files: raco setup: /Applications/Racket_v6.3/share/links.rktd raco setup: /Users/dstorrs/Library/Racket/6.3/links.rktd raco setup: main docs: /Applications/Racket_v6.3/doc raco setup: --- updating info-domain tables --- raco setup: updating: /Users/dstorrs/Library/Racket/6.3/share/info-cache.rktd raco setup: --- pre-installing collections --- raco setup: --- installing foreign libraries --- raco setup: --- installing shared files --- raco setup: --- compiling collections --- raco setup: --- parallel build using 8 jobs --- raco setup: 7 making: <pkgs>/boris/tests raco setup: 7 making: <pkgs>/boris/tests/boris raco setup: 6 making: <pkgs>/html-parsing/sxml raco setup: 6 making: <pkgs>/html-parsing/sxml/html (html-parsing) raco setup: 5 making: <pkgs>/html-parsing/tests raco setup: 5 making: <pkgs>/html-parsing/tests/sxml raco setup: 5 making: <pkgs>/html-parsing/tests/sxml/html raco setup: 4 making: <pkgs>/sxml/sxml (sxml) raco setup: 4 making: <pkgs>/sxml/sxml/scribblings raco setup: 4 making: <pkgs>/sxml/sxml/ssax (ssax) Assertion failed: (((((((intptr_t)((Scheme_Object *)(scopes))) & 0x1)?(Scheme_Type)scheme_integer_type:((Scheme_Object *)((Scheme_Object *)(scopes)))->type) >= scheme_hash_tree_type) && (((((intptr_t)((Scheme_Object *)(scopes))) & 0x1)?(Scheme_Type)scheme_integer_type:((Scheme_Object *)((Scheme_Object *)(scopes)))->type) <= scheme_hash_tree_indirection_type))), function add_conditional_as_reachable, file ../../../racket/gc2/../src/syntax.c, line 5337. Abort trap: 6 [dstorrs@MacBook-Pro:~/Dropbox/dstorrs/personal/study/scheme/HTML-TreeBuilder:<dev*>]$

