SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Phoenix
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Phoenix This forum is for discussing the user-created Phoenix custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-01-2013, 06:54 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Phoenix loads with images messed up

Starting this weekend (I think after upgrading to the latest Phoenix core) I've had an issue where after any of my clients / extenders has been off for a period of time when it loads the UI is completely hosed.

It's like none of the images from the Skin are loaded (on extenders) and on the full client it seems like menus that are normally there are missing.

After forcing the skin to change and/or triggering a widget chain in studio I can get back to normal.

I think I saw some talk recently about stuff phoenix does when loading - any idea what might be going on?
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #2  
Old 04-01-2013, 07:57 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by bialio View Post
Starting this weekend (I think after upgrading to the latest Phoenix core) I've had an issue where after any of my clients / extenders has been off for a period of time when it loads the UI is completely hosed.

It's like none of the images from the Skin are loaded (on extenders) and on the full client it seems like menus that are normally there are missing.

After forcing the skin to change and/or triggering a widget chain in studio I can get back to normal.

I think I saw some talk recently about stuff phoenix does when loading - any idea what might be going on?
Phoenix does a lot of stuff when it starts up for the first time, ie, restarting the server. But, nothing has changed in Phoenix about what it does when you load a new client, etc. I think when a new client loads phoenix, the UI call the LoadSkin method and this method is responsible for initializing the phoenix themes, etc, for that client instance. Nothing has changed in that part of the code, from what I can tell.

Aer you seeing any errors in the phoenix log or the sagetv log?
Reply With Quote
  #3  
Old 04-01-2013, 09:30 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
I think I figured out what's going on with my Client - I changed some of the init code for phoenix 2 in the area that selects the user, and I suspect I was creating a temporary user that stayed around until the server restarted.

I'm not sure what is going on with the extenders.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #4  
Old 04-01-2013, 10:10 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by bialio View Post
I think I figured out what's going on with my Client - I changed some of the init code for phoenix 2 in the area that selects the user, and I suspect I was creating a temporary user that stayed around until the server restarted.

I'm not sure what is going on with the extenders.
In phoenix, we create a "default" user which is the main user. So were you using the user, or creating a new one? Also, are you deleting the user? if so, and that user is shared with other extenders, then maybe the user is "gone" when it does to use it?
Reply With Quote
  #5  
Old 04-01-2013, 01:30 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
2013-04-01 13:30:07,257 [MiniUIServerConnection] INFO phoenix.impl.SkinAPI - LoadSkin(): Skin: null; context 0023a50001ac

I'm guessing this explains the symptoms. Now need to figure out why Skin == null....
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #6  
Old 04-01-2013, 03:31 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by bialio View Post
2013-04-01 13:30:07,257 [MiniUIServerConnection] INFO phoenix.impl.SkinAPI - LoadSkin(): Skin: null; context 0023a50001ac

I'm guessing this explains the symptoms. Now need to figure out why Skin == null....
It might be prudent for me to use the "default" skin when LoadSkin gets a null value
Reply With Quote
  #7  
Old 04-01-2013, 04:33 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
FYI... I've pushed out some updates (source repo) to Phoenix... one of those changes uses the default Skin when the Skin is null (as it was documented, but it didn't do it ) You'll need to rebuild the jar.
Reply With Quote
  #8  
Old 04-01-2013, 04:39 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
That'll help. I've fixed the STV to avoid the issue also. The skin handling was the only spot left in there using Get and Set USER property. Mike and I removed all of the other references to these back in the day because they didn't work dependably.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #9  
Old 04-01-2013, 08:06 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by bialio View Post
That'll help. I've fixed the STV to avoid the issue also. The skin handling was the only spot left in there using Get and Set USER property. Mike and I removed all of the other references to these back in the day because they didn't work dependably.
I also found this in the Phoenix APIs as I was looking for some other stuff...

Code:
	/**
	 * This should be called before each Menu Load to ensure that the Phoenix
	 * Context is set correctly for SageTV UI Call.
	 * 
	 * By Calling this from the UI,
	 */
	public void InitializePhoenixContext(String UIContextName) {
That is a part of the phoenix.util. api. Seems that we should call this before loading a menu, so ensure that the context is set correctly for phoenix.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Repairing a messed up Phoenix Install stuckless Phoenix 31 01-25-2022 09:52 AM
Movie Wall loads slow on some extenders Rob Sage My Movies 2 02-09-2011 01:14 PM
what stuff loads at power up? cat6man SageTV Media Extender 2 03-12-2009 05:31 AM
Media Extender screen loads on server shardinite SageTV Media Extender 4 09-26-2007 09:44 PM
Sage loads up to a black screen jasonp SageTV Software 3 12-12-2005 08:56 PM


All times are GMT -6. The time now is 07:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.