-
1. Re: Difficulties while doing preview of Arquillian web pages by awestruct
smikloso Dec 18, 2012 8:14 PM (in response to smikloso)Well, it was my fault .... i did not specify "-g" switch so the _site dir was empty ... I suggest to add that "-g" switch to the original how-to to not confuse people. Oh wait ... but I can do it too!
-
2. Re: Difficulties while doing preview of Arquillian web pages by awestruct
aslak Dec 19, 2012 2:59 AM (in response to smikloso)hmm, that's a bit odd. You shouldn't need the -g when using -d
Which awestruct version are you running?
-
3. Re: Difficulties while doing preview of Arquillian web pages by awestruct
aslak Dec 19, 2012 3:03 AM (in response to smikloso)The Identity extension in Awstruct should normally pick up the user info based on git commits / github users etc, just adding your github id as author: or translator: 'should' work..
There is tho a little chicken and egg issue there, since it's fetching data from github, the commit has to be in the repo on github before it can find the user, so for new users it won't work. You can add your self to the _config/identities.yml but leave it out of the commit. Then when it's pushed upstream it will all just work
-
4. Re: Difficulties while doing preview of Arquillian web pages by awestruct
smikloso Dec 19, 2012 4:21 AM (in response to aslak)I am not sure I am not using that computer right now but I remember 0.4.7 was the version of awestruct. At least I am sure it is > 0.4. There is > 0.2.something in prerequisities so it should be ok.
I noticed that there is a "bug" reported like you have to "touch" some file in order to build it or generate the site as such. I remember I did something like "find . | xargs touch; awestruct -d -g" and then it worked properly ... But it is weird indeed. I cloned repos few times from scratch and did as written in README, step by step, but nothing helped, only touching did the trick.
Maybe I am just unlucky and I am using some weird combination of all software.
Firstly I did not follow the "bundle install" way and I did it by gems way but I had to install additional gems on my own in order to satisfy awestruct, I can't remember which gems I installed, I guess "vp8" and "execjs" because awestruct said it cannot find any javascript runtime or something like that ... I was installing it on "ruby free" centos 6.3 so it may be a case this is quite repeatable for other people too.
I also installed additional gems as advised in the README
-
5. Re: Difficulties while doing preview of Arquillian web pages by awestruct
lfryc Jan 9, 2013 1:32 PM (in response to smikloso)Note that I have tried to use Awestruct (which would be able to build Arquillian page) from clean Fedora 17 installation with no success:
!! Unexpected error while processing request: Is a directory
Just for information, there are additional steps which were necessary to do:
- yum groupinstall "Development Tools"
- compile node/npm from github source http://www.davidhampgonsalves.com/2012/10/Install-Node-js-NPM-on-Fedora-Core-17
- # yum install libxml2 libxml2-devel libxslt libxslt-devel
- # gem install ri_cal tzinfo
I will investigate further.
- yum groupinstall "Development Tools"
-
6. Re: Difficulties while doing preview of Arquillian web pages by awestruct
lfryc Jan 13, 2013 10:55 AM (in response to lfryc)The issue which I was facing was that _site wasn't generated properly (which is the path Awestruct's handled Thin server points to).
It seems when some error occurs during a build of the page, build skips to serve the generated content, which is in lot of cases nothing.
What was the real case?
- There is limit for Github API calls (60 requests per IP address) which prevents to checkout various page content from GitHub anonymously
- when you add ~/.github-auth , you will get much more benevolent limits: 5000
- however there are still some URLs which does not reflect this setting and tries to request GitHub API anonymously
- I'll sent pull request
- seems that for listing members of teams (translator, core) using GitHub API, you need to be granted with permission
- request fails on Permission denied for me
I will make sure my experience with installation is reflected to README and I'll open issue for updating given URLs.