[MarkLogic Dev General] XQDebug fails to install
jhunter at marklogic.com
Mon Oct 25 14:02:55 PDT 2010
Well MarkLogic treats the file as text based on its file extension. It's apparently not utf-8 so thus the issue.
Perhaps the resource fork isn't really supposed to be there. Try removing it from the zip before installing?
Sent from my iPhone
On Oct 25, 2010, at 4:32 PM, David Sewell <dsewell at virginia.edu> wrote:
> We're trying unsuccessfully to install the open source XQDebug tool,
> on our development server (Red Hat Linux). Running the install script
> fails with a server error indicating some real oddness in the
> interaction between script and zipfile, suggesting maybe that the source
> zipfile was corrupted at some point?
> XDMP-DOCUTF8SEQ: xdmp:zip-get(fn:doc("/code/xqdebug/xqdebug.zip"), "__MACOSX/xqdebug/assets/scripts/editarea_0_8_2/._change_log.txt") -- Invalid UTF-8 escape sequence at __MACOSX/xqdebug/assets/scripts/editarea_0_8_2/._change_log.txt line 1 -- document is not UTF-8 encoded
> in /xqdebug/install/install-functions.xqy, on line 26,
> etc. etc. In other words, for some reason the program is reading in an
> OS X resource fork dotfile, ._change_log.txt (i.e. one of the metadata
> files that gets created when you run an OS X zip program) and trying to
> interpret it as a text file, which it's not (it's binary data).
> Any ideas, anyone?
> David Sewell, Editorial and Technical Manager
> ROTUNDA, The University of Virginia Press
> PO Box 400314, Charlottesville, VA 22904-4314 USA
> Email: dsewell at virginia.edu Tel: +1 434 924 9973
> Web: http://rotunda.upress.virginia.edu/
> General mailing list
> General at developer.marklogic.com
More information about the General