SageTV Community  

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

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 05-31-2010, 11:33 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by Slugger View Post
I need someone to work with me on MSN messenger to get the proper debug info. It could be a SageAlert problem, but until someone can get me the proper logs then I can't make that determination. PM for details on contacting me through MSN (my id is just my email address in case you already know my addr - I just won't post it in here).
Quote:
Originally Posted by davidk21770 View Post
I tried restarting the server, restarting sage, and rebooting my computer -- but your update finally fixed it!

Thanks.
Yeah, subtle dependency issues. Problem is I have so many jars already preinstalled on my system that when I go to figure out what should be listed as a dependency, I keep forgetting one or two.

Make sure you're running 2.0.0.845 as it includes a fix to work around a bug in the twitter4j library as well.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #22  
Old 05-31-2010, 11:37 AM
darcilicious's Avatar
darcilicious darcilicious is offline
Sage Icon
 
Join Date: Jul 2009
Location: Venus
Posts: 1,306
Can't thank Slugger enough for taking the time to debug this! And to follow up as another problem showed up after he thought he was done
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output
on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT)
via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB
Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd
Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2
Reply With Quote
  #23  
Old 05-31-2010, 03:35 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
I just upgraded to this today. I see there is no test for the mail server. I'm not getting alerts that I think I should be getting. Any suggestions on testing?
Reply With Quote
  #24  
Old 05-31-2010, 03:54 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by toricred View Post
I just upgraded to this today. I see there is no test for the mail server. I'm not getting alerts that I think I should be getting. Any suggestions on testing?
SageTV\plugins\sagealert\sagealert.log

It logs every notification attempt and if it fails then the exception/error that caused it.

(The ability to test the email settings, twitter account, Growl account, etc. will return eventually.)
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #25  
Old 05-31-2010, 04:01 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
Here are the results from that log with an error that I can't figure out how to fix:

Code:
2010-05-31 15:57:56,800 INFO  [AppEventsListener]: Event received: EPGUpdateCompleted
2010-05-31 15:57:57,331 ERROR [EmailServer]: Error sending email
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. 21sm4325911pzk.0

	at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1829)
	at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1368)
	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:886)
	at com.google.code.sagetvaddons.sagealert.server.EmailServer.sendMessage(EmailServer.java:130)
	at com.google.code.sagetvaddons.sagealert.server.EmailServer.access$300(EmailServer.java:39)
	at com.google.code.sagetvaddons.sagealert.server.EmailServer$1.run(EmailServer.java:76)
2010-05-31 15:57:57,331 ERROR [EmailServer]: Email for 'An EPG update has completed' event FAILED to 'brian@xxxx.org'
Reply With Quote
  #26  
Old 05-31-2010, 04:20 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Looks like your SMTP server is requiring an SSL connection. In your SMTP settings for SageAlert, ensure "Use SSL" is checked.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #27  
Old 05-31-2010, 05:13 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
That didn't fix it and my mail client is set to not use an ssl connection. Here's the new error:

Code:
2010-05-31 17:10:19,784 ERROR [EmailServer]: Error sending email
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587;
  nested exception is:
	javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1706)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:525)
	at javax.mail.Service.connect(Service.java:291)
	at javax.mail.Service.connect(Service.java:172)
	at javax.mail.Service.connect(Service.java:192)
	at com.google.code.sagetvaddons.sagealert.server.EmailServer.sendMessage(EmailServer.java:127)
	at com.google.code.sagetvaddons.sagealert.server.EmailServer.access$300(EmailServer.java:39)
	at com.google.code.sagetvaddons.sagealert.server.EmailServer$1.run(EmailServer.java:76)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
	at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(Unknown Source)
	at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:503)
	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:234)
	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1672)
	... 7 more
2010-05-31 17:10:19,800 ERROR [EmailServer]: Email for 'SageAlert has successfully started...' event FAILED to 'brian@sedlaceks.org'
Reply With Quote
  #28  
Old 05-31-2010, 05:22 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
If you're using Gmail's SMTP server then I'd recommend settings like this (which is exactly what I use, and my emails are sent no problem):

host: smtp.gmail.com
port: 465
user: yourid@gmail.com
pwd: yourpwd
Use SSL: yes (i.e. box is checked)
Sender address: yourid@gmail.com

Sender address must equal user name or Google will reject your emails.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #29  
Old 05-31-2010, 05:24 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
I'm using google apps with my own domain name. It was working with sagealert v.1. I changed to port 465 and using ssl. It took a little while, but it looks like it's working now. Thanks for the help.
Reply With Quote
  #30  
Old 05-31-2010, 07:26 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by Slugger View Post
The GUI is definitely rough around the edges. Comments welcome.
OK, here are some quick first impressions, in no particular order:

* The SMTP password displays in cleartext.

* I can create email accounts, but I can't figure out how to get back to them for later editing or verification. Left-clicking on Email doesn't seem to do anything, and right-clicking just gives me the Create option again. (There's a Delete option too, but it's disabled.)

* Revise that: After manually refreshing the page I can now click open the Email node of the tree and see the accounts I created. However I still can't do anything with them. Left-clicking does nothing, and right-clicking shows me a menu with both Create and Delete disabled.

* There was a whole Settings page in the old UI that seems to have no equivalent in the new UI.

* The Clients page seems to show only Placeshifter/extender clients. The old version showed SageTVClients and the server's own pseudoclient as well.
__________________
-- Greg
Reply With Quote
  #31  
Old 05-31-2010, 07:53 PM
darcilicious's Avatar
darcilicious darcilicious is offline
Sage Icon
 
Join Date: Jul 2009
Location: Venus
Posts: 1,306
Quote:
Originally Posted by GKusnick View Post
* The Clients page seems to show only Placeshifter/extender clients. The old version showed SageTVClients and the server's own pseudoclient as well.
My PC client and 127.0.0.1 (server) both show up on my clients page but I don't have any placeshifters or extenders in my set up / network either.
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output
on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT)
via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB
Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd
Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2
Reply With Quote
  #32  
Old 05-31-2010, 08:04 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by GKusnick View Post
* The Clients page seems to show only Placeshifter/extender clients. The old version showed SageTVClients and the server's own pseudoclient as well.
Quote:
Originally Posted by darcilicious View Post
My PC client and 127.0.0.1 (server) both show up on my clients page but I don't have any placeshifters or extenders in my set up / network either.
Yes, I figured out that I have to restart my clients in order to fire the ClientConnected event that SageAlert now uses to track this.
__________________
-- Greg
Reply With Quote
  #33  
Old 05-31-2010, 08:08 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by GKusnick View Post
OK, here are some quick first impressions, in no particular order:

* The SMTP password displays in cleartext.
Fixed for next build.

Quote:
* I can create email accounts, but I can't figure out how to get back to them for later editing or verification. Left-clicking on Email doesn't seem to do anything, and right-clicking just gives me the Create option again. (There's a Delete option too, but it's disabled.)

* Revise that: After manually refreshing the page I can now click open the Email node of the tree and see the accounts I created. However I still can't do anything with them. Left-clicking does nothing, and right-clicking shows me a menu with both Create and Delete disabled.
Accounts are suppose to be added to the tree when created. It was working, now it's not. That'll be fixed for the next build.

The ability to delete is there, but the option is inadvertently disabled. That, too, will be fixed for the next build.

Quote:
* There was a whole Settings page in the old UI that seems to have no equivalent in the new UI.
All of those settings had to do with how frequently the polling threads polled the Sage API looking to fire the pseudo events I was generating in Sage v6 for everything. Now, SageAlert simply listens for the actual API events and reacts to them so all of those settings are obsolete. The exception were the settings for the date/time format used in messages. So far I haven't had a need to bring those back, so I haven't.

Quote:
* The Clients page seems to show only Placeshifter/extender clients. The old version showed SageTVClients and the server's own pseudoclient as well.
Clients/extenders/placeshifters are added to the list on the ClientConnected event. You may need to restart a client to get it to register in that list. Does the pseudo client fire the ClientConnected event? If so, does it fire before SageAlert registers for the event? (This is possible because of the asynchronous manner in which jetty apps are deployed - I'm looking to handle this scenario in a future build.) Disconnecting and reconnecting PC clients or the pseudo client should register it in the Clients list in SageAlert (full app refresh currently needed to refresh the clients list - that, too, will be addressed ). I have had my clients and extenders and placeshifters all register successfully (just tested it again).
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #34  
Old 05-31-2010, 08:19 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by Slugger View Post
Accounts are suppose to be added to the tree when created. It was working, now it's not. That'll be fixed for the next build.

The ability to delete is there, but the option is inadvertently disabled. That, too, will be fixed for the next build.
But is there a way to change the account settings (e.g. message type) without deleting and re-creating it?

Quote:
Originally Posted by Slugger View Post
Clients/extenders/placeshifters are added to the list on the ClientConnected event. You may need to restart a client to get it to register in that list.
Yeah, figured that out. Next question: is there a way to delete a client from that list? (I started one of my clients using the wrong NIC/MAC addr.)
__________________
-- Greg
Reply With Quote
  #35  
Old 05-31-2010, 09:12 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by GKusnick View Post
But is there a way to change the account settings (e.g. message type) without deleting and re-creating it?
Currently, no. The key value cannot be changed (email address, twitter id, growl hostname), but the other data could be changed without affecting the event registrations. I'll probably add that ability.



Quote:
Yeah, figured that out. Next question: is there a way to delete a client from that list? (I started one of my clients using the wrong NIC/MAC addr.)
No. Reconnecting from the new NIC would add the new registration. Deleting clients isn't an option. Clients that don't connect simply aren't used.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #36  
Old 06-01-2010, 01:35 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
2.0.0.846 now available with a bunch of UI bug fixes.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #37  
Old 06-01-2010, 03:53 PM
Peter_h Peter_h is offline
Sage Fanatic
 
Join Date: May 2008
Location: Kailua, HI
Posts: 798
upgrading to the latest version fixed the issue I was having with the old sagealert still running... I think.
Reply With Quote
  #38  
Old 06-02-2010, 06:17 AM
nethead nethead is offline
Sage User
 
Join Date: Jun 2009
Location: Washington, D.C.
Posts: 63
Great! Time to upgrade to v7 now.

Will have to after 4pm on Saturday, as the wife records her chinese shows from 9am to 4pm every day, and you don't mess with wife recordings
Reply With Quote
  #39  
Old 06-03-2010, 01:45 PM
davidk21770 davidk21770 is offline
Sage Expert
 
Join Date: Mar 2006
Location: Maryland
Posts: 514
I'm not getting any emails.
The log shows the following error:
Code:
2010-06-03 02:03:56,502 ERROR [EmailServer]: Error sending email
javax.mail.MessagingException: Could not connect to SMTP host: mail.comcast.net, port: 110, response: -1
...
The SMPT section is set up the same way that my email is set up in Thunderbird.
Do you have any suggestions?
__________________
HDHomeRun x2
Cable Box via Hauppauge HD PVR and USB-UIRT
2 SageTV's HD300

Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance
DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax)
eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling
Synology NAS 22TB
Reply With Quote
  #40  
Old 06-03-2010, 05:55 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Port 110 is typically the POP3 server on most networks. I'd try changing it to port 25. If that doesn't work, search your ISP's web site for details on its SMTP server settings.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
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
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) cslatt SageTV Customizations 48 06-11-2012 10:44 AM
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin deria SageTV Customizations 447 12-11-2010 07:38 PM
Plugin: SageAlert Slugger SageTV Customizations 201 06-28-2010 07:47 PM
SageAlert new release notifications Slugger Customization Announcements 2 03-06-2010 09:53 AM
Hulu: Possible to Use XBMC Hulu Plugin to create SageTV Plugin? Brent SageTV Customizations 8 02-24-2009 04:16 PM


All times are GMT -6. The time now is 06:54 PM.


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