Arc Forumnew | comments | leaders | submitlogin
Trying to get Arc News running for HN clone
2 points by geoengineering 4418 days ago | 11 comments
rolling along per Nicholas Lee's article

http://nicholasblee.com/blog/hacker-news-clone-on-a-free-aws-ec2-instance-wapache-reverse-proxy-server-20-min-install/

until

mzscheme -f as.scm read failed to read all 23 bytes from file mzscheme Aborted (core dumped)



2 points by marcvs 4418 days ago | link

did you install the latest version of racket? there's an updated version since nicholas published his tutorial. i followed his instructions and everything worked fine.

-----

1 point by geoengineering 4418 days ago | link

I just upgraded to 5.3.3 but that didn't fix it. Still getting the same error.

I am wondering if there is a permissions problem. It sounds like mzscheme is trying to read as.scm but failing.

-----

1 point by geoengineering 4418 days ago | link

tried running it as sudo. No change. There are 23 characters in the first line of as.scm and I am getting the error message

read failed to read all 23 bytes from file mzscheme

-----

1 point by akkartik 4418 days ago | link

Weird. Can you try running the main branch of anarki with just:

  $ racket -f as.scm
? We're trying to move away from legacy mzscheme. Let us know if the error persists.

In general, the instructions we've been steering newcomers toward are at https://sites.google.com/site/arclanguagewiki/getting-starte..., which we try to keep up-to-date. If that helps in this case.

(Once you resolve this issue I'd also recommend switching to the Nu branch described in the above link. It's a much more clean and modern implementation.)

-----

2 points by Pauan 4418 days ago | link

When akkartik said "the Nu branch", he meant this:

https://github.com/Pauan/ar

I too recommend using it rather than vanilla Arc. It has many bug fixes and new features, yet is still backwards compatible.

-----

1 point by geoengineering 4418 days ago | link

will do

-----

2 points by geoengineering 4418 days ago | link

racket -f as.scm works! moving forward ...

-----

1 point by geoengineering 4418 days ago | link

OK - now how do I get it to run unattended? It is running from the console right now so disappears when I close the terminal.

http://geoengineeringnews.bitnamiapp.com:8080/news

-----

2 points by akkartik 4418 days ago | link

http://www.arclanguage.org/item?id=17479

Also check out http://arclanguage.org/item?id=4708 for making changes to a running server.

-----

3 points by marcvs 4417 days ago | link

good tutorial on screen: http://www.rackaid.com/resources/linux-screen-tutorial-and-h...

-----

2 points by thaddeus 4417 days ago | link

I didn't know screen allowed you to keep a running log file. Had I known that before I probably could have solved a few head scratchers a little easier.

That was useful, thx.

-----