latest release of tbzr spoils command line

Bug #298013 reported by Timmie
4
Affects Status Importance Assigned to Milestone
TortoiseBZR
Incomplete
Undecided
Unassigned

Bug Description

Hello,
with the new release of the standalone installer I get always messages on the python prompt. Even when I execute other code not associated with bzr.

1) installed the windows standalone installer (1.9, no rc)
2) opened Ipython in cmd
3) got the following error:

C:\>ipython
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.

IPython 0.9.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]: import easygui as eg

In [2]: file = eg.fileopenbox(msg='Please indicate file', title='file needed')
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)

C:\Programme\pythonxy\python\lib\site-packages\IPython\FakeModule.pyc in <module>()
     42
     43
---> 44
     45
     46

C:\tbzr.pyo in <module>()
    122
    123
--> 124
    125
    126

C:\tbzr.pyo in get_all_com_classes()
     59
     60
---> 61
     62
     63

C:\contextmenu.pyo in <module>()
      7
      8
----> 9
     10
     11

ImportError: No module named shell
Redirecting output to win32trace remote collector

Thanks for your help.

Revision history for this message
Mark Hammond (mhammond) wrote :

I suspect the problem is that you have another Python based program with its own Python25.dll on your PATH. Ironically, we have seen this before with a Mercurial install. TBZR then finds that incorrect and incomplete Python. Could you please check if a directory on your PATH includes a copy of Python?

Revision history for this message
Timmie (timmie) wrote :

Yes, I have Python installed.

I use: http://www.pythonxy.com

I would still like to use the standalone installer because it delivers the TortoiseBzr. This explorer integration insn't included in the python installer.
Even still experimental, TBZR help so remember those folders which are are versioned with bzr.

Maybe you could check whether a user has python already installed and then use those libaries?

I think that the current system on windows is somehow inconvenient:
You provide a standalone installer which is fully fledge and integraded.
Then there is a bare bones python installer which can be extended by plugins.

When adding new plugins to the standalone version of the installer many expect certain python modules to be available. Be they are not due to the fact that the standalone ships only a minimal python distribution.

Revision history for this message
DoxaLogos (doxalogos) wrote :

I'm seeing the same problem. I do have my standard python25.dll in my path. I just fail to see why that should bother tbzr.pyo when I'm not executing it. This has to be a bug and not a feature. If I run independent apps code I create, there should be no interaction with Bazaar.

Now, I'm not seeing the problem when I run IPython, but I do see it when I open a file dialog inside a wxPython application.

Revision history for this message
DoxaLogos (doxalogos) wrote :

Quick update. I do see it in IPython if I run the same wxPython app inside it.

Vincent Ladeuil (vila)
affects: bzr → tortoisebzr
Revision history for this message
Alexander Belchenko (bialix) wrote :

This bug is about 1 year old. Does the problem still exists with bzr 2.0?

Changed in tortoisebzr:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.