Re: Import pdf problem
- To: mathgroup at smc.vnet.net
- Subject: [mg85472] Re: Import pdf problem
- From: David Reiss <dbreiss at gmail.com>
- Date: Mon, 11 Feb 2008 06:17:34 -0500 (EST)
- References: <fomk5s$hvk$1@smc.vnet.net>
Importing PDFs does indeed sometimes fail in my experience. I suggest that you forward such examples to Wolfram so that they have cases that they can degub from... --David A WorkLife FrameWork E x t e n d i n g MATHEMATICA's Reach... http://scientificarts.com/worklife/ On Feb 10, 5:37=A0am, Mark Fisher <particlefil... at gmail.com> wrote: > Hi all, > > I'm importing data from pdf documents on a web site. This works well > most of the time. But for a few of the pdfs, Mathematica "barfs" and > does not return either the "Pages" or the "Plinatext". (I am only > really interest in the "Plaintext".) Instead it produces error > messages such as "Expected PDF object" and "Expected array operator > argument", etc. > > Here are actual examples. First, one that works fine: > > Import["http://www.cmegroup.com/daily_bulletin/Section09_Interest_\ > Rate_And_Energy_Futures_2008017.pdf", "Rules"] > > Next, one that does not work fine: > > Import["http://www.cmegroup.com/daily_bulletin/Section09_Interest_\ > Rate_And_Energy_Futures_2008016.pdf", "Rules"] > > Finally, one that really bums out Mathematica (it produces a Runtime > error from Visual C++): > > Import["http://www.cmegroup.com/daily_bulletin/Section09_Interest_\ > Rate_And_Energy_Futures_2008022.pdf", "Rules"] > > Note that Adobe has no problem opening and reading the ones that give > Mathematica problems. > > Presumably, this behavior is a bug. Have others encountered such > problems with other pdf files? (FYI, I'm using version 6 for Windows.) > > --Mark