Package: oasis Version: 0.3.0-2 Severity: normal When I try to use oasis with my project I get the following error:
mrvn@frosties:~/src/lightspeed% oasis setup Raised by primitive operation at file "string.ml", line 31, characters 2-26 Called from file "src/oasis/OASISRecDescParser.ml", line 404, characters 29-49 Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47 Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29 Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47 Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29 Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47 Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29 Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47 Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29 Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47 Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29 Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47 Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29 Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47 Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29 Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47 Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29 Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47 Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29 Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47 Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29 Called from file "src/oasis/OASISRecDescParser.ml", line 83, characters 11-18 Called from file "list.ml", line 86, characters 24-34 Called from file "src/oasis/OASISRecDescParser.ml", line 138, characters 4-11877 Called from file "src/oasis/OASISAst.ml", line 38, characters 4-57 Called from file "src/oasis/OASISParse.ml", line 33, characters 4-49 Called from file "src/cli/Setup.ml", line 70, characters 6-95 Called from file "src/cli/Setup.ml", line 62, characters 4-312 Called from file "src/cli/Main.ml", line 61, characters 6-13 E: Invalid_argument("String.create") I've added some printf debugging to the source around OASISRecDescParser.ml", line 404 showing me this: diff = 0, lvl =14, lvl_ref = 14, str = (C) 2012 Goswin von Brederlow diff = 0, lvl =2, lvl_ref = 2, str = Game in the style of the Master of Orion but with the speed of light diff = 0, lvl =2, lvl_ref = 2, str = introducing a time lag for distant star systems. diff = -1, lvl =1, lvl_ref = 2, str = The problem seems to be a line with just " " after the description. So my _oasis file is buggy but it would be nice to get an error from the parser. For testing purposes here a shortened version of my _oasis file: ---------------------------------------------------------------------- OASISFormat: 0.1 Name: lightspeed Version: 0.0.0 #LicenseFile: ? License: GPL-3+ with OCaml linking exception Authors: Goswin von Brederlow <goswin-...@web.de> Copyrights: (C) 2012 Goswin von Brederlow #Homepage: http://???/ BuildTools: ocamlbuild Plugins: DevFiles (0.2), META (0.2) Synopsis: Turn based strategy game in a galaxy with lightspeed limit Description: Game in the style of the Master of Orion but with the speed of light introducing a time lag for distant star systems. Flag strict Description: Strict compile-time checks Default: true Executable server Path: . Install: true CompiledObject: best MainIs: server.ml BuildDepends: bigarray, extunix, unix ---------------------------------------------------------------------- MfG Goswin -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages oasis depends on: ii libfindlib-ocaml [libfindlib-ocaml-ozcu3] 1.3.3-1 ii liboasis-ocaml [liboasis-ocaml-yvun8] 0.3.0-2+ocaml4 ii liboasis-ocaml-dev 0.3.0-2+ocaml4 ii libodn-ocaml [libodn-ocaml-gzti0] 0.0.9-1+ocaml4 ii ocaml-base-nox [ocaml-base-nox-4.00.1] 4.00.1-1 oasis recommends no packages. Versions of packages oasis suggests: ii liboasis-ocaml-doc 0.3.0-2+ocaml4 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org