Re: Import pdf problem
- To: mathgroup at smc.vnet.net
- Subject: [mg85494] Re: Import pdf problem
- From: Mark Fisher <particlefilter at gmail.com>
- Date: Wed, 13 Feb 2008 04:02:47 -0500 (EST)
- References: <fomk5s$hvk$1@smc.vnet.net> <fopbo6$bvj$1@smc.vnet.net>
On Feb 11, 6:32 am, David Reiss <dbre... at gmail.com> wrote: > 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 Done. --Mark