Basic problem with pdftotext


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Basic problem with pdftotext
# 1  
Old 10-07-2011
Basic problem with pdftotext

Hi,
I have used pdftotext with good results in the past, but today for some reason I keep getting the same error message.

My command is as follows:
Quote:
pdftotexdt "somePDFfile.pdf"
And the error message is
Quote:
Error: Document base stream is not seekable"
I am using Vmware player with Ubuntu server, but I don't think that is causing this issue as I have been using that all along, and earlier I had no problems. The PDF files in question are not locked in any way. I've checked that there are no blanks in the file paths and suchlike details that come to the mind of a newbie.

Thanks in advance!
# 2  
Old 10-07-2011
typos?
Quote:
pdftotexdt "somePDFfile.pdf"
more seriously, though you havent said what version of ubuntu you are using, a little google search that ubuntu might be buggy...

Google Translate

http://osdir.com/ml/general/2011-09/msg36102.html

[Poppler-bugs] [Bug 7334] pdftotext stdin support
# 3  
Old 10-07-2011
Heh, sorry about the typo. I *wish* it were that simple! Smilie

I am using Ubuntu Server 11.04 LTS.
Hmm...will need to check that I have the latest version of the poppler package then...I assumed I did as I installed it not long ago.

Then again, the Ubuntu Server 11.04 LTS virtual machine is perhaps not that recent, don't know if that affects what version it gets when you sudo apt-get...

So many questions... Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Limitations of 'pdftotext' in Linux...

Guys: I have a customer using the 'pdftotext' utility under Linux. PDFs are received via email, converted to text, etc. and it has worked nicely for years. They received a PDF from a customer and the utility will not read it. The text file is created but it's either empty or has 1-2 bytes of... (23 Replies)
Discussion started by: kenlenard
23 Replies

2. UNIX for Dummies Questions & Answers

Pdftotext from multiple pdf files to a single text file

I have a directory having a number of pdf files. I want to convert all the files to text, stored in a single text file The following creates multiple text files ls *.pdf | xargs -n1 pdftotext (1 Reply)
Discussion started by: kristinu
1 Replies

3. UNIX for Dummies Questions & Answers

Very basic problem with fork() using c

Hi guys, I have the following code: int main(int argc, char *argv) { int pid1,pid2,i=0; pid1=fork(); i+=2; if(!pid1) i++; if(i%3) pid2=fork(); if (pid2==0) { printf("sea \n "); i-=1; } if(i>=2)... (4 Replies)
Discussion started by: pfpietro
4 Replies

4. UNIX for Dummies Questions & Answers

Basic if statement problem

I am using the following code: if ; then I am getting an error saying line 12: The code is supposed to examine whether the filename read into $FILE includes the string IMG*. I do have a fi later in the script, but I must be missing something obvious. Can anyone help? (3 Replies)
Discussion started by: Bengel
3 Replies

5. UNIX for Dummies Questions & Answers

Basic number checking problem

Hello all I am having problems using a bash script to read the input from the user and checking that its a valid number. I only want the user to input a maximum of a 3 number string (321 , 521 , 871 etc.). Anything longer or that includes a chararcter or symbol will display an error message. ... (8 Replies)
Discussion started by: ChrisHoogie
8 Replies

6. HP-UX

pdftotext / PDF conversion to .txt binaries

Good day, I've been trying to look for a way to compile the Xpdf sources in our HP-UX server, but have been failing to do so because there is no GCC installed, and I don't have privileges to install GCC. I was looking for a functionality to convert PDF files to .txt, which is exactly like the... (2 Replies)
Discussion started by: mike_s_6
2 Replies

7. Shell Programming and Scripting

Basic problem

Hello Friends, I am learning Perl now. I have a small query. I have a directory Z with file name Z.txt. I would like to copy this file Z.txt to 3 new dir with new filenames as follows dir 1 1.txt dir 2 2.txt dir 3 3.txt I would like to then open 1.txt from dir 1 and edit the first... (0 Replies)
Discussion started by: ramesh54
0 Replies

8. UNIX for Dummies Questions & Answers

help with extremely basic problem

Alright i'm having problems with this loop. Basically once the script is ran a parameter is required. Once entering the parameter it displays that in LIMIT. Alright so now the problem, I need my loop to ask my user for a number, and if that number is less than the limit then sum the input values... (4 Replies)
Discussion started by: tragic54
4 Replies

9. Shell Programming and Scripting

Basic Scipting problem need help for school

How to make this script? 1. Write a portable bash shell script called change_password.bash that will prompt the user for a password. Use a series of if statements to test if: 1. The password is NOT 6 or more characters 2. The password does not contain at least 3 consecutive letters... (1 Reply)
Discussion started by: 3junior
1 Replies
Login or Register to Ask a Question