Post by Steven PalmAnd later, it failed... It's an encodings issue, the log file in the
bitfling client claimed it didn't know encoding US-ASCII. If I run it
from the dev source tree, not the bundle, it's fine. So, throw me a
bone Roger and let me know what files it's not packaging up. ;-)
Details:
13:50:45.230: Starting on port 12652
13:51:09.868: Connected (version 2.0, client pyssh_1.1)
13:51:09.713: SSH worker thread 1/5: Connection from
('192.168.168.106', 49596) accepted
13:51:13.646: SSH worker thread 1/5: SSH negotiated from
('192.168.168.106', 49596)
13:51:13.940: SSH worker thread 1/5: Checking authentication for user
'n9yty'
13:51:14.093: Exception in thread Threading SSH server controller for
:12652
13:51:14.102: Traceback (most recent call last):
File "/usr/local/src/bitpim/bitpim/bitfling/xmlrpcstuff.py", line
305, in run23
self.processmessage(msg)
File "/usr/local/src/bitpim/bitpim/bitfling/xmlrpcstuff.py", line
344, in processmessage
ok=self.OnNewUser(msg.clientaddr, msg.data[0], msg.data[1])
File "/usr/local/src/bitpim/bitpim/bitfling/bitfling.py", line 683,
in OnNewUser
return self.mainwin.IsConnectionAllowed(clientaddr, username,
password)
File "/usr/local/src/bitpim/bitpim/bitfling/bitfling.py", line 504,
in IsConnectionAllowed
if not self._verify_password(password, pwd):
File "/usr/local/src/bitpim/bitpim/bitfling/bitfling.py", line 536,
in _verify_password
print password, pwd, val.hexdigest(), val.hexdigest()==hash
LookupError: unknown encoding: US-ASCII
Variables by last 8 frames, innermost last
Frame __bootstrap in
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
threading.py at line 436
self = <BitFlingService(Threading SSH server controller for
:12652, started daemon)>
Frame run23 in /usr/local/src/bitpim/bitpim/bitfling/xmlrpcstuff.py at
line 301
msg = Message: cmd=CMD_NEW_USER_REQUEST data=('n9yty',
u'password')
self = <BitFlingService(Threading SSH server controller for
:12652, started daemon)>
Frame processmessage in
/usr/local/src/bitpim/bitpim/bitfling/xmlrpcstuff.py at line 344
msg = Message: cmd=CMD_NEW_USER_REQUEST data=('n9yty',
u'password')
resp = None
self = <BitFlingService(Threading SSH server controller for
:12652, started daemon)>
Frame OnNewUser in /usr/local/src/bitpim/bitpim/bitfling/bitfling.py at
line 683
username = 'n9yty'
clientaddr = ('192.168.168.106', 49596)
password = u'password'
self = <BitFlingService(Threading SSH server controller for
:12652, started daemon)>
Frame IsConnectionAllowed in
/usr/local/src/bitpim/bitpim/bitfling/bitfling.py at line 504
username = 'n9yty'
password = u'password'
ret_allowed = False
addresses = ['*']
val = None
self = <bitfling.bitfling.MainWindow instance; proxy of C++
wxFrame instance at _5d0500_wxFrame_p>
expires = 0
uname = 'n9yty'
pwd =
'9ee37bb5a4d23e9f$a1cd32e0f44bf583703dce0b8a4b0307d49af2a0'
v = ('192.168.168.106', 'n9yty', u'password')
ret_expiry = 0
peeraddr = ('192.168.168.106', 49596)
Frame _verify_password in
/usr/local/src/bitpim/bitpim/bitfling/bitfling.py at line 536
hash = 'a1cd32e0f44bf583703dce0b8a4b0307d49af2a0'
val = <sha.SHA object at 0x239af00>
i = 14
self = <bitfling.bitfling.MainWindow instance; proxy of C++
wxFrame instance at _5d0500_wxFrame_p>
pwd =
'9ee37bb5a4d23e9f$a1cd32e0f44bf583703dce0b8a4b0307d49af2a0'
str = [158, 227, 123, 181, 164, 210, 62, 159, 112, 97,
115, 115, 119, 111, 114, 100]
x = 100
password = u'password'
salt = '\x9e\xe3{\xb5\xa4\xd2>\x9f'