Comments (10)
Thanks for the report. (I updated your comment because the type was invisible.)
Looks like file mtime
s are float
s, which can't be bencode
d. The simplest solution will be to coerce the types to int
, but I'll need to decide whether it's better to do that when writing to file or when reading the mtime
s in the first place. From a quick glance, BitTornado doesn't actually use the mtime
, so it probably doesn't matter, but I'll want to look a little closer before breaking something.
from bittornado.
Can you verify that the issue_25 branch solves your problem?
from bittornado.
Ok, I'm running the tracker, I'll report back after about 30-60min, or earlier, depending if the issue pops up again or not.
from bittornado.
I was able to produce the error by hitting Control-C, forcing it to save the state file and close. And the default save interval is 300s (5min).
from bittornado.
Is that the same error? (I didn't really check that, thought it was normal because I'm forcing it to close, happens with a lot of programs), sometimes it happens and sometimes it doesn't.
from bittornado.
Yeah. It goes through Tracker.save_state
, which is called at intervals and at shutdown.
In general, tracebacks are a bad sign. If you encounter them when exiting any BitTornado programs, feel free to start another issue.
from bittornado.
Well I just use the tracker, so can't really tell. Atm I have no need for the other programs ^^
from bittornado.
How'd your tests go?
from bittornado.
Haven't gotten any errors until now, I restarted it a few times (force closing with CTRL+C) but it saved the dstate file just fine, so I think it's fixed now?
from bittornado.
Sounds good. Merging.
from bittornado.
Related Issues (20)
- allow anonymous connections via i2p HOT 2
- Create torrents from a list of files HOT 9
- can not share data with the same btdownloadheadless.py client each other. HOT 12
- AttributeError: 'NatCheck' object has no attribute 'bufferlen' HOT 5
- OSError: [Errno 107] Transport endpoint is not connected HOT 8
- ImportError: cannot import name HTTPSConnection HOT 4
- Error creating announcers HOT 7
- KeyError: b'-UT2210-\xd6b\xd8\xbf\xe0\xcf\xc1\xe9E\x94\x1d\xc6' HOT 4
- KeyError: 0 HOT 3
- how can the btmakemetafile.py support filename include Chinese ? HOT 5
- if the leecher sudden disconnection.how to give hint or exit the download script? HOT 2
- timeout exceeded HOT 3
- Invalid key: path.utf-8 HOT 3
- codec can't decode byte 0xa0 in position 13 HOT 6
- Python3.6 can't work HOT 1
- Please implement --allow-insecure-filename HOT 6
- btmakemetafile fills screen HOT 2
- Downloader doesn't work out of the box?
- KeyError: 'Invalid key: attr' HOT 2
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 bittornado.