Discussion Forums  >  Images, Documents, File Locations

Replies: 3    Views: 347

richiecork
Aspiring developer
Profile
Posts: 7
Reg: Jul 03, 2014
Galway
70
09/23/14 01:46 PM (10 years ago)

Unable to View Excel Document

Hi I have added an Excel plugin to my app, I have provided a link to the document which is : http://databases.about.com/library/samples/address.xls However when I try to view the document with my Xcode simulator I get : Unable to Read Document An error occurred while reading the document From the console I can see : 2014-09-23 21:39:18.174 richieapp[2640:60b] BT_screen_menuListSimple: didSelectRowAtIndexPath: Selected Row: 8 2014-09-23 21:39:18.174 richieapp[2640:60b] BT_application: getScreenDataByItemId 9762C4FEC15D864A75A0FEE 2014-09-23 21:39:18.174 richieapp[2640:60b] BT_application: screenType is BT_screen_excelDoc for screen with nickname: "my excel" and itemId: 9762C4FEC15D864A75A0FEE 2014-09-23 21:39:18.175 richieapp[2640:60b] BT_screen_menuListSimple: handleTapToLoadScreen (super) loading nickname: "my excel" itemId: 9762C4FEC15D864A75A0FEE itemType: BT_screen_excelDoc 2014-09-23 21:39:18.175 richieapp[2640:60b] BT_application: getViewControllerForScreen nickname: "my excel" itemId: 9762C4FEC15D864A75A0FEE type: BT_screen_excelDoc 2014-09-23 21:39:18.175 richieapp[2640:60b] BT_screen_excelDoc: INIT 2014-09-23 21:39:18.176 richieapp[2640:60b] BT_navController: pushViewController 2014-09-23 21:39:18.176 richieapp[2640:60b] BT_screen_excelDoc: viewDidLoad 2014-09-23 21:39:18.176 richieapp[2640:60b] BT_screen_excelDoc: viewDidLoad (super) 2014-09-23 21:39:18.177 richieapp[2640:60b] BT_viewUtilities: getWebNavBarForScreen with nickname: "my excel" and itemId: 9762C4FEC15D864A75A0FEE and type: BT_screen_excelDoc 2014-09-23 21:39:18.179 richieapp[2640:60b] BT_screen_excelDoc: viewWillAppear (super) 2014-09-23 21:39:18.179 richieapp[2640:60b] BT_screen_excelDoc: configureNavBar (super) for screen with itemId: 9762C4FEC15D864A75A0FEE 2014-09-23 21:39:18.180 richieapp[2640:60b] BT_viewUtilities: getNavBarBackgroundColorForScreen: Screen "my excel" color: #CC3300 2014-09-23 21:39:18.180 richieapp[2640:60b] BT_screen_excelDoc: configureBackground (super) for screen with itemId 9762C4FEC15D864A75A0FEE: 2014-09-23 21:39:18.180 richieapp[2640:60b] BT_background_view: updateProperties (color and image) for screen with itemId: 9762C4FEC15D864A75A0FEE: 2014-09-23 21:39:18.181 richieapp[2640:60b] BT_fileManager: File does exist in Xcode bundle: "blank.png" 2014-09-23 21:39:18.181 richieapp[2640:60b] BT_background_view: "blank.png" exists in Xcode bundle - not downloading. 2014-09-23 21:39:18.181 richieapp[2640:60b] BT_background_view: setImage 2014-09-23 21:39:18.182 richieapp[2640:60b] BT_screen_excelDoc: viewWillAppear 2014-09-23 21:39:18.182 richieapp[2640:60b] BT_screen_excelDoc: initLoad 2014-09-23 21:39:18.182 richieapp[2640:60b] BT_strings: mergeBTVariablesInString (before): http://databases.about.com/library/samples/address.xls 2014-09-23 21:39:18.183 richieapp[2640:60b] BT_strings: mergeBTVariablesInString (after merge): http://databases.about.com/library/samples/address.xls 2014-09-23 21:39:18.183 richieapp[2640:60b] BT_fileManager: File does not exist in Xcode bundle: "9762C4FEC15D864A75A0FEE_screenData.xls" 2014-09-23 21:39:18.217 richieapp[2640:60b] BT_fileManager: File does exist in cached directory: "9762C4FEC15D864A75A0FEE_screenData.xls" 2014-09-23 21:39:18.217 richieapp[2640:60b] BT_screen_excelDoc: Loading file from cache: 9762C4FEC15D864A75A0FEE_screenData.xls 2014-09-23 21:39:18.232 richieapp[2640:60b] BT_screen_excelDoc: shouldStartLoadWithRequest: URL: file:///Users/richieduggan/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/00D120CA-E343-4561-8762-59FD88EDD484/Library/Caches/9762C4FEC15D864A75A0FEE_screenData.xls 2014-09-23 21:39:18.233 richieapp[2640:60b] BT_screen_excelDoc: shouldStartLoadWithRequest: SCHEME: file 2014-09-23 21:39:18.233 richieapp[2640:60b] BT_screen_excelDoc: webViewDidStartLoad 2014-09-23 21:39:18.234 richieapp[2640:60b] BT_viewUtilities: getProgressView 2014-09-23 21:39:18.304 richieapp[2640:60b] BT_screen_excelDoc: webViewDidFinishLoad Any ideas? Thanks Richie
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
09/23/14 02:23 PM (10 years ago)
When I load that doc in my browser it comes up with an error. Looks like it's a problem with your spreadsheet, not your app
 
richiecork
Aspiring developer
Profile
Posts: 7
Reg: Jul 03, 2014
Galway
70
like
09/25/14 02:28 PM (10 years ago)
Thanks for the feedback Chris, when I click on it it downloads and I can view it fine locally, I will try another spreadsheet to see if that helps. Cheers Richie
 
richiecork
Aspiring developer
Profile
Posts: 7
Reg: Jul 03, 2014
Galway
70
like
09/25/14 02:31 PM (10 years ago)
Looks like you were right Chris, I tried another one and it displays fine. Thanks for your help
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.