Arc Forumnew | comments | leaders | submitlogin
Probably just me being stupid...
2 points by improbable 6466 days ago | 6 comments
When I try to run Arc I get the following:

default-load-handler: cannot open input file: "C:\Tools\MzScheme\ac.scm" (The sy stem cannot find the file specified.; errno=2) >

Did I just forget to do something? (running Windows XP)



3 points by eds 6466 days ago | link

Are you sure ac.scm is in the directory "C:\Tools\MzScheme\"? I get the same error when I intentionally try to load arc in an incorrect directory. So if you aren't in the directory where you put arc, cd to that directory before calling mzscheme.

(You may also want to note that you want to load as.scm, not ac.scm, because as.scm starts the toplevel. But I don't know if that is part of your problem or not.)

-----

2 points by improbable 6466 days ago | link

(thanks for the help, eds - I just needed to specify where the arc files were - like I said, stupid error :))

OK, I got the toplevel working, but now I'm working through the tutorial and, when I get to the web-app "hello world" and do the (asv), it gives me:

arc> (asv) The syntax of the command is incorrect. The syntax of the command is incorrect. Error: "open-output-file: cannot open output file: \"C:/tmp/shashf01bf0R6LO\" (T he system cannot find the path specified.; errno=3)"

-----

1 point by nex3 6466 days ago | link

This is a problem with Windows compatibility. I believe the Git wiki is fully compatible, although I'm not sure.

-----

2 points by eds 6465 days ago | link

I get the following on the latest from arc-wiki (Tue Feb 26 10:33:26 PST 2008):

  Use (quit) to quit, (tl) to return here after an interrupt.
  arc> (defop hello req (pr "hello world"))
  #<procedure:gs1657>
  arc> (asv)
  The syntax of the command is incorrect.
  ready to serve port 8080
and then when I direct my browser to http://localhost:8080/hello

  'uname' is not recognized as an internal or external command,
  operable program or batch file.
  make-string: expects argument of type <non-negative exact integer>; given -1
  
   === context ===
   cut
   date
   memodate
   srvlog
   gs1078
   handle-request-thread

-----

1 point by nex3 6464 days ago | link

This has been fixed, although there are still a few issues with OpenSSL.

-----

1 point by improbable 6466 days ago | link

OK, thanks

-----