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 … 3 4 5 6 7 Next »
New install - App freezes / crashes after download of data from service

 
  • 0 Vote(s) - 0 Average
New install - App freezes / crashes after download of data from service
lostboy
Offline

Junior Member

UK
Posts: 39
Threads: 6
Joined: Dec 2008
#1
2012-09-08, 04:13 PM
Brian, this post is to accompany a crash log sent through the Android market place.

My device is a Sony tablet S running Android 4.0.3, and the service is running on a WHS 2011 machine (Server 2008 based x64). I have disabled the window firewall for this test.

The service appears to install and run correctly, and the app installs and fires up the initial config screen. After setting the config (web user/password verified as the same for npvr and ndroid) the app then runs, goes through it's downloading/extracting files/ populating database message. Once that's complete the screen that appears has the days of the week across the top in buttons that I can select (but nothing else happens), and next to the ndroid logo in the top left corner it says -1:UNKNOWN. There is nothing else on the screen, which is unresponsive to any taps, etc. If I tap on the logo or the "-1:UNKNOWN" text the app crashes.

The file structure in the /sdcard/Android/data/uk.co.beetec.android.nDroid/files/temp directory appears to be in place populated (15 files there). There is plenty of space available.

Grateful if you could have a look at this.

Chris
NextPVR 5 on Debian 10 on LXC (Proxmox 7), Clients Kodi on FireStick/~HD/Mi Box S
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#2
2012-09-08, 04:41 PM
Hi Chris,

Everything looks OK from the service logs - I think the problem must be to do with the channels data. Attach the channel.zip file located in the \data\zip folder and I'll see if that's causing the problem.

Cheers,
Brian
lostboy
Offline

Junior Member

UK
Posts: 39
Threads: 6
Joined: Dec 2008
#3
2012-09-08, 05:13 PM
Brian,

Here's the channel.zip from the server, do you need the one from the tablet?

Thanks

Chris
NextPVR 5 on Debian 10 on LXC (Proxmox 7), Clients Kodi on FireStick/~HD/Mi Box S
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#4
2012-09-08, 05:38 PM
lostboy Wrote:Here's the channel.zip from the server, do you need the one from the tablet?
No, that zip is enough.

I have a feeling the reason might be...
Code:
8738,BBC PARL'MNT,79
...but I'm not 100% sure. I think it could be the apostrophe in PARL'MNT that's causing the channel data import to fail which then means everything else is failing.

An apostrophe is a special character in SQLite databases and the nDroid code handles it fine for TV programme titles and descriptions etc but perhaps I didn't write the code for channel data to cope with it.

I'll need to check later tonight as I'm currently on my way out for a few hours.

Cheers,
Brian
lostboy
Offline

Junior Member

UK
Posts: 39
Threads: 6
Joined: Dec 2008
#5
2012-09-09, 02:11 PM
OK, I changed the odd channel name to remove the apostrophe and made sure that the channels.zip listing in the ndroid zip data file had updated on the server. I uninstalled/reinstalled the service and the tablet app to ensure that I'd cleared out any data files and this time I get a pop-up on the tablet telling me that an "nDroid Service upgrade required" - "This version of nDroid requires v1.8.1 (or later) of the nDroid Service...". I double checked that I had service version 1.8.2 on the server (downloaded again to be sure) - same result.

I'm not sure what I've done that might have caused this.

Chris
NextPVR 5 on Debian 10 on LXC (Proxmox 7), Clients Kodi on FireStick/~HD/Mi Box S
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#6
2012-09-09, 07:41 PM
lostboy Wrote:OK, I changed the odd channel name to remove the apostrophe and made sure that the channels.zip listing in the ndroid zip data file had updated on the server.
Hmm, well good and bad news. The good news is that the apostrophe would definitely have thrown the whole data import and would have been the cause of the original problem. I've fixed this for the next release.

Quote:...this time I get a pop-up on the tablet telling me that an "nDroid Service upgrade required" - "This version of nDroid requires v1.8.1 (or later) of the nDroid Service...". I double checked that I had service version 1.8.2 on the server (downloaded again to be sure) - same result.

I'm not sure what I've done that might have caused this.
...and the bad news is I also have no idea what you might have done to cause the version popup.

The version checking is actually a very simple bit of code and I've been staring at it for the past half hour trying to work out how it's triggering that popup falsely.

Try checking the nDroidService.log at the most recent time you started the service. You should have a line like this...
Code:
09/09/2012 17:01:43.687 nDroidService v1.8.2 build: 1.8.4510.3498 started.
Don't worry about the build: part of it, it's the v.1.8.2 bit that should be logged.

Cheers,
Brian
lostboy
Offline

Junior Member

UK
Posts: 39
Threads: 6
Joined: Dec 2008
#7
2012-09-09, 10:36 PM
Brian,

the nDroid service log looks OK. Latest logs and data attached.

Chris
NextPVR 5 on Debian 10 on LXC (Proxmox 7), Clients Kodi on FireStick/~HD/Mi Box S
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#8
2012-09-09, 11:12 PM
Hi Chris,

Ah...looks like you found another bug I need to fix.

From the nDroidServiceListener.log this is the bit where the nDroid app is checking the service is running and what version it is...
Code:
09/09/2012 14:52:28.004 hrhkey.Key: x-ndroid-action hrhkey.Value: checkstatus
...
09/09/2012 14:52:28.004 INVALID CREDENTIALS
It looks like the nDroid app and the service don't have matching username/password and the failure to get the service status means the app can't get the proper version info hence the popup.

I'll check the code but it looks like it ought to be telling you the credentials are wrong instead of giving that popup.

Cheers,
Brian
lostboy
Offline

Junior Member

UK
Posts: 39
Threads: 6
Joined: Dec 2008
#9
2012-09-10, 06:32 PM
Brian,

thanks, and my apologies - I had forgotten that with an reinstall of the service I needed to reset the service credentials again. Have now successfully loaded schedules data to the tablet. Time to have a play :-)

Many thanks

Chris
NextPVR 5 on Debian 10 on LXC (Proxmox 7), Clients Kodi on FireStick/~HD/Mi Box S
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#10
2012-09-10, 08:00 PM
Chris,

No need to apologise. If nDroid had reported something sensible regarding bad username/password then you'd have probably realised what was happening. My fault for not writing this into the code - I'll fix it for the next release.

Cheers,
Brian
« 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,201 2017-02-24, 08:08 PM
Last Post: jamissr
  Incomplete guide data fuzzweed 26 20,045 2015-05-31, 10:41 AM
Last Post: bgowland
  ndroid TE recording event crashes recording service fuzzweed 0 4,429 2015-02-04, 07:00 AM
Last Post: fuzzweed
  ndroid service will not start wodger 12 12,316 2014-08-15, 07:56 AM
Last Post: drlava
  error 927 when attempting to install from Google play AntoniusFM 1 2,305 2013-11-19, 03:19 PM
Last Post: bgowland
  install problem? WKleeven 42 14,630 2013-11-12, 04:18 PM
Last Post: WKleeven
  cant view a channel because it cant get guide data xsirxx 23 9,993 2013-10-05, 03:47 AM
Last Post: mvallevand
  disable "ndroid" service from exposing "C" drive? reven 2 2,292 2013-09-12, 01:28 PM
Last Post: reven
  Ndroid 1.9 Updating EPG Download Failed MP3746 16 6,841 2013-08-18, 11:58 AM
Last Post: bgowland
  nDroid Service v1.8.9 update bgowland 0 2,036 2013-05-12, 11:21 PM
Last Post: bgowland

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

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

Linear Mode
Threaded Mode