NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) nDroid v
« Previous 1 2 3 4 5 6 7 Next »
nDroid hangs on phone

 
  • 0 Vote(s) - 0 Average
nDroid hangs on phone
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#1
2013-03-30, 03:20 PM
I have just sent a "report" to Google? The client does a download and then says "populating database" and that ends with "Unfortunately nDroid has stopped". Are there too many recordings in my database? The nDroid folder is at https://www.dropbox.com/s/wh7om7q6oq7b00...ervice.zip. Thanks.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#2
2013-03-30, 10:15 PM
Your crash report hasn't shown up on my Android Developers Console yet but I dropped your data folder into my nDroid Service folder to test it.

Try editing your npvr config.xml with Notepad and change this line...
Code:
<EPGUpdateHour>None</EPGUpdateHour>
...to have a number between 0 and 23 instead of None.

Restart the nDroid Service so it regenerates the zip files and try the nDroid app again.

Cheers,
Brian
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#3
2013-03-31, 09:50 AM (This post was last modified: 2013-03-31, 10:15 AM by Graham.)
bgowland Wrote:...to have a number between 0 and 23 instead of None.
Changed <EPGUpdateHour>. Rebooted 'puter. Uninstalled and re-installed nDroid on phone. Checked Username and password in NEWA, nDroid service and nDroid app. Rebooted 'puter. Symptoms are the same nDroid hangs on "Populating Database". Sent another Report.

I had nDroid working a month or so ago using the previous version of nDroid and the previous version of NextPVR and it would have had <EPGUpdateHour> = None (cos I do EPG updates manually using a batch file)

And finally, is <EPGUpdateHour> now obsolete having been superseded by <EPGUpdateTime>03:42:00</EPGUpdateTime> plus I still have <EPGUpdateEnabled>false</EPGUpdateEnabled> plus nDroid says that it downloads data and nDroid says that it unpacks data. Thanks.

Edit: Does nDroid store logs and stuff on the phone? I might be able to get at that if I knew where to look.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#4
2013-03-31, 10:04 PM
Graham Wrote:I had nDroid working a month or so ago using the previous version of nDroid and the previous version of NextPVR and it would have had <EPGUpdateHour> = None (cos I do EPG updates manually using a batch file)
I've got both of your error reports now and they're both showing the SQLite database is locked at some point - I'll need to investigate further.

That error isn't what I saw and the only thing which caused a problem was the <EPGUpdateHour> being set to None - when I changed your config.xml to have a number, your data imported without a problem. To be honest I'm surprised if it ever worked when it was set to None as the config.xml parsing code in nDroid expects a number and throws an unhandled exception with "None".

Quote:And finally, is <EPGUpdateHour> now obsolete having been superseded by <EPGUpdateTime>03:42:00</EPGUpdateTime> plus I still have <EPGUpdateEnabled>false</EPGUpdateEnabled>
Yes, <EPGUpdateHour> is obsolete with npvr v2.6.2 but the current release version of nDroid uses it for it's daily automatic updates. Both <EPGUpdateTime> and <EPGUpdateEnabled> are new to npvr v2.6.2 and I've rewritten nDroid to uses those if it finds them - it'll still use <EPGUpdateHour> though for users who still use older npvr versions and it's fixed WRT the setting being None.

Quote:Edit: Does nDroid store logs and stuff on the phone? I might be able to get at that if I knew where to look.
nDroid uses native logging to something called Logcat - it's an in-memory circular log. It can be accessed using various apps available on Google Play (I use CatLog) but I suspect you'd just see the same as what I got in your crash reports. Also, for security reasons, as of Android v4.x, Logcat isn't accessible unless your device is rooted.

I'll check your crash reports further but I'll also be uploading a new version of nDroid later so it might be worth you giving that a try when it's available.

Cheers,
Brian
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#5
2013-04-01, 11:12 AM
Thanks for looking at this. I'll happily wait and try the next version of nDroid.

I'll skip rooting the phone. I know my luck and I fear that rooting will not end well. Have I understood my superficial reading correctly and does Android include SQLite? Can I find the database file on the phone (and would that help)?

For the avoidance of doubt ... I have never used the automatic EPG update in NextPVR. I run a batch file that includes lines like "nextpvr.exe -updateepgonly". I have updated that batch file to include the line ' sc control "nDroid Service" 129 '.
trummel
Offline

Senior Member

Posts: 276
Threads: 34
Joined: Oct 2008
#6
2013-04-01, 03:11 PM
I tried to install ndroid on my nexus 4 today, Im afraid I also get the same error. Its never been installed before. My config.XML already had the epgupdatehour set to 2. Would it help to send the error report?

Server: Ci5 2500k, 3GB, Windows Server 2012, nPVR 3.5.7. 2xWinTV-DVB-T USB, 1xWinTV-DVB-T PCI, 2 x BlackGold DVB-T, 1xPCTV290E and 1xPCTV460E on Astra 28.2 E.
clients: RPI2, Acer R3700, PCH-A110, NUC, 3xSamsung Smart TV
trummel
Offline

Senior Member

Posts: 276
Threads: 34
Joined: Oct 2008
#7
2013-04-01, 03:25 PM
I take that back. I uninstalled and reinstalled for the 3rd time, but this time cleared all data and its working now:-)

Server: Ci5 2500k, 3GB, Windows Server 2012, nPVR 3.5.7. 2xWinTV-DVB-T USB, 1xWinTV-DVB-T PCI, 2 x BlackGold DVB-T, 1xPCTV290E and 1xPCTV460E on Astra 28.2 E.
clients: RPI2, Acer R3700, PCH-A110, NUC, 3xSamsung Smart TV
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#8
2013-04-01, 08:11 PM
Graham Wrote:Thanks for looking at this. I'll happily wait and try the next version of nDroid.
In the 2 years since I first released Android there have been 8 similar error reports so I would like to get to the bottom of it at some point. Unfortunately the people who previously submitted the reports haven't posted here on the forums and the error reports don't really give much away - I've got a slightly better idea now but still not 100% sure. I didn't get the new version uploaded last night as I wanted to some more tests but I should get it uploaded tonight.

Quote:I'll skip rooting the phone. I know my luck and I fear that rooting will not end well.
Yeah, there are risks - I've never tried it and don't really feel the need to do it.


Quote: Have I understood my superficial reading correctly and does Android include SQLite? Can I find the database file on the phone (and would that help)?
Yes, Android has native support for SQLite but the nDroid database is stored in the internal memory which is private on a per-app basis so to find it you'd need a rooted phone. I'm not sure it would help, however, as this seems to be a run-time error. I have done some reading about it and now know what conditions can cause a database lock but haven't tracked down the offending code yet.

trummel Wrote:I take that back. I uninstalled and reinstalled for the 3rd time, but this time cleared all data and its working now:-)
OK great, thanks for the confirmation.

Cheers,
Brian
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#9
2013-04-02, 12:28 PM (This post was last modified: 2013-04-02, 09:16 PM by Graham.)
Graham Wrote:... says "populating database" and that ends with "Unfortunately nDroid has stopped".
Fixed. I have done three "Clear Data" and restart app (and reload data) cycles. It's all good. I'm liking the Day 1, Day 2, etc progress messages. Thank you.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#10
2013-04-02, 07:57 PM
Great - thanks for the confirmation.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  nDroid Download Location whozeawhat 4 7,152 2017-02-24, 08:08 PM
Last Post: jamissr
  Anyone using nDroid TE on devices running Android less than v4? bgowland 4 6,824 2016-11-03, 02:09 AM
Last Post: mrred128
  NDROID TE Amazon Marketplace thomasaherzog 0 4,300 2016-01-30, 07:12 PM
Last Post: thomasaherzog
  nDroid Setup on Windows 10 firewall issue fixed max0r4axor 0 4,566 2015-05-19, 04:56 AM
Last Post: max0r4axor
  nDroid (TE) for Amazon Marketplace? kode54 1 4,763 2015-04-04, 04:43 PM
Last Post: bgowland
  ndroid TE recording event crashes recording service fuzzweed 0 4,413 2015-02-04, 07:00 AM
Last Post: fuzzweed
  nDroid TE Beta Testers - anyone out there? bgowland 19 15,060 2014-09-29, 05:43 AM
Last Post: Steve Barnes
  ndroid service will not start wodger 12 12,263 2014-08-15, 07:56 AM
Last Post: drlava
  ndroid te search fuzzweed 6 6,652 2014-06-15, 05:52 AM
Last Post: bgowland
  nDroid n Samsung Galaxy S5 subi75 5 7,489 2014-04-22, 03:13 AM
Last Post: subi75

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode