Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14805 closed defect (fixed)

bzr push crashes with: exceptions.AttributeError: 'SSHSubprocess' object has no attribute 'get_name'

Reported by: patrik.rising@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: bzr Cc:
Port:

Description

When attempting to do a bzr push sftp://example.com/dest, bzr crashes with a traceback complaining that "bzr: ERROR: exceptions.AttributeError: 'SSHSubprocess' object has no attribute 'get_name' ". (Traceback attached)

The following ports are currently installed:

bzip2 @1.0.5_0 (active) bzr @1.3_0 (active) curl @7.18.0_0 (active) expat @2.0.1_0 (active) gettext @0.17_3 (active) libiconv @1.12_0 (active) ncurses @5.6_0 (active) ncursesw @5.6_1 (active) openssl @0.9.8g_0 (active) pkgconfig @0.23_0 (active) py25-bz2 @2.5.2_0 (active) py25-crypto @2.0.1_0 (active) py25-curl @7.16.4_0 (active) py25-docutils @0.4_0 (active) py25-hashlib @2.5.2_0 (active) py25-paramiko @1.7.3_0 (active) py25-socket-ssl @2.5.2_0 (active) py25-zlib @2.5.2_0 (active) python25 @2.5.2_1+darwin_9 (active) zlib @1.2.3_1 (active)

Attachments (2)

traceback.txt (2.7 KB) - added by patrik.rising@… 17 years ago.
traceback
Portfile.txt (1.2 KB) - added by skymoo (Adam Mercer) 17 years ago.
py25-paramiko-1.7.2 Portfile

Download all attachments as: .zip

Change History (13)

Changed 17 years ago by patrik.rising@…

Attachment: traceback.txt added

traceback

comment:1 Changed 17 years ago by skymoo (Adam Mercer)

Cc: ram@… openmaintainer@… removed
Milestone: Port Bugs
Owner: changed from macports-tickets@… to ram@…
Status: newassigned

comment:2 Changed 17 years ago by skymoo (Adam Mercer)

Looks related to paramiko, I'm checking with upstream

comment:3 Changed 17 years ago by skymoo (Adam Mercer)

Did this work prior to updated to py25-paramiko-1.7.3, i.e. with version 1.7.2?

comment:4 Changed 17 years ago by patrik.rising@…

The computer I got the crash on is freshly installed so I don't know. I have another mac with paramiko 1.7.2 and it works there, so it would seem to be related.

comment:5 Changed 17 years ago by skymoo (Adam Mercer)

I've attached a Portfile for py25-paramiko-1.7.2 to this ticket, can you try with this version and see if you get the same error. Copy the Portfile to some temporary directory and from that directory run:

sudo port -f uninstall py25-paramiko
sudo port install

Changed 17 years ago by skymoo (Adam Mercer)

Attachment: Portfile.txt added

py25-paramiko-1.7.2 Portfile

comment:6 Changed 17 years ago by skymoo (Adam Mercer)

You'll have to rename Portfile.txt to Portfile first, sorry uploaded it with the wrong name

comment:7 Changed 17 years ago by patrik.rising@…

No problem, I'd just downloaded the old portfile myself :-) and it works with paramik 1.7.2

comment:8 Changed 17 years ago by skymoo (Adam Mercer)

Thanks, I reverted to py25-paramiko-1.7.2 in r35415, but I'm going to leave this ticket open until I can get bzr working with 1.7.3

comment:9 Changed 17 years ago by mark.pearson0@…

Just thought I would add confirmation that I had the same problem with

bzr push sftp://example.com/dest

today, i.e. I also got the error:

bzr: ERROR: exceptions.AttributeError: 'SSHSubprocess' object has no attribute 'get_name'

On using the supplied portfile to downgrade py25-paramiko to 1.7.2 the problem was fixed.

comment:10 Changed 17 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: assignedclosed

bzr works with paramiko-1.7.3 as of the 1.4 release, which was added in r36561, paramiko was updated to 1.7.3 in r36563. If you experience the same problem, reopen this ticket

comment:11 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.