Giter VIP home page Giter VIP logo

Comments (6)

rndusr avatar rndusr commented on May 30, 2024

from torf.

romanoh avatar romanoh commented on May 30, 2024

Sorry for my bad English, question edited.

from torf.

rndusr avatar rndusr commented on May 30, 2024

from torf.

romanoh avatar romanoh commented on May 30, 2024

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.

rndusr avatar rndusr commented on May 30, 2024

from torf.

romanoh avatar romanoh commented on May 30, 2024

Thank you.

from torf.

Related Issues (20)

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.