Problem importing audio files
  • Vote Up0Vote Down alvaroalvaro
    Posts: 10Member
    Hi

    I just installed Campcaster from git on Ubuntu Karmic 9.10.

    I can import audio files with the web interface, no problem.

    When I open the Studio interface and try to import an audio file, I get this error:

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>403 Forbidden</title>
    </head><body>
    <h1>Forbidden</h1>
    <p>You don't have permission to access /~alvaro/campcaster/storageServer/var/xmlrpc/put.php
    on this server.</p>
    <hr>
    <address>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</address>
    </body></html>
    
    XML-RPC method 'locstor.storeAudioClipClose' returned error message:
    805 - xr_storeAudioClipClose: BasicStor::bsClosePut: md5sum does not match (token=42fc3c474637b889) [ae4bde3dc8aa4177df04543554772622/d41d8cd98f00b204e9800998ecf8427e] 


    I don't know if this is a wrong apache configuration or some deeper problem. Pls help

    Alvaro
  • 7 Comments sorted by
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Alvaro,

    > I just installed Campcaster from git on Ubuntu Karmic 9.10.

    The latest patches (included in the debs from 64 Studio) have not yet
    been applied to upstream git, so you will experience major problems
    using the git version until the merge (which should be soon).

    > When I open the Studio interface and try to import an audio file, I get
    > this error:
    >
    > <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

    You're getting an error in HTML from Campcaster Studio? Where is this
    error displayed? (Just curious, you shouldn't see this error when using
    the deb packages).

    See:

    http://en.flossmanuals.net/Campcaster/InstallSynaptic

    for the updated .deb install instructions.

    Cheers!

    Daniel
  • Don't worry, I tweaked the PHP settings to output a lot of errors on the command line, these are not the default settings Smile

    Anyway I installed Campcaster from source using the instructions from here: http://wiki.sourcefabric.org/display/CC/Compiling+Campcaster +from+Source+Code , and I was getting the same problem.

    Actually, I had to edit /etc/apache2/sites-available/default and add /home/campcaster/public_html/ to the list of Directories, like this

     
           <Directory /home/campcaster/public_html/>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride None
                    Order allow,deny
                    allow from all
            </Directory>
    


    WARNING: I'm not sure this is safe!

    If you can confirm this, you might want to add it to the compiling instructions perhaps.

    cu
    alvaro
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Alvaro,

    > If you can confirm this, you might want to add it to the compiling
    > instructions perhaps.

    It shouldn't be neccessary after Robin's patches have been merged. At
    the moment, the git repo is behind our deb packages.

    Cheers!

    Daniel
  • Vote Up0Vote Down Micz FlorMicz Flor
    Posts: 184Administrator
    @daniel: if you think it's a good idea, possibly you can add the fix to the manual?
  • Thanks,

    I installed another instance of Campcaster using the .deb
    The version is 1.4.0+3436-0~karmic1 (apt.64studio.com)
    It's perfectly usable congratulations!

    some little issues:
    * the now playing field is not working
    * postgres has to be running during installation, otherwise the packages are installed but not configured.
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Alvaro,

    > I installed another instance of Campcaster using the .deb
    > The version is 1.4.0+3436-0~karmic1 (apt.64studio.com)
    > It's perfectly usable congratulations!

    That work was done by my colleague Robin Gareus - there are nine patches
    against the current git, which you can find in the debian/patches/
    directory here:

    http://apt.64studio.com/backports/pool/main/c/campcaster/cam pcaster_1.4.0+r3436-0.debian.tar.gz

    These patches should be merged upstream in the next week or two.

    > some little issues:
    > * the now playing field is not working

    It works for me in Live mode or during a scheduled playlist. Just a
    guess - are you scheduling content through the web interface which is
    playing to a non-existent second soundcard, ALSA device hw:1,0 ?

    Are you logged in to Campcaster Studio when you have the problem, or are
    you looking at Campcaster Web?

    > * postgres has to be running during installation, otherwise the packages
    > are installed but not configured.

    I'm guessing that you had Postgres already installed (and stopped)
    before you installed the Campcaster debs. There is a ticket open for this:

    http://dev.sourcefabric.org/browse/CC-1604

    I will add a note for your install case.

    Cheers!

    Daniel
  • > I'm guessing that you had Postgres already installed (and stopped)
    > before you installed the Campcaster debs. There is a ticket open for this:
    > http://dev.sourcefabric.org/browse/CC-1604

    That's right. I'll look in Jira before nagging you next time.

    Regarding the now playing issue, I'll start a new thread.

    cu
    alvaro