Re: [mythtv-users] Mythweb won't delete programs

2005-10-31 Thread Neil
On Thu, 2005-10-27 at 14:32 +0200, Chris Rouch wrote:
 On 10/21/05, Chris Petersen [EMAIL PROTECTED] wrote:
  ok, to put all fears to rest about this being a code issue, I can
  confirm that it works perfectly for me as of SVN revision 7538 (current).
 
  On to the next set of problems..  why this is happening to Neil.
 
 
 Is it an selinux issue? A look through the apache logs should show
 error messages if it is, or if it's any other kind of permission
 problem.
 
 Chris

Sussed out what the problem was - it was because I'm stooopid!

When I first installed mythtv I did it from a package. Despite having a
dvb card that outputs mpeg2, mythtv was creating .nuv files - something
XBMC (which I use to actually watch the programs) couldn't recognise. So
I setup mythrename.pl with the --linkdir option as a cron job. This
created nice links with .mpg extensions.

When I subsequently built myth from CVS (and then, following advice
here, SVN) enabling dvb in the config meant that instead of
creating .nuv files it created .mpg files. I'd totally forgotten that
when I saw this, I took the --linkdir option off of the mythrename
script, so it was renaming the original files instead of creating links.
Of course mythweb couldn't delete these files - they had different
filenames to those in the db!

Have reinstated the --link option and all is working well again.

Thanks for all the suggestions - sorry for being such an idiot and
wasting your time!

Neil

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-27 Thread Chris Rouch
On 10/21/05, Chris Petersen [EMAIL PROTECTED] wrote:
 ok, to put all fears to rest about this being a code issue, I can
 confirm that it works perfectly for me as of SVN revision 7538 (current).

 On to the next set of problems..  why this is happening to Neil.


Is it an selinux issue? A look through the apache logs should show
error messages if it is, or if it's any other kind of permission
problem.

Chris
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-20 Thread Neil

 
 svn co http://svn.mythtv.org/svn/trunk/mythplugins
   
 
 Perfect.
 
 But it still pulls down .17 dated February 6 2005
   
 
 Well, actually, it's a newer version.  The README for MythWeb hasn't 
 been updated in quite some time.  Chris has been very busy with other 
 stuff lately, but the idea of updating it is in the system ( 
 http://svn.mythtv.org/trac/ticket/332 ).
 
 The best way to find out what version you're using with SVN is:
 
 svn info
 
 and looking at the line:
 
 Revision: 
 
 So, anyway, you should have the right version, now, and can proceed to 
 the install.  Make sure, however, that you install the same version of 
 mythtv, mythplugins, and myththemes--otherwise, you'll have problems.  
 So, do an svn checkout of mythtv, then and svn update of mythplugins, 
 then and svn checkout of myththemes, then compile/install mythtv 
 (shutting down mythtv before installing), then compile/install 
 mythplugins and myththemes (doesn't matter whether you install 
 mythplugins or myththemes first).  Then, restart mythtv and let us know 
 if you still have difficulties.
 

Hi Mike,

Thanks for your help so far :)

have just finished doing exactly these steps. I'm now running mythtv .19
and mythweb .19, but the problem remains. Mythweb says its deleted the
program, but the files are still there and so are the entries in the db.

Any ideas where to look now?

TIA

Neil

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-20 Thread Steve Hodge
On 10/21/05, Neil [EMAIL PROTECTED] wrote:
 have just finished doing exactly these steps. I'm now running mythtv .19
 and mythweb .19, but the problem remains. Mythweb says its deleted the
 program, but the files are still there and so are the entries in the db.

 Any ideas where to look now?

Have you checked that the user that apache is running under has
permission to delete from the directory where MythTV is storing the
files?

Regards,
Steve
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-20 Thread Neil
On Fri, 2005-10-21 at 10:49 +1300, Steve Hodge wrote:
 On 10/21/05, Neil [EMAIL PROTECTED] wrote:
  have just finished doing exactly these steps. I'm now running mythtv .19
  and mythweb .19, but the problem remains. Mythweb says its deleted the
  program, but the files are still there and so are the entries in the db.
 
  Any ideas where to look now?
 
 Have you checked that the user that apache is running under has
 permission to delete from the directory where MythTV is storing the
 files?
 
 Regards,
 Steve

Hi Steve,

thought you might be on to something there - whilst the directory had
full permissions (drwxrwxrwx), the files within it were coming out as
-rw-r--r-- 

Just did a chmod 777 * (and verified that the permissions had been
changed) but the problem remains :(

Thanks anyway

Neil


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-20 Thread Robin Gilks

 On Fri, 2005-10-21 at 10:49 +1300, Steve Hodge wrote:
 Have you checked that the user that apache is running under has
 permission to delete from the directory where MythTV is storing the
 files?

 Regards,
 Steve

 Hi Steve,

 thought you might be on to something there - whilst the directory had
 full permissions (drwxrwxrwx), the files within it were coming out as
 -rw-r--r-- 

 Just did a chmod 777 * (and verified that the permissions had been
 changed) but the problem remains :(


Have you checked that the apache user has modify permission to the database?
Check out http://www.mythtv.org/docs/mythtv-HOWTO-6.html for mysql
permissions.


-- 
Robin Gilks




___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-20 Thread Chris Petersen

Steve Hodge wrote:
 Have you checked that the user that apache is running under has
 permission to delete from the directory where MythTV is storing the
 files?

Wouldn't matter.  MythWeb sends the delete command directly to 
mythbackend.  Doesn't touch the files themselves.


Robin Gilks wrote:

Have you checked that the apache user has modify permission to the database?
Check out http://www.mythtv.org/docs/mythtv-HOWTO-6.html for mysql
permissions.


Also wouldn't matter, for the above reason.  But also because it's 
highly unlikely that he set up a different database user/password for 
mythweb than for the backend/frontend.


It could just be a bug in how MythWeb sends the command to the backend 
(ie. maybe the format has changed again).  Will look into it if I have 
time tonight.


-Chris
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-20 Thread Steve Hodge
On 10/21/05, Chris Petersen [EMAIL PROTECTED] wrote:
 Steve Hodge wrote:
   Have you checked that the user that apache is running under has
   permission to delete from the directory where MythTV is storing the
   files?

 Wouldn't matter.  MythWeb sends the delete command directly to
 mythbackend.  Doesn't touch the files themselves.

Oh yes, of course.

 It could just be a bug in how MythWeb sends the command to the backend
 (ie. maybe the format has changed again).  Will look into it if I have
 time tonight.

That would seem the most likely explanation then, given that Neil can
delete successfully via the frontend.

Regards,
Steve
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-20 Thread Chris Petersen
ok, to put all fears to rest about this being a code issue, I can 
confirm that it works perfectly for me as of SVN revision 7538 (current).


On to the next set of problems..  why this is happening to Neil.

-Chris
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-19 Thread Neil
On Tue, 2005-10-18 at 19:53 -0400, Michael T. Dean wrote:
 Neil wrote:
 
 Upgraded to the latest Mythweb CVS (.17) and now Mythweb (which I use
 exclusively as my frontend) doesn't seem to want to delete anything.

 Before trying to debug...  CVS is no longer used.  MythTV is using SVN 
 now.  Also, 0.17 is extremely old.
 
 So, either fix your post (so we know we're not wasting time debugging a 
 bad install) or fix your install (by installing SVN--or at least 
 0.18.1).  ;)
 
 http://svn.mythtv.org/
 
 Mike

Hi Mike thanks for the reply.

I was using CVS not SVN. I've just pulled down the latest SVN using the
command:

svn co http://svn.mythtv.org/svn/trunk/mythplugins

But it still pulls down .17 dated February 6 2005

Looking round the trac, the only branch I can see that appears to relate to a 
higher version is release-0-18-fixes, but if I look at the README for mythweb, 
it still says .17 February 6 2005.

Sorry if I'm being clueless, but I'm fairly new to Linux and have never done 
this before. Is there an M that I can RTF (;-) or could you point me in the 
right direction to find the latest release?

cheers

Neil

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-19 Thread Neil
On Tue, 2005-10-18 at 18:58 -0500, Alberto Alonso wrote:
 Sorry I don't have an answer to your question, but as you
 mentioned that mythweb is your exclusive frontend I am
 curious as to how you stream recordings. Do you have a
 plug in that can handle streaming?
 
 Thanks,
 
 Alberto
 

Hi Alberto,

Sorry, I should have been clearer - I only use mythweb to browse
listings and control what gets recorded. When watching things I've
recorded I either us XBMC on the Xbox or transcode them down to a
smaller size and watch them on my PDA when doing my daily commute on the
train.

regards

Neil

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-19 Thread Michael T. Dean

Neil wrote:


On Tue, 2005-10-18 at 19:53 -0400, Michael T. Dean wrote:
 


Neil wrote:


Upgraded to the latest Mythweb CVS (.17) and now Mythweb (which I use
exclusively as my frontend) doesn't seem to want to delete anything.

Before trying to debug...  CVS is no longer used.  MythTV is using SVN 
now.  Also, 0.17 is extremely old.


So, either fix your post (so we know we're not wasting time debugging a 
bad install) or fix your install (by installing SVN--or at least 
0.18.1).  ;)


http://svn.mythtv.org/
   


I was using CVS not SVN.


OK.  Glad we got that cleared up first.


I've just pulled down the latest SVN using the
command:

svn co http://svn.mythtv.org/svn/trunk/mythplugins
 


Perfect.


But it still pulls down .17 dated February 6 2005
 

Well, actually, it's a newer version.  The README for MythWeb hasn't 
been updated in quite some time.  Chris has been very busy with other 
stuff lately, but the idea of updating it is in the system ( 
http://svn.mythtv.org/trac/ticket/332 ).


The best way to find out what version you're using with SVN is:

svn info

and looking at the line:

Revision: 

So, anyway, you should have the right version, now, and can proceed to 
the install.  Make sure, however, that you install the same version of 
mythtv, mythplugins, and myththemes--otherwise, you'll have problems.  
So, do an svn checkout of mythtv, then and svn update of mythplugins, 
then and svn checkout of myththemes, then compile/install mythtv 
(shutting down mythtv before installing), then compile/install 
mythplugins and myththemes (doesn't matter whether you install 
mythplugins or myththemes first).  Then, restart mythtv and let us know 
if you still have difficulties.



Looking round the trac, the only branch I can see that appears to relate to a 
higher version is release-0-18-fixes, but if I look at the README for mythweb, 
it still says .17 February 6 2005.

Sorry if I'm being clueless, but I'm fairly new to Linux and have never done 
this before. Is there an M that I can RTF (;-) or could you point me in the 
right direction to find the latest release?
 

Probably don't need to RTFM since you're on the right track now, but 
here are some references you might find useful:


Version Control with Subversion:  http://svnbook.red-bean.com/

MythTV homepage (to check version numbers ;):  http://mythtv.org/
MythTV Documentation: http://mythtv.org/modules.php?name=MythInstall

HTH,
Mike
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-19 Thread Chris Petersen
Well, actually, it's a newer version.  The README for MythWeb hasn't 
been updated in quite some time.  Chris has been very busy with other 
stuff lately, but the idea of updating it is in the system ( 
http://svn.mythtv.org/trac/ticket/332 ).


Actually, I claim laziness on the README (I forgot it had a version 
attached to it).   As for the rest of the stuff, I'm experiencing a 
repetitive stress injury in my arm/shoulder and have been avoiding 
computers outside of work (which sucks, since I have a lot of projects I 
want to work on).



The best way to find out what version you're using with SVN is:
svn info
and looking at the line:
Revision: 


Unfortunately, that gives you the svn revision, not the mythtv version.

-Chris
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-19 Thread Chris Petersen

But it still pulls down .17 dated February 6 2005


My bad.  I just fixed that string in the README.

Remember that you need to have matching versions of mythbackend and 
mythweb (and mythfrontend)...  Don't forget to grab 
http://svn.mythtv.org/svn/trunk/mythtv, too.


-Chris
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-19 Thread Michael T. Dean

Chris Petersen wrote:


The best way to find out what version you're using with SVN is:
svn info
and looking at the line:
Revision: 


Unfortunately, that gives you the svn revision, not the mythtv version.


Yeah.  That's why I put version in quotes.

I guess I should have been explicit and said, When reporting the 
version of SVN you're using on the lists, you should use, 'svn info'.


Mike
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-19 Thread Pascal Favre

I would like to have for all apps to show the svn-revision and version (branch, 
trunk) information, e.g.

./mythcommflag --help
mythcommflag version: 0.18.1 (rev. 13845) www.mythtv.org

- Original Message - 
From: Michael T. Dean [EMAIL PROTECTED]

To: Discussion about mythtv mythtv-users@mythtv.org
Sent: Wednesday, October 19, 2005 6:36 PM
Subject: Re: [mythtv-users] Mythweb won't delete programs



Chris Petersen wrote:


The best way to find out what version you're using with SVN is:
svn info
and looking at the line:
Revision: 


Unfortunately, that gives you the svn revision, not the mythtv version.


Yeah.  That's why I put version in quotes.

I guess I should have been explicit and said, When reporting the 
version of SVN you're using on the lists, you should use, 'svn info'.


Mike
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-18 Thread Michael T. Dean

Neil wrote:


Upgraded to the latest Mythweb CVS (.17) and now Mythweb (which I use
exclusively as my frontend) doesn't seem to want to delete anything.

On the 'Recorded Programs' screen I can click delete recording and
after asking if I'm sure, it refreshes the screen with the program gone
and says recording successfully deleted.

However, the physical file is still there, as is its entry in the DB.
Hit 'refresh' and it appears in my Mythweb listing again.

It all works ok when using mythfrontend, just not mythweb.

Any ideas where I should look to solve this?
 

Before trying to debug...  CVS is no longer used.  MythTV is using SVN 
now.  Also, 0.17 is extremely old.


So, either fix your post (so we know we're not wasting time debugging a 
bad install) or fix your install (by installing SVN--or at least 
0.18.1).  ;)


http://svn.mythtv.org/

Mike
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Mythweb won't delete programs

2005-10-18 Thread Alberto Alonso

Sorry I don't have an answer to your question, but as you
mentioned that mythweb is your exclusive frontend I am
curious as to how you stream recordings. Do you have a
plug in that can handle streaming?

Thanks,

Alberto

 Upgraded to the latest Mythweb CVS (.17) and now Mythweb (which I use
 exclusively as my frontend) doesn't seem to want to delete anything.

 On the 'Recorded Programs' screen I can click delete recording and
 after asking if I'm sure, it refreshes the screen with the program gone
 and says recording successfully deleted.

 However, the physical file is still there, as is its entry in the DB.
 Hit 'refresh' and it appears in my Mythweb listing again.

 It all works ok when using mythfrontend, just not mythweb.

 Any ideas where I should look to solve this?

 TIA

 Neil

 ___
 mythtv-users mailing list
 mythtv-users@mythtv.org
 http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users