Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Silly Question about logging

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


johnnyjboss at gmail

Nov 25, 2009, 8:09 AM

Post #1 of 8 (532 views)
Permalink
Silly Question about logging

When I was using the Ubuntu packaged MythFrontend it was logging to
/var/log/mythtv/mythfrontend.

Now that I've compiled and installed it at /usr/local/bin I'm not
seeing any logging. I remember that there were command line arguments
to direct the logging because I saw them in the process list when I
found I had the defunct process issue.

What are these arguments and where can I find them? I'm not getting
any logs and I need them to debug some playback issues.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jerrymr at gmail

Nov 25, 2009, 8:26 AM

Post #2 of 8 (512 views)
Permalink
Re: Silly Question about logging [In reply to]

On Wed, Nov 25, 2009 at 11:09 AM, Johnny Walker <johnnyjboss [at] gmail>wrote:

> When I was using the Ubuntu packaged MythFrontend it was logging to
> /var/log/mythtv/mythfrontend.
>
> Now that I've compiled and installed it at /usr/local/bin I'm not
> seeing any logging. I remember that there were command line arguments
> to direct the logging because I saw them in the process list when I
> found I had the defunct process issue.
>
> What are these arguments and where can I find them? I'm not getting
> any logs and I need them to debug some playback issues.
>

mythfrontend --help

or google "mythfrontend command line"

-Jerry


johnnyjboss at gmail

Nov 25, 2009, 8:42 AM

Post #3 of 8 (515 views)
Permalink
Re: Silly Question about logging [In reply to]

On Wed, Nov 25, 2009 at 10:26 AM, Jerry Rubinow <jerrymr [at] gmail> wrote:
> On Wed, Nov 25, 2009 at 11:09 AM, Johnny Walker <johnnyjboss [at] gmail>
> wrote:
>>
>> When I was using the Ubuntu packaged MythFrontend it was logging to
>> /var/log/mythtv/mythfrontend.
>>
>> Now that I've compiled and installed it at /usr/local/bin I'm not
>> seeing any logging. I remember that there were command line arguments
>> to direct the logging because I saw them in the process list when I
>> found I had the defunct process issue.
>>
>> What are these arguments and where can I find them? I'm not getting
>> any logs and I need them to debug some playback issues.
>
> mythfrontend --help

yeah - i'm at work and the mythbox is at home - evidently even to run
'--help' requires that I forward my X server connection.

Thank though - Sometimes the obvious escapes me. Well, ok - often
times the obvious escapes me...

-JohnnyJboss

> or google "mythfrontend command line"
> -Jerry
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Nov 25, 2009, 10:41 AM

Post #4 of 8 (496 views)
Permalink
Re: Silly Question about logging [In reply to]

On 11/25/2009 11:42 AM, Johnny Walker wrote:
> yeah - i'm at work and the mythbox is at home - evidently even to run
> '--help' requires that I forward my X server connection.
>

Shouldn't on 0.22 and above. (There there may be a completely unrelated
issue that causes an abort if you don't.)

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


johnnyjboss at gmail

Nov 25, 2009, 10:44 AM

Post #5 of 8 (510 views)
Permalink
Re: Silly Question about logging [In reply to]

On Wed, Nov 25, 2009 at 12:41 PM, Michael T. Dean
<mtdean [at] thirdcontact> wrote:
> On 11/25/2009 11:42 AM, Johnny Walker wrote:
>>
>> yeah - i'm at work and the mythbox is at home - evidently even to run
>> '--help' requires that I forward my X server connection.
>>
>
> Shouldn't on 0.22 and above.  (There there may be a completely unrelated
> issue that causes an abort if you don't.)

I tried it and it said "Cannot connect to X server"

I forwarded my X11 session and i'm fine now though.

>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


knowledgejunkie at gmail

Nov 25, 2009, 10:56 AM

Post #6 of 8 (514 views)
Permalink
Re: Silly Question about logging [In reply to]

2009/11/25 Michael T. Dean <mtdean [at] thirdcontact>:
> On 11/25/2009 11:42 AM, Johnny Walker wrote:
>>
>> yeah - i'm at work and the mythbox is at home - evidently even to run
>> '--help' requires that I forward my X server connection.
>>
>
> Shouldn't on 0.22 and above.  (There there may be a completely unrelated
> issue that causes an abort if you don't.)

This doesn't work for me on 0.22-fixes over SSH:

[nick [at] smither ~]$ mythfrontend --help
mythfrontend: cannot connect to X server

however...

[nick [at] smither ~]$ mythfrontend --version
Please include all output in bug reports.
MythTV Version : 22764
MythTV Branch : branches/release-0-22-fixes
Network Protocol : 50
Library API : 0.22.20091023-1
QT Version : 4.5.2
Options compiled in:
linux release using_oss using_alsa using_pulse using_backend
using_dvb using_frontend using_hdpvr using_iptv using_ivtv using_lirc
using_mheg using_opengl_video using_opengl_vsync using_qtwebkit
using_v4l using_x11 using_xrandr using_xv using_bindings_perl
using_bindings_python using_opengl using_ffmpeg_threads using_live
using_mheg

... does work

Maybe the help code is not handled in the same X-less scope as the version code?

Cheers,
Nick

--
Nick Morrott

MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


doug at fawnanddoug

Nov 25, 2009, 11:25 AM

Post #7 of 8 (505 views)
Permalink
Re: Silly Question about logging [In reply to]

> -----Original Message-----
> From: mythtv-users-bounces [at] mythtv [mailto:mythtv-users-
> bounces [at] mythtv] On Behalf Of Nick Morrott
> Sent: Wednesday, November 25, 2009 1:56 PM
> To: Discussion about mythtv
> Subject: Re: [mythtv-users] Silly Question about logging
>
> 2009/11/25 Michael T. Dean <mtdean [at] thirdcontact>:
> > On 11/25/2009 11:42 AM, Johnny Walker wrote:
> >>
> >> yeah - i'm at work and the mythbox is at home - evidently even to
> run
> >> '--help' requires that I forward my X server connection.
> >>
> >
> > Shouldn't on 0.22 and above.  (There there may be a completely
> unrelated
> > issue that causes an abort if you don't.)
>
> This doesn't work for me on 0.22-fixes over SSH:
>
> [nick [at] smither ~]$ mythfrontend --help
> mythfrontend: cannot connect to X server
>
> however...
>
> [nick [at] smither ~]$ mythfrontend --version
> Please include all output in bug reports.
> MythTV Version : 22764
> MythTV Branch : branches/release-0-22-fixes
> Network Protocol : 50
> Library API : 0.22.20091023-1
> QT Version : 4.5.2
> Options compiled in:
> linux release using_oss using_alsa using_pulse using_backend
> using_dvb using_frontend using_hdpvr using_iptv using_ivtv using_lirc
> using_mheg using_opengl_video using_opengl_vsync using_qtwebkit
> using_v4l using_x11 using_xrandr using_xv using_bindings_perl
> using_bindings_python using_opengl using_ffmpeg_threads using_live
> using_mheg
>
> ... does work
>
> Maybe the help code is not handled in the same X-less scope as the
> version code?
>
> Cheers,
> Nick
>
> --
> Nick Morrott
>
> MythTV Official wiki: http://mythtv.org/wiki/
> MythTV users list archive: http://www.gossamer-
> threads.com/lists/mythtv/users
>
> "An investment in knowledge always pays the best interest." - Benjamin
> Franklin
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

This has been bothering me too. I posted a simple patch here:
http://svn.mythtv.org/trac/ticket/7662 . It looks like an enum was missing
from the mythfrontend command line parser start up.

-D

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Nov 25, 2009, 11:30 AM

Post #8 of 8 (510 views)
Permalink
Re: Silly Question about logging [In reply to]

On 11/25/2009 01:56 PM, Nick Morrott wrote:
> 2009/11/25 Michael T. Dean:
>
>> On 11/25/2009 11:42 AM, Johnny Walker wrote:
>>
>>> yeah - i'm at work and the mythbox is at home - evidently even to run
>>> '--help' requires that I forward my X server connection.
>>>
>> Shouldn't on 0.22 and above. (There there may be a completely unrelated
>> issue that causes an abort if you don't.)
>>
> This doesn't work for me on 0.22-fixes over SSH:
>
> [nick [at] smither ~]$ mythfrontend --help
> mythfrontend: cannot connect to X server
>
> however...
>
> [nick [at] smither ~]$ mythfrontend --version
> Please include all output in bug reports.
> MythTV Version : 22764
> MythTV Branch : branches/release-0-22-fixes
> Network Protocol : 50
> Library API : 0.22.20091023-1
> QT Version : 4.5.2
> Options compiled in:
> linux release using_oss using_alsa using_pulse using_backend
> using_dvb using_frontend using_hdpvr using_iptv using_ivtv using_lirc
> using_mheg using_opengl_video using_opengl_vsync using_qtwebkit
> using_v4l using_x11 using_xrandr using_xv using_bindings_perl
> using_bindings_python using_opengl using_ffmpeg_threads using_live
> using_mheg
>
> ... does work
>
> Maybe the help code is not handled in the same X-less scope as the version code?

Well, it was fixed to work properly in trunk before 0.22 (
http://svn.mythtv.org/trac/ticket/6160 and
http://svn.mythtv.org/trac/ticket/6484 ), but it seems it was broken,
again, before release when the command-line options handling was
completely rewritten.

http://svn.mythtv.org/trac/ticket/7662

(This, also, being why I said, "shouldn't," instead of "doesn't.")

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.