Yes... I added the user to the audio group... and all users may read and write from the /media/Personal directory (which contains ./snd where the music is located)... and may do the same with /var/snd (rivendell sound directory)
TO ALL USERS: Apparently my problem lies within /etc/hosts. The address 127.0.0.1 was defined as my domain name instead of my host computer name. Changing this allowed rdimport to work... but not rdXport. Now I get an error saying the URL /rd-bin/rdxport.cgi is not found... even though the scriptalias is defined in /etc/apache2/conf.d/rivendell (points to /etc/rivendell/apache.conf). I changed the alias back to /rd-bin/ in /etc/rivendell/apache.conf . It was originally /rivendell/ . On Sun, Dec 18, 2011 at 9:03 PM, VE4PER/ Andy <[email protected]> wrote: > ** > does the user login you use in that terminal also have adequate access > permissions on both the source and destination audio folders?? > > > > On 11-12-19 01:59 AM, Patrick Schmalstig / WRRJ Radio wrote: > > No I'm calling rdimport from rdlibrary, but thanks for asking. > > What I have been doing is opening up rdlibrary FROM A TERMINAL RUNNING > AS MY USER which is also set as the Rivendell audio user. I try to import a > cut from an mp3 file (also tried wav) into a cart... and it gives me > "Invalid URL". > > ---This was a reply to--- > Are you calling rdimport from the command line? What's the command > you're using? What is the URL it's trying to use? Can you paste that > URL into a browser and have it go there properly? > > I'm jumping into the fray late, so don't know if you've posted the > answer to those question earlier bit if so, please post again. Since > we're not watching when you do it, it's hard to troubleshoot. Please > give a detailed step by step of what you're doing and how, any specific > errors that pop up in their entirety, etc. If they're more than a few > lines long, please use the pastebin site(s) that someone else mentioned > in another reply. > > ---end of reply--- > > OUTPUT: > > RDImport v2.1.0 > Log mode is OFF > Normalization level = -13 dB > AutoTrim level = -30 dB > Destination cart is AUTO > Single cart mode is OFF > Delete source mode is OFF > Delete cuts mode is OFF > DropBox mode is OFF > Start Date Offset = 0 days > End Date Offset = 0 days > Broken format workarounds are DISABLED > Import Create Dates mode is OFF > Files to process: > "/media/Personal/snd/000006_001.mp3" > > Importing file "000006_001.mp3" to cart 000004 ... Unable to import > "/media/Personal/snd/000006_001.mp3", skipping... > > My location is not /usr/local/libexec but instead according to mlocate > rdxport.cgi it is /usr/lib/cgi-bin/rivendell . rd-bin.conf did NOT exist at > all in /etc/apache2/conf.d however I did find /etc/apache2/conf.d/rivendell > which points to /etc/rivendell/apache.conf which I checked is correct as > far as directories. Apache2 seems to be loading that conf because when I > use rd-bin.conf copied from the doc folder of rivendell, apache says the > scriptalias overlaps. > > ---This was a reply from--- > Hi Patrick, > > I've just finished installing Rivendell 2.1.1 from Source on Ubuntu 11.10 > and can confirm that Rivendell works fine if you do a scratch build. I > suspect the problem lies in incorrectly configured deb files as you said > you installed from the debs? > > Can you run "rdimport --verbose BEDS path_to_some_wav_file" > > and paste the output back here? > > As an example I get the following output: > > wayne@UBUMEZZ:/usr/local/libexec$ rdimport --verbose BEDS ~/*.wav > > RDImport v2.1.1 > Log mode is OFF > Normalization level = -13 dB > AutoTrim level = -30 dB > Destination cart is AUTO > Single cart mode is OFF > Delete source mode is OFF > Delete cuts mode is OFF > DropBox mode is OFF > Start Date Offset = 0 days > End Date Offset = 0 days > Broken format workarounds are DISABLED > Import Create Dates mode is OFF > Files to process: > "/home/wayne/dummy-message.wav" > > Importing file "dummy-message.wav" to cart 040001 ... OK > > I seem to remember when I've had problems before the OK at the end turns > into the error you're describing. > > Instead of just leaving it there heres a few steps to check. On a scratch > Ubuntu build, the Rivendell importing web files live in /usr/local/libexec. > Is that where rdxport.cgi and others are located for you? > > The libexec directory is owned by root:root for me with rwxr-xr-x > permissions. Apache2 is also running as either root or www-data. > > Finally, make sure your apache is configured with the Rivendell conf file > too. Inside /etc/apache2/conf.d I have the file "rd-bin.conf". Do you > have that? Do the directories on this also match /usr/local/libexec? > > The important lines are line 23: <Directory "/usr/local/libexec"> and line > 50: ScriptAlias /rd-bin/ "/usr/local/libexec/" > > Hope it helps either way. > > Regards, > > Wayne > ---end of reply--- > > The box is on the same network... rivendell runs on the same computer as > the server. The box is identified as 127.0.0.1 . The computer's rivendell > and JACK both run at 44100 (used to run at 48000 recently but I was having > problems with rdimport and rdlibrary importing audio at a lower pitch than > it should. This was before rdimport and rdlibrary started giving me the > invalid URL messages. > > Yes the same computer will be used for production and playout... it must > be that way since Skype, Google Voice, and my mic, as well as Rivendell, > must all be routed to the internet radio stream via. JACK... which is > impossible to do to my knowledge on a computer separate from the one > running rivendell server. > > Thanks for reading the messages and commenting! > > ---This was a reply from--- > This is a clue: > > Are you trying to upload music from a box on the same network as the > server, or on a remote network? > > Is your remote box correctly identified in RDADMIN > > > Are both boxes working at the same sample rate? > > > We do all read your messages > > For my part I have been unsuccessful at getting Rivendell to work on > Ubuntu Studio, which I use for Production. I opted for Centos as a > server OS. Production goes in to a 'Dropbox' installed after getting > around Ubuntu Studio's version of networking. We have tried a number of > Linux distributions which all have fantastic features, but at the end of > the day the rule is: You find the software that does what you want, and > you run the OS the software is made for. > > Rivendell can be made to operate on any distribution if you have the > time to ferret around and install the various components required to > make it work. In the Linux world progressive releases of software > components can contain features incompatible with software that worked > on previous versions, just like Microsoft and just like Apple. The good > thing about Linux is you can generally go back to one that works. Or in > some cases sideways. > > Did you plan to use the same computer for Production and Playout? > > regards > ---end of reply--- > > Thanks guys for asking a lot of questions here. Unfortunately the issue > is still not resolved but we could be getting somewhere. > > > _______________________________________________ > Rivendell-dev mailing > [email protected]http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev > > > > _______________________________________________ > Rivendell-dev mailing list > [email protected] > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev > >
_______________________________________________ Rivendell-dev mailing list [email protected] http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
