Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#10505 closed Bug Report - General (fixed)

MythArchive 0.25-beta 'Create Archive/Import Archive' does not write progress.log

Reported by: J.Pilk@… Owned by: paulh
Priority: minor Milestone: 0.26.1
Component: Plugin - MythArchive Version: Unspecified
Severity: medium Keywords: archive
Cc: Ticket locked: no

Description

http://www.gossamer-threads.com/lists/mythtv/users/509728#509728

In later tests both creation and import worked, although the conditions for setting up a successful import seemed more critical; but there is no on-screen indication that anything is happening or that the process has completed. progress.log is set to 0 bytes and stays there.

Change History (11)

comment:1 Changed 12 years ago by beirdo

Component: MythTV - GeneralPlugin - MythArchive

comment:2 Changed 12 years ago by J.Pilk@…

I thought this might be related to #11059 but the change that seems to have fixed that (adding <LocalHostName?>profile_identifier</LocalHostName?> to config.xml) has not fixed this. The archived recording and mydata.xml (which includes savedirectory="") appear in the expected folders but the progress.log, which should be shown live on-screen, is empty and mythburn.log is a relic from an earlier 'Create DVD' job.

comment:3 Changed 11 years ago by norbert.ehses@…

Bug has been introduced to my setting with 0.25. Now, my setting is 0.26. Mytharchive log screen stays empty. Size of the progress.log is 0 bytes. This is annoying, because I frequently use a NAS to keep my local storage free for new recordings. I miss the "success" message telling me the status of the backup, which sometimes fails due to bad filenames originated by the TV-stations. I am watching the bug tracker, but I do not see any progress on this issue.

comment:4 Changed 11 years ago by paulh <mythtv@…>

This appears to be another side affect of beirdos new logging stuff. I don't think there is an easy way to direct the logging to where we want it to go ie MythArchive?'s progress.log.

Probably the best we can do is add another command line parameter to tell mytharchivehelper where to send the progress log and have mytharchivehelper echo any progress messages to it?

comment:5 Changed 11 years ago by J.Pilk@…

If that looks to be the best way to do it, then please do. It would be useful to have it back.

In 0.26-fixes the real-time DVD-creation progress log sometimes isn't found initially either, although it can be brought up through the menus.

Thanks for reviewing these tickets.

comment:6 Changed 11 years ago by paulh <mythtv@…>

comment:7 Changed 11 years ago by norbert.ehses@…

Thanks for your responses. My distribution is debian wheezy. Today I updated to 0.26-fixes, using debs from the multimedia repository. But the changes are not yet implemented. Mytharchive presents an empty log screen. Well, I have to wait for the next round of fixes. I do not want to break anything in my setup compiling and installing mytharchive from source.

comment:8 in reply to:  7 Changed 11 years ago by paulh <mythtv@…>

Replying to norbert.ehses@…:

Thanks for your responses. My distribution is debian wheezy. Today I updated to 0.26-fixes, using debs from the multimedia repository. But the changes are not yet implemented. Mytharchive presents an empty log screen. Well, I have to wait for the next round of fixes. I do not want to break anything in my setup compiling and installing mytharchive from source.

The fixes are only in my fork (https://github.com/paul-h/mythtv) at the moment. Neither 0.27-pre or 0.26-fixes have been updated. I don't have commit access to the mythtv repo so you will just have to be patient and hope a current dev cherry picks the required commits.

comment:9 Changed 11 years ago by Paul Harrison <mythtv@…>

Owner: set to Paul Harrison <mythtv@…>
Resolution: fixed
Status: newclosed

In 52a7c118aedc747bbea3a92d178eabf8566818ad/mythtv:

MythArchive?: fix the missing logs when doing a native archive import/export

The new logging stuff was causing both the export and import of native archives
logging to not be shown in the log viewer this fixes that and also makes the
log viewer wait a while for the logs before giving up which should fix the
logs not always showing the first time.

Fixes #10505.

comment:10 Changed 11 years ago by Paul Harrison <mythtv@…>

In 5e06d2a15b6e242d407899ada1ca2a0026c5e9fb/mythtv:

MythArchive?: fix the missing logs when doing a native archive import/export

The new logging stuff was causing both the export and import of native archives
logging to not be shown in the log viewer this fixes that and also makes the
log viewer wait a while for the logs before giving up which should fix the
logs not always showing the first time.

Fixes #10505.
(cherry picked from commit 52a7c118aedc747bbea3a92d178eabf8566818ad)

comment:11 Changed 11 years ago by paulh

Milestone: unknown0.26.1
Owner: changed from Paul Harrison <mythtv@…> to paulh
Note: See TracTickets for help on using tickets.