You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Trauger, Theresa J" <th...@lmco.com> on 2007/10/05 15:24:57 UTC

opening .ppt and .doc in Subversion/ ViewCVS

 

Linux - Centos5

GForge 4.5.16

Subversion 1.4.2-2

ViewCVS 1.0-dev

 

 

We're having problems opening certain Microsoft powerpoint and word docs
through ViewCVS.

In all cases below, we're trying to view the file on a Windows client
using the download, then open button.

 

Case 1 - an apostrophe in the filename throws an error when click on it
in the browse repository area <-- not surprising, but how can I prevent
that?  Trigger on a checkin?

Case 2 -  .ppt opens as empty, blank file

Case 3 - opening .ppt -->  get  "The page cannot be displayed" error

Case 3 - .doc opens as a blank, empty file

 

When I download the above files in TortoiseSVN to my computer, they all
open fine.  So I don't think that they are

corrupt in subversion, but I think viewcvs is having the trouble.  But
the problems are intermittent (we're trying to narrow down

what files are problematic).

 

Any ideas as to what the problem is here?

 

Thanks for any help.

Theresa

 

 

 


Re: opening .ppt and .doc in Subversion/ ViewCVS

Posted by Andy Levy <an...@gmail.com>.
On 10/5/07, Trauger, Theresa J <th...@lmco.com> wrote:
> Thanks for the reply Andy!
>
> Yes, I have asked the ViewVC users group also, but haven't gotten any responses there.
> After further testing today, we've determined that it's a file size issue.  Anything over ~2mb won't open correctly, for all file types.
>
> Also, I had checked the mime-types, they are all mostly defaulting to application/octet-stream.
> Is that bad???

Not necessarily bad, but I like to keep and provide as much
information about a file as I possibly can, so that as many tools as
possible can handle it properly. It's a matter of personal preference,
but I like to have the mime-type indicated on all files if I can do it
reliably.

> Do I need to properly point subversion's config to it's own mime types file?

No, you want to set the svn:mime-type property on the individual files
themselves.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: opening .ppt and .doc in Subversion/ ViewCVS

Posted by "Trauger, Theresa J" <th...@lmco.com>.
Thanks for the reply Andy!

Yes, I have asked the ViewVC users group also, but haven't gotten any responses there.
After further testing today, we've determined that it's a file size issue.  Anything over ~2mb won't open correctly, for all file types.

Also, I had checked the mime-types, they are all mostly defaulting to application/octet-stream.
Is that bad???

Do I need to properly point subversion's config to it's own mime types file?

Thanks again!
T


-----Original Message-----
From: Andy Levy [mailto:andy.levy@gmail.com] 
Sent: Friday, October 05, 2007 11:33 AM
To: Trauger, Theresa J
Cc: users@subversion.tigris.org
Subject: Re: opening .ppt and .doc in Subversion/ ViewCVS

On 10/5/07, Trauger, Theresa J <th...@lmco.com> wrote:
>
>
>
>
>
>
> Linux - Centos5
>
> GForge 4.5.16
>
> Subversion 1.4.2-2
>
> ViewCVS 1.0-dev
>
>
>
>
>
> We're having problems opening certain Microsoft powerpoint and word docs
> through ViewCVS.
>
> In all cases below, we're trying to view the file on a Windows client using
> the download, then open button.
>
>
>
> Case 1 - an apostrophe in the filename throws an error when click on it in
> the browse repository area ß not surprising, but how can I prevent that?
> Trigger on a checkin?
>
> Case 2 -  .ppt opens as empty, blank file
>
> Case 3 - opening .ppt -->  get  "The page cannot be displayed" error
>
> Case 3 - .doc opens as a blank, empty file
>
>
>
> When I download the above files in TortoiseSVN to my computer, they all open
> fine.  So I don't think that they are
>
> corrupt in subversion, but I think viewcvs is having the trouble.  But the
> problems are intermittent (we're trying to narrow down
>
> what files are problematic).
>
>
>
> Any ideas as to what the problem is here?

I think you'd be better off asking on the ViewCVS mailing list or
support forum. Sounds like you've already confirmed that Subversion is
handling everything just fine.

Have you set the svn:mime-type appropriately on these files? If only
on some, do the files that work correctly have it set, and those which
don't have it set don't work?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: opening .ppt and .doc in Subversion/ ViewCVS

Posted by Andy Levy <an...@gmail.com>.
On 10/5/07, Trauger, Theresa J <th...@lmco.com> wrote:
>
>
>
>
>
>
> Linux – Centos5
>
> GForge 4.5.16
>
> Subversion 1.4.2-2
>
> ViewCVS 1.0-dev
>
>
>
>
>
> We're having problems opening certain Microsoft powerpoint and word docs
> through ViewCVS.
>
> In all cases below, we're trying to view the file on a Windows client using
> the download, then open button.
>
>
>
> Case 1 – an apostrophe in the filename throws an error when click on it in
> the browse repository area ß not surprising, but how can I prevent that?
> Trigger on a checkin?
>
> Case 2 -  .ppt opens as empty, blank file
>
> Case 3 – opening .ppt -->  get  "The page cannot be displayed" error
>
> Case 3 - .doc opens as a blank, empty file
>
>
>
> When I download the above files in TortoiseSVN to my computer, they all open
> fine.  So I don't think that they are
>
> corrupt in subversion, but I think viewcvs is having the trouble.  But the
> problems are intermittent (we're trying to narrow down
>
> what files are problematic).
>
>
>
> Any ideas as to what the problem is here?

I think you'd be better off asking on the ViewCVS mailing list or
support forum. Sounds like you've already confirmed that Subversion is
handling everything just fine.

Have you set the svn:mime-type appropriately on these files? If only
on some, do the files that work correctly have it set, and those which
don't have it set don't work?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: opening .ppt and .doc in Subversion/ ViewCVS

Posted by Erik Huelsmann <eh...@gmail.com>.
On 10/9/07, Trauger, Theresa J <th...@lmco.com> wrote:
>
>
>
> Here is the solution in case this happens to other subversion users!
>
>
>
> Issue:                We were not able to download several .ppt and .doc
> files in LMForge
>
> Fix:                   Changed memory_limit parameter in /etc/php.ini
> from16M to 180M.  This was needed to handle a 44MB .doc file.

Chances are extremely limited that the issues have anything todo with
each other: PHP is not involved in running ViewVC nor Subversion...

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: opening .ppt and .doc in Subversion/ ViewCVS

Posted by "Trauger, Theresa J" <th...@lmco.com>.
Here is the solution in case this happens to other subversion users!

 

Issue:                We were not able to download several .ppt and .doc
files in LMForge

Fix:                   Changed memory_limit parameter in /etc/php.ini
from16M to 180M.  This was needed to handle a 44MB .doc file.

 

 

________________________________

From: Trauger, Theresa J 
Sent: Friday, October 05, 2007 11:25 AM
To: users@subversion.tigris.org
Subject: opening .ppt and .doc in Subversion/ ViewCVS

 

 

Linux - Centos5

GForge 4.5.16

Subversion 1.4.2-2

ViewCVS 1.0-dev

 

 

We're having problems opening certain Microsoft powerpoint and word docs
through ViewCVS.

In all cases below, we're trying to view the file on a Windows client
using the download, then open button.

 

Case 1 - an apostrophe in the filename throws an error when click on it
in the browse repository area <-- not surprising, but how can I prevent
that?  Trigger on a checkin?

Case 2 -  .ppt opens as empty, blank file

Case 3 - opening .ppt -->  get  "The page cannot be displayed" error

Case 3 - .doc opens as a blank, empty file

 

When I download the above files in TortoiseSVN to my computer, they all
open fine.  So I don't think that they are

corrupt in subversion, but I think viewcvs is having the trouble.  But
the problems are intermittent (we're trying to narrow down

what files are problematic).

 

Any ideas as to what the problem is here?

 

Thanks for any help.

Theresa