qlog fails after loading bzr 2.2.1 on Windows 2000

Bug #663234 reported by Karsten Sorensen on 2010-10-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Windows Installers

Bug Description

Upgraded from bzr 2.2.0 on Windows 2000.
Removed bzr 2.2.0
Ran standalone installer for bzr 2.2.1

"bzr --version" shows 2.2.1
Simple commands work.

"bzr qlog" fails

Trace below:
0.485 bazaar version: 2.2.1
0.485 bzr arguments: [u'qlog']
0.500 looking for plugins in C:/Documents and Settings/ksorensen.SYSTEMS/Application Data/bazaar/2.0/plugins
0.703 looking for plugins in C:/Program Files/Bazaar/plugins
0.703 Plugin name loom already loaded
0.703 Plugin name qbzr already loaded
1.047 encoding stdout as sys.stdout encoding 'cp437'
3.016 Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 912, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1112, in run_bzr
  File "bzrlib\commands.pyo", line 690, in run_argv_aliases
  File "bzrlib\commands.pyo", line 705, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "C:/Documents and Settings/ksorensen.SYSTEMS/Application Data/bazaar/2.0/plugins\qbzr\lib\commands.py", line 128, in run
  File "C:/Documents and Settings/ksorensen.SYSTEMS/Application Data/bazaar/2.0/plugins\qbzr\lib\commands.py", line 115, in run
  File "C:/Documents and Settings/ksorensen.SYSTEMS/Application Data/bazaar/2.0/plugins\qbzr\lib\commands.py", line 155, in run
  File "bzrlib\lazy_import.pyo", line 106, in __getattribute__
  File "bzrlib\lazy_import.pyo", line 89, in _replace
  File "bzrlib\lazy_import.pyo", line 192, in _import
  File "PyQt4\QtGui.pyo", line 12, in <module>
  File "PyQt4\QtGui.pyo", line 10, in __load
ImportError: DLL load failed: %1 is not a valid Win32 application.

3.016 couldn't find apport bug-reporting library: No module named apport
4.797 Traceback (most recent call last):
  File "bzrlib\plugin.pyo", line 542, in _get__version__
  File "bzrlib\__init__.pyo", line 117, in _format_version_tuple
ValueError: version_info (0, 95, 0, 'final', 1) not valid

4.797 return code 4

affects: bzr → bzr-windows-installers
Changed in bzr-windows-installers:
importance: Undecided → High
Alexander Belchenko (bialix) wrote :

Recently I've read MSVC 2010 is no more supported Windows 2000. So, if there is some dynamic libraries compiled by MSVC 2010 user will get exactly this error (DLL load failed: XXX is not a valid Win32 application.)


Martin Packman (gz) wrote :

The fact the message says "%1" suggests it might just be a quoting problem rather than the executable format really being wrong.

Martin Packman (gz) wrote :

Karsten, we don't have enough information to know what's going wrong here. It would really help if you could:

* Tell us the exact filename of the installer you used
* Try copying both msvcr90.dll and msvcp90.dll to the 'lib' folder and running again
* Try installing Python, Bazaar, Qt, PyQt, and qbzr separately
* Paste the output of `bzr.exe plugins -v`

I see you've also got question 130211 as well, but I take it cygwin wasn't involved here at all? Also try running from cmd rather than cygwin bash if that's what you were doing before.

Karsten Sorensen (ksorensen) wrote :

Martin thanks for reply.
I will do as you suggest.

The problem filed here is using Bzr under Windows 2000 directly using the cmd shell (terminal). I don't like the terminal because of limited width and it is Windows. This bug refers strictly to running Bzr under Windows 2000 and has nothing to do with Cygwin. I prefer Linux and TCSH and therefore use Cygwin.

Some time ago, QBZR stopped working under Cygwin because of the requirement for PyQt 4. This only affected qlog, qdiff, etc and I used Bzr under Windows directly any time I wanted to use qlog and qdiff. It worked well. Now with this latest problem, 2.2.1, qlog and other QBzr commands don't work under Windows either.

If I could get PyQt 4 and Qt 4 under Cygwin to get QBzr to work, I would stay strictly under Cygwin.

My day job is hardware design and I have to deal with a large number of Verilog modules that I have inherited from other developers. Bzr works very well for managing these projects. QBzr makes it easy to track changes - especially inadvertent changes.

Martin Packman (gz) wrote :

We really need that extra information to move forward on this.

Changed in bzr-windows-installers:
status: New → Incomplete
Karsten Sorensen (ksorensen) wrote :

Solution was to upgrade from Windows 2000 to Windows XP Pro. and to install Microsoft C++ Redistributable 2008.
Then remove bzr 2.2.0 and reinstall bzr 2.2.1 using standalone installer.
Now Qlog runs without error.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers