'QString' object has no attribute 'find' in __init__.py #213

Closed
opened 2013-06-14 14:23:46 +02:00 by Astalaseven · 2 comments
Astalaseven commented 2013-06-14 14:23:46 +02:00 (Migrated from github.com)

Got a problem while trying to send a message:

Found a message in our database that needs to be sent with this pubkey.
First 150 characters of message: 'Problem!'
Traceback (most recent call last):
  File "/home/asta/PyBitmessage/src/bitmessageqt/__init__.py", line 1140, in updateSentItemStatusByAckdata
    parenPositionIndex = string.find(textToDisplay, '\n')
  File "/usr/lib/python2.7/string.py", line 361, in find
    return s.find(*args)
AttributeError: 'QString' object has no attribute 'find'
Traceback (most recent call last):
File "/home/asta/PyBitmessage/src/bitmessageqt/__init__.py", line 1140, in updateSentItemStatusByAckdata
parenPositionIndex = string.find(textToDisplay, '\n')
File "/usr/lib/python2.7/string.py", line 361, in find
    return s.find(*args)
AttributeError: 'QString' object has no attribute 'find'
(For ack message) Doing proof of work...

It's happening just after I click on 'Send'. Message is 'Problem!', sending to echo-server (BM-orkCbppXWSqPpAxnz6jnfTZ2djb5pJKDb).

Message is well sent and I got an answer from the echo-server...

Got a problem while trying to send a message: ``` Found a message in our database that needs to be sent with this pubkey. First 150 characters of message: 'Problem!' Traceback (most recent call last): File "/home/asta/PyBitmessage/src/bitmessageqt/__init__.py", line 1140, in updateSentItemStatusByAckdata parenPositionIndex = string.find(textToDisplay, '\n') File "/usr/lib/python2.7/string.py", line 361, in find return s.find(*args) AttributeError: 'QString' object has no attribute 'find' Traceback (most recent call last): File "/home/asta/PyBitmessage/src/bitmessageqt/__init__.py", line 1140, in updateSentItemStatusByAckdata parenPositionIndex = string.find(textToDisplay, '\n') File "/usr/lib/python2.7/string.py", line 361, in find return s.find(*args) AttributeError: 'QString' object has no attribute 'find' (For ack message) Doing proof of work... ``` It's happening just after I click on 'Send'. Message is 'Problem!', sending to echo-server (BM-orkCbppXWSqPpAxnz6jnfTZ2djb5pJKDb). Message is well sent and I got an answer from the echo-server...
Astalaseven commented 2013-06-14 15:08:20 +02:00 (Migrated from github.com)

The problem arrives with latest pull request, trying to translate the

shared.UISignalQueue.put(('updateSentItemStatusByAckdata', (ackdata, ' ... ')))
The problem arrives with latest pull request, trying to translate the ``` shared.UISignalQueue.put(('updateSentItemStatusByAckdata', (ackdata, ' ... '))) ```
nimdahk commented 2013-08-13 00:44:35 +02:00 (Migrated from github.com)

Please close this issue.

Please close this issue.
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Bitmessage/PyBitmessage-2024-11-28#213
No description provided.