[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#716728: marked as done (E: Invalid_argument("String.create"))



Your message dated Thu, 18 Aug 2016 10:03:26 +0200
with message-id <5560bff6-6b09-9fcb-b1a3-b0f73c8bc60c@debian.org>
and subject line Re: Bug#716728: E: Invalid_argument("String.create")
has caused the Debian Bug report #716728,
regarding E: Invalid_argument("String.create")
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
716728: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716728
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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-v-b@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

--- End Message ---
--- Begin Message ---
Version: 0.4.4-1

On 17/07/2013 17:08, Hendrik Tews wrote:
forwarded 716728 https://forge.ocamlcore.org/tracker/index.php?func=detail&aid=1295&group_id=54&atid=291
thanks

upstream plans to fix this issue in version 0.4.

According to upstream bug tracker, this has been fixed in 0.4.3...


Cheers,

--
Stéphane

--- End Message ---

Reply to: