[Gtk-sharp-list] GAPI problems

Daniel Espinosa esodan at gmail.com
Wed Mar 7 20:16:52 EST 2007


I have a problem with GAPI, it doesn't find the api.raw.pre file, does
any one can help me?

I have the following gnomedb-graph-sources.xml file:

<gapi-parser-input>
  <api filename="gnomedb-graph-api.raw">
    <library name="gnomedb_graph-3">
      <namespace name="GnomeDb">
        <directory path="../../libgnomedb-graph" />
      </namespace>
    </library>
  </api>
</gapi-parser-input>

I have checked the library path using ls ../../libgnomedb-graph and
shows the files, even this shows the libgnomedb_graph-3.la file witch
is the file of the library at <library> tag...

when I run gapi2-parser sources.xml at the directory I have all the
files for GAPI, it sends erros:

/opt/mono-1.2.3.1/bin/gapi2-parser gnomedb-graph-sources.xml
<directory ../../libgnomedb-graph: excluding >
drag_action  at /opt/mono-1.2.3.1/bin/../lib/gtk-sharp-2.0/gapi2xml.pl
line 981, <STDIN> line 799.

Unhandled Exception: System.IO.FileNotFoundException: Could not find
file "/home/esodan/Projects/gnomedb/libgnomedb/gnomedb-sharp/graph/gnomedb-graph-api.raw.pre".
File name: "/home/esodan/Projects/gnomedb/libgnomedb/gnomedb-sharp/graph/gnomedb-graph-api.raw.pre"
  at System.IO.FileStream..ctor (System.String name, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean
anonymous, FileOptions options) [0x00000]
  at System.IO.FileStream..ctor (System.String name, FileMode mode,
FileAccess access, FileShare share) [0x00000]
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri,
System.String role, System.Type ofObjectToReturn) [0x00000]
  at System.Xml.XmlTextReader.GetStreamFromUrl (System.String url,
System.String& absoluteUriString) [0x00000]
  at System.Xml.XmlTextReader..ctor (System.String url,
System.Xml.XmlNameTable nt) [0x00000]
  at System.Xml.XmlDocument.Load (System.String filename) [0x00000]
  at GtkSharp.Parsing.Parser.Main (System.String[] args) [0x00000]
make: *** [gnomedb-graph-api.raw] Error 1

-- 
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (entrámite, pero para los
cuates: LIBRE)


More information about the Gtk-sharp-list mailing list