Quantcast
Channel: help - Forum - FlexGet
Viewing all 837 articles
Browse latest View live

[webui 2.0.1] how to add series or edit config?

$
0
0

@shotfirer wrote:

I can't get the principles behind the new webUI. It looks great, but far less usable at this point than version 2.0.
Config editor is gone, and it seems there's no way to configure a new series. It's being added to database (ot it says so) and that's it, I couldn't find a way to configure it. Is there a way to add series to config from webUI?
Also there's something weird going on with parsing or smth. For example, I'm adding a new series called "Deputy", with begin episode set to s01e02. WebUI takes me to page with this episode, however for some reason it's displayed as s02e01 (season and ep. # switched places). Not sure if it's related to webUI though...
And the last but not least. After all manipulations I can see "Deputy" in the "Unconfigured" list in WebUI, but it's missing from flexget series list database. Where does it stored?
So, is there any way to configure a new series and add it to config (or do any config editing) in the new webUI?

Posts: 1

Participants: 1

Read full topic


Tmdb Bug after Update to 3.1.1

$
0
0

@Feromon wrote:

Hallo, after Update to 3.1.1 i have this in my log if i try to open movie tmdb site from webui entry list:

2020-01-09 12:19:25 ERROR    flask.app                     Exception on /tmdb/movies [GET]
Traceback (most recent call last):

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 1246, in _execute_context
    cursor, statement, parameters, context
    │       │          │           └ <sqlalchemy.dialects.sqlite.base.SQLiteExecutionContext object at 0x673b6e10>
    │       │          └ ('исцеляющая', 499170)
    │       └ 'INSERT INTO tmdb_search_results (search, movie_id) VALUES (?, ?)'
    └ <sqlite3.Cursor object at 0x66f67220>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/default.py", line 581, in do_execute
    cursor.execute(statement, parameters)
    │      │       │          └ ('исцеляющая', 499170)
    │      │       └ 'INSERT INTO tmdb_search_results (search, movie_id) VALUES (?, ?)'
    │      └ <method 'execute' of 'sqlite3.Cursor' objects>
    └ <sqlite3.Cursor object at 0x66f67220>

sqlite3.IntegrityError: UNIQUE constraint failed: tmdb_search_results.search


The above exception was the direct cause of the following exception:


Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 884, in _bootstrap
    self._bootstrap_inner()
    │    └ <function Thread._bootstrap_inner at 0x758dbcd8>
    └ <WorkerThread(CP Server Thread-7, started 1807742048)>
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
    │    └ <function WorkerThread.run at 0x740fcd20>
    └ <WorkerThread(CP Server Thread-7, started 1807742048)>

  File "/usr/local/lib/python3.6/dist-packages/cheroot/workers/threadpool.py", line 125, in run
    keep_conn_open = conn.communicate()
                     │    └ <function HTTPConnection.communicate at 0x74087bb8>
                     └ <cheroot.server.HTTPConnection object at 0x6c748a90>

  File "/usr/local/lib/python3.6/dist-packages/cheroot/server.py", line 1280, in communicate
    req.respond()
    │   └ <function HTTPRequest.respond at 0x74087a08>
    └ <cherrypy._cpwsgi_server.CPWSGIHTTPRequest object at 0x66f90210>

  File "/usr/local/lib/python3.6/dist-packages/cheroot/server.py", line 1083, in respond
    self.server.gateway(self).respond()
    │    │      │       └ <cherrypy._cpwsgi_server.CPWSGIHTTPRequest object at 0x66f90210>
    │    │      └ <class 'cheroot.wsgi.Gateway_10'>
    │    └ <cherrypy._cpwsgi_server.CPWSGIServer object at 0x702529f0>
    └ <cherrypy._cpwsgi_server.CPWSGIHTTPRequest object at 0x66f90210>

  File "/usr/local/lib/python3.6/dist-packages/cheroot/wsgi.py", line 143, in respond
    response = self.req.server.wsgi_app(self.env, self.start_response)
               │    │   │      │        │    │    │    └ <function Gateway.start_response at 0x7015cc00>
               │    │   │      │        │    │    └ <cheroot.wsgi.Gateway_10 object at 0x66f90f50>
               │    │   │      │        │    └ {'ACTUAL_SERVER_PROTOCOL': 'HTTP/1.1', 'PATH_INFO': '/flexget/api/tmdb/movies', 'QUERY_STRING': 'title=%D0%98%D1%81%D1%86%D0%...
               │    │   │      │        └ <cheroot.wsgi.Gateway_10 object at 0x66f90f50>
               │    │   │      └ <cherrypy._cptree.Tree object at 0x740b1610>
               │    │   └ <cherrypy._cpwsgi_server.CPWSGIServer object at 0x702529f0>
               │    └ <cherrypy._cpwsgi_server.CPWSGIHTTPRequest object at 0x66f90210>
               └ <cheroot.wsgi.Gateway_10 object at 0x66f90f50>

  File "/usr/local/lib/python3.6/dist-packages/cherrypy/_cptree.py", line 302, in __call__
    return app(environ, start_response)
           │   │        └ <bound method Gateway.start_response of <cheroot.wsgi.Gateway_10 object at 0x66f90f50>>
           │   └ {'ACTUAL_SERVER_PROTOCOL': 'HTTP/1.1', 'PATH_INFO': '/tmdb/movies', 'QUERY_STRING': 'title=%D0%98%D1%81%D1%86%D0%B5%D0%BB%D1%...
           └ <Flask 'flexget.api.app'>

  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
           │    │        │        └ <bound method Gateway.start_response of <cheroot.wsgi.Gateway_10 object at 0x66f90f50>>
           │    │        └ {'ACTUAL_SERVER_PROTOCOL': 'HTTP/1.1', 'PATH_INFO': '/tmdb/movies', 'QUERY_STRING': 'title=%D0%98%D1%81%D1%86%D0%B5%D0%BB%D1%...
           │    └ <function Flask.wsgi_app at 0x73868198>
           └ <Flask 'flexget.api.app'>

  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
               │    └ <function Flask.full_dispatch_request at 0x73865cd8>
               └ <Flask 'flexget.api.app'>

> File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
         │    └ <function Flask.dispatch_request at 0x73865c90>
         └ <Flask 'flexget.api.app'>

  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
           │    │              │    │           │   └ {}
           │    │              │    │           └ <Request 'https://feromon.spdns.de:3539/flexget/api/tmdb/movies?title=Исцеляющая' [GET]>
           │    │              │    └ 'tmdb_tmdb_movies_api'
           │    │              └ <Rule '/tmdb/movies/' (OPTIONS, HEAD, GET) -> tmdb_tmdb_movies_api>
           │    └ {'static': <bound method _PackageBoundObject.send_static_file of <Flask 'flexget.api.app'>>, 'specs': <function View.as_view....
           └ <Flask 'flexget.api.app'>

  File "/usr/local/lib/python3.6/dist-packages/flask_restplus/api.py", line 313, in wrapper
    resp = resource(*args, **kwargs)
           │         │       └ {}
           │         └ ()
           └ <function View.as_view.<locals>.view at 0x706d0300>

  File "/usr/local/lib/python3.6/dist-packages/flask/views.py", line 88, in view
    return self.dispatch_request(*args, **kwargs)
           │    │                 │       └ {}
           │    │                 └ ()
           │    └ <function Resource.dispatch_request at 0x7375d6f0>
           └ <flexget.components.tmdb.api.TMDBMoviesAPI object at 0x66f90050>

  File "/usr/local/lib/python3.6/dist-packages/flask_restplus/resource.py", line 44, in dispatch_request
    resp = meth(*args, **kwargs)
           │     │       └ {}
           │     └ ()
           └ <function with_session.<locals>.decorator.<locals>.wrapper at 0x66f58150>

  File "/usr/local/lib/python3.6/dist-packages/flexget/api/app.py", line 74, in wrapped
    rv = f(*args, **kwargs)
         │  │       └ {}
         │  └ ()
         └ <function with_session.<locals>.decorator.<locals>.wrapper at 0x66f58660>

  File "/usr/local/lib/python3.6/dist-packages/flexget/utils/database.py", line 30, in wrapper
    return func(*args, **kwargs)
           │     │       └ {'session': <sqlalchemy.orm.session.ContextSession object at 0x6c748190>}
           │     └ ()
           └ <bound method TMDBMoviesAPI.get of <flexget.components.tmdb.api.TMDBMoviesAPI object at 0x66f90050>>

  File "/usr/local/lib/python3.6/dist-packages/flexget/api/app.py", line 367, in wrapped
    rv = method(*args, **kwargs)
         │       │       └ {'session': <sqlalchemy.orm.session.ContextSession object at 0x6c748190>}
         │       └ (<flexget.components.tmdb.api.TMDBMoviesAPI object at 0x66f90050>,)
         └ <function TMDBMoviesAPI.get at 0x706d0468>

  File "/usr/local/lib/python3.6/dist-packages/flexget/components/tmdb/api.py", line 136, in get
    movie = lookup(session=session, **args)
            │              │          └ {'title': 'Исцеляющая', 'tmdb_id': None, 'language': None, 'year': None, 'only_cached': None}
            │              └ <sqlalchemy.orm.session.ContextSession object at 0x6c748190>
            └ <function with_session.<locals>.decorator.<locals>.wrapper at 0x7067ee40>

  File "/usr/local/lib/python3.6/dist-packages/flexget/utils/database.py", line 27, in wrapper
    return func(*args, **kwargs)
           │     │       └ {'session': <sqlalchemy.orm.session.ContextSession object at 0x6c748190>, 'title': 'Исцеляющая', 'tmdb_id': None, 'language':...
           │     └ ()
           └ <function ApiTmdb.lookup at 0x7066edf8>

  File "/usr/local/lib/python3.6/dist-packages/flexget/components/tmdb/api_tmdb.py", line 405, in lookup
    movie = session.merge(movie)
            │       │     └ <flexget.components.tmdb.api_tmdb.TMDBMovie object at 0x66f90470>
            │       └ <function Session.merge at 0x74702d20>
            └ <sqlalchemy.orm.session.ContextSession object at 0x6c748190>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/orm/session.py", line 2093, in merge
    self._autoflush()
    │    └ <function Session._autoflush at 0x74702780>
    └ <sqlalchemy.orm.session.ContextSession object at 0x6c748190>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/orm/session.py", line 1588, in _autoflush
    util.raise_from_cause(e)
    │    └ <function raise_from_cause at 0x74c6d0c0>
    └ <module 'sqlalchemy.util' from '/usr/local/lib/python3.6/dist-packages/sqlalchemy/util/__init__.py'>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
    │            │           │             │             └ None
    │            │           │             └ <traceback object at 0x673b5e90>
    │            │           └ IntegrityError('(sqlite3.IntegrityError) UNIQUE constraint failed: tmdb_search_results.search',)
    │            └ IntegrityError('(sqlite3.IntegrityError) UNIQUE constraint failed: tmdb_search_results.search',)
    └ <function reraise at 0x74c4ee88>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/util/compat.py", line 153, in reraise
    raise value
          └ IntegrityError('(sqlite3.IntegrityError) UNIQUE constraint failed: tmdb_search_results.search',)

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/orm/session.py", line 1577, in _autoflush
    self.flush()
    │    └ <function Session.flush at 0x747000c0>
    └ <sqlalchemy.orm.session.ContextSession object at 0x6c748190>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/orm/session.py", line 2470, in flush
    self._flush(objects)
    │    │      └ None
    │    └ <function Session._flush at 0x74700198>
    └ <sqlalchemy.orm.session.ContextSession object at 0x6c748190>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/orm/session.py", line 2608, in _flush
    transaction.rollback(_capture_exception=True)
    │           └ <function SessionTransaction.rollback at 0x746fef60>
    └ <sqlalchemy.orm.session.SessionTransaction object at 0x6bd83710>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/util/langhelpers.py", line 68, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
    │      │       │         │          └ <traceback object at 0x6bdddc88>
    │      │       │         └ IntegrityError('(sqlite3.IntegrityError) UNIQUE constraint failed: tmdb_search_results.search',)
    │      │       └ <class 'sqlalchemy.exc.IntegrityError'>
    │      └ <function reraise at 0x74c4ee88>
    └ <module 'sqlalchemy.util.compat' from '/usr/local/lib/python3.6/dist-packages/sqlalchemy/util/compat.py'>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/util/compat.py", line 153, in reraise
    raise value
          └ IntegrityError('(sqlite3.IntegrityError) UNIQUE constraint failed: tmdb_search_results.search',)

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/orm/session.py", line 2568, in _flush
    flush_context.execute()
    │             └ <function UOWTransaction.execute at 0x746dd108>
    └ <sqlalchemy.orm.unitofwork.UOWTransaction object at 0x6c748170>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/orm/unitofwork.py", line 422, in execute
    rec.execute(self)
    │   │       └ <sqlalchemy.orm.unitofwork.UOWTransaction object at 0x6c748170>
    │   └ <function SaveUpdateAll.execute at 0x746dd540>
    └ SaveUpdateAll(mapped class TMDBSearchResult->tmdb_search_results)

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/orm/unitofwork.py", line 589, in execute
    uow,
    └ <sqlalchemy.orm.unitofwork.UOWTransaction object at 0x6c748170>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/orm/persistence.py", line 245, in save_obj
    insert,
    └ <generator object _collect_insert_commands at 0x66f7c210>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/orm/persistence.py", line 1084, in _emit_insert_statements
    c = cached_connections[connection].execute(statement, multiparams)
        │                  │                   │          └ [{'search': 'исцеляющая', 'movie_id': 499170}]
        │                  │                   └ <sqlalchemy.sql.dml.Insert object at 0x7019d4b0>
        │                  └ <sqlalchemy.engine.base.Connection object at 0x673b6430>
        └ {<sqlalchemy.engine.base.Connection object at 0x673b6430>: <sqlalchemy.engine.base.Connection object at 0x6bd830d0>}

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 982, in execute
    return meth(self, multiparams, params)
           │    │     │            └ {}
           │    │     └ ([{'search': 'исцеляющая', 'movie_id': 499170}],)
           │    └ <sqlalchemy.engine.base.Connection object at 0x6bd830d0>
           └ <bound method ClauseElement._execute_on_connection of <sqlalchemy.sql.dml.Insert object at 0x7019d4b0>>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/sql/elements.py", line 287, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
           │          │                      │     │            └ {}
           │          │                      │     └ ([{'search': 'исцеляющая', 'movie_id': 499170}],)
           │          │                      └ <sqlalchemy.sql.dml.Insert object at 0x7019d4b0>
           │          └ <function Connection._execute_clauseelement at 0x7495b300>
           └ <sqlalchemy.engine.base.Connection object at 0x6bd830d0>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 1101, in _execute_clauseelement
    distilled_params,
    └ [{'search': 'исцеляющая', 'movie_id': 499170}]

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 1250, in _execute_context
    e, statement, parameters, cursor, context
       │          │           │       └ <sqlalchemy.dialects.sqlite.base.SQLiteExecutionContext object at 0x673b6e10>
       │          │           └ <sqlite3.Cursor object at 0x66f67220>
       │          └ ('исцеляющая', 499170)
       └ 'INSERT INTO tmdb_search_results (search, movie_id) VALUES (?, ?)'

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 1476, in _handle_dbapi_exception
    util.raise_from_cause(sqlalchemy_exception, exc_info)
    │    │                │                     └ (<class 'sqlite3.IntegrityError'>, IntegrityError('UNIQUE constraint failed: tmdb_search_results.search',), <traceback object...
    │    │                └ IntegrityError('(sqlite3.IntegrityError) UNIQUE constraint failed: tmdb_search_results.search',)
    │    └ <function raise_from_cause at 0x74c6d0c0>
    └ <module 'sqlalchemy.util' from '/usr/local/lib/python3.6/dist-packages/sqlalchemy/util/__init__.py'>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
    │            │           │             │             └ IntegrityError('UNIQUE constraint failed: tmdb_search_results.search',)
    │            │           │             └ <traceback object at 0x673b40a8>
    │            │           └ IntegrityError('(sqlite3.IntegrityError) UNIQUE constraint failed: tmdb_search_results.search',)
    │            └ IntegrityError('(sqlite3.IntegrityError) UNIQUE constraint failed: tmdb_search_results.search',)
    └ <function reraise at 0x74c4ee88>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/util/compat.py", line 152, in reraise
    raise value.with_traceback(tb)
          │     │              └ <traceback object at 0x673b40a8>
          │     └ <method 'with_traceback' of 'BaseException' objects>
          └ IntegrityError('(sqlite3.IntegrityError) UNIQUE constraint failed: tmdb_search_results.search',)

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 1246, in _execute_context
    cursor, statement, parameters, context
    │       │          │           └ <sqlalchemy.dialects.sqlite.base.SQLiteExecutionContext object at 0x673b6e10>
    │       │          └ ('исцеляющая', 499170)
    │       └ 'INSERT INTO tmdb_search_results (search, movie_id) VALUES (?, ?)'
    └ <sqlite3.Cursor object at 0x66f67220>

  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/default.py", line 581, in do_execute
    cursor.execute(statement, parameters)
    │      │       │          └ ('исцеляющая', 499170)
    │      │       └ 'INSERT INTO tmdb_search_results (search, movie_id) VALUES (?, ?)'
    │      └ <method 'execute' of 'sqlite3.Cursor' objects>
    └ <sqlite3.Cursor object at 0x66f67220>

sqlalchemy.exc.IntegrityError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
(sqlite3.IntegrityError) UNIQUE constraint failed: tmdb_search_results.search
[SQL: INSERT INTO tmdb_search_results (search, movie_id) VALUES (?, ?)]
[parameters: ('исцеляющая', 499170)]
(Background on this error at: http://sqlalche.me/e/gkpj)

Posts: 1

Participants: 1

Read full topic

Limetorrents Plugin returning Network error during request: 503 Server Error: Service Temporarily Unavailable for url:

$
0
0

@erostgol wrote:

Hi Guys,Network error during request: 503 Server Error: Service Temporarily Unavailable for url:

Quick question I keep getting a Network error during request: 503 Server Error: Service Temporarily Unavailable for url: when trying to pull a torrent from limetorrents into transmission. Is anyone else having this issue or know how to solve it?

Posts: 1

Participants: 1

Read full topic

Cannot update from 3.0.31 to the latest flexget version

$
0
0

@EVANGELOS_KASOTIS wrote:

Good morning to all.

It's been several days since I've been trying to upgrade flexget from 3.0.31 to its latest version, yet it seems to be an error while trying to build wheel for xml. Also at some point my raspberry reboots, thus I do not get the full error log.

I've managed to rescue some

copying src/lxml/html/ElementSoup.py -> build/lib.linux-armv7l-3.6/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-armv7l-3.6/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-armv7l-3.6/lxml/html
creating build/lib.linux-armv7l-3.6/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.linux-armv7l-3.6/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.linux-armv7l-3.6/lxml
copying src/lxml/etree_api.h -> build/lib.linux-armv7l-3.6/lxml
copying src/lxml/lxml.etree.h -> build/lib.linux-armv7l-3.6/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-armv7l-3.6/lxml
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/__init__.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-armv7l-3.6/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-armv7l-3.6/lxml/includes
creating build/lib.linux-armv7l-3.6/lxml/isoschematron/resources
creating build/lib.linux-armv7l-3.6/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-armv7l-3.6/lxml/isoschematron/resources/rng
creating build/lib.linux-armv7l-3.6/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-armv7l-3.6/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-armv7l-3.6/lxml/isoschematron/resources/xsl
creating build/lib.linux-armv7l-3.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-armv7l-3.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-armv7l-3.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-armv7l-3.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-armv7l-3.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-armv7l-3.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-armv7l-3.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-armv7l-3.6
creating build/temp.linux-armv7l-3.6/src
creating build/temp.linux-armv7l-3.6/src/lxml
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/local/include/python3.6m -c src/lxml/etree.c -o build/temp.linux-armv7l-3.6/src/lxml/etree.o -w
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
Compile failed: command 'gcc' failed with exit status 4
cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInitufb04ywo.c -o tmp/xmlXPathInitufb04ywo.o
/tmp/xmlXPathInitufb04ywo.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main (int argc, char **argv) {
 ^~~~
cc tmp/xmlXPathInitufb04ywo.o -lxml2 -o a.out
error: command 'gcc' failed with exit status 4
----------------------------------------

ERROR: Command errored out with exit status 1: /usr/local/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0xa0xhkn/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-0xa0xhkn/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-a4_3nr67/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

Can someone help?
Thanks in advance
Vangelis

Posts: 7

Participants: 3

Read full topic

Getting Python errors after config change

$
0
0

@Karmalakas wrote:

Was using Flexget for a while without a problem. Decided to organize a bit my file structure and deleted one folder I was using in Flexget config for file watching. Of course Flexget gave an error and stopped working.

I fixed config and it started running as usual, except that it didn't. It ran for a few hours or a day and then suddenly crashed. Sending any command gives an error. The only way to stop daemon is to restart PC. Then running flexget-headless daemon start --autoreload-config starts daemon as usual and then as usual it just crashes at some point.

Went through config countless times already.
Any help appreciated

Errors bellow:

Posts: 1

Participants: 1

Read full topic

Remove torrents on different tracker by different setting

$
0
0

@fisherman3426 wrote:

I am trying to use two tasks to remove torrents from two trackers by different settings.

For example, I download from HD-Torrents and IPTorrents. For IPTorrents I want to seed 3 days before remove the torrents. For HD-Torrents, I want to seed 1 day before remove the torrents. In the link for Torrent Cleanup Task https://flexget.com/Cookbook/TorrentCleanup there is a option for remove torrents from a specific tracker.

'''
regexp:
reject_excluding:
- my_tracker:
from: transmission_trackers
'''

But the problem for me is how can I writhe the column for "my_tracker:". Shall I just write the full name of IPTorrents and HD-Torrents or any abbreviation or can I find such information from somewhere in torrent client.

Thanks in advance.

Posts: 1

Participants: 1

Read full topic

Failed to merge configs for task download-series-rss: u"Merging key trakt_lookup failed, conflicting datatypes 'bool' vs. 'dict'

Limetorrents request failed: 503 Server Error: Service Unavailable

$
0
0

@effemmeffe wrote:

I get a lot of similar lines like this in my log:
2020-01-20 00:31 ERROR limetorrents download-movies-1080p-discover Limetorrents request failed: 503 Server Error: Service Unavailable for url: https://www.limetorrents.info/search/movies/murder-on-the-orient-express-2017-/

If I go to the linked URL I get a webpage, but it seemes that flexget is getting a 503 error instead. Any idea why and what should I do to correct it?

My config: https://github.com/effemmeffe/flexget/blob/master/config.yml

Posts: 1

Participants: 1

Read full topic


Problems since TVDB API Update

$
0
0

@kmart wrote:

Hi All,

I created a flexget config several years ago and my seedbox has been running problem free since.

The TVDB updated its API and i had an issue when they weren't returning favorites properly.but because i didn't know it was the TVDB i updated everything and pulled my hair out until i saw a post here saying what the issue was.

So i used a backup config that only used my rss feed from showRSS which worked fine.

Once TVDB was fixed i switched back to the old config with the updated API key and account ID. It's been a few weeks and i realized that I have no new downloads. Looking at the logs i don't know what the deal is, aside from TVDB timing out it's saying my config has no input filters but this has worked for years.

$ flexget -V
3.1.10
You are on the latest release.

My config:

templates:
  tvshows:
    transmission:
      host: localhost
      port: 9091
      username: username
      password: password
      path: /path/to/shows/{{series_name}}/Season {{series_season}}
    configure_series:
      from:
        thetvdb_list:
          username: username
          account_id: TVDBAccountID
          api_key: newTVDBAPIKey
          strip_dates: yes
      settings:
        target: 720p+
        propers: 3 days
tasks:
  ShowRSS:
    rss:
      url: http://showrss.info/user/48286.rss?magnets=true&namespaces=true&name=null&quality=null&re=null
      all_entries: no
    template: tvshows
    priority: 3

  RARBG:
    rss:
      url: https://rarbg.to/rssdd.php?category=49
      all_entries: no
    template: tvshows
    priority: 1

  EZTV:
    rss:
      url: https://eztv.io/ezrss.xml
      all_entries: no
    template: tvshows
    priority: 2

And this is the log when i execute with debug logging:

2020-01-20 20:28:58 DEBUG    manager                       Figuring out config load paths
2020-01-20 20:28:58 DEBUG    manager                       Found config: /EXT/kevin/.flexget/config.yml
2020-01-20 20:28:58 DEBUG    manager                       Config file /EXT/kevin/.flexget/config.yml selected
2020-01-20 20:28:58 DEBUG    manager                       sys.defaultencoding: utf-8
2020-01-20 20:28:58 DEBUG    manager                       sys.getfilesystemencoding: utf-8
2020-01-20 20:28:58 DEBUG    manager                       flexget detected io encoding: utf-8
2020-01-20 20:28:58 DEBUG    manager                       os.path.supports_unicode_filenames: False
2020-01-20 20:28:58 DEBUG    manager                       Sending command to running FlexGet process: ['--loglevel', 'debug', 'execute']
2020-01-20 20:28:58 DEBUG    cron_env                      Encoding utf-8 stored
2020-01-20 20:28:58 DEBUG    util.simple_persistence                 setting key terminal_encoding value 'utf-8'
2020-01-20 20:28:58 DEBUG    task          RARBG           executing RARBG
2020-01-20 20:28:58 DEBUG    template      RARBG           Merging template tvshows into task RARBG
2020-01-20 20:28:58 DEBUG    api_tvdb      RARBG           Authenticating to TheTVDB with kevin1162
2020-01-20 20:28:58 DEBUG    utils.requests RARBG           POSTing URL https://api.thetvdb.com/login with args () and kwargs {'data': None, 'json': {'apikey': 'apikey', 'username': 'username', 'userkey': 'userkey'}, 'timeout': 30}
2020-01-20 20:29:28 WARNING  configure_series RARBG           Error during input plugin thetvdb_list: Error retrieving favorites from thetvdb: HTTPSConnectionPool(host='api.thetvdb.com', port=443): Read timed out. (read timeout=30)
2020-01-20 20:29:28 WARNING  configure_series RARBG           Error during input plugin thetvdb_list: Error retrieving favorites from thetvdb: HTTPSConnectionPool(host='api.thetvdb.com', port=443): Read timed out. (read timeout=30)
2020-01-20 20:29:28 INFO     configure_series RARBG           Did not get any series to generate series configuration
2020-01-20 20:29:28 INFO     configure_series RARBG           Did not get any series to generate series configuration
2020-01-20 20:29:28 DEBUG    input_cache   RARBG           cache name: rss_84ea23c175d6424ac4941c837cc68867 (has: rss_84ea23c175d6424ac4941c837cc68867, rss_a643d7faab1445121eb444b6ede32832, rss_f195b14a437135300e5fab12d7b75b57)
2020-01-20 20:29:28 VERBOSE  input_cache   RARBG           Restored entries from cache
2020-01-20 20:29:28 DEBUG    backlog       RARBG           0 entries purged from backlog
2020-01-20 20:29:28 VERBOSE  details       RARBG           Produced 25 entries.
2020-01-20 20:29:29 WARNING  task          RARBG           Task does not have any filter plugins to accept entries. You need at least one to accept the entries you  want.
2020-01-20 20:29:29 WARNING  task          RARBG           Task does not have any filter plugins to accept entries. You need at least one to accept the entries you  want.
2020-01-20 20:29:29 DEBUG    urlrewriter   RARBG           Checking 0 entries
2020-01-20 20:29:29 VERBOSE  details       RARBG           Summary - Accepted: 0 (Rejected: 0 Undecided: 25 Failed: 0)
2020-01-20 20:29:29 DEBUG    util.simple_persistence RARBG           Flushing simple persistence for task RARBG to db.
2020-01-20 20:29:29 DEBUG    util.simple_persistence RARBG           Flushing simple persistence for task None to db.
2020-01-20 20:29:29 DEBUG    task          EZTV            executing EZTV
2020-01-20 20:29:29 DEBUG    template      EZTV            Merging template tvshows into task EZTV
2020-01-20 20:29:29 DEBUG    api_tvdb      EZTV            Authenticating to TheTVDB with kevin1162
2020-01-20 20:29:29 WARNING  configure_series EZTV            Error during input plugin thetvdb_list: Error retrieving favorites from thetvdb: Requests to this site (api.thetvdb.com) have timed out recently. Waiting before trying again.
2020-01-20 20:29:29 WARNING  configure_series EZTV            Error during input plugin thetvdb_list: Error retrieving favorites from thetvdb: Requests to this site (api.thetvdb.com) have timed out recently. Waiting before trying again.
2020-01-20 20:29:29 INFO     configure_series EZTV            Did not get any series to generate series configuration
2020-01-20 20:29:29 INFO     configure_series EZTV            Did not get any series to generate series configuration
2020-01-20 20:29:29 DEBUG    input_cache   EZTV            cache name: rss_a643d7faab1445121eb444b6ede32832 (has: rss_84ea23c175d6424ac4941c837cc68867, rss_a643d7faab1445121eb444b6ede32832, rss_f195b14a437135300e5fab12d7b75b57)
2020-01-20 20:29:29 VERBOSE  input_cache   EZTV            Restored entries from cache
2020-01-20 20:29:29 DEBUG    backlog       EZTV            0 entries purged from backlog
2020-01-20 20:29:29 VERBOSE  details       EZTV            Produced 50 entries.
2020-01-20 20:29:29 WARNING  task          EZTV            Task does not have any filter plugins to accept entries. You need at least one to accept the entries you  want.
2020-01-20 20:29:29 WARNING  task          EZTV            Task does not have any filter plugins to accept entries. You need at least one to accept the entries you  want.
2020-01-20 20:29:29 DEBUG    urlrewriter   EZTV            Checking 0 entries
2020-01-20 20:29:29 VERBOSE  details       EZTV            Summary - Accepted: 0 (Rejected: 0 Undecided: 50 Failed: 0)
2020-01-20 20:29:29 DEBUG    util.simple_persistence EZTV            Flushing simple persistence for task EZTV to db.
2020-01-20 20:29:29 DEBUG    util.simple_persistence EZTV            Flushing simple persistence for task None to db.
2020-01-20 20:29:29 DEBUG    task          ShowRSS         executing ShowRSS
2020-01-20 20:29:29 DEBUG    template      ShowRSS         Merging template tvshows into task ShowRSS
2020-01-20 20:29:29 DEBUG    api_tvdb      ShowRSS         Authenticating to TheTVDB with kevin1162
2020-01-20 20:29:29 WARNING  configure_series ShowRSS         Error during input plugin thetvdb_list: Error retrieving favorites from thetvdb: Requests to this site (api.thetvdb.com) have timed out recently. Waiting before trying again.
2020-01-20 20:29:29 WARNING  configure_series ShowRSS         Error during input plugin thetvdb_list: Error retrieving favorites from thetvdb: Requests to this site (api.thetvdb.com) have timed out recently. Waiting before trying again.
2020-01-20 20:29:29 INFO     configure_series ShowRSS         Did not get any series to generate series configuration
2020-01-20 20:29:29 INFO     configure_series ShowRSS         Did not get any series to generate series configuration
2020-01-20 20:29:29 DEBUG    input_cache   ShowRSS         cache name: rss_f195b14a437135300e5fab12d7b75b57 (has: rss_84ea23c175d6424ac4941c837cc68867, rss_a643d7faab1445121eb444b6ede32832, rss_f195b14a437135300e5fab12d7b75b57)
2020-01-20 20:29:29 VERBOSE  input_cache   ShowRSS         Restored entries from cache
2020-01-20 20:29:29 DEBUG    backlog       ShowRSS         0 entries purged from backlog
2020-01-20 20:29:29 VERBOSE  details       ShowRSS         Produced 5 entries.
2020-01-20 20:29:29 WARNING  task          ShowRSS         Task does not have any filter plugins to accept entries. You need at least one to accept the entries you  want.
2020-01-20 20:29:29 WARNING  task          ShowRSS         Task does not have any filter plugins to accept entries. You need at least one to accept the entries you  want.
2020-01-20 20:29:29 DEBUG    seen          ShowRSS         Rejecting 'magnet:?xt=urn:btih:1DADBD850EEF556BB101E64AE642D4E01E4C8253&dn=Bobs+Burgers+S10E11+720p+WEB+x264+XLF&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce' 'Bobs Burgers S10E11 720p WEB x264 XLF' because of seen 'Bobs Burgers S10E11 720p WEB x264 XLF'
2020-01-20 20:29:29 VERBOSE  task          ShowRSS         REJECTED: `Bobs Burgers S10E11 720p WEB x264 XLF` by seen plugin because entry with title `Bobs Burgers S10E11 720p WEB x264 XLF` is already marked seen in the task ShowRSS at 2020-01-12 23:22
2020-01-20 20:29:29 DEBUG    seen          ShowRSS         Rejecting 'magnet:?xt=urn:btih:05E226012F9F9D26D41E630D4D37E7D9215594DE&dn=Vikings+S06E06+720p+WEB+H264+GHOSTS&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce' 'Vikings S06E06 720p WEB H264 GHOSTS' because of seen 'Vikings S06E06 720p WEB H264 GHOSTS'
2020-01-20 20:29:29 VERBOSE  task          ShowRSS         REJECTED: `Vikings S06E06 720p WEB H264 GHOSTS` by seen plugin because entry with title `Vikings S06E06 720p WEB H264 GHOSTS` is already marked seen in the task ShowRSS at 2020-01-12 16:04
2020-01-20 20:29:29 DEBUG    seen          ShowRSS         Rejecting 'magnet:?xt=urn:btih:47AF858FB510C3842A879AD75875F3E44844B04E&dn=Vikings+S06E05+720p+HDTV+x264+AVS&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce' 'Vikings S06E05 720p HDTV x264 AVS' because of seen 'Vikings S06E05 720p HDTV x264 AVS'
2020-01-20 20:29:29 VERBOSE  task          ShowRSS         REJECTED: `Vikings S06E05 720p HDTV x264 AVS` by seen plugin because entry with title `Vikings S06E05 720p HDTV x264 AVS` is already marked seen in the task ShowRSS at 2020-01-12 16:04
2020-01-20 20:29:29 DEBUG    seen          ShowRSS         Rejecting 'magnet:?xt=urn:btih:360678872687BD0CB5769CDA6C9AAB88ACB9AE2D&dn=Teen+Titans+Go+S06E09+Bat+Scouts+720p+AMZN+WEBRip+DDP2+0+x264+LAZY&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce' 'Teen Titans Go S06E09 Bat Scouts 720p AMZN WEBRip DDP2 0 x264 LAZY' because of seen 'Teen Titans Go S06E09 Bat Scouts 720p AMZN WEBRip DDP2 0 x264 LAZY'
2020-01-20 20:29:29 VERBOSE  task          ShowRSS         REJECTED: `Teen Titans Go S06E09 Bat Scouts 720p AMZN WEBRip DDP2 0 x264 LAZY` by seen plugin because entry with title `Teen Titans Go S06E09 Bat Scouts 720p AMZN WEBRip DDP2 0 x264 LAZY` is already marked seen in the task ShowRSS at 2020-01-12 16:04
2020-01-20 20:29:29 DEBUG    urlrewriter   ShowRSS         Checking 0 entries
2020-01-20 20:29:29 VERBOSE  details       ShowRSS         Summary - Accepted: 0 (Rejected: 4 Undecided: 1 Failed: 0)
2020-01-20 20:29:29 DEBUG    util.simple_persistence ShowRSS         Flushing simple persistence for task ShowRSS to db.
2020-01-20 20:29:29 DEBUG    util.simple_persistence ShowRSS         Flushing simple persistence for task None to db.

This is the log from the daemon (info level) on it's last execution before i ran the debug level:

2020-01-20 20:25:59 INFO     manager                       Daemon shutdown requested. Shutdown will commence when currently running task (if any) has finished executing.
2020-01-20 20:25:59 INFO     manager                       Daemon shutdown requested. Shutdown will commence when currently running task (if any) has finished executing.
2020-01-20 20:25:59 INFO     manager                       Got SIGTERM. Shutting down.
2020-01-20 20:26:10 INFO     scheduler                     No schedules defined in config. Defaulting to run all tasks on a 1 hour interval.
2020-01-20 20:26:10 INFO     scheduler                     Starting scheduler
2020-01-20 20:26:56 ERROR    manager                       Disconnecting from daemon due to ctrl-c. Executions will still continue in the background.
2020-01-20 20:27:14 WARNING  configure_series RARBG           Error during input plugin thetvdb_list: Error retrieving favorites from thetvdb: HTTPSConnectionPool(host='api.thetvdb.com', port=443): Read timed out. (read timeout=30)
2020-01-20 20:27:14 INFO     configure_series RARBG           Did not get any series to generate series configuration
2020-01-20 20:27:15 WARNING  task          RARBG           Task does not have any filter plugins to accept entries. You need at least one to accept the entries you  want.
2020-01-20 20:27:15 WARNING  configure_series EZTV            Error during input plugin thetvdb_list: Error retrieving favorites from thetvdb: Requests to this site (api.thetvdb.com) have timed out recently. Waiting before trying again.
2020-01-20 20:27:15 INFO     configure_series EZTV            Did not get any series to generate series configuration
2020-01-20 20:27:17 WARNING  task          EZTV            Task does not have any filter plugins to accept entries. You need at least one to accept the entries you  want.
2020-01-20 20:27:17 WARNING  configure_series ShowRSS         Error during input plugin thetvdb_list: Error retrieving favorites from thetvdb: Requests to this site (api.thetvdb.com) have timed out recently. Waiting before trying again.
2020-01-20 20:27:17 INFO     configure_series ShowRSS         Did not get any series to generate series configuration
2020-01-20 20:27:17 WARNING  task          ShowRSS         Task does not have any filter plugins to accept entries. You need at least one to accept the entries you  want.

Again TVDB timed out, i don't know if that's related or not. Can anyone give me an idea of what's going on? There's one episode of of a show in my list that should be downloading but it's undecided.

Posts: 1

Participants: 1

Read full topic

[BUG] api_trakt hangs for 15 minutes and loops execution

YouTube channels with rss plugin and youtube-dl

$
0
0

@ThrLuQ9 wrote:

HALP!

I am kinda stuck and after hours of fiddling around I guess I have to admit defeat.

I am trying to set up a task that grabs videos from a youtube channel via the rss plugin by handing the feed results over to youtube-dl, but I don't understand how to handle any of the non standard tags the rss feed delivers.

Grabbing the rss feed via curl https://www.youtube.com/feeds/videos.xml?channel_id=$channelid shows that the urls to the videos can be found in these tags

<id>yt:video:$videoid</id>
<link rel="alternate" href="https://www.youtube.com/watch?v=$videoid"/>
<yt:videoId>$videoid</yt:videoId>
<media:content url="https://www.youtube.com/v/$videoid?version=3" type="application/x-shockwave-flash" width="640" height="390"/>

Using the link tag would be the obvious choice, but that did not get me any results (because it's not a standard <link> tag?).

Using link: 'yt:videoId' could work, because the $videoid is enough input for youtube-dl, but using that I end up with an

`ERROR exec $taskname Could not set exec command for $title: (UndefinedError) 'link' is undefined`

Using the media:content tag gives me this

`CRITICAL plugin Tried to set None url to [{'type': 'application/x-shockwave-flash', 'height': '390', 'width': '640', 'url': 'https://www.youtube.com/v/$videoid?version=3'}]`

So, how do I get the video url from this array of key:value pairs and make it the link that can be passed to youtube-dl by exec?

I tried fiddling around with the manipulate plugin but could not figure that out, either : |

This is what I am stuck at right now:

tasks:
  YouTubeChannel:
    rss:
      url: https://www.youtube.com/feeds/videos.xml?channel_id=channelid
      all_entries: yes
       link: 'media:content'
    exec:
      allow_background: yes
      auto_escape: yes

      on_output:
        for_accepted:
          - youtube-dl --restrict-filenames -f mp4 -o "/download/" "{{link}}" &

Thanks for reading, I appreciate any input.
Bratzo

Posts: 3

Participants: 2

Read full topic

Performance run and very long tasks

$
0
0

@effemmeffe wrote:

These are the first ten lines of a performance run of my config:

It seems that the tasks download-movies-720p-discover and download-series-discover are way too long.
My config is based on the jonybat, but I think I added some gibberish in it, it can be found here: https://github.com/effemmeffe/flexget
Any idea on how can I change those two tasks to be faster?
Thanks.

Posts: 1

Participants: 1

Read full topic

Unhandled error in plugin transmission: name 'TransmissionError' is not defined NameError: name 'TransmissionError' is not defined

$
0
0

@tamasnemeti wrote:

2020-01-27 11:57:20 CRITICAL task bookmarks BUG: Unhandled error in plugin transmission: name 'TransmissionError' is not defined
NameError: name 'TransmissionError' is not defined
2020-01-27 11:57:21 CRITICAL manager bookmarks An unexpected crash has occurred. Writing crash report to /home/pi/.config/flexget/crash_report.2020.01.27.115721033248.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 3.1.13
2020-01-27 11:57:21 WARNING task bookmarks Aborting task (plugin: transmission)


Here's the content of the log file: https://pastebin.com/Mt0TLMyV

pi@raspberrypi:~ $ flexget -V
3.1.13
You are on the latest release.

RPC also seems to be working from Python:

pi@raspberrypi:~ $ python3
Python 3.7.3 (default, Apr 3 2019, 05:39:12)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import transmissionrpc
tc = transmissionrpc.Client('localhost', port=9091, user='pi', password='supersecret')
tc.get_torrents()
[, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]
exit()

I've reinstalled both and still getting the same. I'm on a fresh copy of Raspbian Buster.
Any suggestions?

Posts: 1

Participants: 1

Read full topic

BUG: Unhandled error in plugin subliminal: 'opensubtitles'

$
0
0

@tamasnemeti wrote:

So, I'm sporting the latest version of both Subliminal and Flexget and using a config that was working on a different system before, just a couple of weeks ago.

Now it seems like the subliminal plugin crashes, no matter what.
As you can see, the name is computed properly, then the unhandled error happens. Same if I try to use other providers.

Pastebin with the crash details

Here's my config:

  get-subtitles:
    filesystem:
      path: /home/pi/hdd/flexget
      regexp: '.*\.(avi|mkv|mp4)$'
      recursive: yes
    accept_all: yes
    seen: local
    subliminal:
      languages: [en]
      providers: [opensubtitles, tvsubtitles, thesubdb]
      authentication:
        opensubtitles:
          username: ****
          password: ****

Thanks!

Posts: 1

Participants: 1

Read full topic

"Nonexistent Directory" - Flexget failing to create ".crawljob" files

$
0
0

@j_57Ob wrote:

Hi, I'm trying to set this up but I'm running into a problem. I'm running this as a docker on my Synology NAS. I also have Jdownloader2 setup as a docker on the NAS too.

Bascially, my config works as it can find entries in the RSS feed that match, however it doesn't seem to be converting those urls to '.crawljobs' for Jdownloader2 to pickup in folderwatch.

As a basic test I created the follow config:

web_server:
  bind: 0.0.0.0
  port: 3539

tasks:
  TV_Shows:
    rss: http://rmz.cr/feed
    series:
      - Fresh
	quality:
	  - "!h264"
    exec: 
      - echo text={{url}} >> "/data/{{title}}.crawljob"
      - echo downloadFolder=/data/{{title}} >> "/data/{{title}}.crawljob"
      ##if you also need to parse the content of the url, uncomment following line
      - echo deepAnalyseEnabled=true >> "/data/{{title}}.crawljob"

/data/ is a path in the docker settings to '/volume1/Plex Media/Downloads/flexget/'. I've also tried setting the config file to go directly to that folder too but it still doesn't work.

Here's what the log is saying. But I'm just not sure why it's saying 'nonexistent directory' because that directory does exist.

Entry '[RR/NF/UL/CU] Fresh Off the Boat S06E13 1080p WEB HEVC x265-RMTeam (237MB)' URL rewritten to http://rapidrar.com/y1jl56xu9cbt (with rmz)

Stdout: /bin/sh: can't create /data/[RR/NF/UL/CU] Fresh Off the Boat S06E13 1080p WEB HEVC x265-RMTeam (237MB).crawljob: nonexistent directory

Stdout: /bin/sh: syntax error: unexpected "("

Stdout: /bin/sh: can't create /data/[RR/NF/UL/CU] Fresh Off the Boat S06E13 1080p WEB HEVC x265-RMTeam (237MB).crawljob: nonexistent directory

Any help would be great!

Posts: 1

Participants: 1

Read full topic


Trakt: Remove Collected from Watch List

$
0
0

@tyjtyj wrote:

I got a task running to monitor "Watch List" once the movie added other program will update trakt as collected.

How do it remove from "Watch List" once it is collected ?

Posts: 1

Participants: 1

Read full topic

Error when installing flexget on Synology NAS

$
0
0

@Pyromonkey83 wrote:

Hey guys,

Trying to install flexget on my Synology NAS and I keep running into issues with "Immutables", whatever that is. I've tried reinstalling opkg, python, pip, setuptools, etc. Nothing seems to solve this error. Full error below, any help is appreciated.

Building wheels for collected packages: immutables
Building wheel for immutables (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv [0] = '"'"'/tmp/pip-install-fwm1qedr/immutables/setup.py'"'"'; file='"'"'/tm p/pip-install-fwm1qedr/immutables/setup.py'"'"';f=getattr(tokenize, '"'"'open'"' "', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close( );exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-y ogrhlof
cwd: /tmp/pip-install-fwm1qedr/immutables/
Complete output (28 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/immutables
copying immutables/map.py -> build/lib.linux-x86_64-3.6/immutables
copying immutables/__init__.py -> build/lib.linux-x86_64-3.6/immutables
running egg_info
writing immutables.egg-info/PKG-INFO
writing dependency_links to immutables.egg-info/dependency_links.txt
writing top-level names to immutables.egg-info/top_level.txt
reading manifest file 'immutables.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'immutables.egg-info/SOURCES.txt'
copying immutables/_map.c -> build/lib.linux-x86_64-3.6/immutables
copying immutables/_map.h -> build/lib.linux-x86_64-3.6/immutables
copying immutables/_map.pyi -> build/lib.linux-x86_64-3.6/immutables
copying immutables/py.typed -> build/lib.linux-x86_64-3.6/immutables
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'immutables._map' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/immutables
x86_64-openwrt-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -p ipe -fomit-frame-pointer -fno-caller-saves -fhonour-copts -Wno-error=unused-but- set-variable -Wno-error=unused-result -O2 -pipe -fomit-frame-pointer -fno-caller -saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-resul t -DNDEBUG -fno-inline -O2 -pipe -fomit-frame-pointer -fno-caller-saves -fhonour -copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -DNDEBUG -fno -inline -I/media/ware4/Entware-ng.2017.12/staging_dir/target-x86_64_glibc-2.23/o pt/include -I/media/ware4/Entware-ng.2017.12/staging_dir/target-x86_64_glibc-2.2 3/include -I/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-x86_64_gcc-6.3 .0_glibc-2.23/usr/include -I/media/ware4/Entware-ng.2017.12/staging_dir/toolchai n-x86_64_gcc-6.3.0_glibc-2.23/include -fPIC -I/opt/include/python3.6 -c immutabl es/_map.c -o build/temp.linux-x86_64-3.6/immutables/_map.o -O2 -std=c99 -fsigned -char -Wall -Wsign-compare -Wconversion
unable to execute 'x86_64-openwrt-linux-gnu-gcc': No such file or directory
error: command 'x86_64-openwrt-linux-gnu-gcc' failed with exit status 1


ERROR: Failed building wheel for immutables
Running setup.py clean for immutables
Failed to build immutables
Installing collected packages: immutables, contextvars, aiocontextvars, loguru, flexget
Running setup.py install for immutables ... error
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.ar gv[0] = '"'"'/tmp/pip-install-fwm1qedr/immutables/setup.py'"'"'; file='"'"'/ tmp/pip-install-fwm1qedr/immutables/setup.py'"'"';f=getattr(tokenize, '"'"'open' "'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.clos e();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-rec ord-k0ixde5x/install-record.txt --single-version-externally-managed --compile -- install-headers /opt/include/python3.6/immutables
cwd: /tmp/pip-install-fwm1qedr/immutables/
Complete output (28 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/immutables
copying immutables/map.py -> build/lib.linux-x86_64-3.6/immutables
copying immutables/__init__.py -> build/lib.linux-x86_64-3.6/immutables
running egg_info
writing immutables.egg-info/PKG-INFO
writing dependency_links to immutables.egg-info/dependency_links.txt
writing top-level names to immutables.egg-info/top_level.txt
reading manifest file 'immutables.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'immutables.egg-info/SOURCES.txt'
copying immutables/_map.c -> build/lib.linux-x86_64-3.6/immutables
copying immutables/_map.h -> build/lib.linux-x86_64-3.6/immutables
copying immutables/_map.pyi -> build/lib.linux-x86_64-3.6/immutables
copying immutables/py.typed -> build/lib.linux-x86_64-3.6/immutables
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'immutables._map' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/immutables
x86_64-openwrt-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2                                                                      -pipe -fomit-frame-pointer -fno-caller-saves -fhonour-copts -Wno-error=unused-bu                                                                     t-set-variable -Wno-error=unused-result -O2 -pipe -fomit-frame-pointer -fno-call                                                                     er-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-res                                                                     ult -DNDEBUG -fno-inline -O2 -pipe -fomit-frame-pointer -fno-caller-saves -fhono                                                                     ur-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -DNDEBUG -f                                                                     no-inline -I/media/ware4/Entware-ng.2017.12/staging_dir/target-x86_64_glibc-2.23                                                                     /opt/include -I/media/ware4/Entware-ng.2017.12/staging_dir/target-x86_64_glibc-2                                                                     .23/include -I/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-x86_64_gcc-6                                                                     .3.0_glibc-2.23/usr/include -I/media/ware4/Entware-ng.2017.12/staging_dir/toolch                                                                     ain-x86_64_gcc-6.3.0_glibc-2.23/include -fPIC -I/opt/include/python3.6 -c immuta                                                                     bles/_map.c -o build/temp.linux-x86_64-3.6/immutables/_map.o -O2 -std=c99 -fsign                                                                     ed-char -Wall -Wsign-compare -Wconversion
unable to execute 'x86_64-openwrt-linux-gnu-gcc': No such file or directory
error: command 'x86_64-openwrt-linux-gnu-gcc' failed with exit status 1
----------------------------------------

ERROR: Command errored out with exit status 1: /opt/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-fwm1qedr/immutabl es/setup.py'"'"'; file='"'"'/tmp/pip-install-fwm1qedr/immutables/setup.py'"' "';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"' "'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"' ))' install --record /tmp/pip-record-k0ixde5x/install-record.txt --single-versio n-externally-managed --compile --install-headers /opt/include/python3.6/immutabl es Check the logs for full command output.

Posts: 2

Participants: 1

Read full topic

ERROR "argument of type 'NoneType' is not iterable"

$
0
0

@jluc wrote:

hello,
I add this for reject some genres:

    imdb_lookup: yes
    if:
      - "'horror' in imdb_genres or 'documentary' in imdb_genres or 'family' in imdb_genres or 'animation' in imdb_genres or 'fantasy' in imdb_genres": reject

But, i have this error:

Error occurred while evaluating statement 'horror' in imdb_genres or 'documentary' in imdb_genres or 'family' in imdb_genres or 'animation' in imdb_genres or 'fantasy' in imdb_genres. (argument of type 'NoneType' is not iterable)

Please, excuse me, my english is poor, i'm french.

Thank you help me.

Posts: 1

Participants: 1

Read full topic

BUG: Unhandled error in plugin deluge: !Loop Protection!

$
0
0

@SuperJC710e wrote:

I've been getting this error in one of my feeds lately. The output doesn't seem to give much helpful information however. Here's the error message:

INFO download feed9 Downloading: <File>
CRITICAL task feed9 BUG: Unhandled error in plugin deluge: !!Loop Protection!! We have tried to solve 3 time(s) in a row.
RuntimeError: !!Loop Protection!! We have tried to solve 3 time(s) in a row.
CRITICAL manager feed9 An unexpected crash has occurred. Writing crash report to /<path>/.flexget/crash_report.2020.02.08.173530036332.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 3.1.21
WARNING task feed9 Aborting task (plugin: deluge)

Is this a known bug, is there a fix? Is there more information I can provide?

TIA!

Posts: 1

Participants: 1

Read full topic

Filelist.ro search plugin broken

$
0
0

@stren wrote:

I can't seem to get this search plugin with discovery to work.

flexget version: 3.1.21 (latest)
error:
Error searching with filelist: FileList.ro login failed: Your username or password was incorrect

config:

tasks:
  backfill_mv:
    discover:
      interval: 2 hours
      release_estimations:
        optimistic: 45 days
      what:
        - movie_list: trakt_movies
      from:
        - filelist:
            username: '{? fl.site_user ?}'
            password: '{? fl.site_pw ?}'
            passkey: '{? fl.passkey ?}'
            category: movies hd
            include_dead: no
            order_by: peers
            order_ascending: no
            search_in: title
    template:
      - good_quality_movies
      - do_not_get_mv
      - download_movies
    list_match:
      from:
        - movie_list: trakt_movies
        - movie_list: movie_upgrades
...

Posts: 1

Participants: 1

Read full topic

Viewing all 837 articles
Browse latest View live