Discussion Forums  >  Crashes, Memory Warnings

Replies: 13    Views: 100

Scubart
Apple Fan
Profile
Posts: 8
Reg: Nov 10, 2012
Groningen
1,180
11/10/12 07:33 PM (11 years ago)

This app's /documents directory could not be found.

Topic title says it all. I'm new to Buzztouch and trying to build a simple information app to get the hang of things. I'm trying to add a HTML page in my menu but when I try to save this error shows; This app's /documents directory could not be found. I do have a documents directory in my files list.
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
11/10/12 09:23 PM (11 years ago)
Welcome @Scubart, Can you tell us if this is an Android eclipse project or an xcode iOSproject. I am assuming it's a BT 2.0 app? Give us a little more info and we'll see if we can help. BTW if it's xcode, have you dragged in the extra folders as per the "instructions.pdf" that came with download.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/11/12 12:13 AM (11 years ago)
This could be related to something with the tons of newly updated plugins. I'm thinking a control panel issue? What are you seeing this on? Are you pressing "save" on a control panel screen? Provide some details, surely an easy fix on our end (assuming my suspicion is right)?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/11/12 01:41 AM (11 years ago)
Yup, I found this and fixed it. It was related to the update we made to the Custom HTML / Text plugin. Should be OK now.
 
Scubart
Apple Fan
Profile
Posts: 8
Reg: Nov 10, 2012
Groningen
1,180
like
11/11/12 04:15 AM (11 years ago)
It works David thanks. Now I hope I can get a png file to show up in my buttons on my menu page. It only shows a question mark now.
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
11/11/12 04:23 AM (11 years ago)
I'll leave David to do the major changes and updates ;))))) Your images need to be added to /res/drawable folder on android and /BT_images on iOS. You will need to drag them into xcode and add them to the project (copying them manually to the folder via the finder won't work, make sure you drag them into the Xcode project window, tick the box that says copy it in) Cheers Darrel
 
Scubart
Apple Fan
Profile
Posts: 8
Reg: Nov 10, 2012
Groningen
1,180
like
11/11/12 04:39 AM (11 years ago)
Still having issues. I compiled the code again (iOS), downloaded the zipfile, unpzipped, dbl-clicked and started with a fresh copy of everything. Then I start the simulator; 2012-11-11 12:29:33.422 arkor[24427:1af03] arkor_appDelegate: supportedInterfaceOrientationsForWindow 2012-11-11 12:29:33.422 arkor[24427:1af03] arkor_appDelegate: applicationDidBecomeActive 2012-11-11 12:29:33.423 arkor[24427:1af03] arkor_appDelegate: reportToCloud 2012-11-11 12:29:33.423 arkor[24427:1af03] BT_strings: mergeBTVariablesInString (after merge): https://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JAF0E1BF63B7496710B350F33&apiKey=62C6FFE054E7987FD068E9F&apiSecret=28A9EBCF22E88CC4DE39A90&deviceId=CF4F2CFD-A26C-4898-BC50-0AF4C295D43F&deviceLatitude=0&deviceLongitude=0&deviceModel=iPhone Simulator&userId= 2012-11-11 12:29:33.423 arkor[24427:1af03] arkor_appDelegate: reporting to cloud at : https://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JAF0E1BF63B7496710B350F33&apiKey=62C6FFE054E7987FD068E9F&apiSecret=28A9EBCF22E88CC4DE39A90&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId] 2012-11-11 12:29:33.804 arkor[24427:1af03] arkor_appDelegate: lastModified (value on server): Sun, 11 Nov 2012 11:28:19 -0800 2012-11-11 12:29:33.804 arkor[24427:1af03] BT_fileManager: File does exist in cached directory: appModified.txt 2012-11-11 12:29:33.804 arkor[24427:1af03] BT_fileManager: readTextFileFromCacheWithEncoding: appModified.txt encoding: -1 2012-11-11 12:29:33.804 arkor[24427:1af03] arkor_appDelegate: previousModified (value on device): Sun, 11 Nov 2012 11:28:19 -0800 2012-11-11 12:29:33.805 arkor[24427:1af03] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 The I push the newly created info button that supposed to show me text;2012-11-11 12:33:49.838 arkor[24427:1af03] BT_screen_menuButtons: menuItemTap 2012-11-11 12:33:50.039 arkor[24427:1af03] BT_application: getScreenDataByItemId 6CFBAB4297FE8076A6D221A 2012-11-11 12:33:50.039 arkor[24427:1af03] BT_application: screenType is BT_screen_customHTML for screen with nickname: "Info" and itemId: 6CFBAB4297FE8076A6D221A 2012-11-11 12:33:50.040 arkor[24427:1af03] BT_viewControllerManager: handleTapToLoadScreen 2012-11-11 12:33:50.040 arkor[24427:1af03] BT_viewControllerManager: the parent screen nickname: "Menu" itemId: 27B6808A444A6C03191470E itemType: BT_screen_menuButtons 2012-11-11 12:33:50.040 arkor[24427:1af03] BT_viewControllerManager: the menu/button tapped is itemId: 7AABCBBD14239175766AEC3 2012-11-11 12:33:50.040 arkor[24427:1af03] BT_viewControllerManager: the screen to load is nickname: "Info" itemId: 6CFBAB4297FE8076A6D221A itemType: BT_screen_customHTML 2012-11-11 12:33:50.041 arkor[24427:1af03] BT_viewControllerManager: initViewControllerForScreen nickname: "Info" itemId: 6CFBAB4297FE8076A6D221A type: BT_screen_customHTML 2012-11-11 12:33:50.041 arkor[24427:1af03] BT_screen_customHTML: INIT 2012-11-11 12:33:50.041 arkor[24427:1af03] BT_viewUtilities: setting nav-bar background for "Info" color: #0000FF 2012-11-11 12:33:50.042 arkor[24427:1af03] BT_rotatingNavController: pushViewController 2012-11-11 12:33:50.042 arkor[24427:1af03] BT_rotatingNavController: pushViewController for screen: 6CFBAB4297FE8076A6D221A 2012-11-11 12:33:50.042 arkor[24427:1af03] BT_screen_customHTML: viewDidLoad 2012-11-11 12:33:50.042 arkor[24427:1af03] BT_viewUtilities: getWebNavBarForScreen with nickname: "Info" and itemId: 6CFBAB4297FE8076A6D221A and type: BT_screen_customHTML 2012-11-11 12:33:50.045 arkor[24427:1af03] BT_screen_customHTML: viewWillAppear 2012-11-11 12:33:50.046 arkor[24427:1af03] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "Info" and itemId: 6CFBAB4297FE8076A6D221A and type: BT_screen_customHTML 2012-11-11 12:33:50.046 arkor[24427:1af03] BT_fileManager: File does not exist in Xcode bundle: app72.jpg 2012-11-11 12:33:50.046 arkor[24427:1af03] BT_fileManager: File does not exist in cached directory: app72.jpg 2012-11-11 12:33:50.047 arkor[24427:1af03] BT_background_view: Image for background view does not exist in xcode project, or in cache and no URL provided, not downloading: app72.jpg 2012-11-11 12:33:50.047 arkor[24427:1af03] BT_screen_customHTML: initLoad 2012-11-11 12:33:50.047 arkor[24427:1af03] BT_strings: mergeBTVariablesInString (after merge): https://www.buzztouch.com/files/applications072212/JAF0E1BF63B7496710B350F33/documents/customHTML_6CFBAB4297FE8076A6D221A.html 2012-11-11 12:33:50.048 arkor[24427:1af03] BT_fileManager: File does not exist in Xcode bundle: 6CFBAB4297FE8076A6D221A_screenData.html 2012-11-11 12:33:50.048 arkor[24427:1af03] BT_fileManager: File does not exist in cached directory: 6CFBAB4297FE8076A6D221A_screenData.html 2012-11-11 12:33:50.048 arkor[24427:1af03] BT_screen_customHTML: Downloading and caching file from URL: https://www.buzztouch.com/files/applications072212/JAF0E1BF63B7496710B350F33/documents/customHTML_6CFBAB4297FE8076A6D221A.html 2012-11-11 12:33:50.049 arkor[24427:1af03] BT_screen_customHTML: showProgress 2012-11-11 12:33:50.049 arkor[24427:1af03] BT_viewUtilities: getProgressView 2012-11-11 12:33:50.049 arkor[24427:1af03] BT_downloader: INIT 2012-11-11 12:33:50.050 arkor[24427:1af03] BT_downloader: downloadFile: https://www.buzztouch.com/files/applications072212/JAF0E1BF63B7496710B350F33/documents/customHTML_6CFBAB4297FE8076A6D221A.html 2012-11-11 12:33:50.050 arkor[24427:1af03] BT_screen_customHTML: downloadFileStarted: starting download... 2012-11-11 12:33:50.050 arkor[24427:1af03] arkor_appDelegate: supportedInterfaceOrientationsForWindow 2012-11-11 12:33:50.479 arkor[24427:1af03] BT_screen_customHTML: downloadFileCompleted: ERROR-1968: URL returned 400 - location not available 2012-11-11 12:33:50.479 arkor[24427:1af03] BT_screen_customHTML: hideProgress 2012-11-11 12:33:50.479 arkor[24427:1af03] BT_fileManager: File does not exist in cached directory: 6CFBAB4297FE8076A6D221A_screenData.html 2012-11-11 12:33:50.480 arkor[24427:1af03] BT_screen_customHTML: download error: There was a problem downloading data from the internet. I dragged the icons into Xcode and the show up in the media library. But now there isn't even a question mark anymore. Must be hopeless for you to have people like me "testing" your product. I hoped it could be an easy way to just make an informational iOs/Android App for my product but if it is turning out to be a struggle like this ..... Thanks for all your support. Maybe you should delete my Arkor app and let me have a new start at it?
 
Scubart
Apple Fan
Profile
Posts: 8
Reg: Nov 10, 2012
Groningen
1,180
like
11/11/12 04:46 AM (11 years ago)
Thanks ictguy, I figured out the place for the png files and they show up now. Text on an informational page is still not working. After I click "save"; Saved! JSON Data for this Plugin (for reference, copy and paste as needed) {"itemId":"6CFBAB4297FE8076A6D221A", "itemType":"BT_screen_customHTML", "itemNickname":"Info", "navBarTitleText":"Info", "dataURL":"https://www.buzztouch.com/files/applications072212/JAF0E1BF63B7496710B350F33/documents/customHTML_6CFBAB4297FE8076A6D221A.html"} If you open the https://... you can see there is no text but an error.
 
Scubart
Apple Fan
Profile
Posts: 8
Reg: Nov 10, 2012
Groningen
1,180
like
11/11/12 05:15 AM (11 years ago)
I added a new item. Put a doc file in it. Same result..No text but a popup to check my internet connection. Nothing wrong with my connection.
 
Scubart
Apple Fan
Profile
Posts: 8
Reg: Nov 10, 2012
Groningen
1,180
like
11/11/12 04:55 PM (11 years ago)
I must be a terrible stupid person not being able to display normal text in my App (iOs) after pushing the info button my app keeps telling me "The data for this screen could not be downloaded". strange, hope someone can help me.
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
11/11/12 06:07 PM (11 years ago)
Nearly there ... keep at it :) Have you hooked up the info button to custom/HTML screen? Have you chosen a screen for the info button to go to?
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
11/11/12 06:46 PM (11 years ago)
Just came across this thread... http://www.buzztouch.com/forum/thread.php?fid=BAE1D637A53F2AE5AEB1520&tid=BAE1D637A53F2AE5AEB1520 Sounds like you may have the same problem as poster number 2. It would appear it may be a buzztouch.com issue and not what you are doing. Cheers
 
Scubart
Apple Fan
Profile
Posts: 8
Reg: Nov 10, 2012
Groningen
1,180
like
11/11/12 07:21 PM (11 years ago)
I guess it is a buzztouch.com issue. All other pages/items/screens/icons work like a charm.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/12/12 10:18 AM (11 years ago)
There was a problem with the Custom HTML / Text plugin after the update. This issue (typo on our end) could also cause this for Word Doc, Excel Doc, PDF Doc, PPT Doc and other screens that use a dataURL. It's fixed. If you create new screens (after this fix we implemented) you should not have this problem. For existing screens (that are not loading their data)...do this... 1) Visit the screen in in question in your control panel. 2) Press "save" in one of the advanced properties. 3) Refresh you app's data in the simulator or device. Should fix it. It was an issue of your JSON data not using the correct URL to the file that is created for each Custom HTML / Text screen you create.
 

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.