Code Monkey home page Code Monkey logo

bmwrapper's People

Contributors

arceliar avatar ehmry avatar eylrid avatar jimmysong avatar stuffo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bmwrapper's Issues

bmwrapper crashes when attempting to download messages

When attempting to poll bmwrapper using fetchmail this happens:

2014-01-13 11:03:44,172 INFO - Press Ctrl+C to exit.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 808, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 761, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/bmwrapper/incoming.py", line 248, in incomingServer_main
    sock.close()
AttributeError: 'NoneType' object has no attribute 'close'

undo broadcast workaround

The following is a workaround in the code that should be reverted to reflect the new from chan to chan method. Instead it should return "[email protected]" as the recipient.

if  Broadcast' in toAddress:
      toAddress = fromAddress

bmwrapper crashes when fetching mail using thunderbird

I googled part of the error I'm getting and saw issue #7 here.

My setup:
Thunderbird 24.2.0
bmwrapper latest git pull
bitmessage latest git pull

I'm pretty sure I've set this up correctly according to the youtube video. I'm able to send BM messages using thunderbird/bmwrapper but when tbird polls for messages it crashes. Here's the output. You can see the list worked and saw 3 messages in my BM inbox.

2014-05-24 12:55:54,179 INFO - Press Ctrl+C to exit.
2014-05-24 12:56:05,845 DEBUG - Parsing msg 1 of 3
2014-05-24 12:56:05,850 DEBUG - Parsing msg 2 of 3
2014-05-24 12:56:05,852 DEBUG - Parsing msg 3 of 3
2014-05-24 12:56:05,854 DEBUG - Answering STAT: 3 9213
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)
File "/home/user/bmwrapper/incoming.py", line 256, in incomingServer_main
conn.sendall(cmd(data))
File "/home/user/bmwrapper/incoming.py", line 64, in handleList
cmd, msgId = data.split()
ValueError: need more than 1 value to unpack

Odd handling of replies

Replies get parsed out and put into the end of the message. Messages should be sent as-is.

add contact name to address

In classical e-mailing you can add your name in a more readable format to the e-mail address, e.g. John Doe <[email protected]>. The same should be true for bmwrapper too: John Doe <[email protected]>.

Bmwrapper should first take the contact info from the identities in the bmclient. If it is not in there take it from the addressbook. For broadcast messages it should finally querry the information from the subscriptions if it is neither in the identities or in the addressbook.

Like this there is no need to set up contacts in Thunderbird (or other mail programs).

Allow polling of a single address

In a setup where there are multiple addresses in a Bitmessage node, I'd like to be able to download only the messages that have been sent to a single address instead of all the addresses.

Perhaps it could work that if the username passed via POP matches an address belonging to the node you only get that address's messages, and if the username doesn't match you get all messages (current behavior).

apiInit not defined error

I run python main.py and bmwrapper starts up fine. When I try to send a message over SMTP (through thunderbird), the console spits out the following:

error: uncaptured python exception, closing channel <smtpd.SMTPChannel connected 127.0.0.1:33541 at 0xca15a8> (<type 'exceptions.NameError'>:global name 'apiInit' is not defined [/usr/lib/python2.7/asyncore.py|read|83] [/usr/lib/python2.7/asyncore.py|handle_read_event|449] [/usr/lib/python2.7/asynchat.py|handle_read|158] [/usr/lib/python2.7/smtpd.py|found_terminator|181] [/home/jacob/src/bmwrapper/outgoing.py|process_message|23] [/home/jacob/src/bmwrapper/bminterface.py|send|68] [/home/jacob/src/bmwrapper/bminterface.py|_sendBroadcast|40] [/home/jacob/src/bmwrapper/bminterface.py|_makeApi|30] [/home/jacob/src/bmwrapper/bminterface.py|_getConfig|15] [/home/jacob/src/bmwrapper/bminterface.py|apiData|185])

It seems bmwrapper is missing apiInit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.