For The Record - The rule-based scheduling suite (6 Viewers)

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
Check the Windows event viewer (eventvwr.exe). In the application log. Hopefully there's an error logged there that explains this...

I now have the same issue. I originally setup TvS to grabs TV3's EPG, worked great. Switched over to XMLTV to give it a try, didn't work as good. Tried to switch back and TV3 and TvS didn't want to talk.
Uninstalled, reinstalled and TvS service just starts and stops. Absolutely no error in the event viewer.

I've tried deleting the full dot-i directory and the database, but still a no-go.

The same problem Visteon is having :( :(

I'd really like to get to the bottom of this one. I'm wondering if it has anything to do with the broken installer from the previous versions, in that they leave something behind somewhere.

Here's my start code:

Code:
        protected override void OnStart(string[] args)
        {
            TvScheduler.ServiceImplementation.EventLogger.Initialize();
            try
            {
                // Start all services
                _tvGuideServiceHost = OpenNewServiceHost(typeof(TvScheduler.ServiceImplementation.TvGuideService));
                _tvSchedulerServiceHost = OpenNewServiceHost(typeof(TvScheduler.ServiceImplementation.TvSchedulerService));
                _logServiceHost = OpenNewServiceHost(typeof(TvScheduler.ServiceImplementation.LogService));
                _configurationServiceHost = OpenNewServiceHost(typeof(TvScheduler.ServiceImplementation.ConfigurationService));

                string exePath = System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName;
                Directory.SetCurrentDirectory(Path.GetDirectoryName(exePath));

                // XMLTV Imported Thread
                _xmltvImportThread = new XmlTvImportThread();
                _xmltvImportThread.Start();
            }
            catch (Exception ex)
            {
                TvScheduler.ServiceImplementation.EventLogger.WriteEntry(ex);
                throw;
            }
            TvScheduler.ServiceImplementation.EventLogger.WriteEntry("TvScheduler service started.", EventLogEntryType.Information);
        }

What's puzzling me is that in all error cases it will log an error in the event-log. So it almost looks like the service simply isn't loading. Or the error must occur in EventLogger.Initialize() which is also hard to imagine.

Can you try the following: use a command prompt and go to the "TV Scheduler" directory in program files, then run TvScheduler.WindowsService.exe manually. Does it simply complain that it is a service and can't run that way? Or do you get an error?

----

Hiding the menu when entering "channel group", "channel" or "settings" panels is a very ugly effect... :p
At first it seems a locked application....

:) Hmmmm... Perhaps I should "ghost" the menu instead? Or isn't this more a matter of getting used to it?
 

Midget

Portal Pro
October 1, 2007
78
2
Siena
Home Country
Italy Italy
Hiding the menu when entering "channel group", "channel" or "settings" panels is a very ugly effect... :p
At first it seems a locked application....

:) Hmmmm... Perhaps I should "ghost" the menu instead? Or isn't this more a matter of getting used to it?

Maybe... I think the problem lies in the not so clearly visible position of the "OK"/"Cancel" buttons. The user see the menu disappear on the left and his attention is not directed to the two buttons on the botton of the screen. Obviously, when you know that, it's not a problem. It's simply a matter of user friendlyness ;)

Bye
 

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
Well, perhaps I should simply put "Save" and "Cancel" in the menu then, under an "Actions" heading. And remove the buttons.
 

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
[size=+1]UPDATE ALERT[/size]

I just uploaded a minor new beta release. Visteon and StaticMan, please try this on your machines, and check if there is anything useful logged in DebugView or TvScheduler.log.

Logging is still basic for now, I'll add more detailed logging to my business layer later on.

Beta release (November 23rd, 2007)

Changes since the previous release:

PS: if you are using the TVE3 plugin, stop the TVService or disable the plugin, install new TV Scheduler, copy over the new TVE3 plugin DLLs, and then restart TVService or re-enable the plugin.
 

StaticMan

Portal Pro
May 14, 2007
118
0
Home Country
Canada Canada
dvdfreak,

I'll try the new version when I get home from work today.

I left this out of my last post but after seeing your source it is relevant - Your last line is written to the system event log. I see the service starting but then immediately the next event line says the service has stopped.
No errors or logs between the two.
 

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
OK, thanks, let me know. Looks like it might be the XMLTV import thread that is faulting then, but it only reads some config settings and creates the "xmltv" subdirectory before it too should log any exceptions. Hopefully the logs will shed more light on this and at least bring us closer to the real problem.
 

Shaftstick

Portal Member
July 7, 2006
30
0
45
Home Country
France France
hi thanks for your great job
i have a problem igot this message when i try to lauch tvsheduler service


---------------------------
Erreur
---------------------------
'net.tcp://frozen:49942/TvScheduler/' not found, is the service running?
---------------------------
OK
---------------------------

and when i try to lauch the service manually i got this

---------------------------
Services
---------------------------
Le service TV Scheduler sur Ordinateur local a démarré puis s'est arrêté. Certains services peuvent s'arrêter automatiquement s'ils n'ont aucune tâche à effectuer, par exemple, le service des alertes et les journaux de performances.
---------------------------
OK
---------------------------

sorry it's in french

i don't know which file to add as log so i put all the file in the logs dir


thanks for help
 

visteon

Portal Pro
October 19, 2007
94
2
Hi some more info :

After my problems uninstalling on Tuesday. I let the kids play Sims2 for 1.5 hrs,
when I tried to re-start the TvScheduler service it stayed running.

I went through the rest of the setup, enabling plugin and importing WebEPG, linking channels.

I then tried a quick schedule and it has not shown up in TvServer.

What I found before is that I could sometimes get to to this point where it appeared to be ok then after a reboot it was back to service not starting.

Having read posts up to today I stopped/started the TVService then added a schedule and this then showed up in TvServer.

So.....

I have just tried to uninstall the TvScheduler and I think I may have misunderstood about which service to stop. I stopped the TvScheduler service by killing it in TaskManager, I guess I should have stopped it in 'services'.

The uninstall failed so I re-booted.
Now no TVScheduler showing at all in 'services'
So I cleaned up the install with 'Windows Install Cleanup' and deleted the 'doti' folder.

I have now installed the latest version and will test.

.............
[After ReBoot]
.............

Could not open management console, got the connect to server message box. The TvScheduler was running, shown in taskmanager.

Now for some reason on my system there is a delay of about 2 minutes before I can get an Internet connection. After this delay I get a balloon saying wireless networks are detected.
Once I had net access the management console opened without the connect message.
 

StaticMan

Portal Pro
May 14, 2007
118
0
Home Country
Canada Canada
dvdfreak,

Installed 11/23. Same behavior (quiet crashing).

DebugView shows nothing.

TvServer.log:
11/23/2007 6:00:23 PM [Information][TvScheduler]: Starting service.
11/23/2007 6:00:23 PM [Information][TvScheduler]: Starting WCF service hosts.
11/23/2007 6:00:23 PM [Information][TvScheduler]: Starting XMLTV import thread.
11/23/2007 6:00:23 PM [Information][XMLTV Import]: Thread started.
11/23/2007 6:00:23 PM [Information][XMLTV Import]: Deleting old guide programs.

That's it.
 

Users who are viewing this thread

Top Bottom