[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Docbug: SVN_ASP_DOT_NET_HACK required more often than listed

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-04-19 20:12:43 CEST

Joachim Durchholz wrote:

> I hope this is on-topic in this list (tigris.org seems to have serious trouble
> right now, so I'm unable to see all pages that might be relevant). Anyway, here
> goes:

tigris.org is back up again. They tried to install optional SSL support,
but unfortunately it didn't work (it made SSL mandatory). So they
reverted back and now it's working again.

> I had TortoiseSVN working well for a while. When installing CorelDraw Essentials
> 2 SE, I started to get alert boxes reading "The dynamic link library gdiplus.dll
> could not be found in the system path "C:\WinNT;..."." (wording may vary, I got
> that message in German).

 From which app do you get that error message?

> This is a Windows 2000 Advanced Server, patched last week. The problem already
> existed two weeks ago, at which point I uninstalled CorelDraw. (I reinstalled
> because CorelDraw became more important recently.)
>
> Checking accesses via FileMon revealed that explorer.exe was checking oodles of
> "filter" extensions for the .svn directory. Together with my background
> knowledge that GDI+ is a part of .net, this made me think about the .net hack.

What do you mean with "filter extensions"?
GDI+ is *not* part of .net, but an additional dll which can be
redistributed freely, and many apps do (it's installed with XP by
default). Since MS clearly states that you should not install the
gdiplus.dll into the windows/system32 dir yourself, most apps don't do
that. But as I found out, many apps not well tested on Win2k assume that
gdiplus.dll is always there and don't install it (maybe Corel is such an
app). In that case, you can get the gdiplus.dll from MS and put it into
your windows\system32 directory.

TortoiseSVN also uses that dll, but only when you save the revision
graph as e.g. a png file. And it loads that dll dynamically, so if you
don't save the revision graph, TSVN doesn't even touch that dll.

> In fact, applying the .net hack made the problem vanish.

I seriously doubt that.

> So I suggest the docs should be changed to say something like this:
> "If you install any application that uses .net, you should activate the .net
> hack. Software usually doesn't advertise whether it's using .net, so if the
> Windows Explorer begins behaving strangely after installing some software,
> activate the hack. Actually we recommend activating the hack just in case.
> Software known to need the hack includes: CorelDraw Essentials 2 Special
> Edition."
>
> I'm not sure whether the actual bug is in Corel's software, in TSVN, or in
> explorer.exe. The various symptoms that point in different directions are:
> * Activating the .net hack, logging off and logging on made the problem
> disappear, even though there still were .svn directories. (This points towards
> TSVN.)

Did you try logging off/on without changing the .net hack setting? Maybe
the key point here is log off/on and not the hack.

> * I observed that even after the application of the .net hack, the SVN icons
> still were around. This may either be a bug in TSVN's icon cache, or an
> indicator that invalidated the previous observation.

It depends on whether the cache process was exited when you logged off
or not.

> * Uninstalling CorelDraw made the problem disappear, too. (This points towards
> CorelDraw.)
> * I think the bug was triggered whenever:
> - CorelDraw was installed
> - the .net hack was not activated
> - Windows explorer was open in a way that made any .svn directory visible
> - I was left-clicking on any directory.
>
> (If anybody wishes to test with CorelDraw Essentials 2 Special Edition: it's
> currently affordable. We paid 10 Euros + postage&handling to get it.)

I really don't like to install CorelDraw here. My harddrive is full
enough (Laptops don't have that big harddrives).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Apr 19 20:15:04 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.