Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-08-19 Thread le père Léon

Le 28/07/2018 à 08:33, Gary Hodder a écrit :

I've tried. It does not work for me. I mean, not more. It seams that
in
Debian 8 the /var/www/rd-bin can be a bin directory (and
/var/www/html
can stay an fixed pages directory).


The rd-bin directory also has web pages that need to be in the apache
document root to read them.


I don't think so : html pages are default-handler in your 
/var/www/html/rd-bin directory

See rd-bin.conf and https://httpd.apache.org/docs/2.4/handler.html


There is no apache error when I try to rdimport, even in debug
LogLevel.
I have no more error message since apache is configured, but the wav
file is still not created.


If you still have rd-bin.conf in /etc/apache2/rivendell then its out
side of the apache configeration hierarchy. So as far as apache is
concerned rd does not exist so there wont be rd error messages in the
log.
You could move things but that may break rd elsewhere so I would
personly start again.
To save confusion later on remove the broken unused directories
/etc/apache2/rivendell and /var/www/rd-bin.
Goto rd source
Make clean
./configure --libexecdir=/var/www/html/rd-bin --
sysconfdir=/etc/apache2/sites-available
make
make install
make sure rd-bin.conf is in /etc/apache2/sites-available and it is also
symlinked to /etc/apache2/sites-enabled theres 2 lines in rd-bin.conf
that should point to /var/www/html/rd-bin.
Restart apache2 and rd and try again.


Sorry Garry, but this does not make any difference on my system, both 
working the same (good ?) way.


I've followed your conf options with a fresh install : I still have 
nothing written in my /var/snd directory on a new fresh deb8 install.


And I really don't like to considere rd-bin.conf as a "site 
configuration" for my localhost server, I consider this as a "conf 
configuration".



--
Léon.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-28 Thread Gary Hodder


> I've tried. It does not work for me. I mean, not more. It seams that
> in 
> Debian 8 the /var/www/rd-bin can be a bin directory (and
> /var/www/html 
> can stay an fixed pages directory).

The rd-bin directory also has web pages that need to be in the apache
document root to read them.

> There is no apache error when I try to rdimport, even in debug
> LogLevel.
> I have no more error message since apache is configured, but the wav 
> file is still not created.
> 
If you still have rd-bin.conf in /etc/apache2/rivendell then its out
side of the apache configeration hierarchy. So as far as apache is
concerned rd does not exist so there wont be rd error messages in the
log.
You could move things but that may break rd elsewhere so I would
personly start again.
To save confusion later on remove the broken unused directories
/etc/apache2/rivendell and /var/www/rd-bin.
Goto rd source
Make clean
./configure --libexecdir=/var/www/html/rd-bin --
sysconfdir=/etc/apache2/sites-available
make
make install
make sure rd-bin.conf is in /etc/apache2/sites-available and it is also
symlinked to /etc/apache2/sites-enabled theres 2 lines in rd-bin.conf
that should point to /var/www/html/rd-bin.
Restart apache2 and rd and try again.

Gary.


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-27 Thread le père Léon

Le 24/07/2018 à 04:11, Gary Hodder a écrit :

I compiled rivendell 2.19.2 with :
   ./configure --libexecdir=/var/www/rd-bin
--sysconfdir=/etc/apache2/rivendell


I remember reading quite some time ago that apache2 by default for
security reasons will not look out side of its set root directory.
In debian 9.4 its document root is /var/www/html
It also looks like it only checks its include directories for *.conf
files so It wont find /etc/apache2/rivendell/rd-bin.conf
I had it wrong at the start so deleted the directories files from the
wrong paths and recompiled.
configure --libexecdir=/var/www/html/rd-bin --
sysconfig=/etc/apache/sites-available
make install wont over write conf files so check rd-bin.conf in sites-
available points to, in my case /var/www/html/rd-bin
rd-bin.conf is symlinked from /etc/apache2/sites-available to
/etc/apache2/sites-enabled
Restart apache2 and rd.
Now import works.


I've tried. It does not work for me. I mean, not more. It seams that in 
Debian 8 the /var/www/rd-bin can be a bin directory (and /var/www/html 
can stay an fixed pages directory).

There is no apache error when I try to rdimport, even in debug LogLevel.
I have no more error message since apache is configured, but the wav 
file is still not created.



--
Léon.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Gary Hodder


> 
> I compiled rivendell 2.19.2 with :
>   ./configure --libexecdir=/var/www/rd-bin 
> --sysconfdir=/etc/apache2/rivendell
> 
I remember reading quite some time ago that apache2 by default for
security reasons will not look out side of its set root directory.
In debian 9.4 its document root is /var/www/html
It also looks like it only checks its include directories for *.conf
files so It wont find /etc/apache2/rivendell/rd-bin.conf
I had it wrong at the start so deleted the directories files from the
wrong paths and recompiled.
configure --libexecdir=/var/www/html/rd-bin --
sysconfig=/etc/apache/sites-available
make install wont over write conf files so check rd-bin.conf in sites-
available points to, in my case /var/www/html/rd-bin
rd-bin.conf is symlinked from /etc/apache2/sites-available to
/etc/apache2/sites-enabled
Restart apache2 and rd.
Now import works.

Gary.
 
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Fred Gleason
On Jul 23, 2018, at 10:17, Rob Landry <41001...@interpring.com> wrote:

> I hate, hate, hate error messages like this. The message should say: "unable 
> to create destination file: /path/to/filename".
> 
> We're all assuming the problem is access to /var/snd, but what if the real 
> problem is that it's trying to write to /tmp and there's not enough disk 
> space?

While I cannot but agree that the error reporting in the current transcoder 
stack is by no means ideal, you can get more detailed information by adding 
‘LogXloadDebugData=Yes’ to the ‘[Logs]’ section of ‘/etc/rd.conf’. The added 
information will be sent to the syslog.

Now that was nice and discoverable, wasn’t it?  

 Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer |
|   |  Paravel Systems |
|--|
|   Remember that the wastepaper basket is your best friend.   |
| -- Robert Graves |
|"Goodbye to All That" |
|--|

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Rob Landry

On Mon, 23 Jul 2018, Cowboy wrote:


It could be worse.
"They" could have specified the error text as...



"Like dude, something went wrong."


Yes; I remember programming on a PDP-8 back in the 1970's where the only 
error message you ever got was "ERROR".



Or the once popular..
"I can't do that, Dave."


Daaaisyyy, Daaaisyyy...


Or, the currently popular...
"Tell Google about this problem"





Rob

--
Я там, где ребята толковые,
Я там, где плакаты "Вперёд",
Где песни рабочие новые
Страна трудовая поёт.

k___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Lorne Tyndale
All I can say is...

PC Load Letter


> 
> 
> On Mon, 23 Jul 2018 10:17:57 -0400 (EDT)
> Rob Landry <41001...@interpring.com> wrote:
> 
> > I hate, hate, hate error messages like this. The message should say: 
> > "unable to create destination file: /path/to/filename".
> 
>  It could be worse.
>  "They" could have specified the error text as...
> 
>  "Like dude, something went wrong."
> 
>  Or the once popular..
>  "I can't do that, Dave."
> 
>  Or, the currently popular...
>  "Tell Google about this problem"
> 
> -- 
> Cowboy
> 
> today, n.:
>   A nice place to visit, but you can't stay here for long.
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Cowboy
On Mon, 23 Jul 2018 10:17:57 -0400 (EDT)
Rob Landry <41001...@interpring.com> wrote:

> I hate, hate, hate error messages like this. The message should say: 
> "unable to create destination file: /path/to/filename".

 It could be worse.
 "They" could have specified the error text as...

 "Like dude, something went wrong."

 Or the once popular..
 "I can't do that, Dave."

 Or, the currently popular...
 "Tell Google about this problem"

-- 
Cowboy

today, n.:
A nice place to visit, but you can't stay here for long.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Rob Landry

On Tue, 17 Jul 2018, le père Léon wrote:


Sounds like these words have already been read..

Under Debian 8 (thanks to many tricks I finally succeeded in compiling 
and launching Rivendell !!)

.. import does not work :
 "unable to create destination file"


I hate, hate, hate error messages like this. The message should say: 
"unable to create destination file: /path/to/filename".


We're all assuming the problem is access to /var/snd, but what if the real 
problem is that it's trying to write to /tmp and there's not enough disk 
space?



Rob

--
Я там, где ребята толковые,
Я там, где плакаты "Вперёд",
Где песни рабочие новые
Страна трудовая поёт.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-21 Thread Gary Hodder


> I compiled rivendell 2.19.2 with :
>   ./configure --libexecdir=/var/www/rd-bin 
> --sysconfdir=/etc/apache2/rivendell
> 
If apache is not told to look in the rivendell directory under apache
then it wont find the rd-bin.conf.
I just used --libexecdir=/usr/local/libexec
The configure script was smart enough fo find the apache sysconfig.
It put it in /etc/apache2/sites-available
Also rd-bin.conf was symlinked from /etc/apache/sites-available to
/etc/apache2/sites-enabled.
This is on debian 9.4
Rivendell-2-19.2

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-21 Thread Marius Wikstøl
Hmm, ignore my comment on the --libexecdir. I guess it can be whatever 
you choose (under the default root atleast?), but the conf-dir for the 
modues is /etc/apache2/conf-enabled.


Marius

On 07/21/2018 09:10 PM, Marius Wikstøl wrote:


Hi,

In Debian, the (default) paths should be 
--libexecdir=/var/www/html/rd-bin 
--sysconfdir=/etc/apache2/conf-enabled (or /etc/apache2/conf-available 
and linked to conf-enabled).



Marius
On 07/21/2018 07:24 PM, David Klann wrote:

Greetings!

The "404" status in the Apache log means that the apache server could
not find /rd-bin/rdxport.cgi. You need to make sure that the apache
configuration file (maybe in /etc/apache2/rivendell??) has the proper
path to the CGI program. I've pasted a sample apache configuration file
(below).

You'll see two instances of /usr/local/libexec below. You should change
these directory specifications in your file to the actual directory on
*your* server (likely /usr/libexec).

Hope this helps!

   ~David

#
# rdfeed.conf
#
# This is the Apache Web Server configuration for Rivendell.
#
#   (C) Copyright 2007,2010 Fred Gleason
#
#  $Id: rd-bin.conf.in,v 1.4 2010/07/29 19:32:30 cvs Exp $
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License version 2 as
#   published by the Free Software Foundation.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public
#   License along with this program; if not, write to the Free Software
#   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#

TimeOut 2400

   Options ExecCGI FollowSymLinks
   AllowOverride None
   Require all granted
   
 SetHandler default-handler
   
   
 SetHandler default-handler
   
   
 SetHandler default-handler
   
   
 SetHandler default-handler
   
   
 SetHandler cgi-script
   
   
 SetHandler cgi-script
   
   
 SetHandler cgi-script
   

ScriptAlias /rd-bin/ "/usr/local/libexec/"
#

On 07/21/2018 11:18 AM, le père Léon wrote:

Le 17/07/2018 à 19:14, Fred Gleason a écrit :

On Jul 17, 2018, at 12:42, le père Léon wrote:

(I must say I did not configure Apache since I don't know the
relation between the c++-qt3-mysql Rivendell application and Apache..)

In which case, a great many things won’t work (including import).

Well..

I compiled rivendell 2.19.2 with :
  ./configure --libexecdir=/var/www/rd-bin
--sysconfdir=/etc/apache2/rivendell

Apache is now configured and working.

When I try to import (with rdimport command line), I still have that
message :
" Unable to create destination file, skipping dirname/filename..."

In apache logs :
127.0.0.1 - - [21/Jul/2018:16:20:10 +0200] "POST /rd-bin/rdxport.cgi
HTTP/1.1" 404 477 "-" "Mozilla/5.0 rivendell/2.19.2 (rdimport)"
127.0.0.1 - - [21/Jul/2018:16:20:12 +0200] "POST /rd-bin/rdxport.cgi
HTTP/1.1" 404 452 "-" "Mozilla/5.0 rivendell/2.19.2"



Le 17/07/2018 à 18:52,riv...@braingia.org  a écrit :

My first thought was to make sure there's enough disk space left.

There is.


I'd try to touch a file in /var/snd as the rd user

I can't touch as 'rivendell' user, as I defined this user with no login
access (/bin/false as shell in /etc/passwd).
A user in 'rivendell' group can touch, create, remove in /var/snd.





___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-21 Thread David Klann
Greetings!

The "404" status in the Apache log means that the apache server could
not find /rd-bin/rdxport.cgi. You need to make sure that the apache
configuration file (maybe in /etc/apache2/rivendell??) has the proper
path to the CGI program. I've pasted a sample apache configuration file
(below).

You'll see two instances of /usr/local/libexec below. You should change
these directory specifications in your file to the actual directory on
*your* server (likely /usr/libexec).

Hope this helps!

  ~David

#
# rdfeed.conf
#
# This is the Apache Web Server configuration for Rivendell.
#
#   (C) Copyright 2007,2010 Fred Gleason 
#
#  $Id: rd-bin.conf.in,v 1.4 2010/07/29 19:32:30 cvs Exp $
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License version 2 as
#   published by the Free Software Foundation.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public
#   License along with this program; if not, write to the Free Software
#   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#

TimeOut 2400

  Options ExecCGI FollowSymLinks
  AllowOverride None
  Require all granted
  
SetHandler default-handler
  
  
SetHandler default-handler
  
  
SetHandler default-handler
  
  
SetHandler default-handler
  
  
SetHandler cgi-script
  
  
SetHandler cgi-script
  
  
SetHandler cgi-script
  

ScriptAlias /rd-bin/ "/usr/local/libexec/"
#

On 07/21/2018 11:18 AM, le père Léon wrote:
> Le 17/07/2018 à 19:14, Fred Gleason a écrit :
>> On Jul 17, 2018, at 12:42, le père Léon wrote:
>>> (I must say I did not configure Apache since I don't know the
>>> relation between the c++-qt3-mysql Rivendell application and Apache..)
>>
>> In which case, a great many things won’t work (including import).
> 
> Well..
> 
> I compiled rivendell 2.19.2 with :
>  ./configure --libexecdir=/var/www/rd-bin
> --sysconfdir=/etc/apache2/rivendell
> 
> Apache is now configured and working.
> 
> When I try to import (with rdimport command line), I still have that
> message :
> " Unable to create destination file, skipping dirname/filename..."
> 
> In apache logs :
> 127.0.0.1 - - [21/Jul/2018:16:20:10 +0200] "POST /rd-bin/rdxport.cgi
> HTTP/1.1" 404 477 "-" "Mozilla/5.0 rivendell/2.19.2 (rdimport)"
> 127.0.0.1 - - [21/Jul/2018:16:20:12 +0200] "POST /rd-bin/rdxport.cgi
> HTTP/1.1" 404 452 "-" "Mozilla/5.0 rivendell/2.19.2"
> 
> 
> 
> Le 17/07/2018 à 18:52, riv...@braingia.org a écrit :
>> My first thought was to make sure there's enough disk space left.
> There is.
> 
>> I'd try to touch a file in /var/snd as the rd user
> I can't touch as 'rivendell' user, as I defined this user with no login
> access (/bin/false as shell in /etc/passwd).
> A user in 'rivendell' group can touch, create, remove in /var/snd.
> 
> 



signature.asc
Description: OpenPGP digital signature
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-21 Thread le père Léon

Le 17/07/2018 à 19:14, Fred Gleason a écrit :

On Jul 17, 2018, at 12:42, le père Léon wrote:
(I must say I did not configure Apache since I don't know the relation 
between the c++-qt3-mysql Rivendell application and Apache..)


In which case, a great many things won’t work (including import).


Well..

I compiled rivendell 2.19.2 with :
 ./configure --libexecdir=/var/www/rd-bin 
--sysconfdir=/etc/apache2/rivendell


Apache is now configured and working.

When I try to import (with rdimport command line), I still have that 
message :

" Unable to create destination file, skipping dirname/filename..."

In apache logs :
127.0.0.1 - - [21/Jul/2018:16:20:10 +0200] "POST /rd-bin/rdxport.cgi 
HTTP/1.1" 404 477 "-" "Mozilla/5.0 rivendell/2.19.2 (rdimport)"
127.0.0.1 - - [21/Jul/2018:16:20:12 +0200] "POST /rd-bin/rdxport.cgi 
HTTP/1.1" 404 452 "-" "Mozilla/5.0 rivendell/2.19.2"




Le 17/07/2018 à 18:52, riv...@braingia.org a écrit :

My first thought was to make sure there's enough disk space left.

There is.


I'd try to touch a file in /var/snd as the rd user
I can't touch as 'rivendell' user, as I defined this user with no login 
access (/bin/false as shell in /etc/passwd).

A user in 'rivendell' group can touch, create, remove in /var/snd.


--
Léon.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-17 Thread Fred Gleason
On Jul 17, 2018, at 12:42, le père Léon  wrote:

> (I must say I did not configure Apache since I don't know the relation 
> between the c++-qt3-mysql Rivendell application and Apache..)

In which case, a great many things won’t work (including import).

You basically need to provide two things in the ‘./configure’ invocation that 
relate to Apache:

--libexecdir=

Where  is the directory in which the place the Rivendell web CGI 
components.

--sysconfdir=

Where  is the directory in which to place Apache configuration 
files.

Unfortunately, each distro tends to be a law unto itself with regard to these 
items, so there is no sane way to auto detect them. As an example, on RHEL-ish 
systems, the full invocation is:

./configure --prefix=/usr --libdir=/usr/lib64 
--libexecdir=/var/www/rd-bin --sysconfdir=/etc/httpd/conf.d

Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer |
|   |  Paravel Systems |
|--|
|  A room without books is like a body without a soul. |
| -- Cicero|
|--|___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-17 Thread rivdev
Hello,

My first thought was to make sure there's enough disk space left.  There 
probably is, but that's the first thing I thought of.

The command df -h will show disk usage in human-readable format.

Next, I'd try to touch a file in /var/snd as the rd user:

touch /var/snd/testfile

That will attempt to create the file as the rd user in /var/snd.

Steve

On Tue, Jul 17, 2018 at 06:42:43PM +0200, le père Léon wrote:
> Sounds like these words have already been read..
> 
> Under Debian 8 (thanks to many tricks I finally succeeded in compiling and
> launching Rivendell !!)
> .. import does not work :
>  "unable to create destination file"
> 
> It does not even work when /var/snd is 0777 mode.
> 
> (I must say I did not configure Apache since I don't know the relation
> between the c++-qt3-mysql Rivendell application and Apache..)
> 
> -- 
> Léon.
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file

2013-12-21 Thread Peter van Embden
Thanks for the answer, I'll forward it to the system manager.


I did select the cut in the cart (else the import dialog doesn't appear). 
Filename contains an  (avicii  aloe blacc - wake me up.wav), is that a 
problem?


All audio files are 16 bit .wav files.


I know it's going to be a lot of work to code all the songs, but I know that's 
worth it. As a start I will code around 400-500 songs for non-stop playout and 
as soon as that's working, I'll start coding more and more songs. Is it 
possible, if I do a (bulk) import, to code all songs with the UNTAGGED code I 
created? So they're easy to find and easy to keep out of the non-stop.


Kind regards,


Peter van Embden



Verstuurd



Van: Robert Jeffares
Verzonden: ‎zaterdag‎ ‎21‎ ‎december‎ ‎2013 ‎20‎:‎30
Aan: Peter van Embden

On 22/12/13 03:35, Peter van Embden wrote: 
So I created a cart, hit the Import/Export button, selected a song and pressed 
OK. At which point the above error appeared.

Using this method you have to select the CUT in the CART then hit Import/Export.

However

If you are importing audio files which have filenames with unacceptable 
characters like ; and some Umlaut, then RD won't play ball. * is guaranteed 
not to work.

I would have the guru line up a selection [say 20] music files [copies not the 
originals] in a folder and from the command line use [ having cd to the folder]

rdimport --verbose --delete-source MUSIC(or whatever the group is you want to 
import into) *.wav,mp3,ogg.(the type of file your music is in)

The rdimport will tell you whats happening  and why.

Your music may be in some format that is not enabled in rdimport. eg:  It may 
be mp3 sampled too low in resolution.

Depending on the problem there is a solution.

I have a file renaming script which works on a library I have been importing. 
It's a collection of the various name glitches which we eliminate by running 
the filename through sed.

#! /bin/bash
for i in ./*mp3;do mv -- $i ${i/ - /-};done
for i in ./*mp3;do mv -- $i ${i/[!@#\$%^*()]/};done

The format will enable the guru to work through your files. If you add the 
local things you need to clean out as they come up you can get a 20+ line 
script which can make a large number of files usable by running the script 
once. 

rdimport can then be used to take filenames and put the artist title etc in the 
right place.

caveat: rdimport will have a file limit and I suggest 1000. Your system may do 
more but thats a manageable bunch of song titles.

Importing a big library will take time but it's definitely worth it.


regards

Robert Jeffares
Big Valley Radio
The Wireless Station
Radio Spice

New Zealand___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-03 Thread Marcelo Acuña
Matt Hart matt.hart@... writes:

 
 I had this same problem once, and yes, it was Apache. I think I added the 
apache user to the rivendell group and
 made sure the audio folder was g+w (group writeable). 

 (I posted this 7 times and not appear :-(

 Apache user in my system is www-data.
 I add it to rivendell and audio group but the problem remain.
 /var/snd have 777 permissions.
 I can't import mp3 files to a cut and can't delete carts.

 Marcelo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-03 Thread Marcelo Acuña
Matt Hart matt.hart@... writes:

 
 I had this same problem once, and yes, it was Apache. I think I added the 
apache user to the rivendell group and
 made sure the audio folder was g+w (group writeable). 
 

 (I posted this 9 times and not appear and my time for put in production 
rivendell or go back to windows/zara is near to zero :-(

 Apache user in my system is www-data.
 I add it to rivendell and audio group but the problem remain.
 /var/snd have 777 permissions.
 I can't import mp3 files to a cut and can't delete carts.
 Is a apache o mysql problem?

 Marcelo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-03 Thread Wayne Merricks

Hi,

All your messages are showing.  Are you subscribed to the list via 
email?  I assume the google groups only update every now and then if 
thats where you're looking.


I've CC'ed your email address so hopefully you'll receive this.

Heres what I wrote yesterday:

It still seems like a permission problem on /var/snd

On Debian/Ubuntu I use the following:

Owner: rwx
Group: rwx
Other: rx

Or sudo chmod 0775 /var/snd (if you prefer)

 From memory I think you can make these permissions more strict but this
is what I've always used.

Then I make sure /var/snd is chowned to the correct users first by
making sure all the groups are sorted:

sudo addgroup rivendell
sudo adduser `whoami` rivendell

Then the chowning:

sudo chown `whoami`:rivendell /var/snd

Finally double check that /etc/rd.conf has the same username as the one
used above for `whoami` listed for AudioOwner (AudioGroup should also be
rivendell)

echo `whoami` to make sure

As for apache, all you need to do is make sure the rd-bin.conf is in the
right place and you've used the right ./configure flags (I can't
remember if you said you installed from the repos or not).

Anyway on Deb/Ubu rd-bin.conf lives in /etc/apache2/conf.d/rd-bin.conf

If the configure flags are wrong (or something went wrong) make sure
that line 23 reads: Directory /var/www/rd-bin and that line 50 is
ScriptAlias/rd-bin/  /var/www/rd-bin/


Wayne Merricks
The Voice Asia

On 03/07/12 13:13, Marcelo Acuña wrote:

Matt Hart matt.hart@... writes:


I had this same problem once, and yes, it was Apache. I think I added the

apache user to the rivendell group and

made sure the audio folder was g+w (group writeable).


  (I posted this 8 times and not appear and my time for put in production
rivendell or go back to windows/zara is near to zero :-(

  Apache user in my system is www-data.
  I add it to rivendell and audio group but the problem remain.
  /var/snd have 777 permissions.
  I can't import mp3 files to a cut and can't delete carts.
  Is a apache o mysql problem?

  Marcelo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev




###
Scanned by MailMarshal
###



Attention: 

The information contained in this message is confidential and intended 
for the addressee(s) only. If you have received this message in error 
or there are any problems, please notify the originator immediately.

The unauthorised use, disclosure, copying or alteration of this message
is strictly forbidden. Christian Vision or any of its subsidiaries will
not be liable for direct, special, indirect or consequential damages 
arising from alteration of the contents of this message by a third party

or as a result of any virus being passed on. Please note that we reserve
the right to monitor and read any e-mails sent or received by the 
company under the Telecommunications (Lawful Business Practice) 
(Interception of Communications) Regulation 2000. Christian Vision is 
registered in England as a limited company 2842414 and as a charity 
1031031  



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-03 Thread drew Roberts
On Tuesday 03 July 2012 08:29:50 Marcelo Acuña wrote:
  (I posted this 9 times and not appear and my time for put in production
 rivendell or go back to windows/zara is near to zero :-(

I don't know where you are looking because it keeps appearing.

Perhaps try #rivendell irc channel on freenode.

all the best,

drew
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-03 Thread ICR Programs
Marcelo,

I've seen posts from you on here ... do you think that perhaps the replies
are going into your Spam folder?

Or, maybe a setting in your email program is sending the replies somewhere
you don't realize?

If you use an email program (e.g. Thunderbird, etc.), may I suggest, if you
can, that you log into your email via webmail, perhaps you'll see the
replies then.

I hope that helps!

suerte!
Rene


On Tue, Jul 3, 2012 at 9:59 AM, Marcelo Acuña aleph_nu...@yahoo.com.arwrote:

 Matt Hart matt.hart@... writes:

 
  I had this same problem once, and yes, it was Apache. I think I added the
 apache user to the rivendell group and
  made sure the audio folder was g+w (group writeable).
 

  (I posted this 10 times and not appear and my time for put in production
 rivendell or go back to windows/zara is near to zero :-(

  Apache user in my system is www-data.
  I add it to rivendell and audio group but the problem remain.
  /var/snd have 777 permissions.
  I can't import mp3 files to a cut and can't delete carts.
  Is a apache o mysql problem?

  Marcelo

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev




-- 

~~
  Democracy is not a spectator sport

Ithaca Community Radio -- 88.1 FM in Ithaca
WRFI 91.9 FM in Watkins Glen
 WINO 89.9 FM in Odessa

News, Culture  Information from our Neighborhoods and the World

*Phone*: 607.319.5445
*Email*:  progr...@ithacaradio.org
*Web*:http://ithacaradio.org/


Mailing address:
The Clinton House
103 West Seneca St.
Suite 305
Ithaca, N.Y, 14850
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-03 Thread Patrick Schmalstig
I hate to sound rude but please stop spamming the mailing list by repeatedly 
posting in short periods of time. It is annoying and an inconvenience. The 
Rivendell system is open source so support is offered as a volunteer basis (in 
other words people don't have to help you and if they do they don't have to as 
quick as you want). If you want professional support and get quicker answers 
you will have to go elsewhere and pay money. In the meantime please stop 
repeatedly posting. It is flooding people's email.

Thank you.

On Jul 3, 2012, at 10:05 AM, ICR Programs progr...@ithacaradio.org wrote:

 Marcelo,
 
 I've seen posts from you on here ... do you think that perhaps the replies 
 are going into your Spam folder?  
 
 Or, maybe a setting in your email program is sending the replies somewhere 
 you don't realize?
 
 If you use an email program (e.g. Thunderbird, etc.), may I suggest, if you 
 can, that you log into your email via webmail, perhaps you'll see the replies 
 then. 
 
 I hope that helps!
 
 suerte!
 Rene
 
 
 On Tue, Jul 3, 2012 at 9:59 AM, Marcelo Acuña aleph_nu...@yahoo.com.ar 
 wrote:
 Matt Hart matt.hart@... writes:
 
 
  I had this same problem once, and yes, it was Apache. I think I added the
 apache user to the rivendell group and
  made sure the audio folder was g+w (group writeable).
 
 
  (I posted this 10 times and not appear and my time for put in production
 rivendell or go back to windows/zara is near to zero :-(
 
  Apache user in my system is www-data.
  I add it to rivendell and audio group but the problem remain.
  /var/snd have 777 permissions.
  I can't import mp3 files to a cut and can't delete carts.
  Is a apache o mysql problem?
 
  Marcelo
 
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 
 
 
 -- 
 
 ~~
   Democracy is not a spectator sport
 
 Ithaca Community Radio -- 88.1 FM in Ithaca
 WRFI 91.9 FM in Watkins Glen
  WINO 89.9 FM in Odessa
 
 News, Culture  Information from our Neighborhoods and the World
 
 Phone: 607.319.5445
 Email:  progr...@ithacaradio.org
 Web:http://ithacaradio.org/
 
 
 Mailing address: 
 The Clinton House
 103 West Seneca St.
 Suite 305
 Ithaca, N.Y, 14850
 
 
 
  
 
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-02 Thread Marcelo Acuña
Matt Hart matt.hart@... writes:

 
 I had this same problem once, and yes, it was Apache. I think I added the 
apache user to the rivendell group and
 made sure the audio folder was g+w (group writeable). 

 /var/snd have all permissions.
 Who is apache user?
 I put
 sudo adduser apache rivendell
and get that apache is not an user (same with apache2)

Marcelo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-02 Thread Marcelo Acuña
Matt Hart matt.hart@... writes:

 
 I had this same problem once, and yes, it was Apache. I think I added the 
apache user to the rivendell group and
 made sure the audio folder was g+w (group writeable). 

 (excuseme, I send this post 3 times and I can't get be accepted.)

 The apache user is www-data. I added this user to rivendell, then reboot, but 
the problem remain. I can't get import mp3 and I can't get delete carts.
 May be a mysql problem?
 Or is another apache problem?

Marcelo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (again)

2012-07-02 Thread Matt Hart
What does your Apache error log say?

Sent from my iPad

On Jul 2, 2012, at 7:00 PM, Marcelo Acuña aleph_nu...@yahoo.com.ar wrote:

 (I posted this 6 times and not appears, then I init a new thread)
 
 Apache user in ubuntu is www-data.
 I added www-data to rivendell and audio groups but problem remain.
 I can't get import mp3 into a cut and can't delete carts.
 
 I asked to me if is a apache problem or mysql problem, or another problem)
 
 Marcelo
 
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-01 Thread Geoff Barkman
On Alban's Instructions for installing the Tryphon Rivendell 2.1.4
packages on Ubuntu did you do Steps 4 and 5?

Step 4 : Add user who needs to use Rivendell in the rivendell group.
For example, to use yourself in this group : sudo adduser $USER rivendell

Check if this user is specified at AudioOwner line in file
/etc/rd.conf . If you used sudo to install package, your username will
be used. This information will configurable during the package
installation.

Step 5 : Log out to start a new session (Gnome, KDE, …) to load
changes on group and permissions.


I found sometimes its easier to reboot the system to get the
permissions correct.
Many thanks
Geoff Barkman

On Mon, Jul 2, 2012 at 2:02 AM, Marcelo Acuña aleph_nu...@yahoo.com.ar wrote:
 In a fresh instalation (ubuntu 12.04, rivendell 2.1.4 from tryphon repository
 and libqt3-headers installed), I can get that RDAirPlay work,
 but when I import mp3 to a cut in RDLibrary I get message:

 Unable to create destination file

 Plus, I can't delete carts.
 How I can solve this problem?
 (Thanks for previous help)

 Marcelo

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-01 Thread Marcelo Acuña

 On Alban's Instructions for installing the Tryphon Rivendell 2.1.4
 packages on Ubuntu did you do Steps 4 and 5?
 

 Yes.

 Step 4 : Add user who needs to use Rivendell in the rivendell group.
 For example, to use yourself in this group : sudo adduser $USER rivendell
 
 Check if this user is specified at AudioOwner line in file
 /etc/rd.conf . If you used sudo to install package, your username will
 be used. This information will configurable during the package
 installation.

 I declare en ubuntu a user (garabato) and then put this user in /etc/rd.conf, 
and make sudo adduser garabato rivendell and sudo adduser garabato audio.

 
 Step 5 : Log out to start a new session (Gnome, KDE, …) to load
 changes on group and permissions.
 
 I found sometimes its easier to reboot the system to get the
 permissions correct.
 Many thanks
 Geoff Barkman

 Yes. I reboot the system, too.
 Now, I think that the problem is in apache, but I don't know how to solve it.

Marcelo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-01 Thread Matt Hart
I had this same problem once, and yes, it was Apache. I think I added the 
apache user to the rivendell group and made sure the audio folder was g+w 
(group writeable). 

Sent from my iPad

On Jul 1, 2012, at 8:02 PM, Marcelo Acuña aleph_nu...@yahoo.com.ar wrote:

 
 On Alban's Instructions for installing the Tryphon Rivendell 2.1.4
 packages on Ubuntu did you do Steps 4 and 5?
 
 
 Yes.
 
 Step 4 : Add user who needs to use Rivendell in the rivendell group.
 For example, to use yourself in this group : sudo adduser $USER rivendell
 
 Check if this user is specified at AudioOwner line in file
 /etc/rd.conf . If you used sudo to install package, your username will
 be used. This information will configurable during the package
 installation.
 
 I declare en ubuntu a user (garabato) and then put this user in /etc/rd.conf, 
 and make sudo adduser garabato rivendell and sudo adduser garabato audio.
 
 
 Step 5 : Log out to start a new session (Gnome, KDE, …) to load
 changes on group and permissions.
 
 I found sometimes its easier to reboot the system to get the
 permissions correct.
 Many thanks
 Geoff Barkman
 
 Yes. I reboot the system, too.
 Now, I think that the problem is in apache, but I don't know how to solve it.
 
 Marcelo
 
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file

2012-03-27 Thread al davis
On Monday 26 March 2012, Guy Curtis wrote:
 Ok so I just moved:
 /etc/apache2/conf.d/rd-bin.conf
 To become:
 /etc/rivendell/apache.conf 
 And then created the symbolic link:
 /etc/apache2/conf.d/rivendell 
 
 I then restarted apache and stiol have the same error

That in itself is not the problem.  You really didn't change 
anything.

The file /etc/apache2/conf.d/rd-bin.conf has a line:
ScriptAlias /rd-bin/ /usr/lib/cgi-bin/rivendell/
that tells where some scripts are.

The old one pointed to a different place.

So, check that line, see where it points, then check to see what 
files are there.  You should find addcart.html, addcut.html, and 
a bunch of others.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file

2012-03-26 Thread al davis
On Monday 26 March 2012, Guy Curtis wrote:
 The files which replace it are not on my system.

Are you saying that you don't have those apache files I 
mentioned?

Most likely, that is the problem.  You need them.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file

2012-03-26 Thread Guy Curtis
Well sounds like thats the problem are they files which are supposed to be 
created automatically? Or can you point me in the direction in which I need to 
go to find out what is supposed to be written in them?


Guy Curtis
Broadcast engineer
90.7 WAZU Peoria
A.K.A. TechnoBear
www.wazufm.org/cavederave

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file

2012-03-26 Thread Guy Curtis
Ok so I just moved:
/etc/apache2/conf.d/rd-bin.conf
To become:
/etc/rivendell/apache.conf 
And then created the symbolic link:
/etc/apache2/conf.d/rivendell 

I then restarted apache and stiol have the same error

Guy Curtis
Broadcast engineer
90.7 WAZU Peoria
A.K.A. TechnoBear
www.wazufm.org/cavederave

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file

2012-02-22 Thread Cowboy
On Wednesday 22 February 2012 01:57:10 pm John Gough wrote:
 'Import error Unable to create destination file'

 Permissioning, or target directory problems ?

-- 
Cowboy

http://cowboy.cwf1.com

Main's Law:
For every action there is an equal and opposite government
program.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev