Author |
Message |
s1148625
|
Posted: Sat Jul 12, 2008 7:06 pm |
|
Joined: Sat Aug 07, 2004 1:55 am
Posts: 219
Location:
West Lafayette, IN
|
When clicking on " Listings" or " Recorded Programs" in Mythweb, I get the following errors at the top of the screen:
Code: Error at /usr/share/mythtv/mythweb/modules/tv/includes/objects/Channel.php, line 50: copy() [function.copy]: The first argument to copy() function cannot be a directory
Error at /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php, line 16: Cannot modify header information - headers already sent by (output started at /usr/share/mythtv/mythweb/includes/errors.php:117)
The pages appear to render properly, but the errors are there. These errors do not show up on the " Searches," " Recording Schedules," " Upcoming Recordings," or " Backend Status" pages.
Oddly, the " Backend Logs" link is missing. I haven't intentionally made any changes in MythWeb.
Anybody have any ideas how to fix this?
_________________ Silverstone LC10|MSI K8N Neo4-F|1GB PC3200|Athlon 64 X2 4200+|NEC 3550A DVD-RW
750GB + 400GB w/Storage Groups|eVGA GeForce 7600 GS w/VGA out to Aquos 32" LCD |PVR-500|PVR-250|SiliconDust HDHomerun
|
|
Top |
|
 |
tjc
|
Posted: Sat Jul 12, 2008 8:06 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
This sound vaguely like one of the DB upgrade funnies we saw... There is a fix up in mythrestore which is supposed to take care of it... If you grok shell script see the do_db_updates function there.
|
|
Top |
|
 |
s1148625
|
Posted: Sat Jul 12, 2008 8:13 pm |
|
Joined: Sat Aug 07, 2004 1:55 am
Posts: 219
Location:
West Lafayette, IN
|
Does this look like it?
Code: mysql_cmd "update settings set data = '0' where value = 'WebDBSchemaVer'" mysql_cmd "drop table mythweb_sessions" >/dev/null 2>&1
_________________ Silverstone LC10|MSI K8N Neo4-F|1GB PC3200|Athlon 64 X2 4200+|NEC 3550A DVD-RW
750GB + 400GB w/Storage Groups|eVGA GeForce 7600 GS w/VGA out to Aquos 32" LCD |PVR-500|PVR-250|SiliconDust HDHomerun
|
|
Top |
|
 |
tjc
|
Posted: Sat Jul 12, 2008 9:08 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Yeah. Only now you need the mysql_cmd function those use or it's moral equivalent.
|
|
Top |
|
 |
s1148625
|
Posted: Sun Jul 13, 2008 7:21 am |
|
Joined: Sat Aug 07, 2004 1:55 am
Posts: 219
Location:
West Lafayette, IN
|
I'm not finding anything that looks like that in mythrestore. Is that command hiding in another script somewhere? Is there a way I can search for text within files?
_________________ Silverstone LC10|MSI K8N Neo4-F|1GB PC3200|Athlon 64 X2 4200+|NEC 3550A DVD-RW
750GB + 400GB w/Storage Groups|eVGA GeForce 7600 GS w/VGA out to Aquos 32" LCD |PVR-500|PVR-250|SiliconDust HDHomerun
|
|
Top |
|
 |
tjc
|
Posted: Sun Jul 13, 2008 9:32 am |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
s1148625 wrote: I'm not finding anything that looks like that in mythrestore. Is that command hiding in another script somewhere? Is there a way I can search for text within files?
It's in backupcommon with all the other backup library stuff. The "$DATABASE" bit substitutes that variable and "$*" is all the arguments to the function.
Code: DATABASE="mythconverg" # # lots of other stuff... # mysql_cmd () { /usr/bin/mysql -u root $DATABASE -sBe "$*" } When you run this what actually gets done is: Code: /usr/bin/mysql -u root mythconverg -sBe "update settings set data = '0' where value = 'WebDBSchemaVer'" /usr/bin/mysql -u root mythconverg -sBe "drop table mythweb_sessions" Searching for text within files... It depends on how wide you want to cast your net. One of the basic commands for this is grep: Code: grep mysql_cmd /usr/loca/bin/* If you don't actually have a clue where the files are you can use find and xargs to hunt through the whole system and then grep through them. Code: find / -xdev -type f -print0 | xargs -0 grep mysql_cmd
All the details of what are going on here would take me most of an hour to explain so I'll leave it as a research exercise if you're interested.
|
|
Top |
|
 |
s1148625
|
Posted: Sun Jul 13, 2008 10:12 am |
|
Joined: Sat Aug 07, 2004 1:55 am
Posts: 219
Location:
West Lafayette, IN
|
Tried the commands - now I have the error messages showing up all all MythWeb pages except for Backend Status. Backend Logs link is still gone.
Perhaps I should just do a clean install or live with the error messages?
_________________ Silverstone LC10|MSI K8N Neo4-F|1GB PC3200|Athlon 64 X2 4200+|NEC 3550A DVD-RW
750GB + 400GB w/Storage Groups|eVGA GeForce 7600 GS w/VGA out to Aquos 32" LCD |PVR-500|PVR-250|SiliconDust HDHomerun
|
|
Top |
|
 |
tjc
|
Posted: Sun Jul 13, 2008 11:57 am |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
You may have to restart the servers after making that change... Also please take another look at and report the exact error message. It may have changed, mjl and I went through a couple variations of this in testing.
|
|
Top |
|
 |
s1148625
|
Posted: Sun Jul 13, 2008 1:49 pm |
|
Joined: Sat Aug 07, 2004 1:55 am
Posts: 219
Location:
West Lafayette, IN
|
Tried a full system reboot - error messages are still there. Below are the exact error messages for each of the pages in MythWeb.
Listings
Code: Error at /usr/share/mythtv/mythweb/modules/tv/includes/objects/Channel.php, line 50: copy() [function.copy]: The first argument to copy() function cannot be a directory
Error at /usr/share/mythtv/mythweb/modules/tv/includes/objects/Channel.php, line 50: copy() [function.copy]: The first argument to copy() function cannot be a directory
Error at /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php, line 16: Cannot modify header information - headers already sent by (output started at /usr/share/mythtv/mythweb/includes/errors.php:117) SearchesCode: Error at /usr/share/mythtv/mythweb/modules/tv/includes/objects/Channel.php, line 50: copy() [function.copy]: The first argument to copy() function cannot be a directory
Error at /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php, line 16: Cannot modify header information - headers already sent by (output started at /usr/share/mythtv/mythweb/includes/errors.php:117) Recording SchedulesCode: Error at /usr/share/mythtv/mythweb/modules/tv/includes/objects/Channel.php, line 50: copy() [function.copy]: The first argument to copy() function cannot be a directory
Error at /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php, line 16: Cannot modify header information - headers already sent by (output started at /usr/share/mythtv/mythweb/includes/errors.php:117) Recording Schedules (Manual or Custom)Code: Error at /usr/share/mythtv/mythweb/modules/tv/includes/objects/Channel.php, line 50: copy() [function.copy]: The first argument to copy() function cannot be a directory
Error at /usr/share/mythtv/mythweb/modules/tv/includes/objects/Channel.php, line 50: copy() [function.copy]: The first argument to copy() function cannot be a directory
Error at /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php, line 16: Cannot modify header information - headers already sent by (output started at /usr/share/mythtv/mythweb/includes/errors.php:117) Upcoming RecordingsCode: Error at /usr/share/mythtv/mythweb/modules/tv/includes/objects/Channel.php, line 50: copy() [function.copy]: The first argument to copy() function cannot be a directory
Error at /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php, line 16: Cannot modify header information - headers already sent by (output started at /usr/share/mythtv/mythweb/includes/errors.php:117) Recorded ProgramsCode: Error at /usr/share/mythtv/mythweb/modules/tv/includes/objects/Channel.php, line 50: copy() [function.copy]: The first argument to copy() function cannot be a directory
Error at /usr/share/mythtv/mythweb/modules/tv/includes/objects/Channel.php, line 50: copy() [function.copy]: The first argument to copy() function cannot be a directory
Error at /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php, line 16: Cannot modify header information - headers already sent by (output started at /usr/share/mythtv/mythweb/includes/errors.php:117)
When clicking on MythTV or Backend Status, no errors appear.
_________________ Silverstone LC10|MSI K8N Neo4-F|1GB PC3200|Athlon 64 X2 4200+|NEC 3550A DVD-RW
750GB + 400GB w/Storage Groups|eVGA GeForce 7600 GS w/VGA out to Aquos 32" LCD |PVR-500|PVR-250|SiliconDust HDHomerun
|
|
Top |
|
 |
tjc
|
Posted: Sun Jul 13, 2008 3:10 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Got it. You have an icon problem, possibly with permissions. Go into your DB (webmin would be my first suggestion) and look at the channel table. The icons should be listed under " /home/mythtv/.mythtv/channels" e.g. " /home/mythtv/.mythtv/channels/cnbc.jpg". Make sure you've got full names there and that they're not under your " /root" directory. Then look at the files and directory to make sure they're owned by mythtv:mythtv with +r access for all.
There's also a cache directory that has to exist and have the right ownership & permissions, but you'll have to give me a second to hunt that down... OK, check these too...
Code: root@black2:~/scripts/backup# ls -ld /myth/image_cache /usr/share/mythtv/mythweb/data/tv_icons drwxrwxrwx 2 www-data www-data 16384 May 21 22:40 /myth/image_cache drwxr-xr-x 2 www-data www-data 4096 Jul 6 22:47 /usr/share/mythtv/mythweb/data/tv_icons root@black2:~/scripts/backup# ls -al /var/www | grep lrwxrwxrwx lrwxrwxrwx 1 www-data www-data 19 Jul 6 22:28 archive -> /myth/video/archive lrwxrwxrwx 1 www-data www-data 30 Jul 6 22:28 data -> /usr/share/mythtv/mythweb/data lrwxrwxrwx 1 www-data www-data 18 Jul 6 22:23 folding@home -> /myth/folding@home lrwxrwxrwx 1 www-data www-data 14 Jul 6 22:23 ipodfeed -> /myth/ipodfeed lrwxrwxrwx 1 www-data www-data 21 Jul 6 22:23 mythtv-doc -> /usr/share/doc/mythtv lrwxrwxrwx 1 www-data www-data 25 Jul 6 22:23 mythweb -> /usr/share/mythtv/mythweb lrwxrwxrwx 1 www-data www-data 9 Jul 6 22:23 rrd -> /myth/rrd lrwxrwxrwx 1 www-data www-data 40 Jul 6 22:23 style.css -> /var/www/mythweb/skins/default/style.css
|
|
Top |
|
 |
s1148625
|
Posted: Sun Jul 13, 2008 8:34 pm |
|
Joined: Sat Aug 07, 2004 1:55 am
Posts: 219
Location:
West Lafayette, IN
|
Checked the icons... I don't think this matters, but the paths to icons have an extra "/" in them. i.e. - in the database, the icons paths are listed as:
Code: /home/mythtv/.mythtv//channels/cnbc.jpg Both the /home/mythtv/.mythtv/channels directory and the individual files appear to have the proper permissions. Since I'm not entirely sure how to read the permissions line I've included them here just in case. Permissions for /home/mythtv/.mythtv/channels: Code: drwxr-xr-x 2 mythtv mythtv 4096 Jul 10 16:38 channels Permissions for an individual channel icon (they are all the same): Code: -rw-r--r-- 1 mythtv mythtv 11341 Jul 10 14:38 tnt.jpg Permissions for /myth/image_cache and /usr/share/mythtv/mythweb/data/tv_icons appear to be the same as yours: Code: drwxrwxrwx 2 www-data www-data 6 Jul 10 14:34 /myth/image_cache drwxr-xr-x 2 www-data www-data 4096 Jul 10 17:43 /usr/share/mythtv/mythweb/data/tv_icons Is it odd that my image_cache has a size of 6 while yours has a size of 16384? What should be in that directory? I think I might have found the culprit in /var/wwwCode: lrwxrwxrwx 1 root root 19 Jul 10 14:34 archive -> /myth/video/archive lrwxrwxrwx 1 root root 30 Jul 10 14:34 data -> /usr/share/mythtv/mythweb/data lrwxrwxrwx 1 www-data www-data 18 Jul 10 14:26 folding@home -> /myth/folding@home lrwxrwxrwx 1 www-data www-data 14 Jul 10 14:26 ipodfeed -> /myth/ipodfeed lrwxrwxrwx 1 www-data www-data 21 Jul 10 14:26 mythtv-doc -> /usr/share/doc/mythtv lrwxrwxrwx 1 www-data www-data 25 Jul 10 14:26 mythweb -> /usr/share/mythtv/mythweb lrwxrwxrwx 1 www-data www-data 9 Jul 10 14:26 rrd -> /myth/rrd lrwxrwxrwx 1 www-data www-data 40 Jul 10 14:26 style.css -> /var/www/mythweb/skins/default/style.css To fix this, do I just need to Code: chown -R www-data:www-data /myth/video/archive chown -R www-data:www-data /usr/share/mythtv/mythweb/data ??
Thanks for all the help and advice.
_________________ Silverstone LC10|MSI K8N Neo4-F|1GB PC3200|Athlon 64 X2 4200+|NEC 3550A DVD-RW
750GB + 400GB w/Storage Groups|eVGA GeForce 7600 GS w/VGA out to Aquos 32" LCD |PVR-500|PVR-250|SiliconDust HDHomerun
|
|
Top |
|
 |
tjc
|
Posted: Sun Jul 13, 2008 9:14 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Nawh, links are links, they're just pass-throughs... I was half expecting to find one or it's destination missing.
Lets look at the owerships and permissions on the following directories that are the destinations of the links:
Code: root@black2:~# ls -ald /usr/share/mythtv/mythweb /usr/share/mythtv/mythweb/data /usr/share/mythtv/mythweb/data/tv_icons drwxr-xr-x 8 root root 4096 Jul 6 22:28 /usr/share/mythtv/mythweb drwxr-xr-x 4 www-data www-data 4096 Jul 6 22:47 /usr/share/mythtv/mythweb/data drwxr-xr-x 2 www-data www-data 4096 Jul 6 22:47 /usr/share/mythtv/mythweb/data/tv_icons
On your own play detective on each of those links make sure it goes to a real destination and that www-data has at least read permissions to it. Also try this: Code: ls -l $(mysql -u root mythconverg -sBe 'select icon from channel')
For some reason it thinks one of those is a directory, see if you can figure out why... (Hey I just noticed the double slash in those names that might be part of the problem, especially if php is checking things one directory level at a time...)
Oh and reading Unix permissions:
d rwx r-x r-x (directory, read, write and execute to owner, read and execute to group and other)
- rw- r-- r-- (file, read, write to owner, read to group and other)
For directories execute means you can cd into it or access things in it. With r but no x you could tell what was in the directory but not do anything with it, with x but no r you could get stuff from it if you knew the name but not see what was there. This BSD page is pretty good... http://www.freebsd.org/doc/en/books/handbook/permissions.html
|
|
Top |
|
 |
s1148625
|
Posted: Sun Jul 13, 2008 9:34 pm |
|
Joined: Sat Aug 07, 2004 1:55 am
Posts: 219
Location:
West Lafayette, IN
|
My permissions look the same as yours...
Code: drwxr-xr-x 9 root root 4096 Jul 10 14:40 /usr/share/mythtv/mythweb drwxr-xr-x 5 www-data www-data 4096 Jul 10 21:03 /usr/share/mythtv/mythweb/data drwxr-xr-x 2 www-data www-data 4096 Jul 10 17:43 /usr/share/mythtv/mythweb/data/tv_icons I did discover that /myth/folding@home does not exist. I didn't enable it on install, so maybe this is OK. Also, /myth/ipodfeed appears to be owned by mythtv, not www-data. Code: drwxrwxr-x 2 mythtv mythtv 6 Jul 11 23:42 ipodfeed Is this a problem? /usr/share/doc/mythtv is owned by root, not www-data. Code: drwxr-xr-x 3 root root 4096 May 1 01:43 mythtv /myth/rrd is owned by root, not www-data. Code: drwxr-xr-x 4 root root 4096 Jul 10 14:40 rrd style.css is owned by root, not www-data. Code: -rw-r--r-- 1 root root 6539 Feb 17 00:32 /var/www/mythweb/skins/default/style.css Here is the output from ls -l $(mysql -u root mythconverg -sBe 'select icon from channel') Code: -rw-r--r-- 1 mythtv mythtv 3148 Jul 10 14:38 /home/mythtv/.mythtv//channels/abc_family.jpg -rw-r--r-- 1 mythtv mythtv 7692 Jul 10 14:38 /home/mythtv/.mythtv//channels/ae_tv.jpg -rw-r--r-- 1 mythtv mythtv 6517 Jul 10 14:38 /home/mythtv/.mythtv//channels/amc.jpg -rw-r--r-- 1 mythtv mythtv 9716 Jul 10 14:38 /home/mythtv/.mythtv//channels/animal_planet_us.jpg -rw-r--r-- 1 mythtv mythtv 4891 Jul 10 14:38 /home/mythtv/.mythtv//channels/bet.jpg -rw-r--r-- 1 mythtv mythtv 9541 Jul 10 14:38 /home/mythtv/.mythtv//channels/bravo_us.jpg -rw-r--r-- 1 mythtv mythtv 8594 Jul 10 14:38 /home/mythtv/.mythtv//channels/cartoon_network.jpg -rw-r--r-- 1 mythtv mythtv 6676 Jul 10 14:38 /home/mythtv/.mythtv//channels/cmt.jpg -rw-r--r-- 1 mythtv mythtv 12276 Jul 10 14:38 /home/mythtv/.mythtv//channels/cnbc.jpg -rw-r--r-- 1 mythtv mythtv 12985 Jul 10 14:38 /home/mythtv/.mythtv//channels/cnn.jpg -rw-r--r-- 1 mythtv mythtv 4643 Jul 10 14:38 /home/mythtv/.mythtv//channels/cnn_headline_news.jpg -rw-r--r-- 1 mythtv mythtv 5768 Jul 10 16:37 /home/mythtv/.mythtv//channels/comcast_local.jpg -rw-r--r-- 1 mythtv mythtv 7749 Jul 10 16:36 /home/mythtv/.mythtv//channels/comcast_sportsnet.jpg -rw-r--r-- 1 mythtv mythtv 7749 Jul 10 16:36 /home/mythtv/.mythtv//channels/comcast_sportsnet.jpg -rw-r--r-- 1 mythtv mythtv 8280 Jul 10 16:36 /home/mythtv/.mythtv//channels/comcast_sportsnet_plus.jpg -rw-r--r-- 1 mythtv mythtv 11479 Jul 10 14:38 /home/mythtv/.mythtv//channels/comedy_central.jpg -rw-r--r-- 1 mythtv mythtv 5696 Jul 10 14:38 /home/mythtv/.mythtv//channels/cspan.jpg -rw-r--r-- 1 mythtv mythtv 6001 Jul 10 14:38 /home/mythtv/.mythtv//channels/cspan2.jpg -rw-r--r-- 1 mythtv mythtv 10600 Jul 10 14:38 /home/mythtv/.mythtv//channels/discovery.jpg -rw-r--r-- 1 mythtv mythtv 10884 Jul 10 14:38 /home/mythtv/.mythtv//channels/disney_channel.jpg -rw-r--r-- 1 mythtv mythtv 4299 Jul 10 14:38 /home/mythtv/.mythtv//channels/e_entertainment_tv.jpg -rw-r--r-- 1 mythtv mythtv 4903 Jul 10 16:36 /home/mythtv/.mythtv//channels/educational_tv_nl.jpg -rw-r--r-- 1 mythtv mythtv 4729 Jul 10 14:38 /home/mythtv/.mythtv//channels/espn.jpg -rw-r--r-- 1 mythtv mythtv 2842 Jul 10 14:38 /home/mythtv/.mythtv//channels/espn2.jpg -rw-r--r-- 1 mythtv mythtv 3315 Jul 10 14:38 /home/mythtv/.mythtv//channels/ewtn.jpg -rw-r--r-- 1 mythtv mythtv 5815 Jul 10 14:38 /home/mythtv/.mythtv//channels/foodnetwork.jpg -rw-r--r-- 1 mythtv mythtv 16061 Jul 10 16:36 /home/mythtv/.mythtv//channels/fox_sports.jpg -rw-r--r-- 1 mythtv mythtv 3930 Jul 10 14:38 /home/mythtv/.mythtv//channels/fx_us.jpg -rw-r--r-- 1 mythtv mythtv 8680 Jul 10 14:38 /home/mythtv/.mythtv//channels/hallmark_channel.jpg -rw-r--r-- 1 mythtv mythtv 7989 Jul 10 14:38 /home/mythtv/.mythtv//channels/hgtv.jpg -rw-r--r-- 1 mythtv mythtv 8689 Jul 10 14:38 /home/mythtv/.mythtv//channels/history_channel.jpg -rw-r--r-- 1 mythtv mythtv 8643 Jul 10 14:38 /home/mythtv/.mythtv//channels/hsn.jpg -rw-r--r-- 1 mythtv mythtv 7749 Jul 10 14:38 /home/mythtv/.mythtv//channels/lifetime.jpg -rw-r--r-- 1 mythtv mythtv 4231 Jul 10 14:38 /home/mythtv/.mythtv//channels/msnbc.jpg -rw-r--r-- 1 mythtv mythtv 4502 Jul 10 14:38 /home/mythtv/.mythtv//channels/mtv.jpg -rw-r--r-- 1 mythtv mythtv 7105 Jul 10 14:38 /home/mythtv/.mythtv//channels/mtv2_us.jpg -rw-r--r-- 1 mythtv mythtv 3500 Jul 10 14:38 /home/mythtv/.mythtv//channels/nat_geo_channel.jpg -rw-r--r-- 1 mythtv mythtv 10906 Jul 10 14:38 /home/mythtv/.mythtv//channels/nickelodeon.jpg -rw-r--r-- 1 mythtv mythtv 9654 Jul 10 14:38 /home/mythtv/.mythtv//channels/oxygen.jpg -rw-r--r-- 1 mythtv mythtv 9884 Jul 10 14:38 /home/mythtv/.mythtv//channels/qvc.jpg -rw-r--r-- 1 mythtv mythtv 5875 Jul 10 14:38 /home/mythtv/.mythtv//channels/scifi.jpg -rw-r--r-- 1 mythtv mythtv 11136 Jul 10 14:38 /home/mythtv/.mythtv//channels/speed.jpg -rw-r--r-- 1 mythtv mythtv 5341 Jul 10 14:38 /home/mythtv/.mythtv//channels/spike_tv.jpg -rw-r--r-- 1 mythtv mythtv 8853 Jul 10 14:38 /home/mythtv/.mythtv//channels/tbs_atlanta.jpg -rw-r--r-- 1 mythtv mythtv 7870 Jul 10 14:38 /home/mythtv/.mythtv//channels/the_learning_channel.jpg -rw-r--r-- 1 mythtv mythtv 14063 Jul 10 14:38 /home/mythtv/.mythtv//channels/the_weather_channel_us.jpg -rw-r--r-- 1 mythtv mythtv 11341 Jul 10 14:38 /home/mythtv/.mythtv//channels/tnt.jpg -rw-r--r-- 1 mythtv mythtv 4655 Jul 10 14:38 /home/mythtv/.mythtv//channels/travelchannel_us.jpg -rw-r--r-- 1 mythtv mythtv 5142 Jul 10 14:38 /home/mythtv/.mythtv//channels/true_tv.jpg -rw-r--r-- 1 mythtv mythtv 14513 Jul 10 14:38 /home/mythtv/.mythtv//channels/tv_guide_network.jpg -rw-r--r-- 1 mythtv mythtv 5179 Jul 10 14:38 /home/mythtv/.mythtv//channels/usa_network.jpg -rw-r--r-- 1 mythtv mythtv 8846 Jul 10 14:38 /home/mythtv/.mythtv//channels/vh1.jpg -rw-r--r-- 1 mythtv mythtv 2331 Jul 10 16:35 /home/mythtv/.mythtv//channels/weather_news.jpg -rw-r--r-- 1 mythtv mythtv 10181 Jul 10 16:37 /home/mythtv/.mythtv//channels/wfyi_pbs_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 4689 Jul 10 14:38 /home/mythtv/.mythtv//channels/wgn_cw9_chicago.jpg -rw-r--r-- 1 mythtv mythtv 6696 Jul 10 14:38 /home/mythtv/.mythtv//channels/whmb_40_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 10124 Jul 10 14:38 /home/mythtv/.mythtv//channels/wish_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 10124 Jul 10 14:38 /home/mythtv/.mythtv//channels/wish_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 7726 Jul 10 16:37 /home/mythtv/.mythtv//channels/wlfi_cbs18_lafayette.jpg -rw-r--r-- 1 mythtv mythtv 7075 Jul 10 16:37 /home/mythtv/.mythtv//channels/wndy_my23_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 7938 Jul 10 16:38 /home/mythtv/.mythtv//channels/wrtv_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 13079 Jul 10 16:38 /home/mythtv/.mythtv//channels/wthr_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 5945 Jul 10 16:38 /home/mythtv/.mythtv//channels/wttv_cw4_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 4947 Jul 10 16:38 /home/mythtv/.mythtv//channels/wttw_chicago.jpg -rw-r--r-- 1 mythtv mythtv 12012 Jul 10 16:38 /home/mythtv/.mythtv//channels/wxin_fox59_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 12053 Jul 10 14:38 /home/mythtv/.mythtv//channels/xm_fox_news_channel.jpg
/home/mythtv/.mythtv//channels/: total 616 -rw-r--r-- 1 mythtv mythtv 3148 Jul 10 14:38 abc_family.jpg -rw-r--r-- 1 mythtv mythtv 7692 Jul 10 14:38 ae_tv.jpg -rw-r--r-- 1 mythtv mythtv 6517 Jul 10 14:38 amc.jpg -rw-r--r-- 1 mythtv mythtv 9716 Jul 10 14:38 animal_planet_us.jpg -rw-r--r-- 1 mythtv mythtv 4891 Jul 10 14:38 bet.jpg -rw-r--r-- 1 mythtv mythtv 9541 Jul 10 14:38 bravo_us.jpg -rw-r--r-- 1 mythtv mythtv 8594 Jul 10 14:38 cartoon_network.jpg -rw-r--r-- 1 mythtv mythtv 6676 Jul 10 14:38 cmt.jpg -rw-r--r-- 1 mythtv mythtv 12276 Jul 10 14:38 cnbc.jpg -rw-r--r-- 1 mythtv mythtv 12985 Jul 10 14:38 cnn.jpg -rw-r--r-- 1 mythtv mythtv 4643 Jul 10 14:38 cnn_headline_news.jpg -rw-r--r-- 1 mythtv mythtv 5768 Jul 10 16:37 comcast_local.jpg -rw-r--r-- 1 mythtv mythtv 7749 Jul 10 16:36 comcast_sportsnet.jpg -rw-r--r-- 1 mythtv mythtv 8280 Jul 10 16:36 comcast_sportsnet_plus.jpg -rw-r--r-- 1 mythtv mythtv 11479 Jul 10 14:38 comedy_central.jpg -rw-r--r-- 1 mythtv mythtv 5696 Jul 10 14:38 cspan.jpg -rw-r--r-- 1 mythtv mythtv 6001 Jul 10 14:38 cspan2.jpg -rw-r--r-- 1 mythtv mythtv 10600 Jul 10 14:38 discovery.jpg -rw-r--r-- 1 mythtv mythtv 10884 Jul 10 14:38 disney_channel.jpg -rw-r--r-- 1 mythtv mythtv 4299 Jul 10 14:38 e_entertainment_tv.jpg -rw-r--r-- 1 mythtv mythtv 4903 Jul 10 16:36 educational_tv_nl.jpg -rw-r--r-- 1 mythtv mythtv 4729 Jul 10 14:38 espn.jpg -rw-r--r-- 1 mythtv mythtv 2842 Jul 10 14:38 espn2.jpg -rw-r--r-- 1 mythtv mythtv 3315 Jul 10 14:38 ewtn.jpg -rw-r--r-- 1 mythtv mythtv 5815 Jul 10 14:38 foodnetwork.jpg -rw-r--r-- 1 mythtv mythtv 16061 Jul 10 16:36 fox_sports.jpg -rw-r--r-- 1 mythtv mythtv 3930 Jul 10 14:38 fx_us.jpg -rw-r--r-- 1 mythtv mythtv 8680 Jul 10 14:38 hallmark_channel.jpg -rw-r--r-- 1 mythtv mythtv 7989 Jul 10 14:38 hgtv.jpg -rw-r--r-- 1 mythtv mythtv 8689 Jul 10 14:38 history_channel.jpg -rw-r--r-- 1 mythtv mythtv 8643 Jul 10 14:38 hsn.jpg -rw-r--r-- 1 mythtv mythtv 7749 Jul 10 14:38 lifetime.jpg -rw-r--r-- 1 mythtv mythtv 4231 Jul 10 14:38 msnbc.jpg -rw-r--r-- 1 mythtv mythtv 4502 Jul 10 14:38 mtv.jpg -rw-r--r-- 1 mythtv mythtv 7105 Jul 10 14:38 mtv2_us.jpg -rw-r--r-- 1 mythtv mythtv 3500 Jul 10 14:38 nat_geo_channel.jpg -rw-r--r-- 1 mythtv mythtv 10906 Jul 10 14:38 nickelodeon.jpg -rw-r--r-- 1 mythtv mythtv 9654 Jul 10 14:38 oxygen.jpg -rw-r--r-- 1 mythtv mythtv 9884 Jul 10 14:38 qvc.jpg -rw-r--r-- 1 mythtv mythtv 5875 Jul 10 14:38 scifi.jpg -rw-r--r-- 1 mythtv mythtv 11136 Jul 10 14:38 speed.jpg -rw-r--r-- 1 mythtv mythtv 5341 Jul 10 14:38 spike_tv.jpg -rw-r--r-- 1 mythtv mythtv 8853 Jul 10 14:38 tbs_atlanta.jpg -rw-r--r-- 1 mythtv mythtv 7870 Jul 10 14:38 the_learning_channel.jpg -rw-r--r-- 1 mythtv mythtv 14063 Jul 10 14:38 the_weather_channel_us.jpg -rw-r--r-- 1 mythtv mythtv 11341 Jul 10 14:38 tnt.jpg -rw-r--r-- 1 mythtv mythtv 4655 Jul 10 14:38 travelchannel_us.jpg -rw-r--r-- 1 mythtv mythtv 5142 Jul 10 14:38 true_tv.jpg -rw-r--r-- 1 mythtv mythtv 14513 Jul 10 14:38 tv_guide_network.jpg -rw-r--r-- 1 mythtv mythtv 5179 Jul 10 14:38 usa_network.jpg -rw-r--r-- 1 mythtv mythtv 8846 Jul 10 14:38 vh1.jpg -rw-r--r-- 1 mythtv mythtv 2331 Jul 10 16:35 weather_news.jpg -rw-r--r-- 1 mythtv mythtv 10181 Jul 10 16:37 wfyi_pbs_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 4689 Jul 10 14:38 wgn_cw9_chicago.jpg -rw-r--r-- 1 mythtv mythtv 6696 Jul 10 14:38 whmb_40_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 10124 Jul 10 14:38 wish_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 7726 Jul 10 16:37 wlfi_cbs18_lafayette.jpg -rw-r--r-- 1 mythtv mythtv 7075 Jul 10 16:37 wndy_my23_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 7938 Jul 10 16:38 wrtv_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 13079 Jul 10 16:38 wthr_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 5945 Jul 10 16:38 wttv_cw4_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 4947 Jul 10 16:38 wttw_chicago.jpg -rw-r--r-- 1 mythtv mythtv 12012 Jul 10 16:38 wxin_fox59_indianapolis.jpg -rw-r--r-- 1 mythtv mythtv 12053 Jul 10 14:38 xm_fox_news_channel.jpg
The only thing I see that looks even somewhat suspicious is the double // in the paths of the icons... however, this doesn't seem to matter for file access in Linux, so I'm not sure if this is really a problem.
_________________ Silverstone LC10|MSI K8N Neo4-F|1GB PC3200|Athlon 64 X2 4200+|NEC 3550A DVD-RW
750GB + 400GB w/Storage Groups|eVGA GeForce 7600 GS w/VGA out to Aquos 32" LCD |PVR-500|PVR-250|SiliconDust HDHomerun
|
|
Top |
|
 |
tjc
|
Posted: Sun Jul 13, 2008 9:59 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
The /myth/rrd thing might be an issue (but only for rrd). I show:
Code: root@black2:~# ls -ald /myth/rrd drwxr-xr-x 4 mythtv mythtv 4096 Jul 6 22:30 /myth/rrd The double // is my main suspect at the moment, and it should be easy to fix using the webmin interface to mysql. My half formed suspicion is that the Perl/PHP code is doing something excessively clever and shooting itself in the foot as a result. Oh! Wait! You didn't run another ls? So there IS a bad icon name in there... Try this... Code: mysql -u root mythconverg -sBe "select * from channel where icon='/home/mythtv/.mythtv//channels/'"
You might also have one with an embedded space or newline or something...
|
|
Top |
|
 |
s1148625
|
Posted: Sun Jul 13, 2008 10:09 pm |
|
Joined: Sat Aug 07, 2004 1:55 am
Posts: 219
Location:
West Lafayette, IN
|
here's what I show with rrd...
Code: drwxr-xr-x 4 root root 4096 Jul 10 14:40 /myth/rrd And here's what I show with the mysql command: Code: chanid channum freqid sourceid callsign name icon finetune videofilters xmltvid recpriority contrast brightness colour hue tvformat commfree visible outputfilters useonairguide mplexid serviceid atscsrcid tmoffset atsc_major_chan atsc_minor_chan last_record default_authority commmethod 1006 6 6 1 WRTV WRTV RTV 6 /home/mythtv/.mythtv//channels/ NULL 11825 0 32768 32768 32768 32768 Default 0 1 0 32767 0 NULL 0 6 0 0000-00-00 00:00:00 -1
Looks like it's a problem with the WRTV icon... where do I go to fix this?
_________________ Silverstone LC10|MSI K8N Neo4-F|1GB PC3200|Athlon 64 X2 4200+|NEC 3550A DVD-RW
750GB + 400GB w/Storage Groups|eVGA GeForce 7600 GS w/VGA out to Aquos 32" LCD |PVR-500|PVR-250|SiliconDust HDHomerun
|
|
Top |
|
 |