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.

