RE: [viewvc-users] tarball link dowload giving zerobyte tar file

Leena B Nair <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <OF70F217E1.39C3C5AF-ON652576D4.006123C6__13860.3142732338$1267033338$gmane$org@lntinfotech.com>
Hi Michael,

 

Am very sorry for the delay in replying to the mail.

 

I checked the logs. The error that’s coming is as follows:

[Wed Feb 24 10:23:20 2010] [warn] mod_python (pid=7448,
interpreter='gforge-test.am.freescale.net'): Module directory listed in
"sys.path". This may cause problems. Please check code. File being
imported is "/opt/tools/viewvc-1.0.5/bin/mod_python/viewvc_cgi.py".

[Wed Feb 24 10:23:20 2010] [notice] mod_python (pid=7448,
interpreter='gforge-test.am.freescale.net'): Importing module
'/opt/tools/viewvc-1.0.5/bin/mod_python/viewvc_cgi.py'

 

Thank you  

 

Regards, 

Leena B Nair, 

Larsen & Toubro Infotech Limited,

Chennai - 600 089.

Ph: +91-44-2253 7369 / Extn: 7369.

Email-ID:[email protected]  

 

This document is classified as:

( ) General Business Information 

(x) Freescale Internal Use Only 

( ) Freescale Confidential Proprietary Personal Memorandum

This email may contain confidential or privileged information for the
intended recipient. If you are not the intended recipient, please do not
use or disseminate the information, notify the sender and delete it from
your system. Thanks

 

From: C. Michael Pilato <[email protected]> [mailto:C. Michael Pilato
<[email protected]>] 
Sent: Thursday, February 04, 2010 9:30 PM
To: Leena B Nair <[email protected]>
Cc: <[email protected]>
Subject: Re: [viewvc-users] tarball link dowload giving zerobyte tar
file

 



Thanks for sharing the version number. You are correct that that version
does support the 'allow_tar' option. What you are seeing is consistent
with 
something going wrong not at configuration time, but at tarball
generation time. 

You have not, however, answered my second question. Your web server
(which 
I assume is Apache) has a log file devoted to errors (somewhere like 
log/error_log). Is anything written to that file when tarball requests
are 
served by ViewVC on your server? Sometimes Apache will record a whole 
Python stacktrace in that file -- that's really useful information if
it's 
available. 


Leena B Nair wrote: 
> 
> I am using version 'viewvc-1.0.5'. The allow_tar option is available
in 
> this version, so i am afraid that the link you gave does not provide
the 
> necessary solution. Can you please let me know if you have any idea
why 
> the download tarball is downloading a zero byte file? A zip file pops
up 
> but it does not contain any data. Thats the issue. 
> Thanks a lot in adavance 
> 
> /Best regards, 
> Leena/ 
> 
> 
> *"C. Michael Pilato" * 
> 
> 02/03/2010 10:22 PM 
> 
> 
> To 
> Leena B Nair 
> cc 
> 
> Subject 
> Re: [viewvc-users] tarball link dowload giving zerobyte tar file 
> 
> 
> 
> 
> 
> 
> 
> 
> Leena B Nair wrote: 
>> Hi, 
>> 
>> I have gforge installed in a linux server and is configured with SVN.
>> ViewVC is integrated with gforge to browse subversion repository in
web. 
>> The download tarball link is not working properly. I made the
following 
>> change in the configuration file "viewvc.conf": 
>> 
>> # allow on-the-fly generation of repository tarballs 
>> #allow_tar = 0 
>> allow_tar = 1 
>> 
>> When I click on the link "Download tarball", a zero-byte zip file is 
>> generated. 
>> 
>> Can you suggest what needs to be done for this? 
> 
> What version of ViewVC are you using? 
> 
> Do you see any errors in your server's error_log that reveal what
might be 
> happening here? 
> 
> -- 
> C. Michael Pilato 
> CollabNet <> www.collab.net <> Distributed Development On Demand 
> 
> 
> 
> ______________________________________________________________________
> 


-- 
C. Michael Pilato 
CollabNet <> www.collab.net <> Distributed Development On Demand 


______________________________________________________________________

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2451646

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.