[moved to [email protected] list please follow replies there.]

Rakesh - looks like you don’t have permissions to write to 
your temp dir on Windows. Can you confirm that’s the case?

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Chief Architect
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 168-519, Mailstop: 168-527
Email: [email protected]
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Director, Information Retrieval and Data Science Group (IRDS)
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
WWW: http://irds.usc.edu/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++










On 6/10/16, 2:01 AM, "Rakesh Kumar" <[email protected]> wrote:

>Hi when I try to extract content from url it prints error 
>
>
>
>
>tika.py: Retrieving http://www.assignmenthelp.net/ to 
>C:\Users\Rakesh\AppData\Local\Temp/
>Traceback (most recent call last):
>File "C:\Users\Rakesh\Anaconda3\lib\site-packages\tika\tika.py", line 368, in 
>getRemoteFile
>urlretrieve(urlOrPath, destPath)
>File "C:\Users\Rakesh\Anaconda3\lib\urllib\request.py", line 197, in 
>urlretrieve
>tfp = open(filename, 'wb')
>PermissionError: [Errno 13] Permission denied: 
>'C:\Users\Rakesh\AppData\Local\Temp/'
>During handling of the above exception, another exception occurred:
>Traceback (most recent call last):
>File "prg.py", line 7, in 
>parsed = parser.from_file(fileUrl, tikServer)
>File "C:\Users\Rakesh\Anaconda3\lib\site-packages\tika\parser.py", line 25, in 
>from_file
>jsonOutput = parse1('all', filename, serverEndpoint)
>File "C:\Users\Rakesh\Anaconda3\lib\site-packages\tika\tika.py", line 184, in 
>parse1
>path, file_type = getRemoteFile(urlOrPath, TikaFilesPath)
>File "C:\Users\Rakesh\Anaconda3\lib\site-packages\tika\tika.py", line 378, in 
>getRemoteFile
>urlretrieve(urlOrPath, destPath)
>File "C:\Users\Rakesh\Anaconda3\lib\urllib\request.py", line 197, in 
>urlretrieve
>tfp = open(filename, 'wb')
>PermissionError: [Errno 13] Permission denied: 
>'C:\Users\Rakesh\AppData\Local\Temp/'
>
>

Reply via email to