Comments (3)
I've started troubleshooting this. First thing I did was update the scripts to have nicer command-line handling (e42b79ce39ad). After that, I ran the send and receive scripts in separate windows:
.\scripts\dccreceive irc.freenode.net irclib_recv
.\scripts\dccsend.py irc.freenode.net irclib_send irclib_recv .\scripts\dccsend.py
However, when I did this, I got an error in the sender.
Traceback (most recent call last):
File "C:\Users\jaraco\projects\irc\scripts\dccsend.py", line 90, in <module>
main()
File "C:\Users\jaraco\projects\irc\scripts\dccsend.py", line 87, in main
c.start()
File "C:\Program Files\Python33\lib\site-packages\irc-8.3.1-py3.3.egg\irc\client.py", line 1211, in start
File "C:\Program Files\Python33\lib\site-packages\irc-8.3.1-py3.3.egg\irc\client.py", line 264, in process_forever
File "C:\Program Files\Python33\lib\site-packages\irc-8.3.1-py3.3.egg\irc\client.py", line 245, in process_once
File "C:\Program Files\Python33\lib\site-packages\irc-8.3.1-py3.3.egg\irc\client.py", line 210, in process_data
File "C:\Program Files\Python33\lib\site-packages\irc-8.3.1-py3.3.egg\irc\client.py", line 1084, in process_data
File "C:\Program Files\Python33\lib\site-packages\irc-8.3.1-py3.3.egg\irc\client.py", line 384, in _handle_event
File "C:\Program Files\Python33\lib\site-packages\irc-8.3.1-py3.3.egg\irc\client.py", line 1174, in _dispatcher
File "C:\Users\jaraco\projects\irc\scripts\dccsend.py", line 39, in on_dcc_connect
self.send_chunk()
File "C:\Users\jaraco\projects\irc\scripts\dccsend.py", line 62, in send_chunk
self.dcc.send_bytes(data)
AttributeError: 'DCCConnection' object has no attribute 'send_bytes'
So I think I need to tackle that issue next.
Original comment by: Jason R. Coombs
from irc.
The issue with send_bytes being missing was due to a packaging error (the modules weren't being consistently imported).
In 681fdb9be7e8, I fixed an issue with sending binary files on Python 3. After that, I was able to do a full round-trip.
> python scripts/dccsend irc.freenode.net irclib_send irclib_recv scripts/dccsend.py
Sent file scripts/dccsend.py (2646 bytes).
> python scripts/dccreceive irc.freenode.net irclib_recv
Received file dccsend.py (2646 bytes).
Original comment by: Jason R. Coombs
from irc.
Please try again with 8.5.2. If you continue to have issues, run the scripts with "-l DEBUG" and report back with the output.
Original comment by: Jason R. Coombs
from irc.
Related Issues (20)
- How to cleanly stop a reactor? HOT 2
- why do I get this error when using Pidgin client for connecting to IRC? ERROR :Closing Link: c-66-31-107-137.hsd1.ma.comcast.net (*** Banned ) HOT 1
- How to get connection log? HOT 3
- Add example on how to send a message to a channel HOT 1
- How can i print irc messages in my console?
- Disconnect issue HOT 1
- Implement default handler if nothing matches HOT 1
- [AIO] No client side ping-pong
- [AIO] Excess flood prevention HOT 3
- [AIO] Registering a connection needs to be split out of connect() HOT 1
- [AIO] Connection real_nickname must not be set before registration HOT 1
- [AIO] Implement SASL PLAIN with expect() flow
- High CPU usage in irc.server. HOT 1
- Add support for ignoring ssl validation in the examples HOT 2
- Add support for SASL HOT 4
- In tests DeprecationWarning no event loop
- ValueError when trying to download using DCC HOT 2
- Basic irc bot HOT 1
- DCC Transfers getting stuck HOT 1
- Test regressions: irc/dict.py::irc.dict.IRCDict, irc/strings.py::irc.strings.IRCFoldedCase
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irc.