Opened 14 years ago

Closed 14 years ago

#8747 closed defect (invalid)

Failed to make preview image

Reported by: bob.havlin@… Owned by: stuartm
Priority: minor Milestone: 0.24
Component: MythTV - General Version: Master Head
Severity: medium Keywords: preview image fail
Cc: Ticket locked: no

Description

After upgrading, I started having the problem where previews are not generated for the frontend.

I have verified that the directory is writeable by the myth user.

2010-08-07 18:54:56.872 MythSocketThread(sock 0x82e7968:25): socket is readable
2010-08-07 18:54:56.872 MythSocketThread(sock 0x82e7968:25): calling m_cb->readyRead()
2010-08-07 18:54:56.872 MythSocket(82e7968:25): UpRef: 2
2010-08-07 18:54:56.872 MythSocket(82e7968:25): read  <- 25 591     QUERY_CHECKFILE[]:[]1[]:[]Designed to Sell[]:[]Lackluster Starter...
2010-08-07 18:54:56.873 SG(LiveTV): FindRecordingFile: Searching for '1229_20100807185426.mpg'
2010-08-07 18:54:56.874 SG(LiveTV): FindRecordingDir: Checking '/local_recordings/mythtv-recordings' for '/local_recordings/mythtv-recordings/1229_20100807185426.mpg'
2010-08-07 18:54:56.874 SG(LiveTV): FindRecordingFile: Found '/local_recordings/mythtv-recordings/1229_20100807185426.mpg'
2010-08-07 18:54:56.874 ProgramInfo(1229_20100807185426.mpg): GetPlaybackURL: File is local: '/local_recordings/mythtv-recordings/1229_20100807185426.mpg'
2010-08-07 18:54:56.874 MythSocket(82e7968:25): write -> 25 65      1[]:[]/local_recordings/mythtv-recordings/1229_20100807185426.mpg
2010-08-07 18:54:56.874 MythSocket(82e7968:25): DownRef: 1
2010-08-07 18:54:56.876 MythSocketThread(sock 0x82e7968:25): socket is readable
2010-08-07 18:54:56.876 MythSocketThread(sock 0x82e7968:25): calling m_cb->readyRead()
2010-08-07 18:54:56.876 MythSocket(82e7968:25): UpRef: 2
2010-08-07 18:54:56.876 MythSocket(82e7968:25): read  <- 25 616     QUERY_PIXMAP_GET_IF_MODIFIED[]:[]-1[]:[]204800[]:[]Designed to Se...
2010-08-07 18:54:56.877 MythSocket(82e7968:25): write -> 25 46      WARNING[]:[]2: Could not locate requested file
2010-08-07 18:54:56.877 MythSocket(82e7968:25): DownRef: 1
2010-08-07 18:54:56.878 MythSocket(836ae40:31): new socket
2010-08-07 18:54:56.878 MythSocket(836ae40:31): setSocket: 12
2010-08-07 18:54:56.878 MythSocket(836ae40:12): state change Idle -> Connected
2010-08-07 18:54:56.878 MythSocket(836ae40:12): UpRef: 1
2010-08-07 18:54:56.878 MythSocketThread(sock 0x82e7968:25): socket is readable
2010-08-07 18:54:56.879 MythSocketThread(sock 0x82e7968:25): calling m_cb->readyRead()
2010-08-07 18:54:56.879 MythSocket(82e7968:25): UpRef: 2
2010-08-07 18:54:56.879 MythSocketThread(sock 0x836ae40:12): socket is readable
2010-08-07 18:54:56.879 MythSocketThread(sock 0x836ae40:12): calling m_cb->readyRead()
2010-08-07 18:54:56.879 MythSocket(836ae40:12): UpRef: 2
2010-08-07 18:54:56.879 MythSocket(82e7968:25): read  <- 25 591     QUERY_CHECKFILE[]:[]1[]:[]Designed to Sell[]:[]Lackluster Starter...
2010-08-07 18:54:56.879 MythSocket(82e7968:25): write -> 25 65      1[]:[]/local_recordings/mythtv-recordings/1229_20100807185426.mpg
2010-08-07 18:54:56.880 MythSocket(82e7968:25): DownRef: 1
2010-08-07 18:54:56.880 MythSocket(836ae40:12): read  <- 12 21      MYTH_PROTO_VERSION 58
2010-08-07 18:54:56.880 MythSocket(836ae40:12): write -> 12 13      ACCEPT[]:[]58
2010-08-07 18:54:56.880 MythSocket(836ae40:12): DownRef: 1
2010-08-07 18:54:56.881 MythSocketThread(sock 0x836ae40:12): socket is readable
2010-08-07 18:54:56.881 MythSocketThread(sock 0x836ae40:12): calling m_cb->readyRead()
2010-08-07 18:54:56.881 MythSocket(836ae40:12): UpRef: 2
2010-08-07 18:54:56.881 MythSocket(836ae40:12): read  <- 12 24      ANN Monitor bob-laptop 0
2010-08-07 18:54:56.881 MainServer::ANN Monitor
2010-08-07 18:54:56.881 adding: bob-laptop as a client (events: 0)
2010-08-07 18:54:56.882 MythSocket(836ae40:12): write -> 12 2       OK
2010-08-07 18:54:56.882 MythSocket(836ae40:12): DownRef: 1
2010-08-07 18:54:56.882 MythSocketThread(sock 0x836ae40:12): socket is readable
2010-08-07 18:54:56.882 MythSocketThread(sock 0x836ae40:12): calling m_cb->readyRead()
2010-08-07 18:54:56.882 MythSocket(836ae40:12): UpRef: 2
2010-08-07 18:54:56.882 MythSocket(836ae40:12): read  <- 12 629     QUERY_GENPIXMAP[]:[]Designed to Sell[]:[]Lackluster Starter Home[...
2010-08-07 18:54:56.883 HandleGenPreviewPixmap got extra data
                        -1s 0x0 ''
2010-08-07 18:54:56.883 Preview Error: Run() can not generate preview locally for: '/local_recordings/mythtv-recordings/1229_20100807185426.mpg'
2010-08-07 18:54:56.883 MainServer: Failed to make preview image.
2010-08-07 18:54:56.883 MythSocket(836ae40:12): write -> 12 21      BAD[]:[]ERROR_UNKNOWN
2010-08-07 18:54:56.883 MythSocket(836ae40:12): DownRef: 1
2010-08-07 18:54:56.883 MythSocketThread(sock 0x836ae40:12): socket is readable
2010-08-07 18:54:56.883 MythSocketThread(sock 0x836ae40:12): socket closed
2010-08-07 18:54:56.884 MythSocket(836ae40:12): state change Connected -> Idle

MythTV Version : 25575 MythTV Branch : trunk Network Protocol : 58 Library API : 0.23.20100802-1 QT Version : 4.6.2 Options compiled in:

linux debug using_alsa using_jack using_oss using_pulse using_pulseoutput using_backend using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg

Change History (8)

comment:1 Changed 14 years ago by stuartm

It appears that you are running mixed revisions of the applications. The arguments to the preview generator have changed in trunk, but the backend is sending the args in the old format which it doesn't understand. Try updating everything to the same revision and restart the backend.

comment:2 Changed 14 years ago by stuartm

Status: newinfoneeded_new

comment:3 Changed 14 years ago by anonymous

I updated, but I still get the same error message. Maybe this is just something weird with the PPA I am using: ppa:mythbuntu/0.24 from here: https://launchpad.net/~mythbuntu/+archive/0.24/+index?field.series_filter=lucid

mythfrontend --version

xprop: unable to open display Please attach all output as a file in bug reports. MythTV Version : 25594 MythTV Branch : trunk Network Protocol : 58 Library API : 0.23.20100807-1 QT Version : 4.6.2 Options compiled in:

linux debug using_alsa using_jack using_oss using_pulse using_pulseoutput using_backend using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg

mythbackend --version

Please attach all output as a file in bug reports. MythTV Version : 25594 MythTV Branch : trunk Network Protocol : 58 Library API : 0.23.20100807-1 QT Version : 4.6.2 Options compiled in:

linux debug using_alsa using_jack using_oss using_pulse using_pulseoutput using_backend using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg

comment:4 Changed 14 years ago by robertm

Status: infoneeded_newnew

comment:5 Changed 14 years ago by robertm

Owner: set to stuartm
Status: newassigned

comment:6 Changed 14 years ago by stuartm

Status: assignedinfoneeded

Can you please see if mythpreviewgen is being built/installed?

comment:7 Changed 14 years ago by anonymous

The file mythpreviewgen is not part of the package:

The commands:

dpkg -L dpkg -l |grep myth | awk '{print $2}' |grep preview

and

locate mythpreviewgen

verified this.

Also, just to make sure it is clear how things are setup:

dpkg -l |grep myth

ii  libmyth-0.23-0                       0.24.0~trunk25594-0ubuntu0~mythbuntu1           Common library code for MythTV and add-on mo
ii  libmyth-python                       0.24.0~trunk25594-0ubuntu0~mythbuntu1           A python library to access some MythTV featu
ii  libmythtv-perl                       0.24.0~trunk25594-0ubuntu0~mythbuntu1           A PERL library to access some MythTV feature
ii  mytharchive                          0.24.0~trunk25575-0ubuntu0~mythbuntu1           create and burn DVD's from MythTV - binary f
ii  mythbuntu-common                     0.50-0ubuntu1                                   Mythbuntu application support functions
ii  mythbuntu-control-centre             0.62-0ubuntu1                                   Mythbuntu Configuration Application
ii  mythbuntu-default-settings           0.96-0ubuntu1                                   default settings for Mythbuntu
ii  mythbuntu-desktop                    0.59                                            The Mythbuntu standalone system
ii  mythbuntu-gdm-theme                  0.6-0ubuntu1                                    Mythbuntu GDM theme
ii  mythbuntu-lirc-generator             0.24-0ubuntu1                                   Mythbuntu Lirc Configuration Generator
ii  mythbuntu-log-grabber                0.7-0ubuntu2                                    Mythbuntu repos installer
ii  mythbuntu-repos                      8.0-0ubuntu0+mythbuntu~auto20100809002729       Mythbuntu repos installer
ii  mythexport                           2.1.5-0ubuntu1                                  Export MythTV recording to portable media pl
ii  mythgallery                          0.24.0~trunk25575-0ubuntu0~mythbuntu1           Image gallery/slideshow add-on module for My
ii  mythmovies                           0.24.0~trunk25575-0ubuntu0~mythbuntu1           Find nearby movies and cinema listings
ii  mythmusic                            0.24.0~trunk25575-0ubuntu0~mythbuntu1           Music add-on module for MythTV
ii  mythplugins-dbg                      0.24.0~trunk25575-0ubuntu0~mythbuntu1           Debug symbols for mythplugins
ii  mythtv                               0.24.0~trunk25594-0ubuntu0~mythbuntu1           A personal video recorder application (clien
ii  mythtv-backend                       0.24.0~trunk25594-0ubuntu0~mythbuntu1           A personal video recorder application (serve
ii  mythtv-backend-master                0.24.0~trunk25594-0ubuntu0~mythbuntu1           Metapackage to setup and configure a "Master
ii  mythtv-common                        0.24.0~trunk25594-0ubuntu0~mythbuntu1           A personal video recorder application (commo
ii  mythtv-database                      0.24.0~trunk25594-0ubuntu0~mythbuntu1           A personal video recorder application (datab
ii  mythtv-dbg                           0.24.0~trunk25594-0ubuntu0~mythbuntu1           Debug symbols for mythtv packages
ii  mythtv-frontend                      0.24.0~trunk25594-0ubuntu0~mythbuntu1           A personal video recorder application (clien
ii  mythtv-theme-arclight                1:0.24.0~trunk25594-0ubuntu0~mythbuntu1         The arclight MythTV Theme
ii  mythtv-theme-blootube-osd            1:0.24.0~trunk25106-0ubuntu0~mythbuntu1         The blootube-osd MythTV Theme
ii  mythtv-theme-blueosd                 1:0.24.0~trunk25106-0ubuntu0~mythbuntu1         The blueosd MythTV Theme
ii  mythtv-theme-childish                1:0.24.0~trunk25594-0ubuntu0~mythbuntu1         The childish MythTV Theme
ii  mythtv-theme-graphite                1:0.24.0~trunk25594-0ubuntu0~mythbuntu1         The graphite MythTV Theme
ii  mythtv-theme-iulius-osd              1:0.24.0~trunk25106-0ubuntu0~mythbuntu1         The iulius-osd MythTV Theme
ii  mythtv-theme-metallurgy              1:0.24.0~trunk25594-0ubuntu0~mythbuntu1         The metallurgy MythTV Theme
ii  mythtv-theme-mono-osd                1:0.24.0~trunk25106-0ubuntu0~mythbuntu1         The mono-osd MythTV Theme
ii  mythtv-theme-mythbuntu               1:0.24.0~trunk25598-0ubuntu0~mythbuntu1         The mythbuntu MythTV Theme
ii  mythtv-theme-projectgrayhem-osd      1:0.24.0~trunk25106-0ubuntu0~mythbuntu1         The projectgrayhem-osd MythTV Theme
ii  mythtv-theme-retro-osd               1:0.24.0~trunk25106-0ubuntu0~mythbuntu1         The retro-osd MythTV Theme
ii  mythtv-theme-titivillus-osd          1:0.24.0~trunk25106-0ubuntu0~mythbuntu1         The titivillus-osd MythTV Theme
ii  mythtv-themes                        1:0.24.0~trunk25598-0ubuntu0~mythbuntu1         Themes for MythTV
ii  mythtv-transcode-utils               0.24.0~trunk25594-0ubuntu0~mythbuntu1           Utilities used for transcoding MythTV tasks
ii  mythvideo                            0.24.0~trunk25575-0ubuntu0~mythbuntu1           A generic video player frontend module for M
ii  mythweather                          0.24.0~trunk25575-0ubuntu0~mythbuntu1           Weather add-on module for MythTV
ii  mythweb                              0.24.0~trunk25575-0ubuntu0~mythbuntu1           Web interface add-on module for MythTV

comment:8 Changed 14 years ago by stuartm

Resolution: invalid
Status: infoneededclosed

Ok, looks like a downstream packaging bug, closing as invalid. I suggest you file this with mythbuntu.

Note: See TracTickets for help on using tickets.