Arc Forumnew | comments | leaders | submit | jkwen's commentslogin
1 point by jkwen 6060 days ago | link | parent | on: WebApp: Only 1st tutorial example works

I just installed arc2, but I cannot even get localhost to work at all. Whenever I call serve, or asv, I always get the following message: "The syntax of the command is incorrect", newline, "ready to serve port 8080".

Other than that, the interpreter seems to be recognising / running the samples in the tutorial ok. I am running on MSWinXP env.

Thanks for any insight.

-----

1 point by almkglor 6060 days ago | link

It's a bug I've experienced on Windows. Apparently the windows command line thinks that the terminal program is not running, so it tries to act based on the input (hence "the syntax of the command is incorrect") but it's actually still running, so both the windows command line and the Arc command line act on your input.

It's a problem with Windows itself ^^

-----

3 points by eds 6060 days ago | link

Actually, "the syntax of the command is incorrect" is due to Arc not using Windows style pathnames. (Also note that the -p option is not valid on Windows.)

  C:\User\Programming\Arc>mkdir -p arc/logs/
  The syntax of the command is incorrect.
Both of these are fixed on Anarki.

-----

1 point by almkglor 6059 days ago | link

ah, interesting ^^

-----

1 point by jkwen 6060 days ago | link

Sweet. Thanks.

-----