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 get_diff_input_output(self, pin, port, attrs, invert): self._check_feature( "differential input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True ) m = Module() i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert, o_invert=invert) for bit in range(pin.width): m.submo...
def get_diff_input_output(self, pin, p_port, n_port, attrs, invert): self._check_feature( "differential input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True ) m = Module() i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert, o_invert=invert) for bit in range(len(p_port)): ...
https://github.com/nmigen/nmigen/issues/456
ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained) 0 warnings, 1 error Traceback (most recent call last): File "diffpairissue.py", line 20, in <module> ECPIX585Platform().build(Top(), do_program=True) File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ...
subprocess.CalledProcessError
def convert( fi, ios=None, name="top", special_overrides=dict(), attr_translate=None, create_clock_domains=True, display_run=False, ): if display_run: warnings.warn( "`display_run=True` support has been removed", DeprecationWarning, stacklevel=...
def convert( fi, ios=None, name="top", special_overrides=dict(), attr_translate=None, create_clock_domains=True, display_run=False, ): if display_run: warnings.warn( "`display_run=True` support has been removed", DeprecationWarning, stacklevel=...
https://github.com/nmigen/nmigen/issues/344
Traceback (most recent call last): File "src/test_run_simulation_bug.py", line 28, in <module> test1() File "src/test_run_simulation_bug.py", line 24, in test1 vcd_name="test_run_simulation_bug.vcd") File "/home/jacob/projects/nmigen/nmigen/compat/sim/__init__.py", line 22, in run_simulation fragment.domains += ClockDo...
AttributeError
def run_simulation( fragment_or_module, generators, clocks={"sync": 10}, vcd_name=None, special_overrides={}, ): assert not special_overrides if hasattr(fragment_or_module, "get_fragment"): fragment = fragment_or_module.get_fragment() else: fragment = fragment_or_module ...
def run_simulation( fragment_or_module, generators, clocks={"sync": 10}, vcd_name=None, special_overrides={}, ): assert not special_overrides if hasattr(fragment_or_module, "get_fragment"): fragment = fragment_or_module.get_fragment() else: fragment = fragment_or_module ...
https://github.com/nmigen/nmigen/issues/344
Traceback (most recent call last): File "src/test_run_simulation_bug.py", line 28, in <module> test1() File "src/test_run_simulation_bug.py", line 24, in test1 vcd_name="test_run_simulation_bug.vcd") File "/home/jacob/projects/nmigen/nmigen/compat/sim/__init__.py", line 22, in run_simulation fragment.domains += ClockDo...
AttributeError
def add_arguments(self, parser): parser.add_argument("slugs", nargs="+", type=str) parser.add_argument( "-f", action="store_true", dest="force", default=False, help="Force a build in sphinx", ) parser.add_argument( "-V", dest="version", d...
def add_arguments(self, parser): parser.add_argument("slugs", nargs="+", type=str) parser.add_argument( "-r", action="store_true", dest="record", default=False, help="Make a Build", ) parser.add_argument( "-f", action="store_true", dest="...
https://github.com/readthedocs/readthedocs.org/issues/3696
$ python manage.py update_repos pip [28/Feb/2018 04:43:25] root:124[23847]: INFO Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt [28/Feb/2018 04:43:25] root:124[23847]: INFO Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt System check identified some issues: WARNINGS:...
HttpClientError
def handle(self, *args, **options): force = options["force"] version = options["version"] if options.get("slugs", []): for slug in options["slugs"]: if version and version != "all": log.info("Updating version %s for %s", version, slug) for version in Vers...
def handle(self, *args, **options): record = options["record"] force = options["force"] version = options["version"] if options.get("slugs", []): for slug in options["slugs"]: if version and version != "all": log.info("Updating version %s for %s", version, slug) ...
https://github.com/readthedocs/readthedocs.org/issues/3696
$ python manage.py update_repos pip [28/Feb/2018 04:43:25] root:124[23847]: INFO Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt [28/Feb/2018 04:43:25] root:124[23847]: INFO Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt System check identified some issues: WARNINGS:...
HttpClientError
def handle(self, *args, **options): api = slumber.API(base_url="http://readthedocs.org/api/v1/") user1 = User.objects.filter(pk__gt=0).order_by("pk").first() for slug in options["project_slug"]: self.stdout.write("Importing {slug} ...".format(slug=slug)) project_data = api.project.get(slug...
def handle(self, *args, **options): api = slumber.API(base_url="http://readthedocs.org/api/v1/") user1 = User.objects.filter(pk__gt=0).order_by("pk").first() for slug in options["project_slug"]: self.stdout.write("Importing {slug} ...".format(slug=slug)) project_data = api.project.get(slug...
https://github.com/readthedocs/readthedocs.org/issues/3696
$ python manage.py update_repos pip [28/Feb/2018 04:43:25] root:124[23847]: INFO Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt [28/Feb/2018 04:43:25] root:124[23847]: INFO Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt System check identified some issues: WARNINGS:...
HttpClientError
def setup_api(): session = requests.Session() if API_HOST.startswith("https"): # Only use the HostHeaderSSLAdapter for HTTPS connections adapter_class = host_header_ssl.HostHeaderSSLAdapter else: adapter_class = requests.adapters.HTTPAdapter session.mount( API_HOST, ...
def setup_api(): session = Session() session.mount(API_HOST, host_header_ssl.HostHeaderSSLAdapter()) session.headers.update({"Host": PRODUCTION_DOMAIN}) api_config = { "base_url": "%s/api/v1/" % API_HOST, "session": session, } if USER and PASS: log.debug("Using slumber wi...
https://github.com/readthedocs/readthedocs.org/issues/4494
Traceback (most recent call last): File "/home/humitos/rtfd/code/readthedocs.org/readthedocs/projects/tasks.py", line 333, in run self.project = self.get_project(pk) File "/home/humitos/rtfd/code/readthedocs.org/readthedocs/projects/tasks.py", line 512, in get_project project_data = api_v2.project(project_pk).get() Fil...
TypeError
def setup_api(): session = requests.Session() if API_HOST.startswith("https"): # Only use the HostHeaderSSLAdapter for HTTPS connections adapter_class = host_header_ssl.HostHeaderSSLAdapter else: adapter_class = requests.adapters.HTTPAdapter session.mount( API_HOST, ...
def setup_api(): session = requests.Session() session.mount( API_HOST, host_header_ssl.HostHeaderSSLAdapter( max_retries=3, ), ) session.headers.update({"Host": PRODUCTION_DOMAIN}) api_config = { "base_url": "%s/api/v2/" % API_HOST, "serializer": s...
https://github.com/readthedocs/readthedocs.org/issues/4494
Traceback (most recent call last): File "/home/humitos/rtfd/code/readthedocs.org/readthedocs/projects/tasks.py", line 333, in run self.project = self.get_project(pk) File "/home/humitos/rtfd/code/readthedocs.org/readthedocs/projects/tasks.py", line 512, in get_project project_data = api_v2.project(project_pk).get() Fil...
TypeError
def create_session(self): """Create OAuth session for user This configures the OAuth session based on the :py:class:`SocialToken` attributes. If there is an ``expires_at``, treat the session as an auto renewing token. Some providers expire tokens after as little as 2 hours. """ token = self...
def create_session(self): """Create OAuth session for user This configures the OAuth session based on the :py:class:`SocialToken` attributes. If there is an ``expires_at``, treat the session as an auto renewing token. Some providers expire tokens after as little as 2 hours. """ token = self...
https://github.com/readthedocs/readthedocs.org/issues/2992
[05/Jul/2017 14:44:13] celery.worker.job:282[33151]: ERROR Task readthedocs.oauth.tasks.SyncRemoteRepositories[86bd1cbd-0c99-44a6-b5d7-9beadb917a7b] raised unexpected: InvalidClientIdError(u'(invalid_request) (invalid_request) Invalid refresh_token',) Traceback (most recent call last): File "/Users/anthony/.pyenv/versi...
InvalidClientIdError
def build(self, **kwargs): checkout_path = self.project.checkout_path(self.version.slug) build_command = [ "python", self.project.venv_bin(version=self.version.slug, bin="mkdocs"), self.builder, "--clean", "--site-dir", self.build_dir, ] if self.use_theme:...
def build(self, **kwargs): checkout_path = self.project.checkout_path(self.version.slug) build_command = [ self.project.venv_bin(version=self.version.slug, bin="mkdocs"), self.builder, "--clean", "--site-dir", self.build_dir, ] if self.use_theme: build_com...
https://github.com/readthedocs/readthedocs.org/issues/994
doc_builder ----- Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/readthedocs/projects/utils.py", line 85, in run stderr=subprocess.PIPE, env=environment) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, ...
OSError
def __init__( self, command, cwd=None, shell=False, environment=None, combine_output=True, input_data=None, build_env=None, bin_path=None, ): self.command = command self.shell = shell if cwd is None: cwd = os.getcwd() self.cwd = cwd self.environment = os.e...
def __init__( self, command, cwd=None, shell=False, environment=None, combine_output=True, input_data=None, build_env=None, ): self.command = command self.shell = shell if cwd is None: cwd = os.getcwd() self.cwd = cwd self.environment = os.environ.copy() i...
https://github.com/readthedocs/readthedocs.org/issues/994
doc_builder ----- Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/readthedocs/projects/utils.py", line 85, in run stderr=subprocess.PIPE, env=environment) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, ...
OSError
def run(self): """Set up subprocess and execute command :param cmd_input: input to pass to command in STDIN :type cmd_input: str :param combine_output: combine STDERR into STDOUT """ log.info("Running: '%s' [%s]", self.get_command(), self.cwd) stdout = subprocess.PIPE stderr = subproce...
def run(self): """Set up subprocess and execute command :param cmd_input: input to pass to command in STDIN :type cmd_input: str :param combine_output: combine STDERR into STDOUT """ log.info("Running: '%s' [%s]", self.get_command(), self.cwd) stdout = subprocess.PIPE stderr = subproce...
https://github.com/readthedocs/readthedocs.org/issues/994
doc_builder ----- Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/readthedocs/projects/utils.py", line 85, in run stderr=subprocess.PIPE, env=environment) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, ...
OSError
def venv_bin(self, version=LATEST, bin="python"): """Return path to the virtualenv bin path, or a specific binary By default, return the path to the ``python`` binary in the virtual environment path. If ``bin`` is :py:data:`None`, then return the path to the virtual env path. """ if bin is None...
def venv_bin(self, version=LATEST, bin="python"): return os.path.join(self.venv_path(version), "bin", bin)
https://github.com/readthedocs/readthedocs.org/issues/994
doc_builder ----- Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/readthedocs/projects/utils.py", line 85, in run stderr=subprocess.PIPE, env=environment) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, ...
OSError
def wipe_path(pathname, idle=False): """Wipe the free space in the path This function uses an iterator to update the GUI.""" def temporaryfile(): # reference # http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits maxlen = 185 f = None while True: ...
def wipe_path(pathname, idle=False): """Wipe the free space in the path This function uses an iterator to update the GUI.""" def temporaryfile(): # reference # http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits maxlen = 185 f = None while True: ...
https://github.com/bleachbit/bleachbit/issues/1043
dzmitry@dzmitry-Satellite-C50-A-L6K:~/Downloads/bleachbit-master$ sudo python3 bleachbit.py clean_operation('_gui'), options = '[]' Wiping path: /media/dzmitry/6A17-921B Creating new, temporary file for wiping free space. Error #27 when flushing the file buffer. Creating new, temporary file for wiping free space. Wrote...
OSError
def dnf_autoremove(): """Run 'dnf autoremove' and return size in bytes recovered""" if os.path.exists("/var/run/dnf.pid"): msg = ( _( "%s cannot be cleaned because it is currently running. Close it, and try again." ) % "Dnf" ) raise Ru...
def dnf_autoremove(): """Run 'dnf autoremove' and return size in bytes recovered""" if os.path.exists("/var/run/dnf.pid"): msg = ( _( "%s cannot be cleaned because it is currently running. Close it, and try again." ) % "Dnf" ) raise Ru...
https://github.com/bleachbit/bleachbit/issues/983
↪ sudo bleachbit closest monitor (0) geometry = (0, 0)+(3840, 2160), window geometry = (1520, 766)+(1441, 978) Error: dnf.autoremove: Function: dnf autoremove Traceback (most recent call last): File "/usr/share/bleachbit/Worker.py", line 87, in execute for ret in cmd.execute(self.really_delete): File "/usr/share/bleach...
TypeError
def clean_json(path, target): """Delete key in the JSON file""" import json changed = False targets = target.split("/") # read file to parser with open(path, "r", encoding="utf-8") as f: js = json.load(f) # change file pos = js while True: new_target = targets.pop(...
def clean_json(path, target): """Delete key in the JSON file""" import json changed = False targets = target.split("/") # read file to parser with open(path, "r") as f: js = json.load(f) # change file pos = js while True: new_target = targets.pop(0) if not ...
https://github.com/bleachbit/bleachbit/issues/938
Błąd: google_chrome.cache: Command to clean JSON file, path=C:\Users\UserXXX\AppData\Local\Google\Chrome\User Data\Default\Preferences, address=dns_prefetching/host_referral_list Traceback (most recent call last): File "C:\projects\bleachbit\bleachbit\Worker.py", line 87, in execute File "C:\projects\bleachbit\bleachbi...
UnicodeDecodeError
def delete_office_registrymodifications(path): """Erase LibreOffice 3.4 and Apache OpenOffice.org 3.4 MRU in registrymodifications.xcu""" import xml.dom.minidom dom1 = xml.dom.minidom.parse(path) modified = False for node in dom1.getElementsByTagName("item"): if not node.hasAttribute("oor:p...
def delete_office_registrymodifications(path): """Erase LibreOffice 3.4 and Apache OpenOffice.org 3.4 MRU in registrymodifications.xcu""" import xml.dom.minidom dom1 = xml.dom.minidom.parse(path) modified = False for node in dom1.getElementsByTagName("item"): if not node.hasAttribute("oor:p...
https://github.com/bleachbit/bleachbit/issues/938
Błąd: google_chrome.cache: Command to clean JSON file, path=C:\Users\UserXXX\AppData\Local\Google\Chrome\User Data\Default\Preferences, address=dns_prefetching/host_referral_list Traceback (most recent call last): File "C:\projects\bleachbit\bleachbit\Worker.py", line 87, in execute File "C:\projects\bleachbit\bleachbi...
UnicodeDecodeError
def delete_ooo_history(path): """Erase the OpenOffice.org MRU in Common.xcu. No longer valid in Apache OpenOffice.org 3.4.""" import xml.dom.minidom dom1 = xml.dom.minidom.parse(path) changed = False for node in dom1.getElementsByTagName("node"): if node.hasAttribute("oor:name"): ...
def delete_ooo_history(path): """Erase the OpenOffice.org MRU in Common.xcu. No longer valid in Apache OpenOffice.org 3.4.""" import xml.dom.minidom dom1 = xml.dom.minidom.parse(path) changed = False for node in dom1.getElementsByTagName("node"): if node.hasAttribute("oor:name"): ...
https://github.com/bleachbit/bleachbit/issues/938
Błąd: google_chrome.cache: Command to clean JSON file, path=C:\Users\UserXXX\AppData\Local\Google\Chrome\User Data\Default\Preferences, address=dns_prefetching/host_referral_list Traceback (most recent call last): File "C:\projects\bleachbit\bleachbit\Worker.py", line 87, in execute File "C:\projects\bleachbit\bleachbi...
UnicodeDecodeError
def get_chrome_bookmark_urls(path): """Return a list of bookmarked URLs in Google Chrome/Chromium""" import json # read file to parser with open(path, "r", encoding="utf-8") as f: js = json.load(f) # empty list urls = [] # local recursive function def get_chrome_bookmark_urls_...
def get_chrome_bookmark_urls(path): """Return a list of bookmarked URLs in Google Chrome/Chromium""" import json # read file to parser with open(path, "r") as f: js = json.load(f) # empty list urls = [] # local recursive function def get_chrome_bookmark_urls_helper(node): ...
https://github.com/bleachbit/bleachbit/issues/938
Błąd: google_chrome.cache: Command to clean JSON file, path=C:\Users\UserXXX\AppData\Local\Google\Chrome\User Data\Default\Preferences, address=dns_prefetching/host_referral_list Traceback (most recent call last): File "C:\projects\bleachbit\bleachbit\Worker.py", line 87, in execute File "C:\projects\bleachbit\bleachbi...
UnicodeDecodeError
def clean_ini(path, section, parameter): """Delete sections and parameters (aka option) in the file""" def write(parser, ini_file): """ Reimplementation of the original RowConfigParser write function. This function is 99% same as its origin. The only change is removing a cast t...
def clean_ini(path, section, parameter): """Delete sections and parameters (aka option) in the file""" def write(parser, ini_file): """ Reimplementation of the original RowConfigParser write function. This function is 99% same as its origin. The only change is removing a cast t...
https://github.com/bleachbit/bleachbit/issues/812
clean_operation('vlc'), options = '['mru']' Error: vlc.mru: Command to clean .ini path=/home/dzmitry/.config/vlc/vlc-qt-interface.conf, section=General, parameter=filedialog-path Traceback (most recent call last): File "/home/dzmitry/Downloads/bleachbit-master/bleachbit/Worker.py", line 87, in execute for ret in cmd.ex...
configparser.DuplicateOptionError
def get_subpaths(self, basepath): """Returns direct subpaths for this object, i.e. either the named subfolder or all subfolders matching the pattern""" if isinstance(self.pattern, Pattern): return ( os.path.join(basepath, p) for p in os.listdir(basepath) if self.p...
def get_subpaths(self, basepath): """Returns direct subpaths for this object, i.e. either the named subfolder or all subfolders matching the pattern""" if isinstance(self.pattern, re._pattern_type): return ( os.path.join(basepath, p) for p in os.listdir(basepath) ...
https://github.com/bleachbit/bleachbit/issues/759
====================================================================== FAIL: test_whitelisted_posix_symlink (tests.TestFileUtilities.FileUtilitiesTestCase) Symlink test for whitelisted_posix() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/bleachbit/...
AssertionError
def get_localizations(self, basepath): """Returns all localization items for this object and all descendant objects""" for path in self.get_subpaths(basepath): for child in self.children: if isinstance(child, LocaleCleanerPath): for res in child.get_localizations(path): ...
def get_localizations(self, basepath): """Returns all localization items for this object and all descendant objects""" for path in self.get_subpaths(basepath): for child in self.children: if isinstance(child, LocaleCleanerPath): for res in child.get_localizations(path): ...
https://github.com/bleachbit/bleachbit/issues/759
====================================================================== FAIL: test_whitelisted_posix_symlink (tests.TestFileUtilities.FileUtilitiesTestCase) Symlink test for whitelisted_posix() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/bleachbit/...
AssertionError
def __shred_sqlite_char_columns(table, cols=None, where=""): """Create an SQL command to shred character columns""" cmd = "" if not where: # If None, set to empty string. where = "" if cols and options.get("shred"): cmd += "update or ignore %s set %s %s;" % ( table, ...
def __shred_sqlite_char_columns(table, cols=None, where=""): """Create an SQL command to shred character columns""" cmd = "" if cols and options.get("shred"): cmd += "update or ignore %s set %s %s;" % ( table, ",".join(["%s = randomblob(length(%s))" % (col, col) for col in co...
https://github.com/bleachbit/bleachbit/issues/744
Error: google_chrome.history: Function: Clean file: C:\Users\<redacted>\AppData\Local\Google\Chrome\User Data\Default\History Traceback (most recent call last): File "bleachbit\Worker.pyo", line 88, in execute File "bleachbit\Command.pyo", line 162, in execute File "bleachbit\Special.pyo", line 199, in delete_chrome_hi...
OperationalError
def delete_chrome_favicons(path): """Delete Google Chrome and Chromium favicons not use in in history for bookmarks""" path_history = os.path.join(os.path.dirname(path), "History") if os.path.exists(path_history): ver = __get_chrome_history(path) else: # assume it's the newer version ...
def delete_chrome_favicons(path): """Delete Google Chrome and Chromium favicons not use in in history for bookmarks""" path_history = os.path.join(os.path.dirname(path), "History") ver = __get_chrome_history(path) cmds = "" if ver >= 4: # Version 4 includes Chromium 12 # Version 20...
https://github.com/bleachbit/bleachbit/issues/744
Error: google_chrome.history: Function: Clean file: C:\Users\<redacted>\AppData\Local\Google\Chrome\User Data\Default\History Traceback (most recent call last): File "bleachbit\Worker.pyo", line 88, in execute File "bleachbit\Command.pyo", line 162, in execute File "bleachbit\Special.pyo", line 199, in delete_chrome_hi...
OperationalError
def delete_chrome_history(path): """Clean history from History and Favicon files without affecting bookmarks""" if not os.path.exists(path): logger.debug( "aborting delete_chrome_history() because history does not exist: %s" % path ) return cols = ("url", "title") whe...
def delete_chrome_history(path): """Clean history from History and Favicon files without affecting bookmarks""" cols = ("url", "title") where = "" ids_int = get_chrome_bookmark_ids(path) if ids_int: ids_str = ",".join([str(id0) for id0 in ids_int]) where = "where id not in (%s) " % i...
https://github.com/bleachbit/bleachbit/issues/744
Error: google_chrome.history: Function: Clean file: C:\Users\<redacted>\AppData\Local\Google\Chrome\User Data\Default\History Traceback (most recent call last): File "bleachbit\Worker.pyo", line 88, in execute File "bleachbit\Command.pyo", line 162, in execute File "bleachbit\Special.pyo", line 199, in delete_chrome_hi...
OperationalError
def download_url_to_fn(url, fn, on_error=None, max_retries=2, backoff_factor=0.5): """Download a URL to the given filename""" logger.info("Downloading %s to %s", url, fn) import requests import sys if hasattr(sys, "frozen"): # when frozen by py2exe, certificates are in alternate location ...
def download_url_to_fn(url, fn, on_error=None, max_retries=2, backoff_factor=0.5): """Download a URL to the given filename""" logger.info("Downloading %s to %s", url, fn) import requests from urllib3.util.retry import Retry from requests.adapters import HTTPAdapter session = requests.Session() ...
https://github.com/bleachbit/bleachbit/issues/643
Downloading https://sourceforge.net/projects/bleachbit/files/chaff/clinton_subject_model.json.bz2/download to C:\temp\sig\BleachBit-2.3-portable\BleachBit-Portable\clinton_subject_model.json.bz2 Traceback (most recent call last): File "bleachbit\GuiChaff.pyo", line 160, in on_make_files File "bleachbit\GuiChaff.pyo", l...
ImportError
def build(): """Build the application""" logger.info("Deleting directories build and dist") shutil.rmtree("build", ignore_errors=True) shutil.rmtree("dist", ignore_errors=True) shutil.rmtree("BleachBit-Portable", ignore_errors=True) logger.info("Running py2exe") shutil.copyfile("bleachbit.p...
def build(): """Build the application""" logger.info("Deleting directories build and dist") shutil.rmtree("build", ignore_errors=True) shutil.rmtree("dist", ignore_errors=True) shutil.rmtree("BleachBit-Portable", ignore_errors=True) logger.info("Running py2exe") shutil.copyfile("bleachbit.p...
https://github.com/bleachbit/bleachbit/issues/643
Downloading https://sourceforge.net/projects/bleachbit/files/chaff/clinton_subject_model.json.bz2/download to C:\temp\sig\BleachBit-2.3-portable\BleachBit-Portable\clinton_subject_model.json.bz2 Traceback (most recent call last): File "bleachbit\GuiChaff.pyo", line 160, in on_make_files File "bleachbit\GuiChaff.pyo", l...
ImportError
def delete_unnecessary(): logger.info("Deleting unnecessary files") # Remove SVG to reduce space and avoid this error # Error loading theme icon 'dialog-warning' for stock: Unable to load image-loading module: C:/Python27/Lib/site-packages/gtk-2.0/runtime/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-sv...
def delete_unnecessary(): logger.info("Deleting unnecessary files") # Remove SVG to reduce space and avoid this error # Error loading theme icon 'dialog-warning' for stock: Unable to load image-loading module: C:/Python27/Lib/site-packages/gtk-2.0/runtime/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-sv...
https://github.com/bleachbit/bleachbit/issues/643
Downloading https://sourceforge.net/projects/bleachbit/files/chaff/clinton_subject_model.json.bz2/download to C:\temp\sig\BleachBit-2.3-portable\BleachBit-Portable\clinton_subject_model.json.bz2 Traceback (most recent call last): File "bleachbit\GuiChaff.pyo", line 160, in on_make_files File "bleachbit\GuiChaff.pyo", l...
ImportError
def set_environ(varname, path): """Define an environment variable for use in CleanerML and Winapp2.ini""" if not path: return if varname in os.environ: # logger.debug('set_environ(%s, %s): skipping because environment variable is already defined', varname, path) if "nt" == os.name: ...
def set_environ(varname, path): """Define an environment variable for use in CleanerML and Winapp2.ini""" if not path: return if varname in os.environ: # logger.debug('set_environ(%s, %s): skipping because environment variable is already defined', varname, path) if "nt" == os.name: ...
https://github.com/bleachbit/bleachbit/issues/558
Traceback (most recent call last): File "bleachbit\Windows.pyo", line 600, in set_environ UnicodeDecodeError: 'utf8' codec can't decode byte 0xdc in position 26: invalid continuation byte set_environ(cd, C:\Users\xxxxx-xxxxxx-x-xxÜö\AppData\Local\BleachBit): exception when setting environment variable
UnicodeDecodeError
def download_models( content_model_path=DEFAULT_CONTENT_MODEL_PATH, subject_model_path=DEFAULT_SUBJECT_MODEL_PATH, twentysixhundred_model_path=DEFAULT_2600_MODEL_PATH, on_error=None, ): """Download models Calls on_error(primary_message, secondary_message) in case of error Returns success a...
def download_models( content_model_path=DEFAULT_CONTENT_MODEL_PATH, subject_model_path=DEFAULT_SUBJECT_MODEL_PATH, twentysixhundred_model_path=DEFAULT_2600_MODEL_PATH, on_error=None, ): """Download models Calls on_error(primary_message, secondary_message) in case of error Returns success a...
https://github.com/bleachbit/bleachbit/issues/614
Automatically preserving language en. Downloading https://sourceforge.net/projects/bleachbit/files/chaff/clinton_subject_model.json.bz2/download to B:\BleachBit-Portable\clinton_subject_model.json.bz2 Traceback (most recent call last): File "bleachbit\GuiChaff.pyo", line 160, in on_make_files File "bleachbit\GuiChaff.p...
IOError
def run_setup(): setup( name="bleachbit", version=bleachbit.APP_VERSION, description="Free space and maintain privacy", long_description="BleachBit frees space and maintains privacy by quickly wiping files you don't need and didn't know you had. Supported applications include Firefox...
def run_setup(): setup( name="bleachbit", version=bleachbit.APP_VERSION, description="Free space and maintain privacy", long_description="BleachBit frees space and maintains privacy by quickly wiping files you don't need and didn't know you had. Supported applications include Firefox...
https://github.com/bleachbit/bleachbit/issues/614
Automatically preserving language en. Downloading https://sourceforge.net/projects/bleachbit/files/chaff/clinton_subject_model.json.bz2/download to B:\BleachBit-Portable\clinton_subject_model.json.bz2 Traceback (most recent call last): File "bleachbit\GuiChaff.pyo", line 160, in on_make_files File "bleachbit\GuiChaff.p...
IOError
def build(): """Build the application""" logger.info("Deleting directories build and dist") shutil.rmtree("build", ignore_errors=True) shutil.rmtree("dist", ignore_errors=True) shutil.rmtree("BleachBit-Portable", ignore_errors=True) logger.info("Running py2exe") shutil.copyfile("bleachbit.p...
def build(): """Build the application""" logger.info("Deleting directories build and dist") shutil.rmtree("build", ignore_errors=True) shutil.rmtree("dist", ignore_errors=True) shutil.rmtree("BleachBit-Portable", ignore_errors=True) logger.info("Running py2exe") shutil.copyfile("bleachbit.p...
https://github.com/bleachbit/bleachbit/issues/614
Automatically preserving language en. Downloading https://sourceforge.net/projects/bleachbit/files/chaff/clinton_subject_model.json.bz2/download to B:\BleachBit-Portable\clinton_subject_model.json.bz2 Traceback (most recent call last): File "bleachbit\GuiChaff.pyo", line 160, in on_make_files File "bleachbit\GuiChaff.p...
IOError
def delete_unnecessary(): logger.info("Deleting unnecessary files") # Remove SVG to reduce space and avoid this error # Error loading theme icon 'dialog-warning' for stock: Unable to load image-loading module: C:/Python27/Lib/site-packages/gtk-2.0/runtime/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-sv...
def delete_unnecessary(): logger.info("Deleting unnecessary files") # Remove SVG to reduce space and avoid this error # Error loading theme icon 'dialog-warning' for stock: Unable to load image-loading module: C:/Python27/Lib/site-packages/gtk-2.0/runtime/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-sv...
https://github.com/bleachbit/bleachbit/issues/614
Automatically preserving language en. Downloading https://sourceforge.net/projects/bleachbit/files/chaff/clinton_subject_model.json.bz2/download to B:\BleachBit-Portable\clinton_subject_model.json.bz2 Traceback (most recent call last): File "bleachbit\GuiChaff.pyo", line 160, in on_make_files File "bleachbit\GuiChaff.p...
IOError
def __init__(self, auto_exit, *args, **kwargs): super(GUI, self).__init__(*args, **kwargs) self.auto_exit = auto_exit self.set_wmclass(APP_NAME, APP_NAME) self.populate_window() # Redirect logging to the GUI. bb_logger = logging.getLogger("bleachbit") from bleachbit.Log import GtkLoggerHa...
def __init__(self, auto_exit, *args, **kwargs): super(GUI, self).__init__(*args, **kwargs) self.auto_exit = auto_exit self.set_wmclass(APP_NAME, APP_NAME) self.populate_window() # Redirect logging to the GUI. bb_logger = logging.getLogger("bleachbit") from bleachbit.Log import GtkLoggerHa...
https://github.com/bleachbit/bleachbit/issues/609
C:\Program Files (x86)\BleachBit>bleachbit_console.exe Traceback (most recent call last): File "bleachbit\GUI.pyo", line 125, in cb_make_chaff File "bleachbit\GuiChaff.pyo", line 30, in <module> File "bleachbit\Chaff.pyo", line 39, in <module> ImportError: No module named markovify
ImportError
def __init__(self): self.queue = [] self.msg = ""
def __init__(self): self.queue = []
https://github.com/bleachbit/bleachbit/issues/609
C:\Program Files (x86)\BleachBit>bleachbit_console.exe Traceback (most recent call last): File "bleachbit\GUI.pyo", line 125, in cb_make_chaff File "bleachbit\GuiChaff.pyo", line 30, in <module> File "bleachbit\Chaff.pyo", line 39, in <module> ImportError: No module named markovify
ImportError
def read(self): for msg in self.queue: yield msg queue = []
def read(self): for msg in self.queue: yield msg + "\n" queue = []
https://github.com/bleachbit/bleachbit/issues/609
C:\Program Files (x86)\BleachBit>bleachbit_console.exe Traceback (most recent call last): File "bleachbit\GUI.pyo", line 125, in cb_make_chaff File "bleachbit\GuiChaff.pyo", line 30, in <module> File "bleachbit\Chaff.pyo", line 39, in <module> ImportError: No module named markovify
ImportError
def write(self, msg): self.msg += msg if self.msg[-1] == "\n": self.queue.append(self.msg) self.msg = ""
def write(self, msg): self.queue.append(msg)
https://github.com/bleachbit/bleachbit/issues/609
C:\Program Files (x86)\BleachBit>bleachbit_console.exe Traceback (most recent call last): File "bleachbit\GUI.pyo", line 125, in cb_make_chaff File "bleachbit\GuiChaff.pyo", line 30, in <module> File "bleachbit\Chaff.pyo", line 39, in <module> ImportError: No module named markovify
ImportError
def __init__(self, append_text): logging.Handler.__init__(self) self.append_text = append_text self.msg = "" self.update_log_level()
def __init__(self, append_text): logging.Handler.__init__(self) self.append_text = append_text self.update_log_level()
https://github.com/bleachbit/bleachbit/issues/609
C:\Program Files (x86)\BleachBit>bleachbit_console.exe Traceback (most recent call last): File "bleachbit\GUI.pyo", line 125, in cb_make_chaff File "bleachbit\GuiChaff.pyo", line 30, in <module> File "bleachbit\Chaff.pyo", line 39, in <module> ImportError: No module named markovify
ImportError
def cb_shred_quit(self, action, param): """Shred settings (for privacy reasons) and quit""" # build a list of paths to delete paths = [] if "nt" == os.name and portable_mode: # in portable mode on Windows, the options directory includes # executables paths.append(bleachbit.option...
def cb_shred_quit(self, action, param): """Shred settings (for privacy reasons) and quit""" # build a list of paths to delete paths = [] if "nt" == os.name and portable_mode: # in portable mode on Windows, the options directory includes # executables paths.append(bleachbit.option...
https://github.com/bleachbit/bleachbit/issues/552
Traceback (most recent call last): File "bleachbit/bleachbit/GUI.py", line 177, in cb_shred_quit if not self.shred_paths(paths): AttributeError: 'Bleachbit' object has no attribute 'shred_paths'
AttributeError
def __init__(self, uac=True, shred_paths=None, exit=False): if uac and "nt" == os.name and Windows.elevate_privileges(): # privileges escalated in other process sys.exit(0) Gtk.Application.__init__( self, application_id="org.gnome.Bleachbit", flags=Gio.ApplicationFlags.FL...
def __init__(self, uac=True, shred_paths=None, exit=False): if uac and "nt" == os.name and Windows.elevate_privileges(): # privileges escalated in other process sys.exit(0) Gtk.Application.__init__( self, application_id="org.gnome.Bleachbit", flags=Gio.ApplicationFlags.FL...
https://github.com/bleachbit/bleachbit/issues/554
Traceback (most recent call last): File "\bleachbit.py", line 39, in <module> app = bleachbit.GUI.Bleachbit() File "\bleachbit\GUI.py", line 87, in __init__ self.append_text( AttributeError: 'Bleachbit' object has no attribute 'append_text'
AttributeError
def __init__(self, *args, **kwargs): super(GUI, self).__init__(*args, **kwargs) from bleachbit import RecognizeCleanerML RecognizeCleanerML.RecognizeCleanerML() register_cleaners() self.set_wmclass(APP_NAME, APP_NAME) self.populate_window() # Redirect logging to the GUI. bb_logger = ...
def __init__(self, *args, **kwargs): super(GUI, self).__init__(*args, **kwargs) from bleachbit import RecognizeCleanerML RecognizeCleanerML.RecognizeCleanerML() register_cleaners() self.set_wmclass(APP_NAME, APP_NAME) self.populate_window() # Redirect logging to the GUI. bb_logger = ...
https://github.com/bleachbit/bleachbit/issues/554
Traceback (most recent call last): File "\bleachbit.py", line 39, in <module> app = bleachbit.GUI.Bleachbit() File "\bleachbit\GUI.py", line 87, in __init__ self.append_text( AttributeError: 'Bleachbit' object has no attribute 'append_text'
AttributeError
def build_app_menu(self): builder = Gtk.Builder() builder.add_from_file( os.path.join(bleachbit.bleachbit_exe_path, "data", "app-menu.ui") ) menu = builder.get_object("app-menu") self.set_app_menu(menu) # set up mappings between <attribute name="action"> in app-menu.ui and methods in th...
def build_app_menu(self): builder = Gtk.Builder() builder.add_from_file( os.path.join(bleachbit.bleachbit_exe_path, "data", "app-menu.ui") ) menu = builder.get_object("app-menu") self.set_app_menu(menu) # set up mappings between <attribute name="action"> in app-menu.ui and methods in th...
https://github.com/bleachbit/bleachbit/issues/545
Traceback (most recent call last): File "bleachbit\GUI.pyo", line 124, in cb_shred_file File "bleachbit\GuiBasic.pyo", line 94, in browse_files AttributeError: 'GUI' object has no attribute 'window' Traceback (most recent call last): File "bleachbit\GUI.pyo", line 135, in cb_shred_folder File "bleachbit\GuiBasic.pyo", ...
AttributeError
def setup_drag_n_drop(self): def cb_drag_data_received(widget, context, x, y, data, info, time): if info == 80: uris = data.get_uris() paths = FileUtilities.uris_to_paths(uris) self.shred_paths(paths) def setup_widget(widget): widget.drag_dest_set( ...
def setup_drag_n_drop(self): def cb_drag_data_received(widget, context, x, y, data, info, time): if info == 80: uris = data.get_uris() paths = FileUtilities.uris_to_paths(uris) self.shred_paths(paths) self.drag_dest_set( Gtk.DestDefaults.MOTION | Gtk.DestDefa...
https://github.com/bleachbit/bleachbit/issues/545
Traceback (most recent call last): File "bleachbit\GUI.pyo", line 124, in cb_shred_file File "bleachbit\GuiBasic.pyo", line 94, in browse_files AttributeError: 'GUI' object has no attribute 'window' Traceback (most recent call last): File "bleachbit\GUI.pyo", line 135, in cb_shred_folder File "bleachbit\GuiBasic.pyo", ...
AttributeError
def browse_folder(parent, title, multiple, stock_button): """Ask the user to select a folder. Return the full path or None.""" if "nt" == os.name and None == os.getenv("BB_NATIVE"): ret = Windows.browse_folder(parent, title) return [ret] if multiple and not ret is None else ret # fall bac...
def browse_folder(parent, title, multiple, stock_button): """Ask the user to select a folder. Return the full path or None.""" if "nt" == os.name and None == os.getenv("BB_NATIVE"): ret = Windows.browse_folder(parent.window.handle if parent else None, title) return [ret] if multiple and not re...
https://github.com/bleachbit/bleachbit/issues/545
Traceback (most recent call last): File "bleachbit\GUI.pyo", line 124, in cb_shred_file File "bleachbit\GuiBasic.pyo", line 94, in browse_files AttributeError: 'GUI' object has no attribute 'window' Traceback (most recent call last): File "bleachbit\GUI.pyo", line 135, in cb_shred_folder File "bleachbit\GuiBasic.pyo", ...
AttributeError
def browse_file(parent, title): """Prompt user to select a single file""" if "nt" == os.name and None == os.getenv("BB_NATIVE"): return Windows.browse_file(parent, title) chooser = Gtk.FileChooserDialog( title=title, transient_for=parent, action=Gtk.FileChooserAction.OPEN ) chooser...
def browse_file(parent, title): """Prompt user to select a single file""" if "nt" == os.name and None == os.getenv("BB_NATIVE"): return Windows.browse_file(parent.window.handle, title) chooser = Gtk.FileChooserDialog( title=title, transient_for=parent, action=Gtk.FileChooserAction.OPEN ...
https://github.com/bleachbit/bleachbit/issues/545
Traceback (most recent call last): File "bleachbit\GUI.pyo", line 124, in cb_shred_file File "bleachbit\GuiBasic.pyo", line 94, in browse_files AttributeError: 'GUI' object has no attribute 'window' Traceback (most recent call last): File "bleachbit\GUI.pyo", line 135, in cb_shred_folder File "bleachbit\GuiBasic.pyo", ...
AttributeError
def browse_files(parent, title): """Prompt user to select multiple files to delete""" if "nt" == os.name and None == os.getenv("BB_NATIVE"): return Windows.browse_files(parent, title) chooser = Gtk.FileChooserDialog( title=title, transient_for=parent, action=Gtk.FileChooserAction.OPEN ...
def browse_files(parent, title): """Prompt user to select multiple files to delete""" if "nt" == os.name and None == os.getenv("BB_NATIVE"): return Windows.browse_files(parent.window.handle, title) chooser = Gtk.FileChooserDialog( title=title, transient_for=parent, action=Gtk.FileChooserAc...
https://github.com/bleachbit/bleachbit/issues/545
Traceback (most recent call last): File "bleachbit\GUI.pyo", line 124, in cb_shred_file File "bleachbit\GuiBasic.pyo", line 94, in browse_files AttributeError: 'GUI' object has no attribute 'window' Traceback (most recent call last): File "bleachbit\GUI.pyo", line 135, in cb_shred_folder File "bleachbit\GuiBasic.pyo", ...
AttributeError
def browse_folder(_, title): """Ask the user to select a folder. Return full path.""" pidl = shell.SHBrowseForFolder(None, None, title)[0] if pidl is None: # user cancelled return None fullpath = shell.SHGetPathFromIDList(pidl) return fullpath
def browse_folder(hwnd, title): """Ask the user to select a folder. Return full path.""" pidl = shell.SHBrowseForFolder(hwnd, None, title)[0] if pidl is None: # user cancelled return None fullpath = shell.SHGetPathFromIDList(pidl) return fullpath
https://github.com/bleachbit/bleachbit/issues/545
Traceback (most recent call last): File "bleachbit\GUI.pyo", line 124, in cb_shred_file File "bleachbit\GuiBasic.pyo", line 94, in browse_files AttributeError: 'GUI' object has no attribute 'window' Traceback (most recent call last): File "bleachbit\GUI.pyo", line 135, in cb_shred_folder File "bleachbit\GuiBasic.pyo", ...
AttributeError
def __toggle_callback(self, cell, path): """Callback function to toggle option""" options.toggle(path) if online_update_notification_enabled: self.cb_beta.set_sensitive(options.get("check_online_updates")) if "nt" == os.name: self.cb_winapp2.set_sensitive(options.get("check_onlin...
def __toggle_callback(self, cell, path): """Callback function to toggle option""" options.toggle(path) if online_update_notification_enabled: self.cb_beta.set_sensitive(options.get("check_online_updates")) if "nt" == os.name: self.cb_winapp2.set_sensitive(options.get("check_onlin...
https://github.com/bleachbit/bleachbit/issues/314
Traceback (most recent call last): File "/bleachbit/bleachbit/GUI.py", line 186, in cb_preferences_dialog pref = PreferencesDialog(self._window, self._window.cb_refresh_operations) File "/bleachbit/bleachbit/GuiPreferences.py", line 65, in __init__ notebook.append_page(self.__general_page(), Gtk.Label(label=_("General"...
AttributeError
def __general_page(self): """Return a widget containing the general page""" vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) if online_update_notification_enabled: cb_updates = Gtk.CheckButton.new_with_label( _("Check periodically for software updates via the Internet") ) ...
def __general_page(self): """Return a widget containing the general page""" if "nt" == os.name: swcc = Windows.start_with_computer_check if "posix" == os.name: swcc = Unix.start_with_computer_check options.set("auto_start", swcc()) vbox = Gtk.Box(orientation=Gtk.Orientation.VERTIC...
https://github.com/bleachbit/bleachbit/issues/314
Traceback (most recent call last): File "/bleachbit/bleachbit/GUI.py", line 186, in cb_preferences_dialog pref = PreferencesDialog(self._window, self._window.cb_refresh_operations) File "/bleachbit/bleachbit/GuiPreferences.py", line 65, in __init__ notebook.append_page(self.__general_page(), Gtk.Label(label=_("General"...
AttributeError
def restore(self): """Restore saved options from disk""" try: self.config.read(bleachbit.options_file) except: traceback.print_exc() if not self.config.has_section("bleachbit"): self.config.add_section("bleachbit") if not self.config.has_section("hashpath"): self.conf...
def restore(self): """Restore saved options from disk""" try: self.config.read(bleachbit.options_file) except: traceback.print_exc() if not self.config.has_section("bleachbit"): self.config.add_section("bleachbit") if not self.config.has_section("hashpath"): self.conf...
https://github.com/bleachbit/bleachbit/issues/314
Traceback (most recent call last): File "/bleachbit/bleachbit/GUI.py", line 186, in cb_preferences_dialog pref = PreferencesDialog(self._window, self._window.cb_refresh_operations) File "/bleachbit/bleachbit/GuiPreferences.py", line 65, in __init__ notebook.append_page(self.__general_page(), Gtk.Label(label=_("General"...
AttributeError
def __make_file_provider(self, dirname, filename, recurse, removeself, excludekeys): """Change parsed FileKey to action provider""" regex = "" if recurse: search = "walk.files" path = dirname if filename.startswith("*."): filename = filename.replace("*.", ".") if ...
def __make_file_provider(self, dirname, filename, recurse, removeself, excludekeys): """Change parsed FileKey to action provider""" regex = "" if recurse: search = "walk.files" path = dirname if filename.startswith("*."): filename = filename.replace("*.", ".") if ...
https://github.com/bleachbit/bleachbit/issues/308
parsing error in section Spybot Search and Destroy Updates Traceback (most recent call last): File "bleachbit\Winapp.pyo", line 151, in __init__ File "bleachbit\Winapp.pyo", line 285, in handle_section File "bleachbit\Winapp.pyo", line 357, in handle_filekey File "bleachbit\Winapp.pyo", line 329, in __make_file_provide...
ExpatError
def start_with_computer(enabled): """If enabled, create shortcut to start application with computer. If disabled, then delete the shortcut.""" if not enabled: # User requests to not automatically start BleachBit if os.path.lexists(bleachbit.autostart_path): # Delete the shortcut ...
def start_with_computer(enabled): """If enabled, create shortcut to start application with computer. If disabled, then delete the shortcut.""" if not enabled: # User requests to not automatically start BleachBit if os.path.lexists(bleachbit.autostart_path): # Delete the shortcut ...
https://github.com/bleachbit/bleachbit/issues/231
FAIL: test_start_with_computer (tests.TestUnix.UnixTestCase) Unit test for start_with_computer* ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/build/bleachbit/bleachbit/tests/TestUnix.py", line 216, in test_start_with_computer self.assertNot...
AssertionError
def updateStartOnLogon(self): """ Configure Bitmessage to start on startup (or remove the configuration) based on the setting in the keys.dat file """ startonlogon = BMConfigParser().safeGetBoolean("bitmessagesettings", "startonlogon") if sys.platform.startswith("win"): # Auto-startup for Windo...
def updateStartOnLogon(self): """ Configure Bitmessage to start on startup (or remove the configuration) based on the setting in the keys.dat file """ startonlogon = BMConfigParser().safeGetBoolean("bitmessagesettings", "startonlogon") if "win32" in sys.platform or "win64" in sys.platform: ...
https://github.com/Bitmessage/PyBitmessage/issues/1735
$ Documents/Software/PyBitmessage/src/bitmessagemain.py 2021-02-13 20:05:18,826 - WARNING - Using default logger configuration 2021-02-13 20:05:23,429 - WARNING - /home/*****/.namecoin/namecoin.conf unreadable or missing, Namecoin support deactivated 2021-02-13 20:05:23,435 - WARNING - There was a problem testing for a...
NameError
def indicatorInit(self): """ Try init the distro specific appindicator, for example the Ubuntu MessagingMenu """ def _noop_update(*args, **kwargs): pass try: self.indicatorUpdate = get_plugin("indicator")(self) except (NameError, TypeError): logger.warning("No indic...
def indicatorInit(self): """ Try init the distro specific appindicator, for example the Ubuntu MessagingMenu """ def _noop_update(*args, **kwargs): pass # get desktop plugin if any if "win" not in sys.platform: try: self.desktop = get_plugin("desktop")() ...
https://github.com/Bitmessage/PyBitmessage/issues/1735
$ Documents/Software/PyBitmessage/src/bitmessagemain.py 2021-02-13 20:05:18,826 - WARNING - Using default logger configuration 2021-02-13 20:05:23,429 - WARNING - /home/*****/.namecoin/namecoin.conf unreadable or missing, Namecoin support deactivated 2021-02-13 20:05:23,435 - WARNING - There was a problem testing for a...
NameError
def __init__(self): threading.Thread.__init__(self, name="objectProcessor") random.seed() # It may be the case that the last time Bitmessage was running, # the user closed it before it finished processing everything in the # objectProcessorQueue. Assuming that Bitmessage wasn't closed # forceful...
def __init__(self): threading.Thread.__init__(self, name="objectProcessor") random.seed() # It may be the case that the last time Bitmessage was running, # the user closed it before it finished processing everything in the # objectProcessorQueue. Assuming that Bitmessage wasn't closed # forceful...
https://github.com/Bitmessage/PyBitmessage/issues/1702
2021-01-03 06:30:31,908 - CRITICAL - Unhandled exception Traceback (most recent call last): File "Documents/Software/PyBitmessage/src/bitmessagemain.py", line 491, in <module> File "Documents/Software/PyBitmessage/src/bitmessagemain.py", line 487, in main File "Documents/Software/PyBitmessage/src/bitmessagemain.py", li...
AssertionError
def handlech(c, stdscr): if c != curses.ERR: global inboxcur, addrcur, sentcur, subcur, abookcur, blackcur if c in range(256): if chr(c) in "12345678": global menutab menutab = int(chr(c)) elif chr(c) == "q": global quit ...
def handlech(c, stdscr): if c != curses.ERR: global inboxcur, addrcur, sentcur, subcur, abookcur, blackcur if c in range(256): if chr(c) in "12345678": global menutab menutab = int(chr(c)) elif chr(c) == "q": global quit ...
https://github.com/Bitmessage/PyBitmessage/issues/711
Loading existing config files from /home/aaron/.config/PyBitmessage/ An Exception occurred within isOurOperatingSystemLimitedToHavingVeryFewHalfOpenConnections: invalid version number '#1 SMP Debian 3.14.2-1 (2014-04-28)' Running with curses Loading inbox messages... Loading sent messages... Loading address book... Tra...
AttributeError
def sendMessage(sender="", recv="", broadcast=None, subject="", body="", reply=False): if sender == "": return d = Dialog(dialog="dialog") set_background_title(d, "Send a message") if recv == "": r, t = d.inputbox( "Recipient address (Cancel to load from the Address Book or l...
def sendMessage(sender="", recv="", broadcast=None, subject="", body="", reply=False): if sender == "": return d = Dialog(dialog="dialog") d.set_background_title("Send a message") if recv == "": r, t = d.inputbox( "Recipient address (Cancel to load from the Address Book or le...
https://github.com/Bitmessage/PyBitmessage/issues/711
Loading existing config files from /home/aaron/.config/PyBitmessage/ An Exception occurred within isOurOperatingSystemLimitedToHavingVeryFewHalfOpenConnections: invalid version number '#1 SMP Debian 3.14.2-1 (2014-04-28)' Running with curses Loading inbox messages... Loading sent messages... Loading address book... Tra...
AttributeError
def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(_translate("MainWindow", "Bitmessage", None)) self.inboxSearchLineEdit.setPlaceholderText( _translate("MainWindow", "Search", None) ) self.inboxSearchOptionCB.setItemText(0, _translate("MainWindow", "All", None)) self.inboxSearch...
def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(_translate("MainWindow", "Bitmessage", None)) self.inboxSearchLineEdit.setPlaceholderText( _translate("MainWindow", "Search", None) ) self.inboxSearchOptionCB.setItemText(0, _translate("MainWindow", "All", None)) self.inboxSearch...
https://github.com/Bitmessage/PyBitmessage/issues/761
Exception in thread Thread-1: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner self.run() File "C:\AdminRoot\TBM\PyBitmessage\src\class_addressGenerator.py", line 101,in run print 'Address generator calculated', numberOfAddressesWeHadToMakeBeforeWeFoundOneWithTheCor...
ZeroDivisionError
def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest <PreparedRequest>` being sent. :param stream: (optional) Whether to stream the request content. :param t...
def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest <PreparedRequest>` being sent. :param stream: (optional) Whether to stream the request content. :param t...
https://github.com/psf/requests/issues/4746
import requests test = requests.get("https://www.fossil.com/us/en/account-dashboard/registered-products.html") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 72, in get return request('get', url, params=params, **kwargs) File "/...
urllib3.exceptions.LocationParseError
def stream_decode_response_unicode(iterator, r): """Stream decodes a iterator.""" if r.encoding is None: for item in iterator: yield item return decoder = codecs.getincrementaldecoder(r.encoding)(errors="replace") for chunk in iterator: rv = decoder.decode(chunk) ...
def stream_decode_response_unicode(iterator, r): """Stream decodes a iterator.""" encoding = r.encoding if encoding is None: encoding = r.apparent_encoding try: decoder = codecs.getincrementaldecoder(encoding)(errors="replace") except (LookupError, TypeError): # A LookupErr...
https://github.com/psf/requests/issues/3481
$ ./bin/python case.py Traceback (most recent call last): File "case.py", line 6, in <module> for line in response.iter_lines(chunk_size=30, decode_unicode=True): File "/Users/jone/temp/requests-stream/lib/python2.7/site-packages/requests/models.py", line 720, in iter_lines for chunk in self.iter_content(chunk_size=ch...
AttributeError
def _encode_params(data): """Encode parameters in a piece of data. Will successfully encode parameters when passed as a dict or a list of 2-tuples. Order is retained if data is a list of 2-tuples but arbitrary if parameters are supplied as a dict. """ if isinstance(data, (str, bytes)): ...
def _encode_params(data): """Encode parameters in a piece of data. Will successfully encode parameters when passed as a dict or a list of 2-tuples. Order is retained if data is a list of 2-tuples but arbitrary if parameters are supplied as a dict. """ if isinstance(data, (str, bytes)): ...
https://github.com/psf/requests/issues/2844
Traceback (most recent call last): ... skip ... url = requote_uri(urlunparse([scheme, netloc, path, None, query, fragment])) File "C:\Python35\lib\urllib\parse.py", line 383, in urlunparse _coerce_args(*components)) File "C:\Python35\lib\urllib\parse.py", line 111, in _coerce_args raise TypeError("Cannot mix str and no...
TypeError
def prepare_url(self, url, params): """Prepares the given HTTP URL.""" #: Accept objects that have string representations. #: We're unable to blindy call unicode/str functions #: as this will include the bytestring indicator (b'') #: on python 3.x. #: https://github.com/kennethreitz/requests/pul...
def prepare_url(self, url, params): """Prepares the given HTTP URL.""" #: Accept objects that have string representations. #: We're unable to blindy call unicode/str functions #: as this will include the bytestring indicator (b'') #: on python 3.x. #: https://github.com/kennethreitz/requests/pul...
https://github.com/psf/requests/issues/2540
--------------------------------------------------------------------------- UnicodeEncodeError Traceback (most recent call last) <ipython-input-3-bf1281984b3a> in <module>() ----> 1 requests.get(url) /Library/Python/2.7/site-packages/requests-2.6.0-py2.7.egg/requests/api.pyc in get(url, **kwargs...
UnicodeEncodeError
def request( self, method, url, params=None, data=None, headers=None, cookies=None, files=None, auth=None, timeout=None, allow_redirects=True, proxies=None, hooks=None, stream=None, verify=None, cert=None, ): """Constructs a :class:`Request <Request>`,...
def request( self, method, url, params=None, data=None, headers=None, cookies=None, files=None, auth=None, timeout=None, allow_redirects=True, proxies=None, hooks=None, stream=None, verify=None, cert=None, ): """Constructs a :class:`Request <Request>`,...
https://github.com/psf/requests/issues/1711
Traceback (most recent call last): File "rtest.py", line 16, in <module> requests.get(URL, cookies=cookiejar) File "/tmp/rtestenv/lib/python2.7/site-packages/requests/api.py", line 55, in get return request('get', url, **kwargs) File "/tmp/rtestenv/lib/python2.7/site-packages/requests/api.py", line 44, in request retur...
AttributeError
def prepare_request(self, request): """Constructs a :class:`PreparedRequest <PreparedRequest>` for transmission and returns it. The :class:`PreparedRequest` has settings merged from the :class:`Request <Request>` instance and those of the :class:`Session`. :param request: :class:`Request` instance ...
def prepare_request(self, request): """Constructs a :class:`PreparedRequest <PreparedRequest>` for transmission and returns it. The :class:`PreparedRequest` has settings merged from the :class:`Request <Request>` instance and those of the :class:`Session`. :param request: :class:`Request` instance ...
https://github.com/psf/requests/issues/1711
Traceback (most recent call last): File "rtest.py", line 16, in <module> requests.get(URL, cookies=cookiejar) File "/tmp/rtestenv/lib/python2.7/site-packages/requests/api.py", line 55, in get return request('get', url, **kwargs) File "/tmp/rtestenv/lib/python2.7/site-packages/requests/api.py", line 44, in request retur...
AttributeError
def stream_decode_response_unicode(iterator, r): """Stream decodes a iterator.""" if r.encoding is None: for item in iterator: yield item return decoder = codecs.getincrementaldecoder(r.encoding)(errors="replace") for chunk in iterator: rv = decoder.decode(chunk) ...
def stream_decode_response_unicode(iterator, r): """Stream decodes a iterator.""" if r.encoding is None: for item in iterator: yield item return decoder = codecs.getincrementaldecoder(r.encoding)(errors="replace") for chunk in iterator: rv = decoder.decode(chunk) ...
https://github.com/psf/requests/issues/1434
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-21-86c335a3edfc> in <module>() ----> 1 rv = decoder.decode('', final=True) /Users/chen/Virtualenvs/python3Env/lib/python3.3/codecs.py in decode(self, in...
TypeError
def text(self): """Content of the response, in unicode. if Response.encoding is None and chardet module is available, encoding will be guessed. """ # Try charset from content-type content = None encoding = self.encoding # Fallback to auto-detected encoding if chardet is available. ...
def text(self): """Content of the response, in unicode. if Response.encoding is None and chardet module is available, encoding will be guessed. """ # Try charset from content-type content = None encoding = self.encoding # Fallback to auto-detected encoding if chardet is available. ...
https://github.com/psf/requests/issues/338
url = 'http://dilbert.com' len(urllib2.urlopen(url).read()) 30194 len(requests.get(url).content) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "build/bdist.macosx-10.7-intel/egg/requests/models.py", line 713, in content LookupError: unknown encoding: utf-8lias
LookupError
def request_binding(self, guest_id, dst_ip, ssh_port, telnet_port): self.lock.acquire() try: # see if binding is already created if guest_id in self.bindings: # increase connected self.bindings[guest_id][0] += 1 return self.bindings[guest_id][1]._realPortNumb...
def request_binding(self, guest_id, dst_ip, ssh_port, telnet_port): self.lock.acquire() try: # see if binding is already created if dst_ip in self.bindings: # increase connected self.bindings[guest_id][0] += 1 return self.bindings[guest_id][1]._realPortNumber...
https://github.com/cowrie/cowrie/issues/1361
2020-06-08T14:16:22.505410Z [backend_pool.nat.ServerFactory#info] Starting factory <backend_pool.nat.ServerFactory object at 0x7fc035e2ce80> 2020-06-08T14:16:22.507706Z [backend_pool.nat.ClientFactory#info] Starting factory <backend_pool.nat.ClientFactory object at 0x7fc035e2c3c8> 2020-06-08T14:16:22.508111Z [twisted.i...
builtins.OSError
def free_binding(self, guest_id): self.lock.acquire() try: self.bindings[guest_id][0] -= 1 # stop listening if no one is connected if self.bindings[guest_id][0] <= 0: self.bindings[guest_id][1].stopListening() self.bindings[guest_id][2].stopListening() ...
def free_binding(self, guest_id): self.lock.acquire() try: self.bindings[guest_id][0] -= 1 # stop listening if no-one connected if self.bindings[guest_id][0] == 0: self.bindings[guest_id][1].stopListening() self.bindings[guest_id][2].stopListening() finally:...
https://github.com/cowrie/cowrie/issues/1361
2020-06-08T14:16:22.505410Z [backend_pool.nat.ServerFactory#info] Starting factory <backend_pool.nat.ServerFactory object at 0x7fc035e2ce80> 2020-06-08T14:16:22.507706Z [backend_pool.nat.ClientFactory#info] Starting factory <backend_pool.nat.ClientFactory object at 0x7fc035e2c3c8> 2020-06-08T14:16:22.508111Z [twisted.i...
builtins.OSError
def startFactory(self): # start the pool thread with default configs self.pool_service = PoolService(self.nat) self.pool_service.start_pool()
def startFactory(self): # start the pool thread with default configs self.pool_service = PoolService() self.pool_service.start_pool()
https://github.com/cowrie/cowrie/issues/1361
2020-06-08T14:16:22.505410Z [backend_pool.nat.ServerFactory#info] Starting factory <backend_pool.nat.ServerFactory object at 0x7fc035e2ce80> 2020-06-08T14:16:22.507706Z [backend_pool.nat.ClientFactory#info] Starting factory <backend_pool.nat.ClientFactory object at 0x7fc035e2c3c8> 2020-06-08T14:16:22.508111Z [twisted.i...
builtins.OSError
def __init__(self, nat_service): self.qemu = backend_pool.libvirt.backend_service.LibvirtBackendService() self.nat_service = nat_service self.guests = [] self.guest_id = 0 self.guest_lock = Lock() # time in seconds between each loop iteration self.loop_sleep_time = 5 self.loop_next_cal...
def __init__(self): self.qemu = backend_pool.libvirt.backend_service.LibvirtBackendService() self.guests = [] self.guest_id = 0 self.guest_lock = Lock() # time in seconds between each loop iteration self.loop_sleep_time = 5 self.loop_next_call = None # default configs; custom values wi...
https://github.com/cowrie/cowrie/issues/1361
2020-06-08T14:16:22.505410Z [backend_pool.nat.ServerFactory#info] Starting factory <backend_pool.nat.ServerFactory object at 0x7fc035e2ce80> 2020-06-08T14:16:22.507706Z [backend_pool.nat.ClientFactory#info] Starting factory <backend_pool.nat.ClientFactory object at 0x7fc035e2c3c8> 2020-06-08T14:16:22.508111Z [twisted.i...
builtins.OSError
def stop_pool(self): # lazy import to avoid exception if not using the backend_pool and libvirt not installed (#1185) import libvirt log.msg(eventid="cowrie.backend_pool.service", format="Trying pool clean stop") # stop loop if self.loop_next_call: self.loop_next_call.cancel() # try d...
def stop_pool(self): # lazy import to avoid exception if not using the backend_pool and libvirt not installed (#1185) import libvirt log.msg(eventid="cowrie.backend_pool.service", format="Trying pool clean stop") # stop loop if self.loop_next_call: self.loop_next_call.cancel() # try d...
https://github.com/cowrie/cowrie/issues/1361
2020-06-08T14:16:22.505410Z [backend_pool.nat.ServerFactory#info] Starting factory <backend_pool.nat.ServerFactory object at 0x7fc035e2ce80> 2020-06-08T14:16:22.507706Z [backend_pool.nat.ClientFactory#info] Starting factory <backend_pool.nat.ClientFactory object at 0x7fc035e2c3c8> 2020-06-08T14:16:22.508111Z [twisted.i...
builtins.OSError
def __init__(self, protocol, *args): self.protocol = protocol self.args = list(args) self.environ = self.protocol.cmdstack[0].environ self.fs = self.protocol.fs self.data = None # output data self.input_data = None # used to store STDIN data passed via PIPE self.writefn = self.protocol.pp....
def __init__(self, protocol, *args): self.protocol = protocol self.args = list(args) self.environ = self.protocol.cmdstack[0].environ self.fs = self.protocol.fs self.data = None # output data self.input_data = None # used to store STDIN data passed via PIPE self.writefn = self.protocol.pp....
https://github.com/cowrie/cowrie/issues/854
2018-08-13T09:46:46.286838+0300 [CowrieTelnetTransport,68,[redacted]] login attempt [root/] succeeded 2018-08-13T09:46:46.289616+0300 [CowrieTelnetTransport,68,[redacted]] Initialized emulated server as architecture: linux-x64-lsb 2018-08-13T09:46:46.981872+0300 [CowrieTelnetTransport,68,[redacted]] Warning: state chan...
exceptions.IndexError
def write(self, e): peerIP = e["src_ip"] ts = e["timestamp"] system = e.get("system", None) if system not in [ "cowrie.ssh.factory.CowrieSSHFactory", "cowrie.telnet.transport.HoneyPotTelnetFactory", ]: return today = str(datetime.now().date()) if not self.context.g...
def write(self, e): peerIP = e["src_ip"] ts = e["timestamp"] system = e["system"] if system not in [ "cowrie.ssh.factory.CowrieSSHFactory", "cowrie.telnet.transport.HoneyPotTelnetFactory", ]: return today = str(datetime.now().date()) if not self.context.get(today):...
https://github.com/cowrie/cowrie/issues/676
2018-02-11T16:53:14-0500 [twisted.internet.defer#critical] Unhandled error in Deferred: 2018-02-11T16:53:14-0500 [twisted.internet.defer#critical] Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 289, in connectionLost protocol.connectionLost(reason) File "/...
exceptions.KeyError
def write(self, logentry): for i in list(logentry.keys()): # Remove twisted 15 legacy keys if i.startswith("log_"): del logentry[i] message = json.dumps(logentry) + "\n" try: self.sock.sendall(message.encode()) except socket.error as ex: if ex.errno == 32: ...
def write(self, logentry): for i in list(logentry.keys()): # Remove twisted 15 legacy keys if i.startswith("log_"): del logentry[i] message = json.dumps(logentry) + "\n" try: self.sock.sendall(message) except socket.error as ex: if ex.errno == 32: # Broken ...
https://github.com/cowrie/cowrie/issues/1036
2019-03-09T18:58:39.452595Z [twisted.logger._observer#critical] Temporarily disabling observer LegacyLogObserverWrapper(<bound method Output.emit of <cowrie.output.socketlog.Output object at 0x7f1ac2879c18>>) due to exception: [Failure instance: Traceback: <class 'TypeError'>: a bytes-like object is required, not 'str'...
builtins.TypeError
def write(self, logentry): if "isError" not in logentry: logentry["isError"] = False if self.format == "cef": self.syslog.emit( { "message": cowrie.core.cef.formatCef(logentry), "isError": False, "system": "cowrie", } ...
def write(self, logentry): if self.format == "cef": self.syslog.emit( { "message": cowrie.core.cef.formatCef(logentry), "isError": False, "system": "cowrie", } ) else: # message appears with additional spaces if mess...
https://github.com/cowrie/cowrie/issues/917
2018-10-11T18:29:01.778300+0000 [twisted.logger._observer#critical] Temporarily disabling observer LegacyLogObserverWrapper(<bound method Output.emit of <cowrie.output.localsyslog.Output object at 0xb55ae7b0>>) due to exception: [Failure instance: Traceback: <type 'exceptions.KeyError'>: 'isError' /opt/cowrie/src/cowri...
exceptions.KeyError
def call(self): """ """ escape_fn = lambda s: s newline = True try: optlist, args = getopt.getopt(self.args, "eEn") for opt in optlist: if opt[0] == "-e": escape_fn = functools.partial(str.decode, encoding="string_escape") elif opt[0] == "-E": ...
def call(self): """ """ escape_fn = lambda s: s newline = True try: optlist, args = getopt.getopt(self.args, "eEn") for opt in optlist: if opt[0] == "-e": escape_fn = functools.partial(str.decode, encoding="string_escape") elif opt[0] == "-E": ...
https://github.com/cowrie/cowrie/issues/287
Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/twisted/python/log.py", line 101, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/local/lib/python2.7/site-packages/twisted/python/log.py", line 84, in callWithContext return context.call({ILogContext:...
exceptions.ValueError
def call(self): """ """ escape_fn = lambda s: s newline = True try: optlist, args = getopt.getopt(self.args, "eEn") for opt in optlist: if opt[0] == "-e": escape_fn = functools.partial(str.decode, encoding="string_escape") elif opt[0] == "-E": ...
def call(self): """ """ escape_fn = lambda s: s newline = True try: optlist, args = getopt.getopt(self.args, "eEn") for opt in optlist: if opt[0] == "-e": escape_fn = functools.partial(str.decode, encoding="string_escape") elif opt[0] == "-E": ...
https://github.com/cowrie/cowrie/issues/287
Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/twisted/python/log.py", line 101, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/local/lib/python2.7/site-packages/twisted/python/log.py", line 84, in callWithContext return context.call({ILogContext:...
exceptions.ValueError
def __init__(self, ctx: DistributedContext, op, log_path: str): self.ctx = ctx self.op = op self.log_path = log_path self.file = open(log_path, "w") self.stdout = sys.stdout self.raw_stdout = self.stdout while isinstance(self.raw_stdout, _LogWrapper): self.raw_stdout = self.raw_std...
def __init__(self, ctx: DistributedContext, op, log_path: str, custom_log_meta): self.ctx = ctx self.op = op self.log_path = log_path self.custom_log_meta = custom_log_meta self.file = open(log_path, "w") self.stdout = sys.stdout # flag about registering log path self.is_log_path_regist...
https://github.com/mars-project/mars/issues/2021
2021-03-05 15:28:48,690 mars.scheduler.operands.common 335 ERROR Attempt 1: Unexpected error error occurred in executing operand 7518caeab11c4a18bcce34bc13a3cd0f in 11.28.217.38:28254 Traceback (most recent call last): File "/home/admin/work/_public-mars-0.6.4.zip/mars/promise.py", line 100, in _wrapped result = fun...
greenlet.error
def _register_log_path(self): if self.is_log_path_registered: return # register log path session_id = self.ctx.session_id tileable_op_key = self.op.tileable_op_key chunk_op_key = self.op.key worker_addr = self.ctx.get_local_address() log_path = self.log_path custom_log_meta = s...
def _register_log_path(self): if self.is_log_path_registered: return # register log path session_id = self.ctx.session_id tileable_op_key = self.op.tileable_op_key chunk_op_key = self.op.key worker_addr = self.ctx.get_local_address() log_path = self.log_path self.custom_log_meta...
https://github.com/mars-project/mars/issues/2021
2021-03-05 15:28:48,690 mars.scheduler.operands.common 335 ERROR Attempt 1: Unexpected error error occurred in executing operand 7518caeab11c4a18bcce34bc13a3cd0f in 11.28.217.38:28254 Traceback (most recent call last): File "/home/admin/work/_public-mars-0.6.4.zip/mars/promise.py", line 100, in _wrapped result = fun...
greenlet.error
def write(self, data): self._register_log_path() # write into file self.file.write(data) # force flush to make sure `fetch_log` can get stdout in time self.file.flush() # write into previous stdout self.raw_stdout.write(data)
def write(self, data): self._register_log_path() # write into file self.file.write(data) # force flush to make sure `fetch_log` can get stdout in time self.file.flush() # write into previous stdout self.stdout.write(data)
https://github.com/mars-project/mars/issues/2021
2021-03-05 15:28:48,690 mars.scheduler.operands.common 335 ERROR Attempt 1: Unexpected error error occurred in executing operand 7518caeab11c4a18bcce34bc13a3cd0f in 11.28.217.38:28254 Traceback (most recent call last): File "/home/admin/work/_public-mars-0.6.4.zip/mars/promise.py", line 100, in _wrapped result = fun...
greenlet.error
def flush(self): self.raw_stdout.flush()
def flush(self): self.stdout.flush()
https://github.com/mars-project/mars/issues/2021
2021-03-05 15:28:48,690 mars.scheduler.operands.common 335 ERROR Attempt 1: Unexpected error error occurred in executing operand 7518caeab11c4a18bcce34bc13a3cd0f in 11.28.217.38:28254 Traceback (most recent call last): File "/home/admin/work/_public-mars-0.6.4.zip/mars/promise.py", line 100, in _wrapped result = fun...
greenlet.error
def redirect_custom_log(func): """ Redirect stdout to a file by wrapping ``Operand.execute(ctx, op)`` """ @functools.wraps(func) def wrap(cls, ctx: DistributedContext, op): # import inside, or Ray backend may fail from .config import options if ( getattr(ctx, "r...
def redirect_custom_log(func): """ Redirect stdout to a file by wrapping ``Operand.execute(ctx, op)`` """ @functools.wraps(func) def wrap(cls, ctx: DistributedContext, op): # import inside, or Ray backend may fail from .config import options if ( getattr(ctx, "r...
https://github.com/mars-project/mars/issues/2021
2021-03-05 15:28:48,690 mars.scheduler.operands.common 335 ERROR Attempt 1: Unexpected error error occurred in executing operand 7518caeab11c4a18bcce34bc13a3cd0f in 11.28.217.38:28254 Traceback (most recent call last): File "/home/admin/work/_public-mars-0.6.4.zip/mars/promise.py", line 100, in _wrapped result = fun...
greenlet.error
def wrap(cls, ctx: DistributedContext, op): # import inside, or Ray backend may fail from .config import options if ( getattr(ctx, "running_mode", RunningMode.local) == RunningMode.local or options.custom_log_dir is None ): # do nothing for local scheduler return func(cl...
def wrap(cls, ctx: DistributedContext, op): # import inside, or Ray backend may fail from .config import options if ( getattr(ctx, "running_mode", RunningMode.local) == RunningMode.local or options.custom_log_dir is None ): # do nothing for local scheduler return func(cl...
https://github.com/mars-project/mars/issues/2021
2021-03-05 15:28:48,690 mars.scheduler.operands.common 335 ERROR Attempt 1: Unexpected error error occurred in executing operand 7518caeab11c4a18bcce34bc13a3cd0f in 11.28.217.38:28254 Traceback (most recent call last): File "/home/admin/work/_public-mars-0.6.4.zip/mars/promise.py", line 100, in _wrapped result = fun...
greenlet.error
def __call__(self, input_tensor, index, columns): if isinstance(input_tensor, dict): return self._call_input_1d_tileables(input_tensor, index, columns) elif input_tensor is not None: return self._call_input_tensor(input_tensor, index, columns) else: return self._call_tensor_none(inde...
def __call__(self, input_tensor, index, columns): if isinstance(input_tensor, dict): return self._call_input_1d_tileables(input_tensor, index, columns) else: return self._call_input_tensor(input_tensor, index, columns)
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def _call_input_1d_tileables(self, input_1d_tileables, index, columns): tileables = [] shape = None for tileable in input_1d_tileables.values(): tileable_shape = astensor(tileable).shape if len(tileable_shape) > 0: if shape is None: shape = tileable_shape ...
def _call_input_1d_tileables(self, input_1d_tileables, index, columns): tileables = [] shape = None for tileable in input_1d_tileables.values(): tileable_shape = astensor(tileable).shape if len(tileable_shape) > 0: if shape is None: shape = tileable_shape ...
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def tile(cls, op): if isinstance(op.input, dict): return cls._tile_input_1d_tileables(op) elif op.input is not None: return cls._tile_input_tensor(op) else: return cls._tile_tensor_none(op)
def tile(cls, op): if isinstance(op.input, dict): return cls._tile_input_1d_tileables(op) else: return cls._tile_input_tensor(op)
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def execute(cls, ctx, op): chunk = op.outputs[0] if isinstance(op.input, dict): d = OrderedDict() for k, v in op.input.items(): if hasattr(v, "key"): d[k] = ctx[v.key] else: d[k] = v if op.index is not None: index_data ...
def execute(cls, ctx, op): chunk = op.outputs[0] if isinstance(op.input, dict): d = OrderedDict() for k, v in op.input.items(): if hasattr(v, "key"): d[k] = ctx[v.key] else: d[k] = v if op.index is not None: index_data ...
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def dataframe_from_tensor(tensor, index=None, columns=None, gpu=None, sparse=False): if tensor is not None: if tensor.ndim > 2 or tensor.ndim <= 0: raise TypeError( f"Not support create DataFrame from {tensor.ndim} dims tensor" ) try: col_num = ten...
def dataframe_from_tensor(tensor, index=None, columns=None, gpu=None, sparse=False): if tensor.ndim > 2 or tensor.ndim <= 0: raise TypeError(f"Not support create DataFrame from {tensor.ndim} dims tensor") try: col_num = tensor.shape[1] except IndexError: col_num = 1 gpu = tensor....
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def __init__(self, input_=None, index=None, dtype=None, gpu=None, sparse=None, **kw): super().__init__( _input=input_, _index=index, _dtype=dtype, _gpu=gpu, _sparse=sparse, _output_types=[OutputType.series], **kw, )
def __init__(self, index=None, dtype=None, gpu=None, sparse=None, **kw): super().__init__( _index=index, _dtype=dtype, _gpu=gpu, _sparse=sparse, _output_types=[OutputType.series], **kw, )
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def _set_inputs(self, inputs): super()._set_inputs(inputs) if self._input is not None: self._input = self._inputs[0] if self._index is not None: self._index = self._inputs[-1]
def _set_inputs(self, inputs): super()._set_inputs(inputs) self._input = self._inputs[0] if self._index is not None: self._index = self._inputs[-1]
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def tile(cls, op): if op.index is None: # check all inputs to make sure no unknown chunk shape check_chunks_unknown_shape(op.inputs, TilesError) if op.input is None: return cls._tile_tensor_none(op) out_series = op.outputs[0] in_tensor = op.inputs[0] nsplits = in_tensor.nsp...
def tile(cls, op): if op.index is None: # check all inputs to make sure no unknown chunk shape check_chunks_unknown_shape(op.inputs, TilesError) out_series = op.outputs[0] in_tensor = op.inputs[0] nsplits = in_tensor.nsplits if op.index is not None: index_tensor = op.index....
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def execute(cls, ctx, op): chunk = op.outputs[0] if op.input is not None: tensor_data = ctx[op.input.key] else: tensor_data = None if op.index is not None: index_data = ctx[op.index.key] else: index_data = chunk.index_value.to_pandas() ctx[chunk.key] = pd.Series( ...
def execute(cls, ctx, op): chunk = op.outputs[0] tensor_data = ctx[op.inputs[0].key] if op.index is not None: index_data = ctx[op.inputs[1].key] else: index_data = chunk.index_value.to_pandas() ctx[chunk.key] = pd.Series(tensor_data, index=index_data, name=chunk.name)
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def __call__(self, input_tensor, index, name): inputs = [input_tensor] if input_tensor is not None else [] if index is not None: if not isinstance(index, pd.Index): if isinstance(index, INDEX_TYPE): self._index = index index_value = index.index_value ...
def __call__(self, input_tensor, index, name): inputs = [input_tensor] if index is not None: if not isinstance(index, pd.Index): if isinstance(index, INDEX_TYPE): self._index = index index_value = index.index_value inputs.append(index) ...
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def series_from_tensor( tensor, index=None, name=None, dtype=None, gpu=None, sparse=False ): if tensor is not None: if tensor.ndim > 1 or tensor.ndim <= 0: raise TypeError(f"Not support create Series from {tensor.ndim} dims tensor") gpu = tensor.op.gpu if gpu is None else gpu ...
def series_from_tensor(tensor, index=None, name=None, gpu=None, sparse=False): if tensor.ndim > 1 or tensor.ndim <= 0: raise TypeError(f"Not support create Series from {tensor.ndim} dims tensor") gpu = tensor.op.gpu if gpu is None else gpu op = SeriesFromTensor(dtype=tensor.dtype, gpu=gpu, sparse=sp...
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def __call__(self, df_or_series): inputs = [df_or_series] shape = list(df_or_series.shape) index_value = df_or_series.index_value columns_value = dtypes = None if df_or_series.ndim == 2: columns_value = df_or_series.columns_value dtypes = df_or_series.dtypes if self._index is no...
def __call__(self, df_or_series): inputs = [df_or_series] shape = list(df_or_series.shape) index_value = df_or_series.index_value columns_value = dtypes = None if df_or_series.ndim == 2: columns_value = df_or_series.columns_value dtypes = df_or_series.dtypes if self._index is no...
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def _sparse_reindex(cls, inp, index=None, columns=None): if inp.ndim == 2: columns = inp.columns if columns is None else columns index_shape = len(index) if index is not None else len(inp) i_to_columns = dict() for i, col in enumerate(columns): if col in inp.dtypes: ...
def _sparse_reindex(cls, inp, index=None, columns=None): if inp.ndim == 2: columns = inp.columns if columns is None else columns index_shape = len(index) if index is not None else len(inp) i_to_columns = dict() for i, col in enumerate(columns): if col in inp.dtypes: ...
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def reindex(df_or_series, *args, **kwargs): """ Conform Series/DataFrame to new index with optional filling logic. Places NA/NaN in locations having no value in the previous index. A new object is produced unless the new index is equivalent to the current one and ``copy=False``. Parameters ...
def reindex(df_or_series, *args, **kwargs): """ Conform Series/DataFrame to new index with optional filling logic. Places NA/NaN in locations having no value in the previous index. A new object is produced unless the new index is equivalent to the current one and ``copy=False``. Parameters ...
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def __call__(self, target: DataFrame, value): raw_target = target inputs = [target] if np.isscalar(value): value_dtype = np.array(value).dtype elif self._is_scalar_tensor(value): inputs.append(value) value_dtype = value.dtype else: if isinstance(value, (pd.Series, SE...
def __call__(self, target: DataFrame, value): inputs = [target] if np.isscalar(value): value_dtype = np.array(value).dtype elif self._is_scalar_tensor(value): inputs.append(value) value_dtype = value.dtype else: if isinstance(value, (pd.Series, SERIES_TYPE)): ...
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def __init__( self, data=None, index=None, columns=None, dtype=None, copy=False, chunk_size=None, gpu=None, sparse=None, num_partitions=None, ): # make sure __getattr__ does not result in stack overflow self._data = None need_repart = False if isinstance(data, TE...
def __init__( self, data=None, index=None, columns=None, dtype=None, copy=False, chunk_size=None, gpu=None, sparse=None, num_partitions=None, ): # make sure __getattr__ does not result in stack overflow self._data = None need_repart = False if isinstance(data, TE...
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError
def __init__( self, data=None, index=None, dtype=None, name=None, copy=False, chunk_size=None, gpu=None, sparse=None, num_partitions=None, ): # make sure __getattr__ does not result in stack overflow self._data = None if dtype is not None: dtype = np.dtype(dt...
def __init__( self, data=None, index=None, dtype=None, name=None, copy=False, chunk_size=None, gpu=None, sparse=None, num_partitions=None, ): # make sure __getattr__ does not result in stack overflow self._data = None need_repart = False if isinstance(data, (TENS...
https://github.com/mars-project/mars/issues/2018
In [52]: df = md.DataFrame(index=[1, 2, 3]) In [53]: df['a'] = md.Series(['a', 'b', 'c'], index=[2, 3, 4]) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-53-f550a59ef82c> in <module> ----> 1 df['a'] ...
NotImplementedError