Getting 422 response from apache Tika with python 2 - python-2.7

can some one please help me to solve the mentioned error? I uninstalled the tika and reinstalled it but getting error. I don't have idea about how to solve this error.

You need to kill apache server process or you can simply restart your machine and re-run your script

Related

cherrypy 2.3.0 compatibale with Python 2.7.5?

How can I get cherrypy 2.3.0 to be compatible with Python 2.7.5? I am trying to run the Filelocker2 application. It is previously on an older server that is running centos 5. We created a new Centos 7 VM server, and are migrating Filelocker2 over to the new cent7 machine. However I am not able to find much info on this subject. I believe it must either be extremely simple so there isn't much documentation on it, or it's simply not possible? Any help would be greatly appreciated. Thank you!
Screenshot of the error message I receive when executing the python startup script for Filelocker2
FileLocker 2.6 requires CherryPy 3.2+.
But I'm not sure you really have FileLocker 2.6. There is no such code in lib.FileFieldStorage. You have to find out what versions you really have.

Error with H20 - Python init(): Server Error

This is a totally newbie question to see if I am missing something key (like there is more to install?).
After installing H20 (python 2.7) on a 9 node Hadoop / Spark cluster
using pip install of the whl file (h2o-3.10.4.8-py2.py3-none-any.whl) (which says it installed correctly).....
I can import h2o successfully.
But, when I run h2o.init() then I get:
"Checking whether there is an H20 instance running at http://localhost:54321. connected."
But then an error is thrown:
H2oServerError: HTTP 500 Server Error: u'Error: 500'
Should I be able to run H20 by simply pip installing that whl or is there more? The documentation seems outdated and there are lots of different versions found online. Anyone have any experience with this?
It's most likely that you got this problem solved, but maybe someone else may benefit. Use the install in Python Tab on the following website : http://h2o-release.s3.amazonaws.com/h2o/rel-tutte/2/index.html.

How to fix error 500 installing elgg on WAMP

I am trying to install elgg version 1.12.3 on WAMP, but i keep getting an 'Internal Server error' on Requeriments Step.
I activate "mod_rewrite" on my apache, and check the htaccess file. Still have no idea why dnt work.
500 error is a very generic error that does not tell much itself (it's basically "something is very wrong on server side"). You should have more details in Apache error log. It's likely that either something is off with Apache configuration or additional thing is required in .htaccess. Error log should make it clear. You can find it under "Apache" -> "Apache error log" in wampmanager.exe options.

heroku run rake db:migrate Error connecting to dyno

I am new on ruby on rails. and am trying to deploy my application from my local system to heroku, but when i run heroku run rake db:migrate, i get this error msg:
Running rake db:migrate attached to terminal... up, run.7855
!
! Error connecting to dyno, see https://devcenter.heroku.com/articles/one-off-dynos#timeout-awaiting-process
I've followed the link to the site but i didn't understand what was said there. Please any help as to how deploy it successfully will be much appreciated.
Thank you
Seems like your have no access to rendezvous.runtime.heroku.com:5000
Ask your system administrators or internet service provider to allow this address and port for you
This problem solution already described at https://devcenter.heroku.com/articles/one-off-dynos#timeout-awaiting-process, but I didn't understand at once too :)
You can check access to necessary resource by telnet rendezvous.runtime.heroku.com 5000 command
Update:
Recently I encountered with problem when rendezvous.runtime.heroku.com:5000 is accessible but heroku run ... command doesn't work.
In this case command must be modified to heroku run:detached ...
It helped me, but interactive utilities like bash will not work because of output will be available only in logs

VMC tunnel crash

I'm trying to execute vmc tunnel but i get error 'ruby interpreter has stopped working' . Tryed to find what's the problem on the Internet but the only solution i saw was to upgrade ruby version to 1.9.3 , but I already have this version.
Thank you
This worked for me yesterday on Win7 using ruby 1.9.2p290. Ruby 1.9.3p194 failed with the same error you are getting.
Remember that the tunnel is a connection between the mysql client running on your local machine to the mysql service on cloudfoundry, so step 1 is making sure that your local mysql works, including your path so that vmc can easily find your client. Refer to the steps at http://docs.cloudfoundry.com/tools/vmc/caldecott.html for details
Can you please execute the following commands and paste the output here?
ruby -v
vmc -v