Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

pattern-index-query-example.scm sample does not work #1

@stellarspot

Description

@stellarspot

Steps to reproduce

  • Build and install pattern-index project
  • go to opencog/pattern-index directory
  • run guile pattern-index-query-example.scm
    Output:
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/stellarspot/opencog/master/pattern-index/opencog/pattern-index/pattern-index-query-example.scm
;;; compiling /usr/share/guile/site/2.2/opencog/learning/pattern-index.scm
;;; WARNING: compilation of /usr/share/guile/site/2.2/opencog/learning/pattern-index.scm failed:
;;; In procedure mkstemp!: Permission denied
;;; WARNING: compilation of /home/stellarspot/opencog/master/pattern-index/opencog/pattern-index/pattern-index-query-example.scm failed:
;;; In procedure dynamic-link: file: "libpatternindex", message: "file not found"
Backtrace:
           4 (primitive-load "/home/stellarspot/opencog/master/patte…")
In ice-9/eval.scm:
   304:34  3 (_ #<directory (guile-user) 5643ab463140>)
   191:27  2 (_ #<directory (guile-user) 5643ab463140>)
   223:20  1 (proc #<directory (guile-user) 5643ab463140>)
In unknown file:
           0 (%resolve-variable (7 . pi-create-index) #<directory (g…>)

ERROR: In procedure %resolve-variable:
Unbound variable: pi-create-index

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions