Bugs item #2035084, was opened at 2008-08-01 12:14 Message generated for change (Comment added) made by sborho You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=968354&aid=2035084&group_id=199155
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: context menu Group: None >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Missing MSVCP71.dll Initial Comment: When executing the commit command via the THG context menu nothing happens. Executing the command via console (hg commit) leads to an error message that tells me that the dll "MSVCP71.dll" cannot be found and a reinstallation of the application could fix the problem. Reinstallaling TortoiseHG does not help. As far as i know the dll is part of the Window C++ library or something similar? ---------------------------------------------------------------------- >Comment By: Steve Borho (sborho) Date: 2009-03-05 01:20 Message: this comes in all installers now ---------------------------------------------------------------------- Comment By: TK Soh (tksoh) Date: 2008-10-15 22:44 Message: Ah huh! Looks like the commit hook setup by TortoiseHg triggers the checking on ui.username setting, and prompt (with a GTK dialog) if one is not defined. ---------------------------------------------------------------------- Comment By: David Cameron (davcamer) Date: 2008-10-15 21:53 Message: As I tried to explain in my previous comment. There was a GTK dialog as part of my commit. It was a prompt for my name. I had not previously set a name either globally or at the repository level. I have a base 0.5 installation that I made on top of a previous 0.4.1 installation. If there are plugins or extensions included, then I have those. ---------------------------------------------------------------------- Comment By: TK Soh (tksoh) Date: 2008-10-15 19:35 Message: I guess the simplest answer is just include MSVCP71.dll, as long as it is safe to do so, legally. Anyone who know M$ licensing better have any comment against inclusion of this DLL? Also, does anyone know of anyway to hunt down this sort of dependency, so we can put in all in on the next release? BTW, davcamer, I wonder why 'hg commit' (commit is a native Hg command) would invoke any GTK dialogs. Do you have the 'gtools' extension installed? ---------------------------------------------------------------------- Comment By: David Cameron (davcamer) Date: 2008-10-15 16:36 Message: Copying MSVCP71.dll in to C:\program files\tortoisehg resolves the problem for me. No dll-registration or any further steps required. So, it would be great if this was packaged with the installer... I guess it was calling out to GTK at that moment to pop up the dialog asking me to add my name, and whether it was for that repo or account wide: C:\code\eve>hg commit -m "trying out a skill notified functionality" Creating C:\Documents and Settings\Dave Cameron\mercurial.ini ---------------------------------------------------------------------- Comment By: David Cameron (davcamer) Date: 2008-10-15 16:16 Message: That is true. It is bundled with MSVCR71.dll. I believe it also needs MSVCP71.dll. The error dialog I get is Title: hg.exe - Unable To Load Component Icon: Error (the red circle with white X) Message: This application has failed to start because MSVCP71.dll was not found. Re-installing the application may fix this problem. If I have run hg from the command-line, I also get this message printed there, after clicking "ok" on the dialog. C:\code\eve>hg commit -m "trying more with the skillcheck service" ***** dialog described above appears, and I click 'ok' to dismiss it ***** error: precommit.username hook raised an exception: No module named ltihooks abort: could not import module ltihooks! A possibly related thread about ltihooks from the pyGTK mailing list: http://www.daa.com.au/pipermail/pygtk/2007-July/014042.html I have two applications installed that include a copy of MSVCP71.dll in their installation directories: Sid Meier's Colonization and VMWare. I do not have MSVCP71.dll in any system directory, because it does not belong in a system directory. Except on developer machines. ---------------------------------------------------------------------- Comment By: Peer Sommerlund (peso) Date: 2008-10-15 08:14 Message: THG 0.5 is bundled with msvcr71.dll - not msvcp71.dll I wonder why you get that error. Do you have any other applications installed that work with MS Visual C++ ? ---------------------------------------------------------------------- Comment By: David Cameron (davcamer) Date: 2008-10-15 02:57 Message: A couple of links: explains why individual applications should package MSVCP71.dll, if they depend on it: http://support.microsoft.com/default.aspx?scid=kb;en-us;326922 explains that my previous comment was INCORRECT, and MSVCP71.dll is a perfectly reasonable production run-time dependency: http://support.microsoft.com/kb/154753/en-us ---------------------------------------------------------------------- Comment By: David Cameron (davcamer) Date: 2008-10-15 02:32 Message: I also get this problem. Windows XP Pro SP3. I've recently been developing on Max OS X, but I'm trying to use TortoiseHg on my windows boot camp partition to do some python development. I have none of the Visual Studios installed. I don't think this .dll is part of the base windows install, so it should be part of the installer if it is really required. I was sort of wondering if the "P" indicated that this was a debug build, and the release builds of TortoiseHg are requiring the debug .dll. I couldn't find anything specific w.r.t. that idea though. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-08-02 22:37 Message: Logged In: NO I believe these msvc*.dll are supposed to be distributed with applications (in our case, the app is Python, if I am not wrong) built with MSVC. I don't know if any of them have become part of Windows' standard installation, but they are nonetheless available for download on the web. TK ---------------------------------------------------------------------- Comment By: Ota (littlex) Date: 2008-08-02 11:17 Message: Logged In: YES user_id=1170665 Originator: NO Hmm so the dll is usually bundled with windows? ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-08-02 09:51 Message: Logged In: NO The simplest workaround is probably just search and download MSVCP71.dll from the web and put it in the system32 folder. ---------------------------------------------------------------------- Comment By: Ota (littlex) Date: 2008-08-02 09:10 Message: Logged In: YES user_id=1170665 Originator: NO Ou sorry, completely forgot to write that down and also to log in prior to report the bug ;) Tested on Windows XP SP2 the file is missing on my system. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-08-01 19:06 Message: Logged In: NO what system are you on? FYI, the DLL file is found in the system32 folder of my WinXP SP2 box. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=968354&aid=2035084&group_id=199155 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Tortoisehg-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
