after_merge
stringlengths
28
79.6k
before_merge
stringlengths
20
79.6k
url
stringlengths
38
71
full_traceback
stringlengths
43
922k
traceback_type
stringclasses
555 values
def _surround_with_execution_directives(func: Callable, directives: list) -> Callable: for directive in reversed(directives): func = partial( directive["callables"].on_field_execution, directive["args"], func ) return func
def _surround_with_execution_directives(func: Callable, directives: list) -> Callable: for directive in reversed(directives): func = partial(directive["callables"].on_execution, directive["args"], func) return func
https://github.com/tartiflette/tartiflette/issues/133
Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/src/app/***/__main__.py", line 10, in <module> sys.exit(run()) File "/usr/src/app/***/app...
tartiflette.types.exceptions.tartiflette.UnexpectedASTNode
async def __call__( self, parent_result: Optional[Any], args: Dict[str, Any], ctx: Optional[Dict[str, Any]], info: "Info", ) -> (Any, Any): try: result = await self._func( parent_result, await coerce_arguments(self._schema_field.arguments, args, ctx, info), ...
async def __call__( self, parent_result: Optional[Any], args: Dict[str, Any], ctx: Optional[Dict[str, Any]], info: "Info", ) -> (Any, Any): try: default_args = self._schema_field.get_arguments_default_values() default_args.update( {argument.name: argument.value for ar...
https://github.com/tartiflette/tartiflette/issues/133
Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/src/app/***/__main__.py", line 10, in <module> sys.exit(run()) File "/usr/src/app/***/app...
tartiflette.types.exceptions.tartiflette.UnexpectedASTNode
def input_value_definition(self, tree: Tree) -> GraphQLArgument: # TODO: Add directives description = None name = None gql_type = None default_value = None directives = None for child in tree.children: if child.type == "description": description = child.value elif...
def input_value_definition(self, tree: Tree) -> GraphQLArgument: # TODO: Add directives description = None name = None gql_type = None default_value = None for child in tree.children: if child.type == "description": description = child.value elif child.type == "IDENT"...
https://github.com/tartiflette/tartiflette/issues/133
Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/src/app/***/__main__.py", line 10, in <module> sys.exit(run()) File "/usr/src/app/***/app...
tartiflette.types.exceptions.tartiflette.UnexpectedASTNode
def __init__( self, name: str, gql_type: Union[str, GraphQLType], default_value: Optional[Any] = None, description: Optional[str] = None, directives: Optional[Dict[str, Optional[dict]]] = None, schema=None, ) -> None: # TODO: Narrow the default_value type ? self.name = name self....
def __init__( self, name: str, gql_type: Union[str, GraphQLType], default_value: Optional[Any] = None, description: Optional[str] = None, schema=None, ) -> None: # TODO: Narrow the default_value type ? self.name = name self.gql_type = gql_type self.default_value = default_value ...
https://github.com/tartiflette/tartiflette/issues/133
Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/src/app/***/__main__.py", line 10, in <module> sys.exit(run()) File "/usr/src/app/***/app...
tartiflette.types.exceptions.tartiflette.UnexpectedASTNode
def __repr__(self) -> str: return ( "{}(name={!r}, gql_type={!r}, " "default_value={!r}, description={!r}, directives={!r})".format( self.__class__.__name__, self.name, self.gql_type, self.default_value, self.description, self.d...
def __repr__(self) -> str: return "{}(name={!r}, gql_type={!r}, default_value={!r}, description={!r})".format( self.__class__.__name__, self.name, self.gql_type, self.default_value, self.description, )
https://github.com/tartiflette/tartiflette/issues/133
Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/src/app/***/__main__.py", line 10, in <module> sys.exit(run()) File "/usr/src/app/***/app...
tartiflette.types.exceptions.tartiflette.UnexpectedASTNode
def __eq__(self, other: Any) -> bool: return self is other or ( type(self) is type(other) and self.name == other.name and self.gql_type == other.gql_type and self.default_value == other.default_value and self.directives == other.directives )
def __eq__(self, other: Any) -> bool: return self is other or ( type(self) is type(other) and self.name == other.name and self.gql_type == other.gql_type and self.default_value == other.default_value )
https://github.com/tartiflette/tartiflette/issues/133
Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/src/app/***/__main__.py", line 10, in <module> sys.exit(run()) File "/usr/src/app/***/app...
tartiflette.types.exceptions.tartiflette.UnexpectedASTNode
def bake(self, schema: "GraphQLSchema") -> None: self._schema = schema self._directives_implementations = get_directive_implem_list( self._directives, self._schema ) if isinstance(self.gql_type, GraphQLType): self._type = self.gql_type else: self._type["name"] = self.gql_type...
def bake(self, schema: "GraphQLSchema") -> None: self._schema = schema if isinstance(self.gql_type, GraphQLType): self._type = self.gql_type else: self._type["name"] = self.gql_type self._type["kind"] = self._schema.find_type(self.gql_type).kind
https://github.com/tartiflette/tartiflette/issues/133
Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/src/app/***/__main__.py", line 10, in <module> sys.exit(run()) File "/usr/src/app/***/app...
tartiflette.types.exceptions.tartiflette.UnexpectedASTNode
def is_forked(self, owner, repo): # /repos/:owner/:repo parent logging.info("Querying parent info to verify if the repo is forked\n") url = f"https://api.github.com/repos/{owner}/{repo}" r = requests.get(url, headers=self.headers) self.update_gh_rate_limit(r) data = self.get_repo_data(url, r) ...
def is_forked(self, owner, repo): # /repos/:owner/:repo parent logging.info("Querying parent info to verify if the repo is forked\n") url = f"https://api.github.com/repos/{owner}/{repo}" r = requests.get(url, headers=self.headers) self.update_gh_rate_limit(r) data = self.get_repo_data(self, url, ...
https://github.com/chaoss/augur/issues/737
INFO:root:Worker ran into an error for task: {'job_type': 'MAINTAIN', 'models': ['repo_info'], 'display_name': 'repo_info model for url: https://github.com/davepacheco/node-verror.git', 'given': {'github_url': 'https://github.com/davepacheco/node-verror.git'}} INFO:root:Printing traceback... INFO:root:Traceback (most...
TypeError
def is_archived(self, owner, repo): logging.info("Querying committers count\n") url = f"https://api.github.com/repos/{owner}/{repo}" r = requests.get(url, headers=self.headers) self.update_gh_rate_limit(r) data = self.get_repo_data(url, r) if "archived" in data: if data["archived"]: ...
def is_archived(self, owner, repo): logging.info("Querying committers count\n") url = f"https://api.github.com/repos/{owner}/{repo}" r = requests.get(url, headers=self.headers) self.update_gh_rate_limit(r) data = self.get_repo_data(self, url, r) if "archived" in data: if data["archive...
https://github.com/chaoss/augur/issues/737
INFO:root:Worker ran into an error for task: {'job_type': 'MAINTAIN', 'models': ['repo_info'], 'display_name': 'repo_info model for url: https://github.com/davepacheco/node-verror.git', 'given': {'github_url': 'https://github.com/davepacheco/node-verror.git'}} INFO:root:Printing traceback... INFO:root:Traceback (most...
TypeError
def __init__(self, config={}): worker_type = "repo_info_worker" # Define what this worker can be given and know how to interpret given = [["github_url"]] models = ["repo_info"] # Define the tables needed to insert, update, or delete on data_tables = ["repo_info", "repo"] operations_tables ...
def __init__(self, config={}): worker_type = "repo_info_worker" # Define what this worker can be given and know how to interpret given = [["github_url"]] models = ["repo_info"] # Define the tables needed to insert, update, or delete on data_tables = ["repo_info"] operations_tables = ["work...
https://github.com/chaoss/augur/issues/737
INFO:root:Worker ran into an error for task: {'job_type': 'MAINTAIN', 'models': ['repo_info'], 'display_name': 'repo_info model for url: https://github.com/davepacheco/node-verror.git', 'given': {'github_url': 'https://github.com/davepacheco/node-verror.git'}} INFO:root:Printing traceback... INFO:root:Traceback (most...
TypeError
def repo_info_model(self, task, repo_id): github_url = task["given"]["github_url"] self.logger.info( "Beginning filling the repo_info model for repo: " + github_url + "\n" ) owner, repo = self.get_owner_repo(github_url) url = "https://api.github.com/graphql" query = """ {...
def repo_info_model(self, task, repo_id): github_url = task["given"]["github_url"] self.logger.info( "Beginning filling the repo_info model for repo: " + github_url + "\n" ) owner, repo = self.get_owner_repo(github_url) url = "https://api.github.com/graphql" query = """ {...
https://github.com/chaoss/augur/issues/737
INFO:root:Worker ran into an error for task: {'job_type': 'MAINTAIN', 'models': ['repo_info'], 'display_name': 'repo_info model for url: https://github.com/davepacheco/node-verror.git', 'given': {'github_url': 'https://github.com/davepacheco/node-verror.git'}} INFO:root:Printing traceback... INFO:root:Traceback (most...
TypeError
def query_committers_count(self, owner, repo): self.logger.info("Querying committers count\n") url = f"https://api.github.com/repos/{owner}/{repo}/contributors?per_page=100" committers = 0 try: while True: r = requests.get(url, headers=self.headers) self.update_gh_rate_l...
def query_committers_count(self, owner, repo): self.logger.info("Querying committers count\n") url = f"https://api.github.com/repos/{owner}/{repo}/contributors?per_page=100" committers = 0 try: while True: r = requests.get(url, headers=self.headers) self.update_gh_rate_l...
https://github.com/chaoss/augur/issues/737
INFO:root:Worker ran into an error for task: {'job_type': 'MAINTAIN', 'models': ['repo_info'], 'display_name': 'repo_info model for url: https://github.com/davepacheco/node-verror.git', 'given': {'github_url': 'https://github.com/davepacheco/node-verror.git'}} INFO:root:Printing traceback... INFO:root:Traceback (most...
TypeError
def is_forked(self, owner, repo): # /repos/:owner/:repo parent self.logger.info("Querying parent info to verify if the repo is forked\n") url = f"https://api.github.com/repos/{owner}/{repo}" r = requests.get(url, headers=self.headers) self.update_gh_rate_limit(r) data = self.get_repo_data(url, r)...
def is_forked(self, owner, repo): # /repos/:owner/:repo parent logging.info("Querying parent info to verify if the repo is forked\n") url = f"https://api.github.com/repos/{owner}/{repo}" r = requests.get(url, headers=self.headers) self.update_gh_rate_limit(r) data = self.get_repo_data(url, r) ...
https://github.com/chaoss/augur/issues/737
INFO:root:Worker ran into an error for task: {'job_type': 'MAINTAIN', 'models': ['repo_info'], 'display_name': 'repo_info model for url: https://github.com/davepacheco/node-verror.git', 'given': {'github_url': 'https://github.com/davepacheco/node-verror.git'}} INFO:root:Printing traceback... INFO:root:Traceback (most...
TypeError
def is_archived(self, owner, repo): self.logger.info("Querying committers count\n") url = f"https://api.github.com/repos/{owner}/{repo}" r = requests.get(url, headers=self.headers) self.update_gh_rate_limit(r) data = self.get_repo_data(url, r) if "archived" in data: if data["archived"...
def is_archived(self, owner, repo): logging.info("Querying committers count\n") url = f"https://api.github.com/repos/{owner}/{repo}" r = requests.get(url, headers=self.headers) self.update_gh_rate_limit(r) data = self.get_repo_data(url, r) if "archived" in data: if data["archived"]: ...
https://github.com/chaoss/augur/issues/737
INFO:root:Worker ran into an error for task: {'job_type': 'MAINTAIN', 'models': ['repo_info'], 'display_name': 'repo_info model for url: https://github.com/davepacheco/node-verror.git', 'given': {'github_url': 'https://github.com/davepacheco/node-verror.git'}} INFO:root:Printing traceback... INFO:root:Traceback (most...
TypeError
def get_repo_data(self, url, response): success = False try: data = response.json() except: data = json.loads(json.dumps(response.text)) if "errors" in data: self.logger.info("Error!: {}".format(data["errors"])) if data["errors"][0]["message"] == "API rate limit exceeded...
def get_repo_data(self, url, response): success = False try: data = response.json() except: data = json.loads(json.dumps(response.text)) if "errors" in data: logging.info("Error!: {}".format(data["errors"])) if data["errors"][0]["message"] == "API rate limit exceeded": ...
https://github.com/chaoss/augur/issues/737
INFO:root:Worker ran into an error for task: {'job_type': 'MAINTAIN', 'models': ['repo_info'], 'display_name': 'repo_info model for url: https://github.com/davepacheco/node-verror.git', 'given': {'github_url': 'https://github.com/davepacheco/node-verror.git'}} INFO:root:Printing traceback... INFO:root:Traceback (most...
TypeError
def Run(self, args): # Due to talking raw to hardware, this action has some inevitable risk of # crashing the machine, so we need to flush the transaction log to ensure # we know when this happens. self.SyncTransactionLog() # Temporary extra logging for Ubuntu # TODO(user): Add generic hunt fla...
def Run(self, args): # Due to talking raw to hardware, this action has some inevitable risk of # crashing the machine, so we need to flush the transaction log to ensure # we know when this happens. self.SyncTransactionLog() # Temporary extra logging for Ubuntu # TODO(user): Add generic hunt fla...
https://github.com/google/grr/issues/411
Traceback (most recent call last): File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow_runner.py", line 644, in RunStateMethod responses=responses) File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow.py", line 346, in Decorated res = f(*args[:f.func_code.co_argcount]) File ...
ArtifactNotRegisteredError
def LogError(self, err): self.logs.append("Error dumping ACPI table.") self.logs.append("%r: %s" % (err, err)) self.logs.extend(self.chipsec_log.getvalue().splitlines()) self.SendReply(chipsec_types.DumpACPITableResponse(logs=self.logs))
def LogError(self, err): self.logs.append("Error dumping ACPI table.") self.logs.append("%r: %s" % (err, err)) self.logs.extend(self.chipsec_log.getvalue().split("\n")) self.SendReply(chipsec_types.DumpACPITableResponse(logs=self.logs))
https://github.com/google/grr/issues/411
Traceback (most recent call last): File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow_runner.py", line 644, in RunStateMethod responses=responses) File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow.py", line 346, in Decorated res = f(*args[:f.func_code.co_argcount]) File ...
ArtifactNotRegisteredError
def Run(self, args): self.logs = [] self.chipsec_log = StringIO.StringIO() if args.logging: self.logs.append("Dumping %s" % args.table_signature) logger.logger().logfile = self.chipsec_log logger.logger().LOG_TO_FILE = True # Wrap most of Chipsec code to gather its logs in cas...
def Run(self, args): self.logs = [] self.chipsec_log = StringIO.StringIO() if args.logging: self.logs.append("Dumping %s" % args.table_signature) logger().logfile = self.chipsec_log logger().LOG_TO_FILE = True # Wrap most of Chipsec code to gather its logs in case of failure. ...
https://github.com/google/grr/issues/411
Traceback (most recent call last): File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow_runner.py", line 644, in RunStateMethod responses=responses) File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow.py", line 346, in Decorated res = f(*args[:f.func_code.co_argcount]) File ...
ArtifactNotRegisteredError
def main(_): """Run the main test harness.""" config_lib.CONFIG.AddContext( "AdminUI Context", "Context applied when running the admin user interface GUI." ) startup.Init() if not os.path.exists( os.path.join( config_lib.CONFIG["AdminUI.document_root"], "dist/grr-ui.bund...
def main(_): """Run the main test harness.""" config_lib.CONFIG.AddContext( "AdminUI Context", "Context applied when running the admin user interface GUI." ) startup.Init() # Start up a server in another thread bind_address = config_lib.CONFIG["AdminUI.bind"] ip = ipaddr.IPAddress(b...
https://github.com/google/grr/issues/411
Traceback (most recent call last): File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow_runner.py", line 644, in RunStateMethod responses=responses) File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow.py", line 346, in Decorated res = f(*args[:f.func_code.co_argcount]) File ...
ArtifactNotRegisteredError
def Handle(self, args, token=None): try: flow_obj = aff4.FACTORY.Open( args.operation_id, aff4_type=discovery.Interrogate, token=token ) complete = not flow_obj.GetRunner().IsRunning() except aff4.InstantiationError: raise InterrogateOperationNotFoundError( ...
def Handle(self, args, token=None): try: flow_obj = aff4.FACTORY.Open( args.operation_id, aff4_type="Interrogate", token=token ) complete = not flow_obj.GetRunner().IsRunning() except aff4.InstantiationError: raise InterrogateOperationNotFoundError( "Oper...
https://github.com/google/grr/issues/411
Traceback (most recent call last): File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow_runner.py", line 644, in RunStateMethod responses=responses) File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow.py", line 346, in Decorated res = f(*args[:f.func_code.co_argcount]) File ...
ArtifactNotRegisteredError
def Layout(self, request, response): """Render the toolbar.""" self.ParseRequest(request) try: client_id = rdfvalue.RDFURN(self.aff4_path).Split(2)[0] update_flow_urn = flow.GRRFlow.StartFlow( client_id=client_id, flow_name="UpdateVFSFile", token=request....
def Layout(self, request, response): """Render the toolbar.""" self.ParseRequest(request) try: client_id = rdfvalue.RDFURN(self.aff4_path).Split(2)[0] update_flow_urn = flow.GRRFlow.StartFlow( client_id=client_id, flow_name="UpdateVFSFile", token=request....
https://github.com/google/grr/issues/411
Traceback (most recent call last): File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow_runner.py", line 644, in RunStateMethod responses=responses) File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow.py", line 346, in Decorated res = f(*args[:f.func_code.co_argcount]) File ...
ArtifactNotRegisteredError
def BuildTable(self, start_row, end_row, request): """Renders the table.""" depth = request.REQ.get("depth", 0) flow_urn = self.state.get("value", request.REQ.get("value")) if flow_urn is None: client_id = request.REQ.get("client_id") if not client_id: return flow_u...
def BuildTable(self, start_row, end_row, request): """Renders the table.""" depth = request.REQ.get("depth", 0) flow_urn = self.state.get("value", request.REQ.get("value")) if flow_urn is None: client_id = request.REQ.get("client_id") if not client_id: return flow_u...
https://github.com/google/grr/issues/411
Traceback (most recent call last): File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow_runner.py", line 644, in RunStateMethod responses=responses) File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow.py", line 346, in Decorated res = f(*args[:f.func_code.co_argcount]) File ...
ArtifactNotRegisteredError
def __getattr__(self, attr): """Handle unknown attributes. Often the actual object returned is not the object that is expected. In those cases attempting to retrieve a specific named attribute would normally raise, e.g.: fd = aff4.FACTORY.Open(urn) fd.Get(fd.Schema.DOESNTEXIST, default_value) ...
def __getattr__(self, attr): """Handle unknown attributes. Often the actual object returned is not the object that is expected. In those cases attempting to retrieve a specific named attribute would normally raise, e.g.: fd = aff4.FACTORY.Open(urn) fd.Get(fd.Schema.DOESNTEXIST, default_value) ...
https://github.com/google/grr/issues/411
Traceback (most recent call last): File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow_runner.py", line 644, in RunStateMethod responses=responses) File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow.py", line 346, in Decorated res = f(*args[:f.func_code.co_argcount]) File ...
ArtifactNotRegisteredError
def _ReadExactly(self, n): ret = "" left = n while left: data = self.sock.recv(left) if not data: raise IOError("Expected %d bytes, got EOF after %d" % (n, len(ret))) ret += data left = n - len(ret) return ret
def _ReadExactly(self, n): ret = "" left = n while left: data = self.sock.recv(left) if data == "": raise IOError("Expected %d bytes, got EOF after %d" % (n, len(ret))) ret += data left = n - len(ret) return ret
https://github.com/google/grr/issues/411
Traceback (most recent call last): File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow_runner.py", line 644, in RunStateMethod responses=responses) File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow.py", line 346, in Decorated res = f(*args[:f.func_code.co_argcount]) File ...
ArtifactNotRegisteredError
def Parse(self, stat, knowledge_base): """Expand any variables in the value.""" value = stat.registry_data.GetValue() if not value: raise parsers.ParseError("Invalid value for key %s" % stat.pathspec.path) value = artifact_utils.ExpandWindowsEnvironmentVariables(value, knowledge_base) if val...
def Parse(self, stat, knowledge_base): """Parse the key currentcontrolset output.""" value = stat.registry_data.GetValue() if not value: raise parsers.ParseError("Invalid value for key %s" % stat.pathspec.path) value = artifact_utils.ExpandWindowsEnvironmentVariables(value, knowledge_base) i...
https://github.com/google/grr/issues/411
Traceback (most recent call last): File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow_runner.py", line 644, in RunStateMethod responses=responses) File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow.py", line 346, in Decorated res = f(*args[:f.func_code.co_argcount]) File ...
ArtifactNotRegisteredError
def Parse(self, stat, _): """Parse the key currentcontrolset output.""" # SystemDriveEnvironmentVariable produces a statentry, # WindowsEnvironmentVariableSystemDrive produces a string if isinstance(stat, rdf_client.StatEntry): value = stat.registry_data.GetValue() elif isinstance(stat, rdfv...
def Parse(self, stat, _): """Parse the key currentcontrolset output.""" value = stat.registry_data.GetValue() if not value: raise parsers.ParseError("Invalid value for key %s" % stat.pathspec.path) systemdrive = value[0:2] if re.match(r"^[A-Za-z]:$", systemdrive): yield rdfvalue.RDF...
https://github.com/google/grr/issues/411
Traceback (most recent call last): File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow_runner.py", line 644, in RunStateMethod responses=responses) File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow.py", line 346, in Decorated res = f(*args[:f.func_code.co_argcount]) File ...
ArtifactNotRegisteredError
def MakeCoreSdist(self): os.chdir(args.grr_src) subprocess.check_call( [ self.PYTHON_BIN64, "setup.py", "sdist", "--dist-dir=%s" % self.BUILDDIR, "--no-make-docs", "--no-make-ui-files", "--no-sync-artifacts", ] ...
def MakeCoreSdist(self): os.chdir(args.grr_src) subprocess.check_call( [ self.PYTHON_BIN64, "setup.py", "sdist", "--dist-dir=%s" % self.BUILDDIR, "--no-make-docs", "--no-sync-artifacts", ] ) return glob.glob(os.path....
https://github.com/google/grr/issues/411
Traceback (most recent call last): File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow_runner.py", line 644, in RunStateMethod responses=responses) File "/usr/share/grr-server/local/lib/python2.7/site-packages/grr/lib/flow.py", line 346, in Decorated res = f(*args[:f.func_code.co_argcount]) File ...
ArtifactNotRegisteredError
def TestInit(): """Only used in tests and will rerun all the hooks to create a clean state.""" # Tests use both the server template grr_server.yaml as a primary config file # (this file does not contain all required options, e.g. private keys), and # additional configuration in test_data/grr_test.yaml w...
def TestInit(): """Only used in tests and will rerun all the hooks to create a clean state.""" # Tests use both the server template grr_server.yaml as a primary config file # (this file does not contain all required options, e.g. private keys), and # additional configuration in test_data/grr_test.yaml w...
https://github.com/google/grr/issues/358
Traceback (most recent call last): File "/home/dev/GRR_ENV/local/lib/python2.7/site-packages/grr/gui/http_api.py", line 415, in HandleRequest rendered_data = self.CallApiHandler(handler, args, token=token) File "/home/dev/GRR_ENV/local/lib/python2.7/site-packages/grr/gui/http_api.py", line 225, in CallApiHandler return...
IOError
def main(argv): """Sets up all the component in their own threads.""" config_lib.CONFIG.AddContext( "Demo Context", "The demo runs all functions in a single process using the " "in memory data store.", ) config_lib.CONFIG.AddContext("Test Context", "Context applied when we run t...
def main(argv): """Sets up all the component in their own threads.""" config_lib.CONFIG.AddContext( "Demo Context", "The demo runs all functions in a single process using the " "in memory data store.", ) config_lib.CONFIG.AddContext("Test Context", "Context applied when we run t...
https://github.com/google/grr/issues/358
Traceback (most recent call last): File "/home/dev/GRR_ENV/local/lib/python2.7/site-packages/grr/gui/http_api.py", line 415, in HandleRequest rendered_data = self.CallApiHandler(handler, args, token=token) File "/home/dev/GRR_ENV/local/lib/python2.7/site-packages/grr/gui/http_api.py", line 225, in CallApiHandler return...
IOError
def run(self): working_directory = os.path.abspath(os.getcwd() + "/../") virtualenv_bin = os.path.dirname(sys.executable) pip = "%s/pip" % virtualenv_bin # Install the GRR server component to satisfy the dependency below. subprocess.check_call([sys.executable, pip, "install", "."], cwd=working_dire...
def run(self): working_directory = os.path.abspath(os.getcwd() + "/../") virtualenv_bin = os.path.dirname(sys.executable) pip = "%s/pip" % virtualenv_bin # Install the GRR server component to satisfy the dependency below. subprocess.check_call( [sys.executable, pip, "install", ".[Server]"],...
https://github.com/google/grr/issues/358
Traceback (most recent call last): File "/home/dev/GRR_ENV/local/lib/python2.7/site-packages/grr/gui/http_api.py", line 415, in HandleRequest rendered_data = self.CallApiHandler(handler, args, token=token) File "/home/dev/GRR_ENV/local/lib/python2.7/site-packages/grr/gui/http_api.py", line 225, in CallApiHandler return...
IOError
def execute_query(self, query, data_source_id, metadata): signal.signal(signal.SIGINT, signal_handler) start_time = time.time() logger.info("task=execute_query state=load_ds ds_id=%d", data_source_id) data_source = models.DataSource.get_by_id(data_source_id) self.update_state( state="STAR...
def execute_query(self, query, data_source_id, metadata): signal.signal(signal.SIGINT, signal_handler) start_time = time.time() logger.info("Loading data source (%d)...", data_source_id) # TODO: we should probably cache data sources in Redis data_source = models.DataSource.get_by_id(data_source_id...
https://github.com/getredash/redash/issues/785
[2016-01-21 17:58:21,655][PID:12][ERROR][redash.wsgi] Exception on /api/users/2 [POST] Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in...
DataError
def convert(topology, backend, test_input, device, extra_config={}): """ This function is used to convert a `onnxconverter_common.topology.Topology` object into a *backend* model. Args: topology: The `onnxconverter_common.topology.Topology` object that will be converted into a backend model ...
def convert(topology, backend, test_input, device, extra_config={}): """ This function is used to convert a `onnxconverter_common.topology.Topology` object into a *backend* model. Args: topology: The `onnxconverter_common.topology.Topology` object that will be converted into a backend model ...
https://github.com/microsoft/hummingbird/issues/424
--------------------------------------------------------------------------- ValueError Traceback (most recent call last) ~/anaconda3/envs/p37/lib/python3.7/site-packages/hummingbird/ml/_topology.py in convert(topology, backend, test_input, device, extra_config) 162 --> 163 ope...
ValueError
def get_tree_implementation_by_config_or_depth(extra_config, max_depth, low=3, high=10): """ Utility function used to pick the tree implementation based on input parameters and heurstics. The current heuristic is such that GEMM <= low < PerfTreeTrav <= high < TreeTrav Args: max_depth: The maximu...
def get_tree_implementation_by_config_or_depth(extra_config, max_depth, low=3, high=10): """ Utility function used to pick the tree implementation based on input parameters and heurstics. The current heuristic is such that GEMM <= low < PerfTreeTrav <= high < TreeTrav Args: max_depth: The maximu...
https://github.com/microsoft/hummingbird/issues/424
--------------------------------------------------------------------------- ValueError Traceback (most recent call last) ~/anaconda3/envs/p37/lib/python3.7/site-packages/hummingbird/ml/_topology.py in convert(topology, backend, test_input, device, extra_config) 162 --> 163 ope...
ValueError
def get_parameters_for_tree_trav_common( lefts, rights, features, thresholds, values, extra_config={} ): """ Common functions used by all tree algorithms to generate the parameters according to the tree_trav strategies. Args: left: The left nodes right: The right nodes features:...
def get_parameters_for_tree_trav_common( lefts, rights, features, thresholds, values, extra_config={} ): """ Common functions used by all tree algorithms to generate the parameters according to the tree_trav strategies. Args: left: The left nodes right: The right nodes features:...
https://github.com/microsoft/hummingbird/issues/424
--------------------------------------------------------------------------- ValueError Traceback (most recent call last) ~/anaconda3/envs/p37/lib/python3.7/site-packages/hummingbird/ml/_topology.py in convert(topology, backend, test_input, device, extra_config) 162 --> 163 ope...
ValueError
def _get_tree_infos_from_onnx_ml_operator(model): """ Function used to extract the parameters from a ONNXML TreeEnsemble model. """ tree_infos = [] left = right = features = values = threshold = None tree_ids = target_node_ids = target_tree_ids = modes = None classes = post_transform = None ...
def _get_tree_infos_from_onnx_ml_operator(model): """ Function used to extract the parameters from a ONNXML TreeEnsemble model. """ tree_infos = [] left = right = features = values = threshold = None tree_ids = target_node_ids = target_tree_ids = modes = None classes = post_transform = None ...
https://github.com/microsoft/hummingbird/issues/420
from hummingbird.ml import convert import onnx o = onnx.load('hospital_DecisionTree_BINARY_MaxDepth_20_batch_optimized.onnx', 'r') type(o) <class 'onnx.onnx_ONNX_REL_1_6_ml_pb2.ModelProto'> t=convert(o,'torch') /usr/local/lib/python3.6/dist-packages/torch/nn/modules/container.py:434: UserWarning: Setting attributes on ...
_pickle.PickleError
def pool(self): """Create thread pool on first request avoids instantiating unused threadpool for blocking clients. """ if self._pool is None: atexit.register(self.close) self._pool = ThreadPool(self.pool_threads) return self._pool
def pool(self): """Create thread pool on first request avoids instantiating unused threadpool for blocking clients. """ if self._pool is None: self._pool = ThreadPool(self.pool_threads) return self._pool
https://github.com/kubernetes-client/python/issues/1037
done ^CException ignored in: <bound method ApiClient.__del__ of <kubernetes.client.api_client.ApiClient object at 0x7f8f9ba67c50>> Traceback (most recent call last): File "/home/fabian/Envs/test/lib/python3.6/site-packages/kubernetes/client/api_client.py", line 81, in __del__ self._pool.join() File "/usr/lib64/pytho...
CError
def spotify_dl(): parser = argparse.ArgumentParser(prog="spotify_dl") parser.add_argument( "-d", "--download", action="store_true", help="Download using youtube-dl", default=True, ) parser.add_argument( "-p", "--playlist", action="store", ...
def spotify_dl(): parser = argparse.ArgumentParser(prog="spotify_dl") parser.add_argument( "-d", "--download", action="store_true", help="Download using youtube-dl", default=True, ) parser.add_argument( "-p", "--playlist", action="store", ...
https://github.com/SathyaBhat/spotify-dl/issues/44
INFO: 2017-06-03 19:12:37,099 - extract_user_and_playlist_from_uri - List owner: anjunadeep INFO: 2017-06-03 19:12:37,099 - extract_user_and_playlist_from_uri - List ID: 1GfH39JcID8aFZ0ZQQVkBk INFO: 2017-06-03 19:12:37,100 - extract_user_and_playlist_from_uri - List owner: anjunadeep INFO: 2017-06-03 19:12:37,100 - ext...
TypeError
def copy(self): builder = ParseTreeBuilder(_parsetree_roundtrip=True) self.visit(builder) return builder.get_parsetree()
def copy(self): # By using serialization we are absolutely sure all refs are new xml = self.tostring() try: return ParseTree().fromstring(xml) except: print(">>>", xml, "<<<") raise
https://github.com/zim-desktop-wiki/zim-desktop-wiki/issues/164
ERROR: Exception in signal handler for process on <zim.templates.Template object at 0x7f2a60595650> Traceback (most recent call last): File "/mnt/projects/zim-desktop-wiki/zim/signals.py", line 338, in emit r = handler(self, *args) File "/mnt/projects/zim-desktop-wiki/zim/templates/__init__.py", line 186, in do_process...
ParseError
def start(self, tag, attrib=None): attrib = attrib.copy() if attrib is not None else None self._b.start(tag, attrib) self.stack.append(tag) if tag in BLOCK_LEVEL: self._last_char = None
def start(self, tag, attrib=None): self._b.start(tag, attrib) self.stack.append(tag) if tag in BLOCK_LEVEL: self._last_char = None
https://github.com/zim-desktop-wiki/zim-desktop-wiki/issues/164
ERROR: Exception in signal handler for process on <zim.templates.Template object at 0x7f2a60595650> Traceback (most recent call last): File "/mnt/projects/zim-desktop-wiki/zim/signals.py", line 338, in emit r = handler(self, *args) File "/mnt/projects/zim-desktop-wiki/zim/templates/__init__.py", line 186, in do_process...
ParseError
def append(self, tag, attrib=None, text=None): attrib = attrib.copy() if attrib is not None else None if tag in BLOCK_LEVEL: if text and not text.endswith("\n"): text += "\n" # FIXME hack for backward compat if text and tag in (HEADING, LISTITEM): text = text.strip("\n") ...
def append(self, tag, attrib=None, text=None): if tag in BLOCK_LEVEL: if text and not text.endswith("\n"): text += "\n" # FIXME hack for backward compat if text and tag in (HEADING, LISTITEM): text = text.strip("\n") self._b.start(tag, attrib) if text: self._b.d...
https://github.com/zim-desktop-wiki/zim-desktop-wiki/issues/164
ERROR: Exception in signal handler for process on <zim.templates.Template object at 0x7f2a60595650> Traceback (most recent call last): File "/mnt/projects/zim-desktop-wiki/zim/signals.py", line 338, in emit r = handler(self, *args) File "/mnt/projects/zim-desktop-wiki/zim/templates/__init__.py", line 186, in do_process...
ParseError
def get_candidates_and_features_page_num(self, page_num): elems = self.elems[page_num] # font_stat = self.font_stats[page_num] # lines_bboxes = self.get_candidates_lines(page_num, elems) alignments_bboxes, alignment_features = self.get_candidates_alignments( page_num, elems ) # print "...
def get_candidates_and_features_page_num(self, page_num): elems = self.elems[page_num] # font_stat = self.font_stats[page_num] # lines_bboxes = self.get_candidates_lines(page_num, elems) alignments_bboxes, alignment_features = self.get_candidates_alignments( page_num, elems ) # print "...
https://github.com/HazyResearch/pdftotree/issues/25
$ pdftotree -vv dtc114w.pdf [INFO] pdftotree.core - Digitized PDF detected, building tree structure... [ERROR] pdftotree.TreeExtract - list index out of range Traceback (most recent call last): File "/home/lwhsiao/repos/pdftotree/pdftotree/TreeExtract.py", line 148, in get_candidates_alignments nodes, features = parse_...
IndexError
def cluster_vertically_aligned_boxes( boxes, page_bbox, avg_font_pts, width, char_width, boxes_segments, boxes_curves, boxes_figures, page_width, combine, ): # Too many "." in the Table of Content pages if len(boxes) == 0: log.warning("No boxes were found to clust...
def cluster_vertically_aligned_boxes( boxes, page_bbox, avg_font_pts, width, char_width, boxes_segments, boxes_curves, boxes_figures, page_width, combine, ): # Too many "." in the Table of Content pages if len(boxes) == 0 or len(boxes) > 3500: log.error("Too many ...
https://github.com/HazyResearch/pdftotree/issues/25
$ pdftotree -vv dtc114w.pdf [INFO] pdftotree.core - Digitized PDF detected, building tree structure... [ERROR] pdftotree.TreeExtract - list index out of range Traceback (most recent call last): File "/home/lwhsiao/repos/pdftotree/pdftotree/TreeExtract.py", line 148, in get_candidates_alignments nodes, features = parse_...
IndexError
def get_figures(boxes, page_bbox, page_num, boxes_figures, page_width, page_height): if len(boxes) == 0: log.warning("No boxes to get figures from on page {}.".format(page_num)) return [] plane = Plane(page_bbox) plane.extend(boxes) nodes_figures = [] for fig_box in boxes_figures:...
def get_figures(boxes, page_bbox, page_num, boxes_figures, page_width, page_height): plane = Plane(page_bbox) plane.extend(boxes) nodes_figures = [] for fig_box in boxes_figures: node_fig = Node(fig_box) nodes_figures.append(node_fig) merge_indices = [i for i in range(len(nodes_fi...
https://github.com/HazyResearch/pdftotree/issues/25
$ pdftotree -vv dtc114w.pdf [INFO] pdftotree.core - Digitized PDF detected, building tree structure... [ERROR] pdftotree.TreeExtract - list index out of range Traceback (most recent call last): File "/home/lwhsiao/repos/pdftotree/pdftotree/TreeExtract.py", line 148, in get_candidates_alignments nodes, features = parse_...
IndexError
def get_candidates_and_features_page_num(self, page_num): elems = self.elems[page_num] # font_stat = self.font_stats[page_num] # lines_bboxes = self.get_candidates_lines(page_num, elems) alignments_bboxes, alignment_features = self.get_candidates_alignments( page_num, elems ) # print "...
def get_candidates_and_features_page_num(self, page_num): elems = self.elems[page_num] # font_stat = self.font_stats[page_num] # lines_bboxes = self.get_candidates_lines(page_num, elems) alignments_bboxes, alignment_features = self.get_candidates_alignments( page_num, elems ) # print "...
https://github.com/HazyResearch/pdftotree/issues/20
Digitized PDF detected, building tree structure float division by zero float division by zero float division by zero (89.33853599999992, 89.33853599999992, 50) Traceback (most recent call last): File "chh_test.py", line 10, in <module> pdftotree.parse(filename, htmlpath, model_path=None, favor_figures=False, visualize=...
ValueError
def get_html_tree(self): self.html = "<html>" for page_num in self.elems.keys(): page_html = "<div id=" + str(page_num) + ">" boxes = [] for clust in self.tree[page_num]: for pnum, pwidth, pheight, top, left, bottom, right in self.tree[page_num][ clust ...
def get_html_tree(self): self.html = "<html>" for page_num in self.elems.keys(): page_html = "<div id=" + str(page_num) + ">" boxes = [] for clust in self.tree[page_num]: for pnum, pwidth, pheight, top, left, bottom, right in self.tree[page_num][ clust ...
https://github.com/HazyResearch/pdftotree/issues/20
Digitized PDF detected, building tree structure float division by zero float division by zero float division by zero (89.33853599999992, 89.33853599999992, 50) Traceback (most recent call last): File "chh_test.py", line 10, in <module> pdftotree.parse(filename, htmlpath, model_path=None, favor_figures=False, visualize=...
ValueError
def cluster_vertically_aligned_boxes( boxes, page_bbox, avg_font_pts, width, char_width, boxes_segments, boxes_curves, boxes_figures, page_width, combine, ): # Filter out boxes with zero width or height filtered_boxes = [] for bbox in boxes: if bbox.x1 - bbox....
def cluster_vertically_aligned_boxes( boxes, page_bbox, avg_font_pts, width, char_width, boxes_segments, boxes_curves, boxes_figures, page_width, combine, ): # Too many "." in the Table of Content pages if len(boxes) == 0: log.warning("No boxes were found to clust...
https://github.com/HazyResearch/pdftotree/issues/20
Digitized PDF detected, building tree structure float division by zero float division by zero float division by zero (89.33853599999992, 89.33853599999992, 50) Traceback (most recent call last): File "chh_test.py", line 10, in <module> pdftotree.parse(filename, htmlpath, model_path=None, favor_figures=False, visualize=...
ValueError
def extract_text_candidates( boxes, page_bbox, avg_font_pts, width, char_width, page_num, ref_page_seen, boxes_figures, page_width, page_height, ): # Filter out boxes with zero width or height filtered_boxes = [] for bbox in boxes: if bbox.x1 - bbox.x0 > 0 and...
def extract_text_candidates( boxes, page_bbox, avg_font_pts, width, char_width, page_num, ref_page_seen, boxes_figures, page_width, page_height, ): # Too many "." in the Table of Content pages - ignore because it takes a lot of time if len(boxes) == 0 or len(boxes) > 3500...
https://github.com/HazyResearch/pdftotree/issues/20
Digitized PDF detected, building tree structure float division by zero float division by zero float division by zero (89.33853599999992, 89.33853599999992, 50) Traceback (most recent call last): File "chh_test.py", line 10, in <module> pdftotree.parse(filename, htmlpath, model_path=None, favor_figures=False, visualize=...
ValueError
def get_figures(boxes, page_bbox, page_num, boxes_figures, page_width, page_height): # Filter out boxes with zero width or height filtered_boxes = [] for bbox in boxes: if bbox.x1 - bbox.x0 > 0 and bbox.y1 - bbox.y0 > 0: filtered_boxes.append(bbox) boxes = filtered_boxes if len(...
def get_figures(boxes, page_bbox, page_num, boxes_figures, page_width, page_height): if len(boxes) == 0: log.warning("No boxes to get figures from on page {}.".format(page_num)) return [] plane = Plane(page_bbox) plane.extend(boxes) nodes_figures = [] for fig_box in boxes_figures:...
https://github.com/HazyResearch/pdftotree/issues/20
Digitized PDF detected, building tree structure float division by zero float division by zero float division by zero (89.33853599999992, 89.33853599999992, 50) Traceback (most recent call last): File "chh_test.py", line 10, in <module> pdftotree.parse(filename, htmlpath, model_path=None, favor_figures=False, visualize=...
ValueError
def extract_text_candidates( boxes, page_bbox, avg_font_pts, width, char_width, page_num, ref_page_seen, boxes_figures, page_width, page_height, ): # Too many "." in the Table of Content pages - ignore because it takes a lot of time if len(boxes) == 0 or len(boxes) > 3500...
def extract_text_candidates( boxes, page_bbox, avg_font_pts, width, char_width, page_num, ref_page_seen, boxes_figures, page_width, page_height, ): # Too many "." in the Table of Content pages - ignore because it takes a lot of time if len(boxes) == 0 or len(boxes) > 3500...
https://github.com/HazyResearch/pdftotree/issues/22
$ pdftotree test.pdf Traceback (most recent call last): File "/home/lwhsiao/repos/pdftotree/.venv/bin/pdftotree", line 6, in <module> exec(compile(open(__file__).read(), __file__, 'exec')) File "/home/lwhsiao/repos/pdftotree/bin/pdftotree", line 82, in <module> args.favor_figures, args.visualize) File "/home/lwhsiao/re...
IndexError
def audit(data_list, tags, labels, debug=False, **kwargs): """ Runs secedit on the local machine and audits the return data with the CIS yaml processed by __virtual__ """ __data__ = {} __secdata__ = _secedit_export() __sidaccounts__ = _get_account_sid() for profile, data in data_list: ...
def audit(data_list, tags, labels, debug=False, **kwargs): """ Runs secedit on the local machine and audits the return data with the CIS yaml processed by __virtual__ """ __data__ = {} __secdata__ = _secedit_export() __sidaccounts__ = _get_account_sid() for profile, data in data_list: ...
https://github.com/hubblestack/hubble/issues/493
[ERROR ] name MACHINE\System\CurrentControlSet\Control\Lsa\pku2u\AllowOnlineID was not in __secdata__ [ERROR ] Exception occurred in nova module: [ERROR ] Traceback (most recent call last): File "C:\PROGRA~2\Hubble\hubblestack\extmods\modules\hubble.py", line 291, in _run_audit ret = func(data_list, tags, labels,...
UnboundLocalError
def load_config(): """ Load the config from configfile and load into imported salt modules """ # Parse arguments parsed_args = parse_args() # Let's find out the path of this module if "SETUP_DIRNAME" in globals(): # This is from the exec() call in Salt's setup.py this_file =...
def load_config(): """ Load the config from configfile and load into imported salt modules """ # Parse arguments parsed_args = parse_args() # Let's find out the path of this module if "SETUP_DIRNAME" in globals(): # This is from the exec() call in Salt's setup.py this_file =...
https://github.com/hubblestack/hubble/issues/493
[ERROR ] name MACHINE\System\CurrentControlSet\Control\Lsa\pku2u\AllowOnlineID was not in __secdata__ [ERROR ] Exception occurred in nova module: [ERROR ] Traceback (most recent call last): File "C:\PROGRA~2\Hubble\hubblestack\extmods\modules\hubble.py", line 291, in _run_audit ret = func(data_list, tags, labels,...
UnboundLocalError
def _mask_object(object_to_be_masked, topfile): """ Given an object with potential secrets (or other data that should not be returned), mask the contents of that object as configured in the mask configuration file. The mask configuration file used is defined by the top data in the ``topfile`` argume...
def _mask_object(object_to_be_masked, topfile): """ Given an object with potential secrets (or other data that should not be returned), mask the contents of that object as configured in the mask configuration file. The mask configuration file used is defined by the top data in the ``topfile`` argume...
https://github.com/hubblestack/hubble/issues/493
[ERROR ] name MACHINE\System\CurrentControlSet\Control\Lsa\pku2u\AllowOnlineID was not in __secdata__ [ERROR ] Exception occurred in nova module: [ERROR ] Traceback (most recent call last): File "C:\PROGRA~2\Hubble\hubblestack\extmods\modules\hubble.py", line 291, in _run_audit ret = func(data_list, tags, labels,...
UnboundLocalError
def _recursively_mask_objects( object_to_mask, blacklisted_object, mask_with, globbing_enabled ): """ This function is used by ``_mask_object()`` to mask passwords contained in an osquery data structure (formed as a list of dicts, usually). Since the lists can sometimes be nested, recurse through th...
def _recursively_mask_objects(object_to_mask, blacklisted_object, mask_with): """ This function is used by ``_mask_object()`` to mask passwords contained in an osquery data structure (formed as a list of dicts, usually). Since the lists can sometimes be nested, recurse through the lists. object_to_...
https://github.com/hubblestack/hubble/issues/493
[ERROR ] name MACHINE\System\CurrentControlSet\Control\Lsa\pku2u\AllowOnlineID was not in __secdata__ [ERROR ] Exception occurred in nova module: [ERROR ] Traceback (most recent call last): File "C:\PROGRA~2\Hubble\hubblestack\extmods\modules\hubble.py", line 291, in _run_audit ret = func(data_list, tags, labels,...
UnboundLocalError
def osqueryd_monitor( configfile=None, flagfile=None, logdir=None, databasepath=None, pidfile=None, hashfile=None, daemonize=True, ): """ This function will monitor whether osqueryd is running on the system or not. Whenever it detects that osqueryd is not running, it will start t...
def osqueryd_monitor( configfile=None, flagfile=None, logdir=None, databasepath=None, pidfile=None, hashfile=None, daemonize=True, ): """ This function will monitor whether osqueryd is running on the system or not. Whenever it detects that osqueryd is not running, it will start t...
https://github.com/hubblestack/hubble/issues/493
[ERROR ] name MACHINE\System\CurrentControlSet\Control\Lsa\pku2u\AllowOnlineID was not in __secdata__ [ERROR ] Exception occurred in nova module: [ERROR ] Traceback (most recent call last): File "C:\PROGRA~2\Hubble\hubblestack\extmods\modules\hubble.py", line 291, in _run_audit ret = func(data_list, tags, labels,...
UnboundLocalError
def _mask_object(object_to_be_masked, topfile): """ Given an object with potential secrets (or other data that should not be returned), mask the contents of that object as configured in the mask configuration file. The mask configuration file used is defined by the top data in the ``topfile`` argume...
def _mask_object(object_to_be_masked, topfile): """ Given an object with potential secrets (or other data that should not be returned), mask the contents of that object as configured in the mask configuration file. The mask configuration file used is defined by the top data in the ``topfile`` argume...
https://github.com/hubblestack/hubble/issues/493
[ERROR ] name MACHINE\System\CurrentControlSet\Control\Lsa\pku2u\AllowOnlineID was not in __secdata__ [ERROR ] Exception occurred in nova module: [ERROR ] Traceback (most recent call last): File "C:\PROGRA~2\Hubble\hubblestack\extmods\modules\hubble.py", line 291, in _run_audit ret = func(data_list, tags, labels,...
UnboundLocalError
def _mask_event_data( object_to_be_masked, query_name, column, blacklisted_object, mask_with, globbing_enabled, ): """ This method is responsible for masking potential secrets in event data generated by osquery daemon. This will handle logs format of both differential and snapshot ty...
def _mask_event_data( object_to_be_masked, query_name, column, blacklisted_object, mask_with, globbing_enabled, ): """ This method is responsible for masking potential secrets in event data generated by osquery daemon. This will handle logs format of both differential and snapshot ty...
https://github.com/hubblestack/hubble/issues/493
[ERROR ] name MACHINE\System\CurrentControlSet\Control\Lsa\pku2u\AllowOnlineID was not in __secdata__ [ERROR ] Exception occurred in nova module: [ERROR ] Traceback (most recent call last): File "C:\PROGRA~2\Hubble\hubblestack\extmods\modules\hubble.py", line 291, in _run_audit ret = func(data_list, tags, labels,...
UnboundLocalError
def _recursively_mask_objects( object_to_mask, blacklisted_object, blacklisted_patterns, mask_with, globbing_enabled, ): """ This function is used by ``_mask_object()`` to mask passwords contained in an osquery data structure (formed as a list of dicts, usually). Since the lists can ...
def _recursively_mask_objects( object_to_mask, blacklisted_object, mask_with, globbing_enabled ): """ This function is used by ``_mask_object()`` to mask passwords contained in an osquery data structure (formed as a list of dicts, usually). Since the lists can sometimes be nested, recurse through th...
https://github.com/hubblestack/hubble/issues/493
[ERROR ] name MACHINE\System\CurrentControlSet\Control\Lsa\pku2u\AllowOnlineID was not in __secdata__ [ERROR ] Exception occurred in nova module: [ERROR ] Traceback (most recent call last): File "C:\PROGRA~2\Hubble\hubblestack\extmods\modules\hubble.py", line 291, in _run_audit ret = func(data_list, tags, labels,...
UnboundLocalError
def update(): """ Update caches of the storage containers. Compares the md5 of the files on disk to the md5 of the blobs in the container, and only updates if necessary. Also processes deletions by walking the container caches and comparing with the list of blobs in the container """ f...
def update(): """ Update caches of the storage containers. Compares the md5 of the files on disk to the md5 of the blobs in the container, and only updates if necessary. Also processes deletions by walking the container caches and comparing with the list of blobs in the container """ f...
https://github.com/hubblestack/hubble/issues/248
[root@ip-10-249-71-213 ~]# hubble hubble.audit [ERROR ] Problem occurred trying to invalidate hash cach for azurefs Traceback (most recent call last): File "/opt/hubble/hubble-libs/hubblestack/extmods/fileserver/azurefs.py", line 268, in update shutil.rmtree(hash_cachedir) File "shutil.py", line 239, in rmtree File "sh...
OSError
def queries(query_group, query_file=None, verbose=False, report_version_with_day=True): """ Run the set of queries represented by ``query_group`` from the configuration in the file query_file query_group Group of queries to run query_file salt:// file which will be parsed for osque...
def queries(query_group, query_file=None, verbose=False, report_version_with_day=True): """ Run the set of queries represented by ``query_group`` from the configuration in the file query_file query_group Group of queries to run query_file salt:// file which will be parsed for osque...
https://github.com/hubblestack/hubble/issues/210
2017-09-26 20:15:08 [hubblestack.daemon][ERROR ] Error executing schedule Traceback (most recent call last): File "hubblestack/daemon.py", line 94, in main File "hubblestack/daemon.py", line 209, in schedule File "/opt/hubble/hubble-libs/hubblestack/extmods/modules/nebula_osquery.py", line 202, in queries for result ...
KeyError
def report_progress(self, s): if s["status"] == "finished": if self.params.get("noprogress", False): self.to_screen("[download] Download completed") else: if s.get("total_bytes") is not None: s["_total_bytes_str"] = format_bytes(s["total_bytes"]) ...
def report_progress(self, s): if s["status"] == "finished": if self.params.get("noprogress", False): self.to_screen("[download] Download completed") else: s["_total_bytes_str"] = format_bytes(s["total_bytes"]) if s.get("elapsed") is not None: s["_e...
https://github.com/ytdl-org/youtube-dl/issues/10809
pb3:Downloads jhawk$ youtube-dl --get-filename 'http://www.cbs.com/shows/the-late-show-with-stephen-colbert/video/Kj139uP5fQfkmaoQ4tMW2BSq7vPfhmnJ/the-late-show-9-29-2016-morgan-freeman-judith-light-jimmy-eat-world-/' The Late Show - 9_29_2016 (Morgan Freeman, Judith Light, Jimmy Eat World)-Kj139uP5fQfkmaoQ4tMW2BSq7vPf...
UnavailableVideoError
def real_download(self, filename, info_dict): self.report_destination(filename) tmpfilename = self.temp_name(filename) try: retval = self._call_downloader(tmpfilename, info_dict) except KeyboardInterrupt: if not info_dict.get("is_live"): raise # Live stream downloadi...
def real_download(self, filename, info_dict): self.report_destination(filename) tmpfilename = self.temp_name(filename) try: retval = self._call_downloader(tmpfilename, info_dict) except KeyboardInterrupt: if not info_dict.get("is_live"): raise # Live stream downloadi...
https://github.com/ytdl-org/youtube-dl/issues/10809
pb3:Downloads jhawk$ youtube-dl --get-filename 'http://www.cbs.com/shows/the-late-show-with-stephen-colbert/video/Kj139uP5fQfkmaoQ4tMW2BSq7vPfhmnJ/the-late-show-9-29-2016-morgan-freeman-judith-light-jimmy-eat-world-/' The Late Show - 9_29_2016 (Morgan Freeman, Judith Light, Jimmy Eat World)-Kj139uP5fQfkmaoQ4tMW2BSq7vPf...
UnavailableVideoError
def js_to_json(code): COMMENT_RE = r"/\*(?:(?!\*/).)*?\*/|//[^\n]*" SKIP_RE = r"\s*(?:{comment})?\s*".format(comment=COMMENT_RE) INTEGER_TABLE = ( (r"(?s)^(0[xX][0-9a-fA-F]+){skip}:?$".format(skip=SKIP_RE), 16), (r"(?s)^(0+[0-7]+){skip}:?$".format(skip=SKIP_RE), 8), ) def fix_kv(m):...
def js_to_json(code): COMMENT_RE = r"/\*(?:(?!\*/).)*?\*/|//[^\n]*" SKIP_RE = r"\s*(?:{comment})?\s*".format(comment=COMMENT_RE) INTEGER_TABLE = ( (r"(?s)^(0[xX][0-9a-fA-F]+){skip}:?$".format(skip=SKIP_RE), 16), (r"(?s)^(0+[0-7]+){skip}:?$".format(skip=SKIP_RE), 8), ) def fix_kv(m):...
https://github.com/ytdl-org/youtube-dl/issues/14789
$ python -m youtube_dl --verbose https://clips.twitch.tv/CarelessZealousKangarooNerfBlueBlaster [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://clips.twitch.tv/CarelessZealousKangarooNerfBlueBlaster'] [debug] Encodings: locale UTF-8, fs utf-8...
json.decoder.JSONDecodeError
def _real_extract(self, url): video_id = self._match_id(url) url_pattern = "https://openload.co/%%s/%s/" % video_id headers = { "User-Agent": self._USER_AGENT, } for path in ("embed", "f"): page_url = url_pattern % path last = path == "f" webpage = self._download_web...
def _real_extract(self, url): video_id = self._match_id(url) url = "https://openload.co/embed/%s/" % video_id headers = { "User-Agent": self._USER_AGENT, } webpage = self._download_webpage(url, video_id, headers=headers) if "File not found" in webpage or "deleted by the owner" in webpa...
https://github.com/ytdl-org/youtube-dl/issues/14665
[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'https://openload.co/f/e-Ixz9ZR5L0/', u'-v'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2017.10.29 [debug] Python version 2.7.10 [debug] exe versions: ffmpeg 3.4, ffp...
ExtractorError
def process_ie_result(self, ie_result, download=True, extra_info={}): """ Take the result of the ie(may be modified) and resolve all unresolved references (URLs, playlist items). It will also download the videos if 'download'. Returns the resolved ie_result. """ result_type = ie_result.get(...
def process_ie_result(self, ie_result, download=True, extra_info={}): """ Take the result of the ie(may be modified) and resolve all unresolved references (URLs, playlist items). It will also download the videos if 'download'. Returns the resolved ie_result. """ result_type = ie_result.get(...
https://github.com/ytdl-org/youtube-dl/issues/14425
[youtube:playlist] Downloading playlist PLbIzmw8qvgXRPK9ozTWhHfyzFvG8fN-Qz - add --no-playlist to just download video qEkj2c1HCJs [youtube:playlist] PLbIzmw8qvgXRPK9ozTWhHfyzFvG8fN-Qz: Downloading webpage [download] Downloading playlist: Amansız Övücüler Traceback (most recent call last): File "<stdin>", line 11, in <m...
IndexError
def _real_extract(self, url): video_id = self._match_id(url) self._set_cookie("cda.pl", "cda.player", "html5") webpage = self._download_webpage(self._BASE_URL + "/video/" + video_id, video_id) if "Ten film jest dostępny dla użytkowników premium" in webpage: raise ExtractorError( "Th...
def _real_extract(self, url): video_id = self._match_id(url) self._set_cookie("cda.pl", "cda.player", "html5") webpage = self._download_webpage(self._BASE_URL + "/video/" + video_id, video_id) if "Ten film jest dostępny dla użytkowników premium" in webpage: raise ExtractorError( "Th...
https://github.com/ytdl-org/youtube-dl/issues/13935
youtube-dl -gvv https://www.cda.pl/video/9443700b [debug] System config: [u'--prefer-free-formats'] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-gvv', u'https://www.cda.pl/video/9443700b'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 201...
ExtractorError
def extract_format(page, version): json_str = self._html_search_regex( r'player_data=(\\?["\'])(?P<player_data>.+?)\1', page, "%s player_json" % version, fatal=False, group="player_data", ) if not json_str: return player_data = self._parse_json(json_str, "...
def extract_format(page, version): json_str = self._search_regex( r'player_data=(\\?["\'])(?P<player_data>.+?)\1', page, "%s player_json" % version, fatal=False, group="player_data", ) if not json_str: return player_data = self._parse_json(json_str, "%s pl...
https://github.com/ytdl-org/youtube-dl/issues/13935
youtube-dl -gvv https://www.cda.pl/video/9443700b [debug] System config: [u'--prefer-free-formats'] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-gvv', u'https://www.cda.pl/video/9443700b'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 201...
ExtractorError
def unescapeHTML(s): if s is None: return None assert type(s) == compat_str return re.sub(r"&([^&;]+;)", lambda m: _htmlentity_transform(m.group(1)), s)
def unescapeHTML(s): if s is None: return None assert type(s) == compat_str return re.sub(r"&([^;]+;)", lambda m: _htmlentity_transform(m.group(1)), s)
https://github.com/ytdl-org/youtube-dl/issues/13935
youtube-dl -gvv https://www.cda.pl/video/9443700b [debug] System config: [u'--prefer-free-formats'] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-gvv', u'https://www.cda.pl/video/9443700b'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 201...
ExtractorError
def _real_extract(self, url): video_id = self._match_id(url) # Get video webpage. We are not actually interested in it for normal # cases, but need the cookies in order to be able to download the # info webpage webpage, handle = self._download_webpage_handle( "http://www.nicovideo.jp/watch/...
def _real_extract(self, url): video_id = self._match_id(url) # Get video webpage. We are not actually interested in it for normal # cases, but need the cookies in order to be able to download the # info webpage webpage, handle = self._download_webpage_handle( "http://www.nicovideo.jp/watch/...
https://github.com/ytdl-org/youtube-dl/issues/13806
[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', '-v', '--user-agen t', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.112 Safari/537.36 Vivaldi/1.91.867.48', 'http://www.nicovideo.j p/...
urllib.error.HTTPError
def _real_extract(self, url): if url.startswith("//"): return { "_type": "url", "url": self.http_scheme() + url, } parsed_url = compat_urlparse.urlparse(url) if not parsed_url.scheme: default_search = self._downloader.params.get("default_search") if d...
def _real_extract(self, url): if url.startswith("//"): return { "_type": "url", "url": self.http_scheme() + url, } parsed_url = compat_urlparse.urlparse(url) if not parsed_url.scheme: default_search = self._downloader.params.get("default_search") if d...
https://github.com/ytdl-org/youtube-dl/issues/12410
pb3:youtube-dl jhawk$ git checkout b898f0a173fa040ddf95dbd97650cec07a8f19f5 Previous HEAD position was a50862b73... [downloader/external] Add missing import and PEP8 HEAD is now at b898f0a17... [elpais] Fix typo and improve extraction (closes #12139) pb3:youtube-dl jhawk$ python test/test_download.py TestDownload.test_...
KeyError
def __init__(self, code=None, msg=None): if code is not None and msg is None: msg = self.CODES.get(code) or "unknown error" super(ProxyError, self).__init__(code, msg)
def __init__(self, code=None, msg=None): if code is not None and msg is None: msg = self.CODES.get(code) and "unknown error" super(ProxyError, self).__init__(code, msg)
https://github.com/ytdl-org/youtube-dl/issues/11355
$ youtube-dl -v --proxy socks5://127.0.0.1:9050/ http://www.spiegel.tv/filme/bbc-gefaehrliche-strassen-sibirien/ [debug] System config: [] [debug] User config: [u'--restrict-filenames', u'--no-mtime', u'--no-part', u'-x', u'-k', u'--audio-format', u'mp3', u'--audio-quality', u'0'] [debug] Command-line args: [u'-v', u'-...
youtube_dl.socks.Socks5Error
def write_xattr(path, key, value): # This mess below finds the best xattr tool for the job try: # try the pyxattr module... import xattr if hasattr(xattr, "set"): # pyxattr # Unicode arguments are not supported in python-pyxattr until # version 0.5.0 ...
def write_xattr(path, key, value): # This mess below finds the best xattr tool for the job try: # try the pyxattr module... import xattr # Unicode arguments are not supported in python-pyxattr until # version 0.5.0 # See https://github.com/rg3/youtube-dl/issues/5498 ...
https://github.com/ytdl-org/youtube-dl/issues/9054
$ youtube-dl --write-auto-sub --sub-format srt --include-ads --console-title --newline --embed-subs --xattrs --add-metadata -v https://www.youtube.com/watch?v=Bfktt22nUG4 [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--write-auto-sub', u'--sub-format', u'srt', u'--include-ads', u'--con...
AttributeError
def real_download(self, filename, info_dict): base_url = info_dict["url"] segment_urls = ( [info_dict["segment_urls"][0]] if self.params.get("test", False) else info_dict["segment_urls"] ) initialization_url = info_dict.get("initialization_url") ctx = { "filename": f...
def real_download(self, filename, info_dict): base_url = info_dict["url"] segment_urls = ( [info_dict["segment_urls"][0]] if self.params.get("test", False) else info_dict["segment_urls"] ) initialization_url = info_dict.get("initialization_url") ctx = { "filename": f...
https://github.com/ytdl-org/youtube-dl/issues/10448
PS C:\dev\youtube-dl\master> youtube-dl.exe https://www.twitch.tv/naysayer88/v/85713845 - v [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['https://www.twitch.tv/naysayer88/v/85713845', '-v'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2016...
urllib.error.HTTPError
def append_url_to_file(target_url, tmp_filename, segment_name): target_filename = "%s-%s" % (tmp_filename, segment_name) count = 0 while count <= fragment_retries: try: success = ctx["dl"].download( target_filename, {"url": combine_url(base_url, target_url)} )...
def append_url_to_file(target_url, tmp_filename, segment_name): target_filename = "%s-%s" % (tmp_filename, segment_name) count = 0 while count <= fragment_retries: try: success = ctx["dl"].download( target_filename, {"url": combine_url(base_url, target_url)} )...
https://github.com/ytdl-org/youtube-dl/issues/10448
PS C:\dev\youtube-dl\master> youtube-dl.exe https://www.twitch.tv/naysayer88/v/85713845 - v [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['https://www.twitch.tv/naysayer88/v/85713845', '-v'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2016...
urllib.error.HTTPError
def real_download(self, filename, info_dict): man_url = info_dict["url"] self.to_screen("[%s] Downloading m3u8 manifest" % self.FD_NAME) manifest = self.ydl.urlopen(man_url).read() s = manifest.decode("utf-8", "ignore") if not self.can_download(s): self.report_warning( "hlsnati...
def real_download(self, filename, info_dict): man_url = info_dict["url"] self.to_screen("[%s] Downloading m3u8 manifest" % self.FD_NAME) manifest = self.ydl.urlopen(man_url).read() s = manifest.decode("utf-8", "ignore") if not self.can_download(s): self.report_warning( "hlsnati...
https://github.com/ytdl-org/youtube-dl/issues/10448
PS C:\dev\youtube-dl\master> youtube-dl.exe https://www.twitch.tv/naysayer88/v/85713845 - v [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['https://www.twitch.tv/naysayer88/v/85713845', '-v'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2016...
urllib.error.HTTPError
def _real_extract(self, url): url, data = unsmuggle_url(url, {}) headers = std_headers.copy() if "http_headers" in data: headers.update(data["http_headers"]) if "Referer" not in headers: headers["Referer"] = url # Extract ID from URL mobj = re.match(self._VALID_URL, url) vid...
def _real_extract(self, url): url, data = unsmuggle_url(url, {}) headers = std_headers if "http_headers" in data: headers = headers.copy() headers.update(data["http_headers"]) if "Referer" not in headers: headers["Referer"] = url # Extract ID from URL mobj = re.match(sel...
https://github.com/ytdl-org/youtube-dl/issues/8778
[vimeo] 149274392: Downloading webpage [vimeo] 149274392: Extracting information [vimeo] 149274392: Downloading webpage [vimeo] 149274392: Downloading JSON metadata [vimeo] 149274392: Downloading m3u8 information [tudou] ayXy8TTcG0M: Downloading JSON metadata [tudou] ayXy8TTcG0M: found 26 parts [tudou] 400753010: Openi...
AttributeError
def _login(self): (username, password) = self._get_login_info() if username is None: self.raise_login_required("safaribooksonline.com account is required") headers = std_headers.copy() if "Referer" not in headers: headers["Referer"] = self._LOGIN_URL login_page_request = sanitized_R...
def _login(self): (username, password) = self._get_login_info() if username is None: self.raise_login_required("safaribooksonline.com account is required") headers = std_headers if "Referer" not in headers: headers["Referer"] = self._LOGIN_URL login_page = self._download_webpage(se...
https://github.com/ytdl-org/youtube-dl/issues/8778
[vimeo] 149274392: Downloading webpage [vimeo] 149274392: Extracting information [vimeo] 149274392: Downloading webpage [vimeo] 149274392: Downloading JSON metadata [vimeo] 149274392: Downloading m3u8 information [tudou] ayXy8TTcG0M: Downloading JSON metadata [tudou] ayXy8TTcG0M: found 26 parts [tudou] 400753010: Openi...
AttributeError
def run(self, info): metadata = {} if info.get("title") is not None: metadata["title"] = info["title"] if info.get("upload_date") is not None: metadata["date"] = info["upload_date"] if info.get("artist") is not None: metadata["artist"] = info["artist"] elif info.get("uploader...
def run(self, info): metadata = {} if info.get("title") is not None: metadata["title"] = info["title"] if info.get("upload_date") is not None: metadata["date"] = info["upload_date"] if info.get("artist") is not None: metadata["artist"] = info["artist"] elif info.get("uploader...
https://github.com/ytdl-org/youtube-dl/issues/8350
[debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--ignore-config', u'--verbose', u'--download-archive', u'/home/vxbinaca/.ytdlarchive', u'--no-overwrites', u'--call-home', u'--continue', u'--write-info-json', u'--write-description', u'--write-thumbnail', u'--merge-output-format', u'mkv--a...
FFmpegPostProcessorError
def run(self, info): metadata = {} if info.get("title") is not None: metadata["title"] = info["title"] if info.get("upload_date") is not None: metadata["date"] = info["upload_date"] if info.get("artist") is not None: metadata["artist"] = info["artist"] elif info.get("uploader...
def run(self, info): metadata = {} if info.get("title") is not None: metadata["title"] = info["title"] if info.get("upload_date") is not None: metadata["date"] = info["upload_date"] if info.get("artist") is not None: metadata["artist"] = info["artist"] elif info.get("uploader...
https://github.com/ytdl-org/youtube-dl/issues/8350
[debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--ignore-config', u'--verbose', u'--download-archive', u'/home/vxbinaca/.ytdlarchive', u'--no-overwrites', u'--call-home', u'--continue', u'--write-info-json', u'--write-description', u'--write-thumbnail', u'--merge-output-format', u'mkv--a...
FFmpegPostProcessorError
def _real_extract(self, url): video_id = self._match_id(url) video_type = None webpage = self._download_webpage(url, video_id) # We first look for clipid, because clipprog always appears before patterns = [r"id=\'clip(%s)\'\s*value=\'([0-9]+)\'" % t for t in ("id", "prog")] results = list(filter...
def _real_extract(self, url): video_id = self._match_id(url) video_type = None webpage = self._download_webpage(url, video_id) matches = re.search(r"data-(prog|clip)id=\'([0-9]+)\'", webpage) if matches: video_type, video_id = matches.groups() if video_type == "prog": vid...
https://github.com/ytdl-org/youtube-dl/issues/8032
~ $ youtube-dl -v http://www.c-span.org/video/?319979-1/european-security-ukraine [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', 'http://www.c-span.org/video/?319979-1/european-security-ukraine'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl ver...
UnboundLocalError
def _real_extract(self, url): video_id = self._match_id(url) video_type = None webpage = self._download_webpage(url, video_id) matches = re.search(r"data-(prog|clip)id=\'([0-9]+)\'", webpage) if matches: video_type, video_id = matches.groups() if video_type == "prog": vid...
def _real_extract(self, url): video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) matches = re.search(r"data-(prog|clip)id=\'([0-9]+)\'", webpage) if matches: video_type, video_id = matches.groups() if video_type == "prog": video_type = "program" ...
https://github.com/ytdl-org/youtube-dl/issues/8032
~ $ youtube-dl -v http://www.c-span.org/video/?319979-1/european-security-ukraine [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', 'http://www.c-span.org/video/?319979-1/european-security-ukraine'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl ver...
UnboundLocalError
def _real_extract(self, url): url, smuggled_data = unsmuggle_url(url, {}) proto = "http" if self._downloader.params.get("prefer_insecure", False) else "https" start_time = None end_time = None parsed_url = compat_urllib_parse_urlparse(url) for component in [parsed_url.fragment, parsed_url.quer...
def _real_extract(self, url): url, smuggled_data = unsmuggle_url(url, {}) proto = "http" if self._downloader.params.get("prefer_insecure", False) else "https" start_time = None end_time = None parsed_url = compat_urllib_parse_urlparse(url) for component in [parsed_url.fragment, parsed_url.quer...
https://github.com/ytdl-org/youtube-dl/issues/7468
$ PYTHONPATH=`pwd` ./bin/youtube-dl --verbose --list-formats 'https://www.youtube.com/watch?v=Ms7iBXnlUO8' [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--verbose', u'--list-formats', u'https://www.youtube.com/watch?v=Ms7iBXnlUO8'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8,...
ValueError
def _get_automatic_captions(self, video_id, webpage): """We need the webpage for getting the captions url, pass it as an argument to speed up the process.""" self.to_screen("%s: Looking for automatic captions" % video_id) player_config = self._get_ytplayer_config(webpage) err_msg = "Couldn't find au...
def _get_automatic_captions(self, video_id, webpage): """We need the webpage for getting the captions url, pass it as an argument to speed up the process.""" self.to_screen("%s: Looking for automatic captions" % video_id) mobj = re.search(r";ytplayer.config = ({.*?});", webpage) err_msg = "Couldn't ...
https://github.com/ytdl-org/youtube-dl/issues/7468
$ PYTHONPATH=`pwd` ./bin/youtube-dl --verbose --list-formats 'https://www.youtube.com/watch?v=Ms7iBXnlUO8' [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--verbose', u'--list-formats', u'https://www.youtube.com/watch?v=Ms7iBXnlUO8'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8,...
ValueError
def _real_extract(self, url): url, data = unsmuggle_url(url) headers = std_headers if data is not None: headers = headers.copy() headers.update(data) if "Referer" not in headers: headers["Referer"] = url # Extract ID from URL mobj = re.match(self._VALID_URL, url) vid...
def _real_extract(self, url): url, data = unsmuggle_url(url) headers = std_headers if data is not None: headers = headers.copy() headers.update(data) if "Referer" not in headers: headers["Referer"] = url # Extract ID from URL mobj = re.match(self._VALID_URL, url) vid...
https://github.com/ytdl-org/youtube-dl/issues/5001
benjaminmikiten@benjaminmikiten ~/Dropbox/printing_vids $ youtube-dl --batch-file batch.txt --video-password dcp2015 -v [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--batch-file', 'batch.txt', '--video-password', u'PRIVATE', '-v'] [debug] Batch file urls: [u'https://vimeo.com/118076403...
RegexNotFoundError
def _verify_video_password(self, url, video_id, webpage): password = self._downloader.params.get("videopassword", None) if password is None: raise ExtractorError( "This video is protected by a password, use the --video-password option", expected=True, ) token = self._...
def _verify_video_password(self, url, video_id, webpage): password = self._downloader.params.get("videopassword", None) if password is None: raise ExtractorError( "This video is protected by a password, use the --video-password option", expected=True, ) token = self._...
https://github.com/ytdl-org/youtube-dl/issues/5001
benjaminmikiten@benjaminmikiten ~/Dropbox/printing_vids $ youtube-dl --batch-file batch.txt --video-password dcp2015 -v [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--batch-file', 'batch.txt', '--video-password', u'PRIVATE', '-v'] [debug] Batch file urls: [u'https://vimeo.com/118076403...
RegexNotFoundError
def _real_extract(self, url): url, data = unsmuggle_url(url) headers = std_headers if data is not None: headers = headers.copy() headers.update(data) if "Referer" not in headers: headers["Referer"] = url # Extract ID from URL mobj = re.match(self._VALID_URL, url) vid...
def _real_extract(self, url): url, data = unsmuggle_url(url) headers = std_headers if data is not None: headers = headers.copy() headers.update(data) if "Referer" not in headers: headers["Referer"] = url # Extract ID from URL mobj = re.match(self._VALID_URL, url) vid...
https://github.com/ytdl-org/youtube-dl/issues/5001
benjaminmikiten@benjaminmikiten ~/Dropbox/printing_vids $ youtube-dl --batch-file batch.txt --video-password dcp2015 -v [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--batch-file', 'batch.txt', '--video-password', u'PRIVATE', '-v'] [debug] Batch file urls: [u'https://vimeo.com/118076403...
RegexNotFoundError
def prepare_filename(self, info_dict): """Generate the output filename.""" try: template_dict = dict(info_dict) template_dict["epoch"] = int(time.time()) autonumber_size = self.params.get("autonumber_size") if autonumber_size is None: autonumber_size = 5 auto...
def prepare_filename(self, info_dict): """Generate the output filename.""" try: template_dict = dict(info_dict) template_dict["epoch"] = int(time.time()) autonumber_size = self.params.get("autonumber_size") if autonumber_size is None: autonumber_size = 5 auto...
https://github.com/ytdl-org/youtube-dl/issues/4787
python -m youtube_dl -f 160+140 -v Y9o7ILCPSFU [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-f', '160+140', '-v', 'Y9o7ILCPSFU'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2015.01.23.4 [debug] Git HEAD: 80a49d3 [debug] Python version 2....
FFmpegPostProcessorError
def _real_extract(self, url): proto = "http" if self._downloader.params.get("prefer_insecure", False) else "https" # Extract original video URL from URL with redirection, like age verification, using next_url parameter mobj = re.search(self._NEXT_URL_RE, url) if mobj: url = ( proto ...
def _real_extract(self, url): proto = "http" if self._downloader.params.get("prefer_insecure", False) else "https" # Extract original video URL from URL with redirection, like age verification, using next_url parameter mobj = re.search(self._NEXT_URL_RE, url) if mobj: url = ( proto ...
https://github.com/ytdl-org/youtube-dl/issues/4431
youtube-dl -f bestvideo+bestaudio/best --verbose lqQg6PlCWgI [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-f', 'bestvideo+bestaudio/best', '--verbose', 'lqQg6PlCWgI'] [debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252 [debug] youtube-dl version 2014.12.01 [debug] Python ...
TypeError
def process_info(self, info_dict): """Process a single resolved IE result.""" assert info_dict.get("_type", "video") == "video" max_downloads = self.params.get("max_downloads") if max_downloads is not None: if self._num_downloads >= int(max_downloads): raise MaxDownloadsReached() ...
def process_info(self, info_dict): """Process a single resolved IE result.""" assert info_dict.get("_type", "video") == "video" max_downloads = self.params.get("max_downloads") if max_downloads is not None: if self._num_downloads >= int(max_downloads): raise MaxDownloadsReached() ...
https://github.com/ytdl-org/youtube-dl/issues/2883
$ youtube-dl --format='bestvideo+bestaudio' --get-url https://www.youtube.com/watch?v=MjQG1s3Isgg Traceback (most recent call last): File "/usr/bin/youtube-dl", line 6, in <module> youtube_dl.main() File "/usr/lib64/python2.7/site-packages/youtube_dl/__init__.py", line 847, in main _real_main(argv) File "/usr/lib64/pyt...
KeyError
def process_info(self, info_dict): """Process a single resolved IE result.""" assert info_dict.get("_type", "video") == "video" # We increment the download the download count here to match the previous behaviour. self.increment_downloads() info_dict["fulltitle"] = info_dict["title"] if len(inf...
def process_info(self, info_dict): """Process a single resolved IE result.""" assert info_dict.get("_type", "video") == "video" # We increment the download the download count here to match the previous behaviour. self.increment_downloads() info_dict["fulltitle"] = info_dict["title"] if len(inf...
https://github.com/ytdl-org/youtube-dl/issues/1277
youtube-dl --write-description http://www.dailymotion.com/video/xp0tg8_hjernevask-brainwashing-in-norway-english-part-1-the-gender-equality-paradox_news [dailymotion] xp0tg8: Downloading webpage [dailymotion] xp0tg8: Extracting information [dailymotion] xp0tg8: Downloading embed page [dailymotion] Using stream_h264_hq_...
KeyError
async def sendfile(self, writer: asyncio.StreamWriter) -> int: """ Read and send the file to the writer and return the number of bytes sent """ if not self.is_readable(): raise OSError("blob files cannot be read") with self.reader_context() as handle: try: return await s...
async def sendfile(self, writer: asyncio.StreamWriter) -> int: """ Read and send the file to the writer and return the number of bytes sent """ if not self.is_readable(): raise OSError("blob files cannot be read") with self.reader_context() as handle: try: return await s...
https://github.com/lbryio/lbry-sdk/issues/2368
2019-08-01 18:18:06,916 INFO lbry.stream.reflector.client:119: Sent reflector blob e5828b7e 2019-08-01 18:18:29,221 INFO lbry.stream.reflector.client:119: Sent reflector blob 867d1a2c 2019-08-01 18:18:51,545 INFO lbry.stream.reflector.client:119: Sent reflector blob 6e365367 2019-08-01 18:18:58,400 INFO ...
AttributeError
async def handle_request(self, request: BlobRequest): addr = self.transport.get_extra_info("peername") peer_address, peer_port = addr responses = [] address_request = request.get_address_request() if address_request: responses.append( BlobPaymentAddressResponse(lbrycrd_address=s...
async def handle_request(self, request: BlobRequest): addr = self.transport.get_extra_info("peername") peer_address, peer_port = addr responses = [] address_request = request.get_address_request() if address_request: responses.append( BlobPaymentAddressResponse(lbrycrd_address=s...
https://github.com/lbryio/lbry-sdk/issues/2368
2019-08-01 18:18:06,916 INFO lbry.stream.reflector.client:119: Sent reflector blob e5828b7e 2019-08-01 18:18:29,221 INFO lbry.stream.reflector.client:119: Sent reflector blob 867d1a2c 2019-08-01 18:18:51,545 INFO lbry.stream.reflector.client:119: Sent reflector blob 6e365367 2019-08-01 18:18:58,400 INFO ...
AttributeError
async def jsonrpc_wallet_send( self, amount, addresses, wallet_id=None, change_account_id=None, funding_account_ids=None, preview=False, ): """ Send the same number of credits to multiple addresses using all accounts in wallet to fund the transaction and the default account to re...
async def jsonrpc_wallet_send( self, amount, addresses, wallet_id=None, change_account_id=None, funding_account_ids=None, preview=False, ): """ Send the same number of credits to multiple addresses using all accounts in wallet to fund the transaction and the default account to re...
https://github.com/lbryio/lbry-sdk/issues/2368
2019-08-01 18:18:06,916 INFO lbry.stream.reflector.client:119: Sent reflector blob e5828b7e 2019-08-01 18:18:29,221 INFO lbry.stream.reflector.client:119: Sent reflector blob 867d1a2c 2019-08-01 18:18:51,545 INFO lbry.stream.reflector.client:119: Sent reflector blob 6e365367 2019-08-01 18:18:58,400 INFO ...
AttributeError
async def jsonrpc_channel_create( self, name, bid, allow_duplicate_name=False, account_id=None, wallet_id=None, claim_address=None, funding_account_ids=None, preview=False, blocking=False, **kwargs, ): """ Create a new channel by generating a channel private key and e...
async def jsonrpc_channel_create( self, name, bid, allow_duplicate_name=False, account_id=None, wallet_id=None, claim_address=None, funding_account_ids=None, preview=False, blocking=False, **kwargs, ): """ Create a new channel by generating a channel private key and e...
https://github.com/lbryio/lbry-sdk/issues/2368
2019-08-01 18:18:06,916 INFO lbry.stream.reflector.client:119: Sent reflector blob e5828b7e 2019-08-01 18:18:29,221 INFO lbry.stream.reflector.client:119: Sent reflector blob 867d1a2c 2019-08-01 18:18:51,545 INFO lbry.stream.reflector.client:119: Sent reflector blob 6e365367 2019-08-01 18:18:58,400 INFO ...
AttributeError
async def jsonrpc_channel_update( self, claim_id, bid=None, account_id=None, wallet_id=None, claim_address=None, funding_account_ids=None, new_signing_key=False, preview=False, blocking=False, replace=False, **kwargs, ): """ Update an existing channel claim. ...
async def jsonrpc_channel_update( self, claim_id, bid=None, account_id=None, wallet_id=None, claim_address=None, funding_account_ids=None, new_signing_key=False, preview=False, blocking=False, replace=False, **kwargs, ): """ Update an existing channel claim. ...
https://github.com/lbryio/lbry-sdk/issues/2368
2019-08-01 18:18:06,916 INFO lbry.stream.reflector.client:119: Sent reflector blob e5828b7e 2019-08-01 18:18:29,221 INFO lbry.stream.reflector.client:119: Sent reflector blob 867d1a2c 2019-08-01 18:18:51,545 INFO lbry.stream.reflector.client:119: Sent reflector blob 6e365367 2019-08-01 18:18:58,400 INFO ...
AttributeError
async def jsonrpc_channel_abandon( self, claim_id=None, txid=None, nout=None, account_id=None, wallet_id=None, preview=False, blocking=True, ): """ Abandon one of my channel claims. Usage: channel_abandon [<claim_id> | --claim_id=<claim_id>] [...
async def jsonrpc_channel_abandon( self, claim_id=None, txid=None, nout=None, account_id=None, wallet_id=None, preview=False, blocking=True, ): """ Abandon one of my channel claims. Usage: channel_abandon [<claim_id> | --claim_id=<claim_id>] [...
https://github.com/lbryio/lbry-sdk/issues/2368
2019-08-01 18:18:06,916 INFO lbry.stream.reflector.client:119: Sent reflector blob e5828b7e 2019-08-01 18:18:29,221 INFO lbry.stream.reflector.client:119: Sent reflector blob 867d1a2c 2019-08-01 18:18:51,545 INFO lbry.stream.reflector.client:119: Sent reflector blob 6e365367 2019-08-01 18:18:58,400 INFO ...
AttributeError
async def jsonrpc_stream_repost( self, name, bid, claim_id, allow_duplicate_name=False, channel_id=None, channel_name=None, channel_account_id=None, account_id=None, wallet_id=None, claim_address=None, funding_account_ids=None, preview=False, blocking=False, ): ...
async def jsonrpc_stream_repost( self, name, bid, claim_id, allow_duplicate_name=False, channel_id=None, channel_name=None, channel_account_id=None, account_id=None, wallet_id=None, claim_address=None, funding_account_ids=None, preview=False, blocking=False, ): ...
https://github.com/lbryio/lbry-sdk/issues/2368
2019-08-01 18:18:06,916 INFO lbry.stream.reflector.client:119: Sent reflector blob e5828b7e 2019-08-01 18:18:29,221 INFO lbry.stream.reflector.client:119: Sent reflector blob 867d1a2c 2019-08-01 18:18:51,545 INFO lbry.stream.reflector.client:119: Sent reflector blob 6e365367 2019-08-01 18:18:58,400 INFO ...
AttributeError
async def jsonrpc_stream_create( self, name, bid, file_path, allow_duplicate_name=False, channel_id=None, channel_name=None, channel_account_id=None, account_id=None, wallet_id=None, claim_address=None, funding_account_ids=None, preview=False, blocking=False, ...
async def jsonrpc_stream_create( self, name, bid, file_path, allow_duplicate_name=False, channel_id=None, channel_name=None, channel_account_id=None, account_id=None, wallet_id=None, claim_address=None, funding_account_ids=None, preview=False, blocking=False, ...
https://github.com/lbryio/lbry-sdk/issues/2368
2019-08-01 18:18:06,916 INFO lbry.stream.reflector.client:119: Sent reflector blob e5828b7e 2019-08-01 18:18:29,221 INFO lbry.stream.reflector.client:119: Sent reflector blob 867d1a2c 2019-08-01 18:18:51,545 INFO lbry.stream.reflector.client:119: Sent reflector blob 6e365367 2019-08-01 18:18:58,400 INFO ...
AttributeError
async def jsonrpc_stream_update( self, claim_id, bid=None, file_path=None, channel_id=None, channel_name=None, channel_account_id=None, clear_channel=False, account_id=None, wallet_id=None, claim_address=None, funding_account_ids=None, preview=False, blocking=Fals...
async def jsonrpc_stream_update( self, claim_id, bid=None, file_path=None, channel_id=None, channel_name=None, channel_account_id=None, clear_channel=False, account_id=None, wallet_id=None, claim_address=None, funding_account_ids=None, preview=False, blocking=Fals...
https://github.com/lbryio/lbry-sdk/issues/2368
2019-08-01 18:18:06,916 INFO lbry.stream.reflector.client:119: Sent reflector blob e5828b7e 2019-08-01 18:18:29,221 INFO lbry.stream.reflector.client:119: Sent reflector blob 867d1a2c 2019-08-01 18:18:51,545 INFO lbry.stream.reflector.client:119: Sent reflector blob 6e365367 2019-08-01 18:18:58,400 INFO ...
AttributeError
async def jsonrpc_stream_abandon( self, claim_id=None, txid=None, nout=None, account_id=None, wallet_id=None, preview=False, blocking=False, ): """ Abandon one of my stream claims. Usage: stream_abandon [<claim_id> | --claim_id=<claim_id>] [<tx...
async def jsonrpc_stream_abandon( self, claim_id=None, txid=None, nout=None, account_id=None, wallet_id=None, preview=False, blocking=False, ): """ Abandon one of my stream claims. Usage: stream_abandon [<claim_id> | --claim_id=<claim_id>] [<tx...
https://github.com/lbryio/lbry-sdk/issues/2368
2019-08-01 18:18:06,916 INFO lbry.stream.reflector.client:119: Sent reflector blob e5828b7e 2019-08-01 18:18:29,221 INFO lbry.stream.reflector.client:119: Sent reflector blob 867d1a2c 2019-08-01 18:18:51,545 INFO lbry.stream.reflector.client:119: Sent reflector blob 6e365367 2019-08-01 18:18:58,400 INFO ...
AttributeError
async def jsonrpc_collection_create( self, name, bid, claims, allow_duplicate_name=False, channel_id=None, channel_name=None, channel_account_id=None, account_id=None, wallet_id=None, claim_address=None, funding_account_ids=None, preview=False, blocking=False, ...
async def jsonrpc_collection_create( self, name, bid, claims, allow_duplicate_name=False, channel_id=None, channel_name=None, channel_account_id=None, account_id=None, wallet_id=None, claim_address=None, funding_account_ids=None, preview=False, blocking=False, ...
https://github.com/lbryio/lbry-sdk/issues/2368
2019-08-01 18:18:06,916 INFO lbry.stream.reflector.client:119: Sent reflector blob e5828b7e 2019-08-01 18:18:29,221 INFO lbry.stream.reflector.client:119: Sent reflector blob 867d1a2c 2019-08-01 18:18:51,545 INFO lbry.stream.reflector.client:119: Sent reflector blob 6e365367 2019-08-01 18:18:58,400 INFO ...
AttributeError