louismullie / treat

Natural language processing framework for Ruby.
Other
1.37k stars 128 forks source link

Server www.louismullie.com down ? :-( #113

Closed GaetanJUVIN closed 8 years ago

GaetanJUVIN commented 9 years ago

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

javierarce commented 9 years ago

Yep, the server seems to be down :(

I've just sent a message to Louis on Twitter.

garside commented 9 years ago

Still down. Much sads. Ow. :dog:

garside commented 9 years ago

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

GaetanJUVIN commented 9 years ago

Yes... and the next step will be stanford-core-nlp-full.zip, have you found it ? :p

Gaëtan

garside commented 9 years ago

Nope! Still struggling through this one. First time installs. :(

garside commented 9 years ago

Yea I doubt a cache of the zip is accessible. Aw well. :(

DavidBates commented 9 years ago

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.

GaetanJUVIN commented 9 years ago

@DavidBates can you upload theses files somewhere in order for us to succeed our first time install ? :)

kshahkshah commented 9 years ago

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.

garside commented 9 years ago

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 ?

DavidBates commented 9 years ago

https://www.dropbox.com/s/h4ngtszvcw4ob9r/stanford-core-nlp-all.zip?dl=0 https://www.dropbox.com/s/ykk58j91ujoqq4q/english.yaml?dl=0

DavidBates commented 9 years ago

I'll leave those up through the night for someone to replicate

GaetanJUVIN commented 9 years ago

@DavidBates thanks man ! :)

garside commented 8 years ago

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!

louismullie commented 8 years ago

Sorry about that peeps, now fixed.

kuanysh-esenbayev commented 8 years ago

Problem is open again. server returns 502 response code

an-nasir commented 6 years ago

@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