Windows Vista?

Help
ehr
2007-11-10
2013-05-28
  • ehr
    ehr
    2007-11-10

    Tried to run on Windows Vista and got this. Any ideas???

    C:\Home\ER\CYC\opencyc-1.0\scripts>rem You can browse cyc via the G
    uest account or perform updates by

    C:\Home\ER\CYC\opencyc-1.0\scripts>rem logging on as CycAdminstrato
    r.

    C:\Home\ER\CYC\opencyc-1.0\scripts>rem current directory for this s
    cript is assumed to be opencyc-1.0\scripts

    C:\Home\ER\CYC\opencyc-1.0\scripts>set kb_num=5006

    C:\Home\ER\CYC\opencyc-1.0\scripts>set exe_filename=bin\opencyc.exe

    C:\Home\ER\CYC\opencyc-1.0\scripts>set world_filename=world/kb-5006
    -windows-local.load

    C:\Home\ER\CYC\opencyc-1.0\scripts>set units_directory=units/5006/

    C:\Home\ER\CYC\opencyc-1.0\scripts>cd ..\server\cyc\run

    C:\Home\ER\CYC\opencyc-1.0\server\cyc\run>if exist world/kb-5006-wi
    ndows-local.load goto run

    C:\Home\ER\CYC\opencyc-1.0\server\cyc\run>bin\opencyc.exe -f "(open
    -cyc-build-world \"units/5006/\" \"world/kb-5006-windows-local.load\")" -q
    Cyc 10 (Windows 32-bit)
    Copyright (C) 1995 - 2006 Cycorp, Inc.  All rights reserved.
    RTL (Win32 Threads) initialized.
    Error: String "18287931-d871-11d9-8eef-0002b3891c5a" is not a valid GUID.
    [Switching to single-threaded mode ....]

    Select a restart:
      0: Recursive read loop.
      1: Exit program.
    ? 0
    CYC(1): (+ 1 2)
    3
    CYC(2): (genls #$Person)

    Warning: #$genls is not a valid sbhl-predicate-p
    A SYMBOL at 0026001C is not a structurep.

     
    • RdR
      RdR
      2008-05-08

      I get the same result.

       
    • daBDe
      daBDe
      2008-05-12

      I tried and this was my result. Anyone can suggest what can I do?

      Microsoft Windows [Versione 6.0.6001]
      Copyright (c) 2006 Microsoft Corporation. Tutti i diritti riservati.

      C:\OpenCyc>cd opencyc-1.0

      C:\OpenCyc\opencyc-1.0>cd scripts

      C:\OpenCyc\opencyc-1.0\scripts>set kb_num=5006

      C:\OpenCyc\opencyc-1.0\scripts>exe exe_filename=bin\opencyc.exe
      "exe" non è riconosciuto come comando interno o esterno,
      un programma eseguibile o un file batch.

      C:\OpenCyc\opencyc-1.0\scripts>set exe_filename=bin\opencyc.exe

      C:\OpenCyc\opencyc-1.0\scripts>set units_directory=units/5006/

      C:\OpenCyc\opencyc-1.0\scripts>cd ..\server\cyc\run

      C:\OpenCyc\opencyc-1.0\server\cyc\run>run>if exist world/kb-5006-wi
      "run" non è riconosciuto come comando interno o esterno,
      un programma eseguibile o un file batch.

      C:\OpenCyc\opencyc-1.0\server\cyc\run>ndows-local.load goto run
      "ndows-local.load" non è riconosciuto come comando interno o esterno,
      un programma eseguibile o un file batch.

      C:\OpenCyc\opencyc-1.0\server\cyc\run>if exist world/kb-5006-windows-local.load
      goto run

      C:\OpenCyc\opencyc-1.0\server\cyc\run>bin\opencyc.exe -f "(open-cyc-build-world
      \"units/5006/\" \"world/kb-5006-windows-local.load\")" -q
      Cyc 10 (Windows 32-bit)
      Copyright (C) 1995 - 2006 Cycorp, Inc.  All rights reserved.
      RTL (Win32 Threads) initialized.
      CycL Initialized.
      Warning: No KB is loaded.  System KB initializations will not be run.
      Process ID: 156
      System 1.11058.2.20.2.3.
      Loading init form "(open-cyc-build-world \"units/5006/\" \"world/kb-5006-windows
      -local.load\")".

      Loading special objects
      Loading constant shells
      Freeing clause-strucs
      [ DONE (0:00) ]
      Freeing deductions
      [ DONE (0:00) ]
      Freeing assertions
      [ DONE (0:01) ]
      Freeing NARTs
      [ DONE (0:00) ]
      Freeing constants
      [ DONE (0:00) ]
      Loading constant shells
      [ 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% DONE (0:10) ]
      Determining maximum constant SUID
      [ DONE (0:00) ]

      Loading NART shells
      Loading NART shells
      [ DONE (0:01) ]
      Determining maximum NART ID
      [ DONE (0:00) ]

      Loading assertion shells
      Loading assertion shells
      [ 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% DONE (0:11) ]
      Determining maximum assertion ID
      [ DONE (0:01) ]

      Loading clause-struc definitions
      Loading clause-struc definitions
      [ 10% DONE (0:01) ]
      Determining maximum clause-struc ID
      [ DONE (0:00) ]

      Loading deduction definitions
      Deduction definitions will be swapped in lazily from units/5006/deduction.cfasl
      and units/5006/deduction-index.cfasl
      Initializing deduction handles only
      [ DONE (0:01) ]
      Initializing HL backing store caches from units/5006/.
      Determining maximum deduction ID
      [ DONE (0:01) ]

      Loading assertion definitions
      Assertion definitions will be swapped in lazily from units/5006/assertion.cfasl
      and units/5006/assertion-index.cfaslInitializing HL backing store caches from un
      its/5006/.

      Loading bookkeeping assertions
      Loading experience
      Loading constant indices
      Loading constant indices
      [ 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% DONE (0:27) ]

      Loading NART indices
      Loading NART indices
      [ DONE (0:04) ]

      Loading Assertion indices
      Loading Assertion indices
      [ DONE (0:00) ]

      Loading rule set
      Loading miscellaneous stuff
      Loading sbhl graphs
      Loading sbhl time state
      Loading sbhl cache
      Loading cardinality estimates
      Loading arg-type cache
      Loading TVA cache
      Loading lexicon cache
      Performing initializations
      Initializing NART HL formula table
      [.... 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% DONE (0:23) ]

      "Initializing all somewhere caches"
      Initializing #$interArgIsa cache
      [ DONE (0:00) ]
      Initializing #$interArgFormat cache
      [ DONE (0:00) ]
      initializing old constant name table
      [ DONE (0:00) ]
      Initializing #$detailedIsaParaphrase...
      [ DONE (0:00) ]
      Initializing #$genTemplate-QuerySentence...
      [ DONE (0:00) ]
      Initializing #$genTemplate-Constrained...
      [ DONE (0:00) ]
      Initializing #$genTemplate...
      [ DONE (0:00) ]
      Removing invalid PPH phrases
      [ DONE (0:00) ]

      Initializing CycL Reformulator

      Initializing Reformulator Control Variables
      Initializing Reformulator Rules
      [ 10% 30% DONE (0:02) ]

      Load of KB 5006 completed!
      ;;; KB 5006 statistics
      FORTs                   :    263332
      Constants              :    129596
      NARTs                  :    133736
      Assertions              :   2040330
      KB Assertions          :   1822740
        cached                :    212407  (11.7%)
      Bookkeeping Assertions :    217590
      Deductions              :    323751
        cached                :      1386  (0.428%)
      Doing a GC.
      Snapping symbol indirections.
      Writing the header.
      Writing statics.
      Writing region map.
      Writing chunks.
      Done.
      Done.

      C:\OpenCyc\opencyc-1.0\server\cyc\run>bin\opencyc.exe -w world/kb-5006-windows-l
      ocal.load
      Loading statics.
      Mapping in the memory image.
      Error mapping file segment: code:        0 filename: world/kb-5006-windows-local
      .load off:   b60000 len:    20000 addr:   280000
      Implementation error: Could not map the file
      OS-Err: 487: Tentativo di accedere ad un indirizzo non valido.
      .

      C:\OpenCyc\opencyc-1.0\server\cyc\run>

       
    • Richard
      Richard
      2008-05-13

      I get a different error :(  I've tried XP compatibility.  Unable to find any search matches for it.

      kb-5006-windows-local.load
      Loading statics.
      Mapping in the memory image.
      Error mapping file segment: code:        0 filename: world/kb-5006-windows-local.load off:   ba0000 len:    20000 addr:   2a0000
      Implementation error: Could not map the file
      OS-Err: 487: Attempt to access invalid address.

       
    • TerryCox
      TerryCox
      2008-06-13

      I get the following, trying to install 1.0.2 on Vista, dual-core 32-bit, 2GB. I've seen several posts reportingthese errors, going back months, with no response. I've tried everything I can think of, and without help I'm about to give up. Is OpenCyc still alive as a project?

      C:\opencyc-1.0\scripts>run-cyc.bat

      C:\opencyc-1.0\scripts>rem run-cyc.bat

      C:\opencyc-1.0\scripts>rem Shell script to execute the cyc server

      C:\opencyc-1.0\scripts>rem After some time loading the world into memory you wil
      l see CYC(1):

      C:\opencyc-1.0\scripts>rem which is the SubL command prompt.

      C:\opencyc-1.0\scripts>rem [optional]

      C:\opencyc-1.0\scripts>rem You can enter SubL expressions such as (+ 1 2) or (ge
      nls #$Person)

      C:\opencyc-1.0\scripts>rem or (all-genls #$Person) at the command line to verify
      Cyc's operation.

      C:\opencyc-1.0\scripts>rem At this point the cyc http server is running and you
      can access

      C:\opencyc-1.0\scripts>rem Cyc directly via the local web browser.

      C:\opencyc-1.0\scripts>rem http://localhost:3602/cgi-bin/cyccgi/cg?cb-start

      C:\opencyc-1.0\scripts>rem You can browse cyc via the Guest account or perform u
      pdates by

      C:\opencyc-1.0\scripts>rem logging on as CycAdminstrator.

      C:\opencyc-1.0\scripts>rem current directory for this script is assumed to be op
      encyc-1.0\scripts

      C:\opencyc-1.0\scripts>set kb_num=5006

      C:\opencyc-1.0\scripts>set exe_filename=bin\opencyc.exe

      C:\opencyc-1.0\scripts>set world_filename=world/kb-5006-windows-local.load

      C:\opencyc-1.0\scripts>set units_directory=units/5006/

      C:\opencyc-1.0\scripts>cd ..\server\cyc\run

      C:\opencyc-1.0\server\cyc\run>if exist world/kb-5006-windows-local.load goto run

      C:\opencyc-1.0\server\cyc\run>bin\opencyc.exe -f "(open-cyc-build-world \"units/
      5006/\" \"world/kb-5006-windows-local.load\")" -q
      Cyc 10 (Windows 32-bit)
      Copyright (C) 1995 - 2006 Cycorp, Inc.  All rights reserved.
      RTL (Win32 Threads) initialized.
      CycL Initialized.
      Warning: No KB is loaded.  System KB initializations will not be run.
      Process ID: 3072
      System 1.11058.2.20.2.3.
      Loading init form "(open-cyc-build-world \"units/5006/\" \"world/kb-5006-windows
      -local.load\")".

      Loading special objects
      Loading constant shells
      Freeing clause-strucs
      [ DONE (0:00) ]
      Freeing deductions
      [ DONE (0:00) ]
      Freeing assertions
      [ DONE (0:01) ]
      Freeing NARTs
      [ DONE (0:00) ]
      Freeing constants
      [ DONE (0:00) ]
      Loading constant shells
      [ 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% DONE (0:27) ]
      Determining maximum constant SUID
      [ DONE (0:00) ]

      Loading NART shells
      Loading NART shells
      [ DONE (0:02) ]
      Determining maximum NART ID
      [ DONE (0:00) ]

      Loading assertion shells
      Loading assertion shells
      [ 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% DONE (0:23) ]
      Determining maximum assertion ID
      [ DONE (0:03) ]

      Loading clause-struc definitions
      Loading clause-struc definitions
      [ DONE (0:02) ]
      Determining maximum clause-struc ID
      [ DONE (0:00) ]

      Loading deduction definitions
      Deduction definitions will be swapped in lazily from units/5006/deduction.cfasl
      and units/5006/deduction-index.cfasl
      Initializing deduction handles only
      [ DONE (0:02) ]
      Initializing HL backing store caches from units/5006/.
      Determining maximum deduction ID
      [ DONE (0:01) ]

      Loading assertion definitions
      Assertion definitions will be swapped in lazily from units/5006/assertion.cfasl
      and units/5006/assertion-index.cfaslInitializing HL backing store caches from un
      its/5006/.

      Loading bookkeeping assertions
      Loading experience
      Loading constant indices
      Loading constant indices
      [.. 10% 20% 30% 40%. 50%.. 60%.... 70%.... 80% 90%. 100% DONE (0:51) ]

      Loading NART indices
      Loading NART indices
      [ 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% DONE (0:08) ]

      Loading Assertion indices
      Loading Assertion indices
      [ DONE (0:00) ]

      Loading rule set
      Loading miscellaneous stuff
      Loading sbhl graphs
      Loading sbhl time state
      Loading sbhl cache
      Loading cardinality estimates
      Loading arg-type cache
      Loading TVA cache
      Loading lexicon cache
      Performing initializations
      Initializing NART HL formula table
      [. (0:06 of ~10:00)
        .... 10%.... 20%.... 30%.... 40%.... 50%.... 60% 70% 80% 90% 100% DONE (0:46)
      ]

      "Initializing all somewhere caches"
      Initializing #$interArgIsa cache
      [ DONE (0:00) ]
      Initializing #$interArgFormat cache
      [ DONE (0:00) ]
      initializing old constant name table
      [ DONE (0:00) ]
      Initializing #$detailedIsaParaphrase...
      [ DONE (0:00) ]
      Initializing #$genTemplate-QuerySentence...
      [ DONE (0:00) ]
      Initializing #$genTemplate-Constrained...
      [ DONE (0:00) ]
      Initializing #$genTemplate...
      [ DONE (0:00) ]
      Removing invalid PPH phrases
      [ DONE (0:00) ]

      Initializing CycL Reformulator

      Initializing Reformulator Control Variables
      Initializing Reformulator Rules
      [ 10% 20% 30% DONE (0:04) ]

      Load of KB 5006 completed!
      ;;; KB 5006 statistics
      FORTs                   :    263332
      Constants              :    129596
      NARTs                  :    133736
      Assertions              :   2040330
      KB Assertions          :   1822740
        cached                :    212407  (11.7%)
      Bookkeeping Assertions :    217590
      Deductions              :    323751
        cached                :      1386  (0.428%)
      Doing a GC.
      Snapping symbol indirections.
      Writing the header.
      Writing statics.
      Writing region map.
      Writing chunks.
      Done.
      Done.

      C:\opencyc-1.0\server\cyc\run>bin\opencyc.exe -w world/kb-5006-windows-local.loa
      d
      Loading statics.
      Mapping in the memory image.
      Error mapping file segment: code:        0 filename: world/kb-5006-windows-local
      .load off:   b80000 len:    20000 addr:   280000
      Implementation error: Could not map the file
      OS-Err: 487: Attempt to access invalid address.
      .

       
    • joshlangley
      joshlangley
      2008-07-21

      This is what I got..

      C:\Program Files (Stand Alone)\opencyc-1.0\server\cyc\run>bin\opencyc.exe -w wor
      ld/kb-5006-windows-local.load
      Loading statics.
      Mapping in the memory image.
      Error mapping file segment: code:        0 filename: world/kb-5006-windows-local
      .load off:   b40000 len:    20000 addr:    20000
      Implementation error: Could not map the file
      OS-Err: 487: Attempt to access invalid address.
      .

      Tried running under Win XP SP2 Compatibility, w/ admin privileges, didn't work.

       
    • Luke
      Luke
      2008-11-14

      I had very similar problems as these.

      95% of them can be fixed by continuing to try to run the script until it works.  For me, it takes about 5 tries every time to get opencyc up and running.