logo       

Re: tv_grab_se_swedb in CVS - testing wanted: msg#00137

Subject: Re: tv_grab_se_swedb in CVS - testing wanted
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe