This is a migrated thread and some comments may be shown as answers.

Refreshing app (holding down 3 fingers) causing SQLite Errors

3 Answers 99 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 14 Apr 2014, 04:21 PM
Hello

I have been having a problem with my project where I can install the app on my device but upon refreshing the project (holding down three fingers), with error handling added the message "Disk I/O Error" is displayed.

This started happening between 8th April and the morning of the 10th April (UK time)


The below example is based on the "sample-sqlite" project from Sample Projects

To reproduce the error 

  1. Select "Run", then select "Build" (Or choose build and deploy and ignore step 2)
  2. Click "iOS", then select "Provision"
  3. Once installed the sample app functions as expected
  4. Refresh the project (holding down three fingers)
  5. Try writing to the database by adding a "task"
  6. The app seems to freeze due to the fact that an error has occurred 
  7. Close app then re-open the app, nothing is displayed in the "task list"

This has been tested on multiple iOS devices (iOS 7.0 and iOS 7.1)


Other Details

Currently the only way to refresh the project at this time is to rebuild the project and rescan the QR Code.
It appears that projects built before the 8th April are able to be refreshed and continue to work as expected.
The "Download Package" box is styled differently. Working versions are shown as a grey box, the version that are not updating correctly are shown as a smaller blue box (this may or may not be related).


iPhone Configuration Utility Logs

On refreshing the app (holding down three fingers) the log is as follows:

Apr 14 17:11:34 Tanyas-iPad Cordova320[1242] <Warning>: Resetting plugins due to page load.
Apr 14 17:11:34 Tanyas-iPad Cordova320[1242] <Warning>: Finished load of: file:///var/mobile/Applications/6888B79C-CC8E-448B-B0B5-3EBE2F234737/Documents/index.html
Apr 14 17:11:35 Tanyas-iPad Cordova320[1242] <Warning>: Good news: SQLite is thread safe!


On closing and reopening the app, the log is as follows:

Apr 14 17:12:33 Tanyas-iPad kernel[0] <Debug>: launchd[1245] Container: /private/var/mobile/Applications/6888B79C-CC8E-448B-B0B5-3EBE2F234737 (sandbox)
Apr 14 17:12:33 Tanyas-iPad backboardd[31] <Error>: HID: The 'Passive' connection 'Cordova320' access to protected services is denied.
Apr 14 17:12:33 Tanyas-iPad Cordova320[1245] <Warning>: Multi-tasking -> Device: YES, App: YES
Apr 14 17:12:33 Tanyas-iPad Cordova320[1245] <Warning>: Unlimited access to network resources
Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: [CDVTimer][splashscreen] 8.944035ms
Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: [CDVTimer][TotalPluginStartup] 9.678006ms
Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: Resetting plugins due to page load.
Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: Finished load of: file:///var/mobile/Applications/6888B79C-CC8E-448B-B0B5-3EBE2F234737/Cordova320.app/www/index.html
Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: Detected docs path: /var/mobile/Applications/6888B79C-CC8E-448B-B0B5-3EBE2F234737/Documents
Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: Good news: SQLite is thread safe!


I look forward to hearing from you.

Thank you in advance,

Tanya

3 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 16 Apr 2014, 04:03 PM
Hi David,

Thank you for reporting this issue, we were able to reproduce it locally and therefore I logged it as a bug. I updated your Telerik points as a small sign of appreciation for the detailed information that you provided us with.

We will do our best to provide a fix with one of our upcoming releases and I'd like to apologize for any inconvenience this issue might have caused you. 

Regards,
Tina Stancheva
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
0
Dave
Top achievements
Rank 1
answered on 17 Apr 2014, 03:33 PM
I'm having the same issue.  I get the same "Disk I/O Error" from both "AppBuilder" application installed on iPhone and when refreshing my provisioned build deployed to iphone via three finger long press.  If I re-deploy my provisioned application i can insert new records into my sqlite database with no problems but then I get the error message after refreshing.  

Do you have a time frame when the bug is going to be fixed?
0
Tina Stancheva
Telerik team
answered on 18 Apr 2014, 07:21 AM
Hi Dave,

We've scheduled the task for the AppBuilder 2.2 release planned for the beginning of June. However, please note that the task will have to be further evaluated by our developers which means that this time frame is a subject of change. In any case we will have your feedback in mind and we will do our best to address the issue as soon as possible.

We will make sure to update this thread once the issue is fixed so please stay tuned.

Regards,
Tina Stancheva
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
Tags
Report a bug
Asked by
David
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Dave
Top achievements
Rank 1
Share this question
or