Comments (6)
from torf.
Sorry for my bad English, question edited.
from torf.
from torf.
Ok, i made a new py file, eliminate everything, and use this code:
folder_path = "D:/TORRENT FILE/Before the End"
file_path = ''
if file_path == '':
print('INFO-Tor: Creating Torrent...please wait')
# Make torrent from folder
t = Torrent(path=folder_path,
trackers=['https://example.me:2910/announce'],
comment='some comment ')
t.exclude_globs('*.nfo')
t.private = True
t.generate()
t.write(folder_path + '.torrent')
The error is:
Traceback (most recent call last):
File "D:\folder\test---2.py", line 98, in <module>
t.exclude_globs('*.nfo')
TypeError: 'MonitoredList' object is not callable
and the traceback from debug:
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm Community Edition 2020.3.3\plugins\python-ce\helpers\pydev\pydevd.py", line 1477, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "C:\Program Files\JetBrains\PyCharm Community Edition 2020.3.3\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:/folder/test---2.py", line 13, in <module>
t.exclude_globs('*.nfo')
TypeError: 'MonitoredList' object is not callable
thank you for the torf and help.
from torf.
from torf.
Thank you.
from torf.
Related Issues (20)
- Wrong hash returned HOT 3
- Trying to create torrent with single announce url HOT 3
- How do I set piece_size_min, piece_size_max? HOT 1
- torrent.generate(callback, interval=1) outputs TypeError HOT 3
- How to modify the torrent file? HOT 6
- wrong infohash HOT 2
- File conflict with python-hypothesis HOT 4
- v2 Torrent - Invalid metainfo: Missing 'pieces' in ['info'] HOT 1
- A question about source flag. HOT 1
- Is it possible to use single file with multi-file type directory struture? HOT 4
- Missing __enter and __exit method HOT 8
- How can I make it not create a directory HOT 1
- Is it possible to add a file with a different filename inside the torrent? HOT 4
- Too many open files HOT 5
- Piece size not power of two HOT 5
- [Feature request]load torrent file from bytes object. HOT 1
- infohash got changed after load, without any modification HOT 1
- Add link to torf-gui in readme HOT 5
- Parse magnet link? HOT 6
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 torf.