Additional convenience constants for RFC3339 in time package

Along with the formatting constants time.RFC3339 and time.RFC3339Nano, it would be very convenient to have time.RFC3339Milli and time.RFC3339Micro with the indicated second precisions.

Why?

Because it would be convenient and more self-documenting. For example, our
systems can have a maximum precision of microseconds using RFC3339, and
timestampFormat := time.RFC3339Micro
is more semantically transparent than
timestampFormat := "2006-01-02T15:04:05.999999Z07:00"
Other "Handy time stamps" are already provided, so why not this?
Mark CampanelliSr. Quality Assurance AnalystWorkiva
formerly WebFilings448 East Main St., Suite 202, Bozeman, MT, 59715
Email<EMAIL_ADDRESS>Office:
Mobile: 1-720-666-8842
On Tue, Nov 17, 2015 at 8:16 AM, Brad Fitzpatrick<EMAIL_ADDRESS>wrote:

Why?
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/13291#issuecomment-157399622.

No, thanks. I was hoping for some argument that there was a popular spec I'd never heard of which relied on such formats.
I think this is well beyond the point of diminishing returns. It adds more weight to the time package than utility.
We've both now written more keystrokes in this bug than we'd ever save users wanting these formats. But we would've added more cognitive load to the docs.
Closing as not meeting the bar.

timestampFormat := time.RFC3339Micro
is more semantically transparent than
timestampFormat := "2006-01-02T15:04:05.999999Z07:00"

You're free to define your own constants in your own packages.

Why are StampMilli and StampMicro included? Do they add cognitive load?
This would make the RFC precisions consistent with that.
The need for microsecond precision comes into play with serialization produced and consumed across languages. Python cannot deal with nanoseconds.

Nanosecond precision also causes trouble with rsyslog.

I agree, it seems silly to have the useless timestamp format with millisecond precision yet the RFC 3339 formatter does not. I asked for something similar in a duplicate issueI opened (#13424).


Installation in 2019 version of lammps

Hi I am trying to install this on 2019 version of lammps and getting the following error:
g++ -g -O3  -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64  -I../STUBS     -c ../pair_hbond_graphene.cpp
../pair_hbond_graphene.cpp: In member function ‘virtual void LAMMPS_NS::PairHbondGraphene::coeff(int, char**)’:
../pair_hbond_graphene.cpp:328:44: error: no matching function for call to ‘LAMMPS_NS::Force::bounds(char*&, int&, int&, int&)’
force->bounds(arg[0],atom->ntypes,ilo,ihi);
^
In file included from ../pair_hbond_graphene.cpp:27:0:
../force.h:131:8: note: candidate: void LAMMPS_NS::Force::bounds(const char*, int, char*, int, int&, int&, int)
void bounds(const char , int, char , int, int &, int &, int nmin=1);
^~~~~~
../force.h:131:8: note:   candidate expects 7 arguments, 4 provided
../pair_hbond_graphene.cpp:329:44: error: no matching function for call to ‘LAMMPS_NS::Force::bounds(char&, int&, int&, int&)’
force->bounds(arg[1],atom->ntypes,jlo,jhi);
^
In file included from ../pair_hbond_graphene.cpp:27:0:
../force.h:131:8: note: candidate: void LAMMPS_NS::Force::bounds(const char, int, char*, int, int&, int&, int)
void bounds(const char , int, char , int, int &, int &, int nmin=1);
^~~~~~
../force.h:131:8: note:   candidate expects 7 arguments, 4 provided
../pair_hbond_graphene.cpp:330:44: error: no matching function for call to ‘LAMMPS_NS::Force::bounds(char&, int&, int&, int&)’
force->bounds(arg[2],atom->ntypes,klo,khi);
^
In file included from ../pair_hbond_graphene.cpp:27:0:
../force.h:131:8: note: candidate: void LAMMPS_NS::Force::bounds(const char, int, char*, int, int&, int&, int)
void bounds(const char *, int, char *, int, int &, int &, int nmin=1);
^~~~~~
../force.h:131:8: note:   candidate expects 7 arguments, 4 provided
Makefile:104: recipe for target 'pair_hbond_graphene.o' failed
make[1]: *** [pair_hbond_graphene.o] Error 1
make[1]: Leaving directory '/home/xxxxx/lammps-7Aug19/src/Obj_serial'
Makefile:201: recipe for target 'serial' failed
make: *** [serial] Error 2

Hello,
I tried to install this patch on latest stable LAMMPS release (jun 23) and it did not work. After some code crawling we realized that LAMMPS changed some functions and definitions and we had to slightly change the cpp file, that I attach (maybe @velocirobbie wants to check this and include in repo?).
Note that this might not work with 2019 ver, so if you want to use it I suggest you to change to jun 23.
Hope this helps,
Veniero.
pair_hbond_graphene.cpp.gz


[BIOMAGE-2158] - Webgl heatmap plots

Description
Use webgl to render heatmaps
https://ui-agi-ui100.scp-staging.biomage.net/
Using webgl makes the plot faster. Using the n200k_d03 dataset, interactions with the plot:
Updating width:
WebGL: 3.03 s
Vega: 5.00 s
Updating height:
WebGL: 3.05s
Vega: 4.95s
Visual difference:
WebGL:

Vega:

Detailse
URL to issue
https://biomage.atlassian.net/browse/BIOMAGE-2158
Link to staging deployment URL (or set N/A)
N/A
Links to any PRs or resources related to this PR
N/A
Integration test branch
master
Merge checklist
Your changes will be ready for merging after all of the steps below have been completed.
Code updates
Have best practices and ongoing refactors being observed in this PR

[ ] Migrated any selector / reducer used to the new format.

Manual/unit testing

[ ] Tested changes using InfraMock locally or no tests required for change, e.g. Kubernetes chart updates.
[ ] Validated that current unit tests for code work as expected and are sufficient for code coverage or no unit tests required for change, e.g. documentation update.
[ ] Unit tests written or no unit tests required for change, e.g. documentation update.

Integration testing
You must check the box below to run integration tests on the latest commit on your PR branch.
Integration tests have to pass before the PR can be merged. Without checking the box, your PR
will not pass the required status checks for merging.

[ ] Started end-to-end tests on the latest commit.

Documentation updates

[ ] Relevant Github READMEs updated or no GitHub README updates required.
[ ] Relevant Wiki pages created/updated or no Wiki updates required.

Optional

[ ] Staging environment is unstaged before merging.
[ ] Photo of a cute animal attached to this PR.

Description
Use webgl to render heatmaps
https://ui-agi-ui100.scp-staging.biomage.net/
Using webgl makes the plot faster. Using the n200k_d03 dataset, interactions with the plot:
Updating width: WebGL: 3.03 s Vega: 5.00 s
Updating height: WebGL: 3.05s Vega: 4.95s
Visual difference:
WebGL:
Vega:
Detailse
URL to issue
https://biomage.atlassian.net/browse/BIOMAGE-2158
Link to staging deployment URL (or set N/A)
N/A
Links to any PRs or resources related to this PR
N/A
Integration test branch
master
Merge checklist
Your changes will be ready for merging after all of the steps below have been completed.
Code updates
Have best practices and ongoing refactors being observed in this PR

[ ]  Migrated any selector / reducer used to the new format.

Manual/unit testing

[ ]  Tested changes using InfraMock locally or no tests required for change, e.g. Kubernetes chart updates.
[ ]  Validated that current unit tests for code work as expected and are sufficient for code coverage or no unit tests required for change, e.g. documentation update.
[ ]  Unit tests written or no unit tests required for change, e.g. documentation update.

Integration testing
You must check the box below to run integration tests on the latest commit on your PR branch. Integration tests have to pass before the PR can be merged. Without checking the box, your PR will not pass the required status checks for merging.

[ ]  Started end-to-end tests on the latest commit.

Documentation updates

[ ]  Relevant Github READMEs updated or no GitHub README updates required.
[ ]  Relevant Wiki pages created/updated or no Wiki updates required.

Optional

[ ]  Staging environment is unstaged before merging.
[ ]  Photo of a cute animal attached to this PR.

good job!


Running on linux fails due to pyreadline3

Hi, I was trying to use this package on Linux, specifically NixOS.
If the project is built with the pyreadline3 package, it fails at runtime because it's trying to use some windows functionality.
Without the package, the project fails to build.
With the dependency checks removed, it builds and works just fine because it's a drop-in replacement as discussed in #6.
Technically, this is an issue in both the requirements.txt file and the pyproject.toml file, but on NixOS there's mechanisms to easily work around requirements.txt.
I would first suggest changing the pyproject.toml file like described here, which fixes the issue for me:
diff --git a/pyproject.toml b/pyproject.toml
index 131cdec..5b17b0e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -21,7 +21,7 @@ classifiers = [
   "Operating System :: OS Independent",
 ]
 scripts = { chatgpt-cli = "chatgpt_cli.chat:main" }
-dependencies = ["openai >= 0.27.0", "pyyaml >= 6.0", "rich >= 13.3.1", "pyreadline3 >= 3.4.1"]
+dependencies = ["openai >= 0.27.0", "pyyaml >= 6.0", "rich >= 13.3.1", "pyreadline3 >= 3.4.1; platform_system=='Windows'"]

 [build-system]
 requires = ["setuptools>=61.0", "wheel"]

There appear to be similar ways to work around the requirements.txt file, but I have not looked into them.
Edit:
I noticed another issue say that pyreadline3 is supposed to support linux too, so I figured I'd provde the runtime error I'm getting.

Error
Traceback (most recent call last):
  File "/nix/store/rkmj4vxx7861adb3x3m1gqy34c53x25i-python3.10-pyreadline3-3.4.1/lib/python3.10/site-packages/pyreadline3/keysyms/__init__.py", line 15, in <module>
    from .keysyms import *
  File "/nix/store/rkmj4vxx7861adb3x3m1gqy34c53x25i-python3.10-pyreadline3-3.4.1/lib/python3.10/site-packages/pyreadline3/keysyms/keysyms.py", line 13, in <module>
    from ctypes import windll
ImportError: cannot import name 'windll' from 'ctypes' (/nix/store/95cxzy2hpizr23343b8bskl4yacf4b3l-python3-3.10.11/lib/python3.10/ctypes/__init__.py)

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

Traceback (most recent call last):
  File "/nix/store/rkmj4vxx7861adb3x3m1gqy34c53x25i-python3.10-pyreadline3-3.4.1/lib/python3.10/site-packages/pyreadline3/console/__init__.py", line 14, in <module>
    from .console import *
  File "/nix/store/rkmj4vxx7861adb3x3m1gqy34c53x25i-python3.10-pyreadline3-3.4.1/lib/python3.10/site-packages/pyreadline3/console/console.py", line 28, in <module>
    from pyreadline3.keysyms import KeyPress, make_KeyPress
  File "/nix/store/rkmj4vxx7861adb3x3m1gqy34c53x25i-python3.10-pyreadline3-3.4.1/lib/python3.10/site-packages/pyreadline3/keysyms/__init__.py", line 17, in <module>
    raise ImportError(
ImportError: Could not import keysym for local python version

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

Traceback (most recent call last):
  File "/nix/store/9f9rbfvfrp3skwahazryvn10av8yrkj8-chatgpt-cli-v0.1.13/bin/.chatgpt-cli-wrapped", line 6, in <module>
    from chatgpt_cli.chat import main
  File "/nix/store/9f9rbfvfrp3skwahazryvn10av8yrkj8-chatgpt-cli-v0.1.13/lib/python3.10/site-packages/chatgpt_cli/chat.py", line 4, in <module>
    from chatgpt_cli.conversation import generate_response
  File "/nix/store/9f9rbfvfrp3skwahazryvn10av8yrkj8-chatgpt-cli-v0.1.13/lib/python3.10/site-packages/chatgpt_cli/conversation.py", line 7, in <module>
    from utils.file import *
  File "/nix/store/9f9rbfvfrp3skwahazryvn10av8yrkj8-chatgpt-cli-v0.1.13/lib/python3.10/site-packages/utils/file.py", line 7, in <module>
    from utils.io import *
  File "/nix/store/9f9rbfvfrp3skwahazryvn10av8yrkj8-chatgpt-cli-v0.1.13/lib/python3.10/site-packages/utils/io.py", line 4, in <module>
    import readline
  File "/nix/store/rkmj4vxx7861adb3x3m1gqy34c53x25i-python3.10-pyreadline3-3.4.1/lib/python3.10/site-packages/readline.py", line 7, in <module>
    from pyreadline3.rlmain import Readline
  File "/nix/store/rkmj4vxx7861adb3x3m1gqy34c53x25i-python3.10-pyreadline3-3.4.1/lib/python3.10/site-packages/pyreadline3/__init__.py", line 14, in <module>
    from . import (
  File "/nix/store/rkmj4vxx7861adb3x3m1gqy34c53x25i-python3.10-pyreadline3-3.4.1/lib/python3.10/site-packages/pyreadline3/console/__init__.py", line 16, in <module>
    raise ImportError(
ImportError: Could not find a console implementation for local python version

Thanks for mentioning this problem, it seems strange as the package pyreadline3 is supposed to be working on Linux (tested on kubuntu 22.10), but it failed on your OS actually. I am really busy these days and it may truly take some time to reproduce this issue (like creating a NixOS VM to figure out the cause), so I tend to take your solution directly later when I have time (maybe tomorrow).
I will close this issue when I update the requirements.txt and pyproject.toml, and test this build in an isolated environment on my machine and on Windows.

I would first suggest changing the pyproject.toml file like described here, which fixes the issue for me:

The link you provided here seems to be broken, would you like to update it with a new one?

Oops, sorry, link should be fixed!
I'll be happy to provide a complete nix derivation (effectively a nix build script) for reproduction purposes once I've got something I'm happy with.

Haha, thank you, I can manage it when I have time to do so (I have often thought of using Nix as the package manager). I am just swamped at the moment.

Npnp, if it should otherwise work, I'll also see if it works if I build pyreadline3 from source on nix. I'll report back in like half an hour.

If you're willing to give it a try, I would appreciate it. In fact, your previous solution was already great because the purpose of introducing pyreadline3 was to address the compatibility of this tool on Windows. Linux already has native python readline support, so it is also acceptable to differentiate the build based on the operating system from the beginning :+1:

That sounds good to me!
I can also confirm that building pyreadline3 like this:
"pyreadline3" = python.pkgs.buildPythonPackage rec {
  pname = "pyreadline3";
  version = "3.4.1";
  src = pkgs.fetchPypi {
    inherit pname version;
    sha256 = "sha256-bz0fe4oxujK3ORfO/B8ozGYFYvOa6oZG0wvW7/Ife64=";
  };
  doCheck = false;
  buildInputs = [];
  checkInputs = [];

  propagatedBuildInputs = with python.pkgs; [
  ];
};

Fails with the error:
Executing setuptoolsBuildPhase
Traceback (most recent call last):
  File "/build/pyreadline3-3.4.1/nix_run_setup", line 8, in <module>
    exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
  File "setup.py", line 19, in <module>
    raise RuntimeError('pyreadline3 is for Windows only, not {}.'.format(_S))
RuntimeError: pyreadline3 is for Windows only, not Linux.
/nix/store/37p8gq9zijbw6pj3lpi1ckqiv18j2g62-stdenv-linux/setup: line 1594: pop_var_context: head of shell_variables not a function context

In case this is of interest to anybody else, that leaves me with a working derivation of

Spoiler warning
python = pkgs.python3;

mdformat-footnote = python.pkgs.buildPythonPackage rec {
 pname = "mdformat-footnote";
 version = "0.1.1";
 src = pkgs.fetchFromGitHub {
   owner = "executablebooks";
   repo = pname;
   rev = "v${version}";
   sha256 = "sha256-DUCBWcmB5i6/HkqxjlU3aTRO7i0n2sj+e/doKB8ffeo=";
 };
 format = "pyproject";
 doCheck = false;
 buildInputs = [];
 checkInputs = [];
 nativeBuildInputs = [];
 propagatedBuildInputs = with python.pkgs; [
   mdformat
   mdit-py-plugins
   flit
 ];
};
mdformat-frontmatter = python.pkgs.buildPythonPackage rec {
 pname = "mdformat-frontmatter";
 version = "2.0.1";
 src = pkgs.fetchFromGitHub {
   owner = "butler54";
   repo = pname;
   rev = "v${version}";
   sha256 = "sha256-PhT5whtvvcYSs5gHQEsIvV1evhx7jR+3DWFMHrF0uMw=";
 };

 format = "pyproject";
 doCheck = false;
 buildInputs = [];
 checkInputs = [];
 nativeBuildInputs = [];
 propagatedBuildInputs = with python.pkgs; [
   mdformat
   mdit-py-plugins
   ruamel-yaml
   flit
 ];
};
mdformat-tables = python.pkgs.buildPythonPackage rec {
 pname = "mdformat-tables";
 version = "0.4.1";
 src = pkgs.fetchFromGitHub {
   owner = "executablebooks";
   repo = pname;
   rev = "v${version}";
   sha256 = "sha256-Q61GmaRxjxJh9GjyR8QCZOH0njFUtAWihZ9lFQJ2nQQ=";
 };
 format = "pyproject";
 doCheck = false;
 buildInputs = [];
 checkInputs = [];
 nativeBuildInputs = [];
 propagatedBuildInputs = with python.pkgs; [
   mdformat
   flit
 ];
};
mdformat-gfm = python.pkgs.buildPythonPackage rec {
 pname = "mdformat-gfm";
 version = "0.3.5";
 src = pkgs.fetchPypi {
   inherit pname version;
   sha256 = "sha256-XuXw3h07VtXt/O0CO//wru2Vi+Mo5UYNrDIhrBthznw=";
 };
 format = "pyproject";
 doCheck = false;
 buildInputs = [];
 checkInputs = [];
 nativeBuildInputs = [python.pkgs.pythonRelaxDepsHook];
 pythonRemoveDeps = ["markdown-it-py"];

 propagatedBuildInputs = with python.pkgs; [
   markdown-it-py
   mdformat
   mdformat-tables
   mdit-py-plugins
   poetry-core
 ];
};
mdit-py-plugins = python.pkgs.buildPythonPackage rec {
 pname = "mdit-py-plugins";
 version = "0.3.5";
 src = pkgs.fetchPypi {
   inherit pname version;
   sha256 = "sha256-7uCtxxleWCfhfgLSoliiuhWZRKB0j1nFCZpKJ/ePz2o=";
 };
 format = "pyproject";
 doCheck = false;
 buildInputs = [];
 checkInputs = [];
 nativeBuildInputs = [];
 propagatedBuildInputs = with python.pkgs; [
   markdown-it-py
   flit
 ];
};

pk = with python.pkgs;
 buildPythonApplication {
   pname = "chatgpt-cli";
   version = "v0.1.13";

   format = "pyproject";

   nativeBuildInputs = [python.pkgs.pythonRelaxDepsHook];
   pythonRemoveDeps = ["pyreadline3"];

   propagatedBuildInputs = [
     setuptools

     aiohttp
     aiosignal
     async-timeout
     attrs
     black
     certifi
     charset-normalizer
     click
     frozenlist
     idna
     markdown-it-py
     mdformat
     mdformat-gfm
     mdformat-frontmatter
     mdformat-footnote
     mdurl
     multidict
     mypy-extensions
     openai
     packaging
     pathspec
     platformdirs
     pygments
     pyyaml
     requests
     rich
     tomli
     tqdm
     urllib3
     yarl
   ];

   src = ./.;

   postPatch = ''
     substituteInPlace pyproject.toml \
       --replace ', "pyreadline3 >= 3.4.1"' ""
   '';
 };

Thanks for your efforts!


code

can you provide me the code or the website link exact to the screenshot? I really appreciate any help you can provide.

bro u got the code??
can u send me the website link?

Can you send me on discord (dxnxk) > > Bro please when u got it can u send it to me

got it bro

Do you have any acc in tiktok
On Mon, 26 Jun 2023, 23:08 jaggale, @.***> wrote:

bro u got the code??
can u send me the website link?
—
Reply to this email directly, view it on GitHub
https://github.com/kaptanxrd/tiktok-free-coin/issues/1#issuecomment-1608265602,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAIACJ2JLEWJ42AUUREPFL3XNH227ANCNFSM6AAAAAAZNDFKO4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

yes but i dont have the link

my tiktok quest999999

What you have then? > yes but i dont have the link

do u have something broo??

u cand send me the link bro for discord or something??> got it bro

Bro please when u got it can u send it to me
my discord (jaggale)
got it bro

Bro please when u got it can u send it to me

got it bro

hey pal can you please  share this with me thank you

Bisakah saya mendapatkan kode ini? Saya sangat menghargaimu.


bump to k8s.io v1.30, Go 1.22.0, and controller-runtime v0.18.0

Closes: #161
Fixes: #427

The context for this is that #425 will start complaining about Go version syntax in go.mod. However, that is not the only reason for the upgrade. we are greatly outdated with the dependencies

moved to draft since I got myself into a rabbit hole with the k8s stuff...

@BbolroC @bpradipt mind taking another look, I pushed some additional comments.


more instances of file:// found

In addition to #331: I found more places in update.show.min.js that prevent the script from working properly when running it locally:
var style = '<style>.buorg {background: #FDF2AB no-repeat 14px center url(' + burl + 'img/small/' + bb.n + '.png);}</style>';
t=busprintf(t,bb.t,' id="buorgul" href="'+this.op.url+'"'+tar);

fixed in 6902351


Reading large json lines dataset fails because of rows having different columns

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04.4 LTS
Modin version (modin.__version__): 0.15.3
Python version: 3.10.6
Code we can use to reproduce:

import modin.pandas as pd
pd.read_json("Automotive_5.json", lines=True)

where Automotive_5.json is the "small" (1711519 lines) automotive dataset from https://nijianmo.github.io/amazon/index.html
I tried to reproduce it by generating synthetic json lines file where different json objects have different fields with no avail. Have not yet tried to reduce the dataset to smaller to see when it stops failing.

Describe the problem

I am trying to load large json lines file (which is actually the whole dataset, but it reproduces with the smaller one) and it errors out with ValueError('Columns must be the same across all rows.'). I can work around this by loading the dataset with pandas and then transforming that to moding dataframe, but that is unnecessarily slow.
Source code / logs

output.txt

@WaDelma thank you for opening this issue! I am able to reproduce this on the latest master.
@mvashishtha any chance you have an idea of what may be going on here? Asking since you've worked with JSON parsing most recently.

@pyrito yep, each line in the file input to read_json with lines=True can have any columns. e.g. reading this file with read_json(path, lines=False) works in pandas but Modin gives the error in this issue's original post.
{"a": 1}
{"b": 2}

The JSON parsing work I've been doing is not related to this.
There are a few ways in which the current read_json doesn't work when different lines have different columns:

we always assume that different row partitions of a modin frame have the same columns.
read_json uses the number of columns in the first line to determine column partition widths (through json_dispatcher calling _define_metadata). this will still work with mixed columns but reading the first row might not tell us how many columns we really need to split
we use the columns from the first line as the columns of the entire modin dataframe. That's another bug.

We will have to rewrite read_json so it does something like

read row partitions
do some kind of copartition between the row partitions.
create a modin frame out of the copartitioned row partitions.

Maybe we could parse modin frames with just 1 column partition each, modin.pandas.concat these, and then partition the result column wise?
@WaDelma unfortunately I don't think anyone will be able to take this issue on at the moment, but we hope to address it soon. Meanwhile, I hope you can read your json into a pandas dataframe with pandas.read_json, then convert it to a Modin dataframe with modin.pandas.DataFrame(pandas_dataframe), then use Modin.

Hey, @mvashishtha
Did you solve the bugs for read_json command?
I have 14gigs of Json file -1 file- and having an error when trying to import as a dataframe
I'm getting runtime, and key error for engine :/

@mertbozkir this bug is still open and hasn't been fixed. What errors exactly are you getting? Are you able to provide a stack trace for both errors?

It's long error, I couldn't copy the rest :/
RuntimeError:
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.

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

Traceback (most recent call last):
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/asyncio/tasks.py", line 650, in _wrap_awaitable
    return (yield from awaitable.__await__())
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/core.py", line 532, in start
    raise RuntimeError(f"{type(self).__name__} failed to start.") from exc
RuntimeError: Nanny failed to start.
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/core.py", line 513, in start
    raise self.__startup_exc
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/core.py", line 524, in start
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/core/execution/dask/common/utils.py", line 31, in initialize_dask
    await asyncio.wait_for(self.start_unsafe(), timeout=timeout)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
    client = default_client()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 5202, in default_client
    return await fut
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 366, in start_unsafe
    response = await self.instantiate()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 442, in instantiate
    result = await self.process.start()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 707, in start
    await self.process.start()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/process.py", line 38, in _call_and_set_future
    res = func(*args, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/process.py", line 201, in _start
    process.start()
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/context.py", line 288, in _Popen
    return Popen(process_obj)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 42, in _launch
    prep_data = spawn.get_preparation_data(process_obj._name)
    raise ValueError(
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 154, in get_preparation_data
ValueError: No clients found
Start a client and point it to the scheduler address
  from distributed import Client
  client = Client('ip-addr-of-scheduler:8786')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
    _check_not_importing_main()
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 134, in _check_not_importing_main
    exitcode = _main(fd, parent_sentinel)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 125, in _main
    prepare(preparation_data)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 236, in prepare
    raise RuntimeError('''
RuntimeError:
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.
    _fixup_main_from_path(data['init_main_from_path'])
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
    main_content = runpy.run_path(main_path,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 289, in run_path
    return _run_module_code(code, init_globals, run_name,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 96, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Users/mertbozkir/Desktop/Code/lol/main.py", line 8, in <module>
    df = pd.read_json("matches.json")
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/logging/logger_decorator.py", line 128, in run_and_log
    return obj(*args, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/_compat/pandas_api/latest/io.py", line 325, in read_json
    Engine.subscribe(_update_engine)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/pubsub.py", line 217, in subscribe
    callback(cls)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/pandas/__init__.py", line 161, in _update_engine
    initialize_dask()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/core/execution/dask/common/utils.py", line 47, in initialize_dask
    client = Client(n_workers=num_cpus, memory_limit=worker_memory_limit)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 988, in __init__
    self.start(timeout=timeout)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 1185, in start
    sync(self.loop, self._start, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 406, in sync
    raise exc.with_traceback(tb)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 379, in f
    result = yield future
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/tornado/gen.py", line 769, in run
    value = future.result()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 1251, in _start
    self.cluster = await LocalCluster(
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/deploy/spec.py", line 400, in _
    await self._correct_state()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/deploy/spec.py", line 369, in _correct_state_internal
    await w  # for tornado gen.coroutine support
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/core.py", line 513, in start
    raise self.__startup_exc
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/core.py", line 524, in start
    await asyncio.wait_for(self.start_unsafe(), timeout=timeout)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
    return await fut
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 366, in start_unsafe
    response = await self.instantiate()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 442, in instantiate
    result = await self.process.start()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 707, in start
    await self.process.start()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/process.py", line 38, in _call_and_set_future
    res = func(*args, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/process.py", line 201, in _start
    process.start()
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/context.py", line 288, in _Popen
    return Popen(process_obj)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 42, in _launch
    prep_data = spawn.get_preparation_data(process_obj._name)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 154, in get_preparation_data
    _check_not_importing_main()
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 134, in _check_not_importing_main
    raise RuntimeError('''
RuntimeError:
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.
2022-12-10 20:23:57,630 - distributed.nanny - WARNING - Restarting worker
2022-12-10 20:23:57,644 - distributed.nanny - WARNING - Restarting worker

Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 848, in _wait_until_connected
    msg = self.init_result_q.get_nowait()
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/queues.py", line 135, in get_nowait
    return self.get(False)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/queues.py", line 116, in get
    raise Empty
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 742, in wrapper
    return await func(*args, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 545, in _on_worker_exit
    await self.instantiate()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 442, in instantiate
    result = await self.process.start()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 714, in start
    msg = await self._wait_until_connected(uid)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 850, in _wait_until_connected
    await asyncio.sleep(self._init_msg_interval)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/asyncio/tasks.py", line 605, in sleep
    return await future
asyncio.exceptions.CancelledError

Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 848, in _wait_until_connected
    msg = self.init_result_q.get_nowait()
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/queues.py", line 135, in get_nowait
    return self.get(False)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/queues.py", line 116, in get
    raise Empty
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 742, in wrapper
    return await func(*args, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 545, in _on_worker_exit
    await self.instantiate()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 442, in instantiate
    result = await self.process.start()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 714, in start
    msg = await self._wait_until_connected(uid)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/nanny.py", line 850, in _wait_until_connected
    await asyncio.sleep(self._init_msg_interval)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/asyncio/tasks.py", line 605, in sleep
    return await future
asyncio.exceptions.CancelledError
2022-12-10 20:23:57,735 - distributed.nanny - WARNING - Restarting worker
2022-12-10 20:23:57,735 - distributed.nanny - WARNING - Restarting worker
2022-12-10 20:23:57,739 - distributed.nanny - WARNING - Restarting worker
UserWarning: Dask execution environment not yet initialized. Initializing...
To remove this warning, run the following python code before doing dataframe operations:

    from distributed import Client

    client = Client()

UserWarning: Dask execution environment not yet initialized. Initializing...
To remove this warning, run the following python code before doing dataframe operations:

    from distributed import Client

    client = Client()

^CTraceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/pubsub.py", line 260, in get
Traceback (most recent call last):
    raw = cls._get_raw_from_config()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/envvars.py", line 51, in _get_raw_from_config
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/pubsub.py", line 260, in get
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/pubsub.py", line 260, in get
    raw = cls._get_raw_from_config()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/envvars.py", line 51, in _get_raw_from_config
    raw = cls._get_raw_from_config()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/envvars.py", line 51, in _get_raw_from_config
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/core/execution/dask/common/utils.py", line 31, in initialize_dask
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/core/execution/dask/common/utils.py", line 31, in initialize_dask
    return os.environ[cls.varname]
    return os.environ[cls.varname]
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/os.py", line 679, in __getitem__
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/os.py", line 679, in __getitem__
    client = default_client()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 5202, in default_client
    client = default_client()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 5202, in default_client
    return os.environ[cls.varname]
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/os.py", line 679, in __getitem__
    raise KeyError(key) from None
    raise KeyError(key) from None
KeyError: 'MODIN_ENGINE'
KeyError: 'MODIN_ENGINE'

During handling of the above exception, another exception occurred:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 1, in <module>
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 125, in _main
    exitcode = _main(fd, parent_sentinel)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 125, in _main
    prepare(preparation_data)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 236, in prepare
    prepare(preparation_data)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 236, in prepare
    _fixup_main_from_path(data['init_main_from_path'])
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
    _fixup_main_from_path(data['init_main_from_path'])
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
    main_content = runpy.run_path(main_path,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 289, in run_path
    main_content = runpy.run_path(main_path,
    raise KeyError(key) from None
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 289, in run_path
KeyError: 'MODIN_ENGINE'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
    raise ValueError(
ValueError: No clients found
Start a client and point it to the scheduler address
  from distributed import Client
  client = Client('ip-addr-of-scheduler:8786')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
    return _run_module_code(code, init_globals, run_name,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 96, in _run_module_code
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 125, in _main
    _run_code(code, mod_globals, init_globals,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Users/mertbozkir/Desktop/Code/lol/main.py", line 8, in <module>
    raise ValueError(
    df = pd.read_json("matches.json")
ValueError: No clients found
Start a client and point it to the scheduler address
  from distributed import Client
  client = Client('ip-addr-of-scheduler:8786')
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/logging/logger_decorator.py", line 128, in run_and_log

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/main.py", line 8, in <module>
    prepare(preparation_data)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 236, in prepare
    df = pd.read_json("matches.json")
    exitcode = _main(fd, parent_sentinel)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 125, in _main
    return obj(*args, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/_compat/pandas_api/latest/io.py", line 325, in read_json
    prepare(preparation_data)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 236, in prepare
    Engine.subscribe(_update_engine)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/pubsub.py", line 217, in subscribe
    return _run_module_code(code, init_globals, run_name,
    _fixup_main_from_path(data['init_main_from_path'])
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 96, in _run_module_code
    _fixup_main_from_path(data['init_main_from_path'])
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
  File "/Users/mertbozkir/Desktop/Code/lol/venv_l    callback(cls)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/pandas/__init__.py", line 136, in _update_engine
    main_content = runpy.run_path(main_path,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 289, in run_path
    publisher.get() == "Native"
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/pubsub.py", line 262, in get
    _run_code(code, mod_globals, init_globals,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 86, in _run_code
    return _run_module_code(code, init_globals, run_name,
    cls._value = cls._get_default()
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 96, in _run_module_code
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/envvars.py", line 111, in _get_default
ol/lib/python3.10/site-packages/modin/logging/logger_decorator.py", line 128, in run_and_log
    import distributed
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/__init__.py", line 42, in <module>
    _run_code(code, mod_globals, init_globals,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Users/mertbozkir/Desktop/Code/lol/main.py", line 8, in <module>
    exec(code, run_globals)
  File "/Users/mertbozkir/Desktop/Code/lol/main.py", line 8, in <module>
    df = pd.read_json("matches.json")
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/logging/logger_decorator.py", line 128, in run_and_log
    return obj(*args, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/_compat/pandas_api/latest/io.py", line 325, in read_json
    df = pd.read_json("matches.json")
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/logging/logger_decorator.py", line 128, in run_and_log
    Engine.subscribe(_update_engine)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/pubsub.py", line 217, in subscribe
    from distributed.diagnostics.progressbar import progress
  File "/Users/mertbozkir/Desktop/Code/lol/ven    return obj(*args, **kwargs)
    return obj(*args, **kwargs)
v_lol/lib/python3.10/site-packages/distributed/diagnostics/progressbar.py", line 9, in <module>
    callback(cls)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/pandas/__init__.py", line 136, in _update_engine
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/_compat/pandas_api/latest/io.py", line 325, in read_json
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/_compat/pandas_api/latest/io.py", line 325, in read_json
    publisher.get() == "Native"
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/pubsub.py", line 262, in get
    Engine.subscribe(_update_engine)
    Engine.subscribe(_update_engine)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/pubsub.py", line 217, in subscribe
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/    from timeit import default_timer
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
lib/python3.10/site-packages/modin/config/pubsub.py", line 217, in subscribe
  File "<frozen importlib._bootstrap>", line 1002, in _find_and_load_unlocked
    cls._value = cls._get_default()
  File "<frozen importlib._bootstrap>", line 945, in _find_spec
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/envvars.py", line 111, in _get_default
  File "<frozen importlib._bootstrap_external>", line 1439, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1411, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1577, in find_spec
  File "<frozen importlib._bootstrap_external>", line 161, in _path_isfile
  File "<frozen importlib._bootstrap_external>", line 153, in _path_is_mode_type
  File "<frozen importlib._bootstrap_external>", line 147, in _path_stat
KeyboardInterrupt
    callback(cls)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/pandas/__init__.py", line 136, in _update_engine
    callback(cls)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/pytho    import distributed
n3.10/site-packages/modin/pandas/__init__.py", line 161, in _update_engine
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/__init__.py", line 15, in <module>
    from distributed.actor import Actor, ActorFuture, BaseActorFuture
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/actor.py", line 14, in <module>
    publisher.get() == "Native"
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/pubsub.py", line 262, in get
    initialize_dask()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/core/execution/dask/common/utils.py", line 47, in initialize_dask
    cls._value = cls._get_default()
    client = Client(n_workers=num_cpus, memory_limit=worker_memory_limit)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/envvars.py", line 111, in _get_default
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 988, in __init__
    from distributed.client import Future
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 57, in <module>
    import distributed
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/__init__.py", line 15, in <module>
    from distributed import cluster_dump, preloading
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/preloading.py", line 18, in <module>
    from distributed.actor import Actor, ActorFuture, BaseActorFuture
    main_content = runpy.run_path(main_path,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 289, in run_path
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/actor.py", line 14, in <module>
    self.start(timeout=timeout)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 1185, in start
    from distributed.core import Server
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/core.py", line 28, in <module>
    from distributed.client import Future
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 57, in <module>
    from distributed.comm import (
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/comm/__init__.py", line 48, in <module>
    from distributed import cluster_dump, preloading
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/preloading.py", line 18, in <module>
    return _run_module_code(code, init_globals, run_name,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 96, in _run_module_code
    from distributed.core import Server
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/core.py", line 28, in <module>
    _register_transports()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/comm/__init__.py", line 22, in _register_transports
    from distributed.comm import inproc, ws
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/comm/ws.py", line 12, in <module>
    _run_code(code, mod_globals, init_globals,
    from distributed.comm import (
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 86, in _run_code
    sync(self.loop, self._start, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/comm/__init__.py", line 48, in <module>
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 402, in sync
    wait(10)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 391, in wait
    _register_transports()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/comm/__init__.py", line 43, in _register_transports
    from tornado import web
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/tornado/web.py", line 71, in <module>
    return e.wait(timeout)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/threading.py", line 607, in wait
    from distributed.comm import ucx
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/comm/ucx.py", line 31, in <module>
    exec(code, run_globals)
  File "/Users/mertbozkir/Desktop/Code/lol/main.py", line 8, in <module>
    import http.cookies
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/http/cookies.py", line 187, in <module>
    signaled = self._cond.wait(timeout)
    from distributed.diagnostics.nvml import (
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/diagnostics/nvml.py", line 13, in <module>
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/threading.py", line 324, in wait
    import pynvml
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/pynvml.py", line 33, in <module>
    df = pd.read_json("matches.json")
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/logging/logger_decorator.py", line 128, in run_and_log
    _OctalPatt = re.compile(r"\\[0-3][0-7][0-7]")
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/re.py", line 251, in compile
    gotit = waiter.acquire(True, timeout)
KeyboardInterrupt
    from ctypes.util import find_library
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/ctypes/util.py", line 71, in <module>
    from ctypes.macholib.dyld import dyld_find as _dyld_find
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/ctypes/macholib/dyld.py", line 7, in <module>
    from ctypes.macholib.dylib import dylib_info
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
    return _compile(pattern, flags)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/re.py", line 303, in _compile
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 879, in exec_module
  File "<frozen importlib._bootstrap_external>", line 975, in get_code
  File "<frozen importlib._bootstrap_external>", line 1074, in get_data
KeyboardInterrupt
    p = sre_compile.compile(pattern, flags)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/sre_compile.py", line 792, in compile
    code = _code(p, flags)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/sre_compile.py", line 628, in _code
    return obj(*args, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/_compat/pandas_api/latest/io.py", line 325, in read_json
    _compile_info(code, p, flags)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/sre_compile.py", line 564, in _compile_info
    lo, hi = pattern.getwidth()
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/sre_parse.py", line 204, in getwidth
    hi = hi + 1
KeyboardInterrupt
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/core/execution/dask/common/utils.py", line 31, in initialize_dask
    Engine.subscribe(_update_engine)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/pubsub.py", line 217, in subscribe
    callback(cls)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/pandas/__init__.py", line 161, in _update_engine
    initialize_dask()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/core/execution/dask/common/utils.py", line 47, in initialize_dask
    client = Client(n_workers=num_cpus, memory_limit=worker_memory_limit)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 988, in __init__
    self.start(timeout=timeout)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 1185, in start
    client = default_client()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 5202, in default_client
    raise ValueError(
ValueError: No clients found
Start a client and point it to the scheduler address
  from distributed import Client
  client = Client('ip-addr-of-scheduler:8786')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 125, in _main
    prepare(preparation_data)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 236, in prepare
    _fixup_main_from_path(data['init_main_from_path'])
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
Exception ignored in atexit callback: <function close_clusters at 0x124a8a320>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/deploy/spec.py", line 677, in close_clusters
    main_content = runpy.run_path(main_path,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 289, in run_path
    return _run_module_code(code, init_globals, run_name,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 96, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Users/mertbozkir/Desktop/Code/lol/main.py", line 8, in <module>
    df = pd.read_json("matches.json")
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/logging/logger_decorator.py", line 128, in run_and_log
    return obj(*args, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/_compat/pandas_api/latest/io.py", line 325, in read_json
    Engine.subscribe(_update_engine)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/config/pubsub.py", line 217, in subscribe
    callback(cls)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/sit    cluster.close(timeout=10)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/deploy/cluster.py", line 217, in close
e-packages/modin/pandas/__init__.py", line 161, in _update_engine
    return self.sync(self._close, callback_timeout=timeout)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 339, in sync
    initialize_dask()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/modin/core/execution/dask/common/utils.py", line 47, in initialize_dask
    client = Client(n_workers=num_cpus, memory_limit=worker_memory_limit)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 988, in __init__
    return sync(
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 406, in sync
    raise exc.with_traceback(tb)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 379, in f
    self.start(timeout=timeout)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/client.py", line 1185, in start
    result = yield future
  File "/Users/mertbozkir/Desktop/Code/l    sync(self.loop, self._start, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 402, in sync
ol/venv_lol/lib/python3.10/site-packages/tornado/gen.py", line 769, in run
    wait(10)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 391, in wait
    value = future.result()
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
    return e.wait(timeout)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/threading.py", line 607, in wait
    return fut.result()
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/deploy/spec.py", line 437, in _close
    assert w.status in {
    signaled = self._cond.wait(timeout)
AssertionError: Status.running
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/threading.py", line 324, in wait
    gotit = waiter.acquire(True, timeout)
KeyboardInterrupt
    sync(self.loop, self._start, **kwargs)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 402, in sync
    wait(10)
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 391, in wait
    return e.wait(timeout)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/threading.py", line 607, in wait
Task was destroyed but it is pending!
task: <Task pending name='Task-25' coro=<_wrap_awaitable() running at /opt/homebrew/Caskroom/miniforge/base/lib/python3.10/asyncio/tasks.py:650> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-23' coro=<_wrap_awaitable() running at /opt/homebrew/Caskroom/miniforge/base/lib/python3.10/asyncio/tasks.py:650> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-21' coro=<_wrap_awaitable() running at /opt/homebrew/Caskroom/miniforge/base/lib/python3.10/asyncio/tasks.py:650> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-26' coro=<_wrap_awaitable() running at /opt/homebrew/Caskroom/miniforge/base/lib/python3.10/asyncio/tasks.py:650> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-24' coro=<_wrap_awaitable() running at /opt/homebrew/Caskroom/miniforge/base/lib/python3.10/asyncio/tasks.py:650> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-18' coro=<Cluster._sync_cluster_info() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/deploy/cluster.py:179> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-347' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-180' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-264' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-183' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-275' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-351' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-271' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-185' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-353' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-352' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-181' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-269' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-345' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-266' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-184' coro=<Nanny._on_worker_exit() running at /Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py:742> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258c8890>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258c9700>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258cace0>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258c9540>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258cbb50>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258c85f0>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258cb530>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258c9070>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258c8820>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258c86d0>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258c9460>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258cb1b0>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258ca810>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258caea0>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <coroutine object Nanny._on_worker_exit at 0x1258c9230>
Traceback (most recent call last):
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 741, in wrapper
  File "/Users/mertbozkir/Desktop/Code/lol/venv_lol/lib/python3.10/site-packages/distributed/utils.py", line 756, in __exit__
ImportError: sys.meta_path is None, Python is likely shutting down

@mertbozkir, your error seems not related to the original issue. To avoid your problem you should put the code under if __name__ == '__main__':. See more in this Section about your issue.


Reconnect fires only once

Maybe I miss something but it looks like only one reconnect attempt is made. If it fails (server unavailable, etc.) setTimeout is fired and then client just waits forever. Any good way to work around this?

This is tested with RabbitMQ, where it does not seem to have that problem. Which server are you using?

I'm using STOMP over SockJS, this issue occure if the server is down,

Before I proceed with more suggestions - are you using the SockJS as suggested in https://stomp-js.github.io/stomp-websocket/codo/extra/docs-src/sockjs.md.html
Key is to pass a function that returns a SockJS object (so that before each connect/reconnect it can create a new SockJS instance).
In any case, please fork and submit a pull request. https://stomp-js.github.io/stomp-websocket/codo/extra/docs-src/Contribute.md.html may help you in getting started.

I had the same issue, after the first disconnection the client was stuck with the message 'Opening Web Socket...'.
After changing my code following kum-deepak suggestions everything work fine, the stomp client continues to try to reconnect.

Hm, function may be a way. I have a code from the original stomp-websocket, which works over a single object, which should be the reason.
I've end up with a reconnecting-websocket library, connected to a SockJS plain websocket server (//websocket), which works just as good.
Thank you for the support!


Update README.md: add ScalaConfig wrapper link

Hi @andr83,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:
http://www.lightbend.com/contribute/cla

thanks!

Thank you!


chore: set owncloud trusted domains

Don't merge it
Related to: https://github.com/owncloud-docker/base/pull/238

I don't think so, but can't say for sure.


[event request] table 77 "Report Selections" - PrintDocumentsWithCheckGUIYesNoCommon() - Add IsPreview parameter to OnBefore/AfterPrintDocument*()

We want to be able to detect when a Report Selection is run and output to Print, Email, or really anything other than Preview. We want to then add a Comment Line to the Customer or other record to note that we produced/sent a report to them.
It's conceivable that we might also at some point want to prevent Email runs being done to Blocked customers, etc.

How can this be done? I found the below in "Report Selections", which seems apt, but it seems there is no way to determine whether the report is being run in Preview mode or not, and so we would get comments being added when previewing, which we don't want.
There are also no apparent ways to determine output/delivery method in the Reporting Triggers or ReportManagement codeunits, or did I miss them?

If there is no other/better way to do this, and the following is possible somehow: please can you add a Boolean argument named IsPreview or similar to all handlers prefix with // *** below, indicating whether or not the report is just being Previewed? If not, we would presume it was being sent or output for 'live' use, to the customer.
Alternatively, if you think it would be better for future extensibility, add an Enum covering all standard output methods available in the Report Selections / Custom Layout framework.
Thanks!

    local procedure PrintDocumentsWithCheckGUIYesNoCommon(ReportUsage: Integer; RecordVariant: Variant; IsGUI: Boolean; AccountNoFieldNo: Integer; WithCheck: Boolean; TableNo: Integer)
    var [...]
    begin
        // ***
        OnBeforeSetReportLayout(RecordVariant, ReportUsage);

        RecRef.GetTable(RecordVariant);
        GetUniqueAccountNos(TempNameValueBuffer, RecRef, AccountNoFieldNo);

        SelectTempReportSelectionsToPrint(TempReportSelections, TempNameValueBuffer, WithCheck, ReportUsage, TableNo);

        OnPrintDocumentsOnAfterSelectTempReportSelectionsToPrint(
          RecordVariant, TempReportSelections, TempNameValueBuffer, WithCheck, ReportUsage, TableNo);

        if TempReportSelections.FindSet then
            repeat
                if TempReportSelections."Custom Report Layout Code" <> '' then
                    ReportLayoutSelection.SetTempLayoutSelected(TempReportSelections."Custom Report Layout Code")
                else
                    ReportLayoutSelection.SetTempLayoutSelected('');

                TempNameValueBuffer.FindSet;
                AccountNoFilter := GetAccountNoFilterForCustomReportLayout(TempReportSelections, TempNameValueBuffer, TableNo);
                GetFilteredRecordRef(RecRefToPrint, RecRef, AccountNoFieldNo, AccountNoFilter);
                RecVarToPrint := RecRefToPrint;

                IsHandled := false;

                // ***
                OnBeforePrintDocument(TempReportSelections, IsGUI, RecVarToPrint, IsHandled);

                if not IsHandled then
                    REPORT.RunModal(TempReportSelections."Report ID", IsGUI, false, RecVarToPrint);

                // ***
                OnAfterPrintDocument(TempReportSelections, IsGUI, RecVarToPrint);

                ReportLayoutSelection.SetTempLayoutSelected('');
            until TempReportSelections.Next() = 0;

        // ***
        OnAfterPrintDocumentsWithCheckGUIYesNoCommon(ReportUsage, RecVarToPrint);
    end;

Hi @dtkb . I see that we actually have several parts here, in your request.
So if you need enum for particular option field you can just create a separate github issue for it and it will be processed.
What about report selection and around ... I think you see there is no possibility to understand how report is run from the Report Selections. It just run the report and everything after this just out of Report Selections scope. The place where we can definitely say how report is run is just report as itself. There we call IsPreview function. Does it make sense for you to subscribe to required report and from there identify if you need to do something else or not?

I don't think so because the report did need to be run via Report Selections / Custom Layout Reporting, and thus it could end up running different report objects depending on company/customer, so it would not be a general solution and may not be usable for standard reports since I don't think I've seen any of them exposing OnPreview events or such anyway.
In this case, we have buttons to run the required report selections on a custom page, and just added code to those actions that will assume the report is printed, and does the required thing there. Then if the user needs to avoid that code and 'preview', they just run the report the normal way... This is not very nice though.
I just thought there, that perhaps a way to do this is to have custom action code, and in the case of posted invoices/credits, compare "No. Printed" before and after the report is run, and if it was incremented then we know we were in Print mode and not Preview. This isn't as general but would have probably solved that use case better, in retrospect.
I'll say close for now, and if it becomes a pressing issue for us again, open a better request. Thanks!


Could be cool to curl your uncenter.dev

Nice bio design. I was tempted to directly curl uncenter.dev if I see the JSON output only haha. (you might use user agent check like this)

I love this idea! It should be working now, try curl "https://uncenter.dev/" (or even better, curl "https://uncenter.dev/" | bat --language json).


Asking for SBS96 contexts in SigProfilerExtractor but receiving CH1000

Hi there
Is there any obvious reason why, when I specify the context_type as "SBS96", "96", or even just "default", I get file outputs named 'CH1000' instead of 'SBS96'? This is interfering with downstream functions as the package can't locate any files. My code is as follows:
if name == 'main': # required to fix 'Error on running in cluster #129'
sigProfilerExtractor("matrix", "output", data.txt, opportunity_genome="GRCh38", exome= True, maximum_signatures=10)
Thanks!

Hi
I released the samples should be rows and the trinucleotide contexts should be columns. Have closed! This has fixed the issue and SBS96 are being extracted


Flyway cannot connect to Azure Edge SQL Server (edition: 9)

Which version and edition of Flyway are you using?
7.5.2
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
If by latest you mean a github checkout, nope havn't tried.
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java API
Which database are you using? (Type & version)
Azure Edge SQL Server using this container: (https://hub.docker.com/_/microsoft-azure-sql-edge)
Which operating system are you using?
Mac OS X on aarch64 (Apple silicon)
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Run the aforementioned container using docker preview. And then build datasource as follows:
        var dataSource = new SQLServerConnectionPoolDataSource();
        dataSource.setServerName(this.dbHost);
        dataSource.setPortNumber(this.dbPort);
        dataSource.setUser(this.dbUser);
        dataSource.setPassword(this.dbPassword);
        dataSource.setDatabaseName(this.dbName);
        logger.info("using database: {} with user: {}", this.dbName, this.dbUser);
        return dataSource;

Using the com.microsoft.sqlserver:mssql-jdbc:9.2.0.jre15 package for the data source.
What did you expect to see?
App connects to database as normal, and perform migration as usual.
What did you see instead?
Flyway fails to establish connection, throwing the following error:
java.lang.IllegalStateException: Failed to execute ApplicationRunner
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:798) ~[spring-boot-2.4.2.jar:2.4.2]
        at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:785) ~[spring-boot-2.4.2.jar:2.4.2]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:333) ~[spring-boot-2.4.2.jar:2.4.2]
        at (my spring application class)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) ~[na:na]
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
        at java.base/java.lang.reflect.Method.invoke(Method.java:564) ~[na:na]
        at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-2.4.2.jar:2.4.2]
Caused by: java.lang.IllegalArgumentException: Unknown SQL Server engine edition: 9
        at org.flywaydb.core.internal.database.sqlserver.SQLServerEngineEdition.fromCode(SQLServerEngineEdition.java:45) ~[flyway-core-7.5.2.jar:na]
        at org.flywaydb.core.internal.database.sqlserver.synapse.SynapseDatabaseType.handlesDatabaseProductNameAndVersion(SynapseDatabaseType.java:46) ~[flyway-core-7.5.2.jar:na]
        at org.flywaydb.core.internal.database.DatabaseTypeRegister.getDatabaseTypeForConnection(DatabaseTypeRegister.java:175) ~[flyway-core-7.5.2.jar:na]
        at org.flywaydb.core.internal.jdbc.JdbcConnectionFactory.<init>(JdbcConnectionFactory.java:71) ~[flyway-core-7.5.2.jar:na]
        at org.flywaydb.core.Flyway.execute(Flyway.java:507) ~[flyway-core-7.5.2.jar:na]
        at org.flywaydb.core.Flyway.migrate(Flyway.java:165) ~[flyway-core-7.5.2.jar:na]
        at (my spring application class)
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:795) ~[spring-boot-2.4.2.jar:2.4.2]
        ... 8 common frames omitted

Thank you for the quick turnaround @DoodleBobBuffPants !!! 🙏


How can I inference on a custom dataset without labels?

Hello author, I have some cloudpoint data but no annotation labels. My data only includes XYZ and RGB values, without semantic labels or instance labels. How can I inference on a custom dataset without labels?
Thank you !

You could modify the dataloader to load only XYZ and RGB values, then create dummy spp like this and dummy semantic_label, instance_label like this.

@XuDewen , hello, were you able to make an inference?


Fix CPO conformance test

explicitly on gomodule, due to the bug
https://github.com/kubernetes/test-infra/issues/14070

/assign @kiwik @huangtianhua
cc @ramineni

Thanks. Looks good now.


Support dynamic linking

Right now the .so of the C stubs is not installed:
# #require "camltc";;
/.../.opam/4.01.0/lib/lwt: added to search path
/.../.opam/4.01.0/lib/lwt/lwt.cma: loaded
/.../.opam/4.01.0/lib/lwt/lwt-log.cma: loaded
/.../.opam/4.01.0/lib/ocaml/bigarray.cma: loaded
/.../.opam/4.01.0/lib/lwt/lwt-unix.cma: loaded
/.../.opam/4.01.0/lib/lwt/lwt-preemptive.cma: loaded
/.../.opam/4.01.0/lib/camltc: added to search path
/.../.opam/4.01.0/lib/camltc/camltc.cma: loaded
Error: The external function `bdb_copy_from_cursor' is not available
#

In doubt one should use ocamlmklib:
http://caml.inria.fr/pub/docs/old-311/manual032.html#toc137

@smondet why do you need this?
Is there some more work needed for it to work?

@UnixJunkie in 2014, I was considering building a TC backend for Trakeva and found that issue while experimenting. Right now I don't have any need for it but making sure the packaging of the library works well with the ocaml toplevel would certainly be a good thing.

I think this has been resolved after switching to dune for build system (#43).


Add support for additional vSAN cluster health checks

From powershell-module-for-vmware-cloud-foundation-reporting created by tenthirtyam: vmware/powershell-module-for-vmware-cloud-foundation-reporting#103
Code of Conduct

[X] I have read and agree to the project's Code of Conduct.
[X] Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
[X] Do not leave "+1" or other comments that do not add relevant information or questions.
[X] If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description
Add support for including the results of the following in the vSAN section of the Health Report.

vSAN Capacity Utilization
Cluster Disk Status
Active ReSync Objects

{
...
    "vSAN": {
        "vSAN Capacity Utilization": {},
        "Cluster Disk Status": {},
        "Active ReSync Objects": {},
        ...
}

Use Case(s)
Improve support for health checks added to SoS in v4.4 and later.
Potential Configuration
To be determined.
References
No response

This is already included on VCF vSAN dashboard

Closing this issue.


Draft: test llm generated response using rubric and testing llm

Closes #2
Description:
This PR adds unit tests for testing the following types of the model's generated responses.

[x]  Summary
[x]  Rephrase
[x]  Rewrite
[x]  Explain
[x]  Ideate

A grading rubric has been added to these tests. A comparison is made between the model's generated answer and an answer created by an expert. The quality of the answer is given in grades ABCDE, with A being the highest and E being the lowest.

Great work !


Error on first run

I cloned the repo from github, ran 'sbt' followed by 'console'.  Things appeared all right.  But then:
`scala> draw(Circle(10) fillColor Color.red)
<console>:26: error: not found: value draw
       draw(Circle(10) fillColor Color.red)
       ^
`

What am I doing wrong?  I am on Ubuntu 14.04 64-bit with OpenJDK 7.

I've updated the README to have the correct syntax (which recently changed):
(Circle(10) fillColor Color.red).draw

Thanks for reporting this!


Tracing for messaging systems: add API to extract context

When app receives a message, messaging SDKs extract context from each message and create a processing span/activity from it.
In many cases users may want to do it explicitly

when they use advanced/non-default concurrency such as in-memory queues, background long-running tasks, reactive programming, manually created threads, etc. E.g. https://github.com/Azure/azure-sdk-for-net/issues/23729
when they receive in batches and want to trace individual messages
they don't use handlers and use receive API

Track1 EventHubs and ServiceBus .NET SDKs provided ExtractActivity API to deal with it, but there is no such method in Track2 (any language).
This should be available in .NET and return ActivityContext, in other languages it should be provided through the OpenTelemetry plugin and return SpanContext. As a result, it should work (on par or better than Track1) with existing tracing solutions: Application Insights .NET SDK or OpenTelemetry across all languages.

I'm thinking about from recent work using the Java EH client SDK. In that case we were using Akka Streams to process each event using EventProcessorClient/processEvent for individual messages. But since we were spanning threads, in the processEvent callback we called Span.current() and pulling the context from that Span to rehydrate that context on the right thread later.
Keeping the current behavior of creating and activating a Processing span around the processEvent callback makes sense for the (I believe) more common use cases where the user does work on the current thread in the callback.
But for the scenario above, a more efficient approach may be to instead use the more advanced processEventBatch and a method like ExtractActivity to have more control over the start and activation of each processing span.
In my scenario, there was another layer of complexity because we were processing EH messages containing an array of CloudEvents from an EventGrid->EH Subscription, so we had a loop and another layer of CloudEvent Spans that we wanted to link (not parent) to the EH message processing Span, so this is another case where we had to override the more typical processEvent tracing behavior.


CARGO_INCREMENTAL breaks debuginfo

In the same project, if I compile with CARGO_INCREMENTAL=1 and run the application through lldb, I get:
$ lldb target/debug/hello
(lldb) target create "target/debug/hello"
Current executable set to 'target/debug/hello' (x86_64).
(lldb) b main
Breakpoint 1: where = hello`main, address = 0x00000001000141d0

Same project without:
$ lldb target/debug/hello
(lldb) target create "target/debug/hello"
Current executable set to 'target/debug/hello' (x86_64).
(lldb) b main
Breakpoint 1: 2 locations.

The latter, I believe, is what we want as it's what you'd get by hand when using rustc.  With incremental turned on, we can't easily step into the original source.  Instead, we end up stepping through the assembly.

cc @michaelwoerister and @nikomatsakis

Is this on OSX? If so this might be the same problem as https://github.com/rust-lang/rust/issues/39160.

Yes, this on macOS
Jonathan

From: Michael Woerister <notifications<EMAIL_ADDRESS>Sent: Friday, April 7, 2017 9:00 PM
Subject: Re: [rust-lang/cargo] CARGO_INCREMENTAL breaks debuginfo (#3905)
To: rust-lang/cargo <cargo<EMAIL_ADDRESS>Cc: Jonathan Turner <jturner<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>Is this on OSX? If so this might be the same problem as rust-lang/rust#39160https://github.com/rust-lang/rust/issues/39160.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/rust-lang/cargo/issues/3905#issuecomment-292481934, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAhZVqf55Y3OJzTbuhLNht9UqH-VfWPIks5rtfs8gaJpZM4M2buK.

@jonathandturner care to try and narrow it down by building w/o incremental, but w/ codegen-units?

eg, by setting RUSTFLAGS="-Zcodegen-units=256" or something; I guess it' snot clear what setting would do it, but something big is likely to work :)

@nikomatsakis - yes, I can confirm the -Ccodegen-units=256 causes the same issue.

Closing as a dupe of https://github.com/rust-lang/rust/issues/39160
(plz fix kthx 😄)


GEODE-8037 - Create BootstrappingService interface.

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

I looked at https://issues.apache.org/jira/projects/GEODE/issues/GEODE-8037 and the issue doesn't really explain why this is being added or what it will do (acceptance criteria or something of the like).  I know there's the RFC but some details in the Geode Jira would be handy since I can't quite figure out what's going on.