I think you're hitting the macro-expander bug that is triggered by "boris", again:
https://groups.google.com/d/msg/racket-users/t-qpq3AoEME/Z-rdyTBMAQAJ The "boris" package imports from the "html" collection, and the "html-parsing" package provides a new module in "html", so `raco pkg install html-parsing` checks the compilation of "boris" (just in case). Unfortunately, attempting to compile "boris" still goes wrong. I'm not sure about the earlier "docindex.sqlite" problem. It's possible that the "boris"-triggered crashes have left "/Users/dstorrs/Library/Racket/6.3/doc/docindex.sqlite" in a bad state. At Thu, 7 Jan 2016 16:03:38 -0800, David Storrs wrote: > 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. > > > ------------------------------------------------------------------------------ > [text/plain "racket_crash_installing_html-parsing.txt"] [~/Desktop & open] > [~/Temp & open] -- 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.

