Mattias Holmlund wrote:
Christian Vandendorpe wrote:
Robert Eden wrote:
alpha-exe updated.
Just tried that and got the following problem:
D:\>C:\cygwin\xmltv-current\xmltv.exe tv_grab_se_swedb --config-file
d:\perl58\bin\.xmltv\tv_grab_se_swedb --configure
Timezone is CET
You need to configure the http cache.
Do you want to do it now? [yes,no (default=yes)]
You need to decide where the cache should be stored.
The cache must be stored in its own directory.
The directory should NOT be cleared when you reboot.
The default is D:\Documents and Settings\chris.NS/.xmltv/cache
Where should the cache be stored?
Leave empty to use the default location: D:\temp\.xmltv\cache
Failed to write to D:\Documents and
Settings\chris.NS/.xmltv/cache.conf at
/PerlApp/grab/se_swedb/tv_grab_se_swedb line 436, <STDIN> line 2.
So it seems that it insists on storing the cache.conf in the windows'
user directory but that creates a problem since it has spaces in it.
Why not save the cache.conf in the same directory that was specified
in the --config-file command?
You can specify where the cache configuration is stored by setting the
environment variable CACHE_CONF to the correct filename. You can also
set the environment variable HOME to a directory. The configuration file
will then be stored in $HOME/.xmltv/cache.conf
I've spent a few hours playing with my Perl installation and finally
have found the problem with libXML. So now your perl scripts work fine
for me.
Just two things that I noticed:
- your perl script recognizes fine the CACHE_CONF setting and reads
cache.conf from the directory specified. However the xmltv.exe version
doesnt seem to recognize it and it always asks me if I want to configure
the cache.
- when called without --days argument, it downloads 5 days instead of 7.
Not sure if this is on purpose or not. Anyway it works fine if --days is
set to 7.
Thanks for the help!
Chris
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
|