Personal tools
You are here: Home Open Source && Programming && Life MythWeb fixes on Kubuntu/Edgy

MythWeb fixes on Kubuntu/Edgy MythWeb fixes on Kubuntu/Edgy

Document Actions
Submitted by ironstorm. on 2006-09-30 01:59. Kubuntu/UbuntuLinuxMythTVOpen Source
Troubles installing MythWeb on Ubuntu, maybe these fixes can help. :-)

 

Bad substitution on install

If you get the follow error when installing/upgrading mythweb:

/var/lib/dpkg/info/mythweb.postinst: 31: Syntax error: Bad substitution

You'll need to patch the post-install script, changing the shell from sh to bash as follows: 

--- /var/lib/dpkg/info/mythweb.postinst.orig    2006-09-30 01:27:29.000000000 -0400
+++ /var/lib/dpkg/info/mythweb.postinst 2006-09-30 01:25:42.000000000 -0400
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash

 set -e

Once you've done that, rerun `sudo aptitude upgrade` and it should install cleanly.

 

Apache Permissions, PHP,  etc 

If you can't get mythweb permissions so that it is viewable via Apache, refer to the MythWeb section of http://www.northern.ca/projects/mythslug/README
 

data/tv_icons directory is not writable 

If when attempting to browse to the "Listings" you get:

Error
data/tv_icons directory is not writable by www-data. Please check permissions.

change the permissions on the directory to "world-writable" like so:

sudo chmod 777 /usr/share/mythtv/mythweb/data/tv_icons

 

SeriesId can't be null when creating a scheduled recording

If you see the following error when you go to create or save a scheduled recording: 

error string:  SQL Error: Column 'seriesid' cannot be null [#1048]

You'll need to apply the fix for bug #2366 grab the patch to fix it from here. (http://cvs.mythtv.org/trac/attachment/ticket/2366/mythweb-seriesid_programid_not_null.patch)

# Assuming mythweb-seriesid_programid_not_null.patch was downloaded to your Desktop

cat ~/Desktop/mythweb-seriesid_programid_not_null.patch | sudo patch --forward /usr/share/mythtv/mythweb/includes/recording_schedules.php

  

 

bad substitution

Posted by Anonymous User at 2006-10-15 05:34

Thanks for that fix, its been bugging me for a week now :-)

Blog
« July 2008 »
Su Mo Tu We Th Fr Sa
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Categories:
Best Practices (0)
Cooking (2)
EeePC (1)
Embedded (3)
HDTV (2)
Health (1)
J2EE (1)
Java (6)
Linux (24)
Movies (1)
Music (3)
MythTV (10)
NSLU2 (2)
Not Tech (11)
Plone (2)
Politics (2)
QEMU (4)
Tomcat (1)
Tooling (4)
Travel (1)
VoIP (1)
Websphere (1)
Windows (6)
Zaurus (4)
 

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: