Closed GaetanJUVIN closed 8 years ago
Yep, the server seems to be down :(
I've just sent a message to Louis on Twitter.
Still down. Much sads. Ow. :dog:
http://webcache.googleusercontent.com/search?q=cache:babXiEf_DaAJ:louismullie.com/treat/punkt/english.yaml+&cd=1&hl=en&ct=clnk&gl=us
Is the google cache of the file.
wget/copy-paste this file onto your local machine, then open an irb and type
require 'treat'
Treat.paths.models
Put this file in the directory that Treat.paths.models
returns as punkt/english.yaml
and then you should be able to continue with the install step.
Might need to mkdir punkt
in that directory first.
Also needed to comment out some lines in .rvm/gems/ruby-2.1.6/gems/treat-2.1.0/lib/treat/core/installer.rb
149 150 151
and
158
Yes... and the next step will be stanford-core-nlp-full.zip, have you found it ? :p
Gaëtan
Nope! Still struggling through this one. First time installs. :(
Yea I doubt a cache of the zip is accessible. Aw well. :(
If you have previously installed treat you can find the files at: ~/.rvm/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/treat-2.1.0/tmp/ you can place them somewhere, dropbox, etc and change lines 8, 148, and 97 of ./lib/treat/core/installer.rb to point to your new server.
Worked for me. Should probably host these in the git repo or on a reliable file server such as s3.
@DavidBates can you upload theses files somewhere in order for us to succeed our first time install ? :)
How about we set up mirrors On Jul 17, 2015 1:03 AM, "Gaetan JUVIN" notifications@github.com wrote:
@DavidBates https://github.com/DavidBates can you upload theses files somewhere in order for us to succeed our first time install ? :)
— Reply to this email directly or view it on GitHub https://github.com/louismullie/treat/issues/113#issuecomment-122176521.
Yea i've got a bunch of s3 space I don't mind using. If someone can put the files up publicly somewhere, I don't mind throwing them up in the bucket. Would you be able to make the files internet accessible somehow @DavidBates ?
I'll leave those up through the night for someone to replicate
@DavidBates thanks man ! :)
Thanks much!
These files should now be available on https://s3.amazonaws.com/static-public-assets/treat/
All you should need to do is edit your gem (root locations may vary)
~/.rvm/gems/ruby-X.Y.Z/gems/treat-A.B.C/lib/treat/core/installer.rb
And change line 8
from
Server = 'www.louismullie.com'
to
Server = 's3.amazonaws.com/static-public-assets'
Just to confirm, I was finally able to get the installer to finish running now! yayay!
Sorry about that peeps, now fixed.
Problem is open again. server returns 502 response code
@garside the s3 says The specified bucket does not exist. Is there any fix yet? I am on ruby 2.5.0, rails 5.1.4
I'm running Treat.install with default optiions (1) And got next:
Treat::Exception: Couldn't download www.louismullie.com/treat/punkt/english.yaml. (response code was not 200 OK, but was 404. )
Actually i have found english.yaml on google.. i have modify my /etc/hosts in order to lie to my computer and pass this step. But the next one is: stanford-core-nlp-full.zip And this one I did not find it :-(
Can you reup you server or push all required file somewhere we can download it ? :p In advance thanks!
Gaëtan