Arc Forumnew | comments | leaders | submitlogin
Cant get tutorial hello webapp to work
3 points by globalrev 5852 days ago | 4 comments
arc> (defop hello req (pr "hello world")) #<procedure:gs2413> arc> (asv) The syntax of the command is incorrect.

The syntax of the command is incorrect.

ready to serve port 8080 . . ac.scm::22735: open-output-file: cannot open output file: "C:\Users\saftarn\Desktop\arc2\arc/logs/srv-" (The system cannot find the path specified.; errno=3)

the page first doesnt load then when i press enter again it does but becomes blank and down to the left it says "waiting for localhost"

im using windows vista. i have the arc-folder on my desktop as you can see. im using DrScheme, pltscheme.



2 points by cchooper 5852 days ago | link

These are known bugs that occur on Windows platforms. There are instructions for fixing them somewhere on the forum, but I can't find them. It has something to do with using forward slashes in path names instead of back slashes. So if you see something like this anywhere in the Arc source code:

  (= some-var "arc/logs/srv")
change it to

  (= some-var "arc\\logs\\srv")
Alternatively, switch to Anarki as jmatt suggested. That seems to be what most people use.

-----

4 points by jmatt 5852 days ago | link

I got arc2 to work on linux and windows initially through searching the forums and finding bugs. It was an interesting exercise but overall I'd recommend arkani. arkani has more bug fixes and all sorts of interesting code to look at and/or use.

-----

1 point by jmatt 5852 days ago | link

Yeah use Arkani.

http://www.arcfn.com/2008/02/git-and-anarki-arc-repository-b...

arc2 works fine on mac os x but has problems with linux and windows.

-----

1 point by wfarr 5852 days ago | link

Are you using Arc2, or Anarki?

-----