[CLI]: Can't find port file when using wandb.require("service")

Describe the bug

When running the code snippet below using WanDB + PyTorchLightning on SLURM. The code crashes randomly for most if not all runs.

logger = WandbLogger(project="MNIST")

Traceback (most recent call last):
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 996, in init
    wi.setup(kwargs)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 133, in setup
    self._wl = wandb_setup.setup()
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 318, in setup
    ret = _setup(settings=settings)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 313, in _setup
    wl = _WandbSetup(settings=settings)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 299, in __init__
    _WandbSetup._instance = _WandbSetup__WandbSetup(settings=settings, pid=pid)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 113, in __init__
    self._setup()
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 240, in _setup
    self._setup_manager()
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 271, in _setup_manager
    self._manager = wandb_manager._Manager(
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_manager.py", line 106, in __init__
    self._service.start()
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/service/service.py", line 104, in start
    self._launch_server()
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/service/service.py", line 100, in _launch_server
    assert ports_found
AssertionError
wandb: ERROR Abnormal program exit
Traceback (most recent call last):
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 996, in init
    wi.setup(kwargs)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 133, in setup
    self._wl = wandb_setup.setup()
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 318, in setup
    ret = _setup(settings=settings)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 313, in _setup
    wl = _WandbSetup(settings=settings)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 299, in __init__
    _WandbSetup._instance = _WandbSetup__WandbSetup(settings=settings, pid=pid)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 113, in __init__
    self._setup()
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 240, in _setup
    self._setup_manager()
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 271, in _setup_manager
    self._manager = wandb_manager._Manager(
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_manager.py", line 106, in __init__
    self._service.start()
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/service/service.py", line 104, in start
    self._launch_server()
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/service/service.py", line 100, in _launch_server
    assert ports_found
AssertionError

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

Traceback (most recent call last):
  File "/home-mscluster/mfokam/assa/scripts/pretrain_eval.py", line 140, in train_eval
    logger = WandbLogger(
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/pytorch_lightning/loggers/wandb.py", line 311, in __init__
    _ = self.experiment
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/pytorch_lightning/loggers/base.py", line 41, in experiment
    return get_experiment() or DummyExperiment()
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/pytorch_lightning/utilities/rank_zero.py", line 32, in wrapped_fn
    return fn(*args, **kwargs)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/pytorch_lightning/loggers/base.py", line 39, in get_experiment
    return fn(self)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/pytorch_lightning/loggers/wandb.py", line 357, in experiment
    self._experiment = wandb.init(**self._wandb_init)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 1037, in init
    raise Exception("problem") from error_seen
Exception: problem
Traceback (most recent call last):
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/__main__.py", line 3, in <module>
    cli.cli(prog_name="python -m wandb")
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/cli/cli.py", line 96, in wrapper
    return func(*args, **kwargs)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/cli/cli.py", line 285, in service
    server.serve()
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/service/server.py", line 128, in serve
    self._inform_used_ports(grpc_port=grpc_port, sock_port=sock_port)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/service/server.py", line 65, in _inform_used_ports
    pf.write(self._port_fname)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/site-packages/wandb/sdk/service/port_file.py", line 25, in write
    f = tempfile.NamedTemporaryFile(prefix=bname, dir=dname, mode="w", delete=False)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/tempfile.py", line 540, in NamedTemporaryFile
    (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
  File "/home-mscluster/mfokam/anaconda3/envs/assa/lib/python3.8/tempfile.py", line 250, in _mkstemp_inner
    fd = _os.open(file, flags, 0o600)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/mfokam/tmpel7x5eip/port-21750.txti_81fekt'

Additional Files
No response
Environment
WandB version: 0.12.20
OS: Ubuntu 18.04.6 LTS
Python version: 3.8
Versions of relevant libraries:
PyTorch: 1.12.0
PyTorch Lightning: 1.6.4
Additional Context

The code seems to crash when executed on a very slow cluster node
Tried to reproduce the error locally but I can only get a similar error if I insert a breakpoint point on the tempfile.py method executed (see last 6 lines of the stack trace) and I wait. After a certain period (3 - 5 seconds), I get an error similar to what I have on SLURM.

Hi @ArnolFokam, could you possibly send the debug.log and debug-internal.log files for a run that crashed? These can be found in the local run folder on the training machine.
Will a certain node always lead to this crash? Are there other nodes that usually successful?
Thank you,
Nate

Hi @nate-wandb
This error occurs when wandb.init is called. Therefore, the wandb folder is not yet created.
In my case, I can confirm that this error occurs when the cluster is very slow. Also, this error is related to wandb.require('service'). I say this because when I downgraded wandb to remove the automatic execution of that snippet on Pytorch Lightning, everything worked fine.
Thanks,
Arnol Fokam.

@ArnolFokam , I see, thanks for the info. Could you share a brief code snippet, that would really help us in reproducing the issue on our end?

Are you simply instantiating the logger through `pytorch_lightning.logger.WandbLogger?
As you mentioned in that this is happening on a very slow cluster node. Could you also try running your script in an offline mode and let us know if you still encounter this issue? The WandbLogger has an arg offline which can be set to True to run wandb in offline mode.

@anmolmann,
It might be difficult to reproduce the error if you don't possess a cluster node slow enough but I remarked that when I insert a breakpoint (running locally) somewhere inside the constructor called here and I wait long enough (5 - 8 seconds) I get a similar error.

Yes.
I did set offline=True after the error occurred but still encountered the same issue.

Hope it helps.

Thanks for the update @ArnolFokam. I'll file an internal ticket for this one and will follow-up with you once I've an update.

Hi, I had the same problem when I ran the code on a very slow cluster node. I found out that the reason for the error is because of the magic number 30 in the code below：
https://github.com/wandb/wandb/blob/037dd5ba64a406b5d3d3b41d9eefaff0b177973a/wandb/sdk/service/service.py#L41
When I increase the max waiting time from 30 to 300, it works.

Thanks for the update, @ShenghaiRong! @ArnolFokam, could you please confirm if the aboe suggestion by @ShenghaiRong help out in resolving your issue?

Currently, I can't confirm this given the fact that I'm no longer affected by the error (cluster went back to normal speed). I tried reproducing the scenario using the method described in my comment https://github.com/wandb/wandb/issues/3911#issuecomment-1197726977 but still got the same error

This is to add that I have been facing a similar issue on our cluster.

Hi, @anmolmann @ArnolFokam , I had the same problem when I ran the code on a very slow cluster node. I found out that the reason for the error is because of the magic number 30 in the code below https://github.com/wandb/wandb/blob/master/wandb/sdk/service/service.py#L41  def _wait_for_ports(self, fname: str, proc: subprocess.Popen = None) -> bool: time_max = time.time() + 30 When I increase the max waiting time from 30 to 300, it works.

I was facing the same issue and changing it to 300 worked for me.

Thanks for the update, @koulanurag and @ArnolFokam! I'll close this for now as it can be resolved by increasing the waiting time.

when I upgrade pytorch-lightning==1.7.1 seeing the same problem. I tried to set os.environ["WANDB_MODE"] = "offline" and offline=True even the solution in https://github.com/wandb/wandb/issues/3911#issuecomment-1204961296. but when degrade
pytorch-lightning==1.1.8 code can run without any problem. I guess it's may be caused by the network and the difference of WandbLogger in pytorch_lightning.loggers

@Adam-lxd , you're right this is being caused by network slowness for sure. Please let us know if you see that your network speed is back to normal but you still encounter this issue.

@Adam-lxd , you're right this is being caused by network slowness for sure. Please let us know if you see that your network speed is back to normal but you still encounter this issue.

Thanks, the main reason is my network, may the cluster administrator block the connection to wandb service. now my solution is training on the cluster with offline mode, then switching o my PC to upload log files.

Hi, @anmolmann @ArnolFokam , I had the same problem when I ran the code on a very slow cluster node. I found out that the reason for the error is because of the magic number 30 in the code below https://github.com/wandb/wandb/blob/master/wandb/sdk/service/service.py#L41  def _wait_for_ports(self, fname: str, proc: subprocess.Popen = None) -> bool: time_max = time.time() + 30 When I increase the max waiting time from 30 to 300, it works.

do I have to rebuild the package to fix this? Or is there some API-way to increase the time limit?

@Adam-lxd , you're right this is being caused by network slowness for sure. Please let us know if you see that your network speed is back to normal but you still encounter this issue.

I'm having this issue at the moment on a cluster, and don't think it's network speed in my case. Getting 820 Mbit/s down and 741 Mbit/s up

@anmolmann This issue is still present in WANDB and crashes the runs please reopen the issue.

@timvandam & @SimonRosen173, thanks for reporting this. We've filed an internal bug report for this issue and will follow-up with you as soon as we've an update.

I'm also running on a cluster where I'm certain network is not the issue and having a ports issue that crashes my jobs...!
Traceback (most recent call last):
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 1105, in init
    wi.setup(kwargs)
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 167, in setup
    self._wl = wandb_setup.setup()
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 307, in setup
    ret = _setup(settings=settings)
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 302, in _setup
    wl = _WandbSetup(settings=settings)
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 288, in __init__
    _WandbSetup._instance = _WandbSetup__WandbSetup(settings=settings, pid=pid)
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 106, in __init__
    self._setup()
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 234, in _setup
    self._setup_manager()
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 262, in _setup_manager
    self._manager = wandb_manager._Manager(settings=self._settings)
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_manager.py", line 112, in __init__
    self._service.start()
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/service/service.py", line 137, in start
    self._launch_server()
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/service/service.py", line 132, in _launch_server
    assert ports_found
AssertionError
wandb: ERROR Abnormal program exit
Traceback (most recent call last):
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 1105, in init
    wi.setup(kwargs)
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 167, in setup
    self._wl = wandb_setup.setup()
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 307, in setup
    ret = _setup(settings=settings)
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 302, in _setup
    wl = _WandbSetup(settings=settings)
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 288, in __init__
    _WandbSetup._instance = _WandbSetup__WandbSetup(settings=settings, pid=pid)
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 106, in __init__
    self._setup()
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 234, in _setup
    self._setup_manager()
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 262, in _setup_manager
    self._manager = wandb_manager._Manager(settings=self._settings)
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_manager.py", line 112, in __init__
    self._service.start()
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/service/service.py", line 137, in start
    self._launch_server()
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/service/service.py", line 132, in _launch_server
    assert ports_found
AssertionError

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

Traceback (most recent call last):
  File "main.py", line 142, in <module>
    trainer: BaseTrainer = cls(**trainer_config)
  File "/home/mila/s/schmidtv/ocp-project/run-repos/ocp-2/ocpmodels/trainers/base_trainer.py", line 150, in __init__
    self.load()
  File "/home/mila/s/schmidtv/ocp-project/run-repos/ocp-2/ocpmodels/trainers/base_trainer.py", line 159, in load
    self.load_logger()
  File "/home/mila/s/schmidtv/ocp-project/run-repos/ocp-2/ocpmodels/trainers/base_trainer.py", line 190, in load_logger
    self.logger = registry.get_logger_class(logger_name)(self.config)
  File "/home/mila/s/schmidtv/ocp-project/run-repos/ocp-2/ocpmodels/common/logger.py", line 116, in __init__
    self.run = wandb.init(
  File "/home/mila/s/schmidtv/.conda/envs/ocp-a100/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 1145, in init
    raise Exception("problem") from error_seen
Exception: problem

The problem in my case is, that importing conda packages can sometimes take an exorbitant amount of time. Thus, the wandb daemon process takes too long too start and the timeout is triggered. Increasing the timeout manually helped in my case, but even with 2 minutes, I experienced situations where the cluster was so bad that the increased timeout triggered.
Now I realize that the way our cluster behaves is not good at all, however I only have very little control of it. What I believe wandb can do though, is to weaken this failure case from being critical, i.e. terminating, to something non-critical. Also increasing the (final) timeout slightly, maybe to a minute or two, and instead adding a warning in case it exceeds 30 seconds might be another (additional) option as well.

I use venv, not conda, but have also noticed that packages take an exorbitant amount of time to load on a cluster. This may well be the issueOn 23 Jan 2023, at 16:53, Sebastian Hoffmann @.***> wrote:
The problem in my case is, that importing conda packages can sometimes take an exorbitant amount of time. Thus, the wandb daemon process takes too long too start and the timeout is triggered. Increasing the timeout manually helped in my case, but even with 2 minutes, I experienced situations where the cluster was so bad that the increased timeout triggered.
Now I realize that the way our cluster behaves is not good at all, however I only have very little control of it. What I believe wandb can do though, is to weaken this failure case from being critical, i.e. terminating, to something non-critical. Also increasing the (final) timeout slightly, maybe to a minute or two, and instead adding a warning in case it exceeds 30 seconds might be another (additional) option as well.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Hi all!
Thanks for reporting this issue. We are actively working on resolving it and would like to ask for your help.

If you could upgrade to the e latest version of wandb (as writing this message it would be 0.13.9) that would really helpful.
Also we introduce new environment variable (WANDB__SERVICE_WAIT) this will allow you increase the startup time from the command line instead of reaching and modifying the installed code. To use it just do the following:
```WANDB__SERVICE_WAIT=300 python your_script.py``
Another thing we added a debug flag that will print the timing information during startup to the tdout (if you have a way to collect stdout and share with us that would further help us narrow down the issue). You can do that as follows:
_WANDB_STARTUP_DEBUG=true python your_script.py

Sorry that you are experiencing issue and hopefully we could resolve them soon.

Hi @kptkin ,
Thank you for this update, it will be very helpful. I am wondering how this variable can be passed as a setting to wandb.init? I tried the following  but it doesn't work
import wandb
from pytorch_lightning.loggers import WandbLogger
wandb_logger = WandbLogger(settings=wandb.Settings(_service_wait=300))

Also, would it be possible to update the docs?

Hi @kptkin ,
Thank you for this update, it will be very helpful. I am wondering how this variable can be passed as a setting to wandb.init? I tried the following but it doesn't work
import wandb
from pytorch_lightning.loggers import WandbLogger
wandb_logger = WandbLogger(settings=wandb.Settings(_service_wait=300))

Also, would it be possible to update the docs?

@gsaltintas thanks for trying it out few comments:

settings with _ are private settings that we might remove in the future, hence we don't officially document them, until we audit them and convince ourselves these settings are necessary, but once we move them to public, we will be sure to document them.
regarding your script, it seems that you are correct and we don't pass this setting properly (it is a special case during the setup process of our service, we are working on a fix, to make sure the settings are resolved correctly), so I would suggest in the meantime, adding is as environment variable to the beginning of your script to make it work:

import os
import wandb
from pytorch_lightning.loggers import WandbLogger

os.environ["WANDB__SERVICE_WAIT"] = "300"

wandb_logger = WandbLogger()

Hi @kptkin,
The update is very appreciated!
Here's the startup timing log I just recorded:

WANDB_STARTUP_DEBUG<PHONE_NUMBER>.154492 launch
WANDB_STARTUP_DEBUG<PHONE_NUMBER>.1584668 wait_ports
WANDB_STARTUP_DEBUG<PHONE_NUMBER>.0804012 before_network
WANDB_STARTUP_DEBUG<PHONE_NUMBER>.0806823 after_network
WANDB_STARTUP_DEBUG<PHONE_NUMBER>.080885 after_inform
WANDB_STARTUP_DEBUG<PHONE_NUMBER>.0967941 before_loop
WANDB_STARTUP_DEBUG<PHONE_NUMBER>.2041976 wait_ports_done
WANDB_STARTUP_DEBUG<PHONE_NUMBER>.2043722 launch_done

This was a very average run; I will report back when I encounter a more severe scenario.

Wow, I saw the same timeout error:
│   140 │   │   │   return                                                                         │
│ ❱ 141 │   │   raise ServiceStartTimeoutError(                                                    │
│   142 │   │   │   "Timed out waiting for wandb service to start after "                          │
│   143 │   │   │   f"{self._settings._service_wait} seconds. "                                    │
│   144 │   │   │   "Try increasing the timeout with the `_service_wait` setting."                 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ServiceStartTimeoutError: Timed out waiting for wandb service to start after 30.0 seconds. Try increasing the timeout with the `_service_wait`
setting.

and fixed it by increasing the timeout via setting the WANDB__SERVICE_WAIT env variable to 300.

I'm on windows and receiving this error as well. With the startup debug, I see this:
WANDB_STARTUP_DEBUG<PHONE_NUMBER>.7673497 launch
WANDB_STARTUP_DEBUG<PHONE_NUMBER>.77035 wait_ports
Unhandled exception. Python.Runtime.PythonException: Timed out waiting for wandb service to start after 30.0 seconds. Try increasing the timeout with the `_service_wait` setting.
Unhandled exception. Python.Runtime.PythonException: Timed out waiting for wandb service to start after 30.0 seconds. Try increasing the timeout with the `_service_wait` setting.
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\service\service.py", line 141, in _wait_for_ports
    raise ServiceStartTimeoutError(
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\service\service.py", line 191, in _launch_server
    self._wait_for_ports(fname, proc=internal_proc)
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\analytics\sentry.py", line 146, in reraise
    raise exc.with_traceback(sys.exc_info()[2])
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\service\service.py", line 193, in _launch_server
    _sentry.reraise(e)
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\service\service.py", line 199, in start
    self._launch_server()
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\wandb_manager.py", line 145, in __init__
    self._service.start()
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\wandb_setup.py", line 277, in _setup_manager
    self._manager = wandb_manager._Manager(settings=self._settings)
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\wandb_setup.py", line 250, in _setup
    self._setup_manager()
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\wandb_setup.py", line 114, in __init__
    self._setup()
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\wandb_setup.py", line 303, in __init__
    _WandbSetup._instance = _WandbSetup__WandbSetup(settings=settings, pid=pid)
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\wandb_setup.py", line 320, in _setup
    wl = _WandbSetup(settings=settings)
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\wandb_setup.py", line 327, in setup
    ret = _setup(settings=settings)
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\wandb_init.py", line 172, in setup
    self._wl = wandb_setup.setup(settings=setup_settings)
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\wandb_init.py", line 1146, in init
    wi.setup(kwargs)
  File "C:\Users\********\AppData\Local\Programs\Python\Python310\lib\site-packages\wandb\sdk\wandb_init.py", line 1169, in init
    raise e
  File "C:\dev\PawnStop\PawnStopAgent\bin\Debug\net7.0\model.py", line 69, in wandb_init
    wandb.init(
  File "C:\dev\PawnStop\PawnStopAgent\bin\Debug\net7.0\model.py", line 188, in fit
    self.wandb_init()
   at Python.Runtime.PythonException.ThrowLastAsClrException()
   at Python.Runtime.PyObject.Invoke(PyTuple args, PyDict kw)
   at Python.Runtime.PyObject.InvokeMethod(String name, PyTuple args, PyDict kw)
   at Python.Runtime.PyObject.TryInvokeMember(InvokeMemberBinder binder, Object[] args, Object& result)
   at CallSite.Target(Closure, CallSite, Object, Single[], Single[], Single[], Int32, Int32, Int32)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute7[T0,T1,T2,T3,T4,T5,T6,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
   at PawnStop.AlphaZero.ResidualCNN.Fit(Single[] inputs, Single[] values, Single[] policies, Int32 numSamples, Int32 epochs, Int32 initialEpoch) in C:\dev\PawnStop\PawnStopLib\AI\AlphaZero.cs:line 479
   at PawnStop.AlphaZero.Fit(IEnumerable`1 inputs, IEnumerable`1 policies, IEnumerable`1 values, Int32 epochs, Int32 initialEpochs) in C:\dev\PawnStop\PawnStopLib\AI\AlphaZero.cs:line 72
   at PawnStopAgent.TrainingAgent.Train() in C:\dev\PawnStop\PawnStopAgent\Program.cs:line 161
   at PawnStopAgent.Program.Main(String[] args) in C:\dev\PawnStop\PawnStopAgent\Program.cs:line 104

the environment variable os.environ["WANDB__SERVICE_WAIT"] = "300" doesn't work for me. Is there another alternative?

Hey @Aaronponceuv, @moghis, @fryguy1013, @jxmorris12, @sehoffmann,
I wanted to provide an update. We have a new Go based client that improves logging reliability. You can see more about it here: https://wandb.me/wandb-core. This update includes some stability improvements that might help with the run hangs issue you encountered. You can try it out by adding upgrading wandb and adding wandb.require("core") to your scripts.
Mind letting us know if this helps?


172782429 Video interactive

Added the video.js library and an interactive that can resize and save playback progress as state. Tests are coming up next...

Thanks so much for the review @pjanik - I will rebase and I think I'll pull out the shutterbug pieces from this version since I need more insight into how that works before I can complete it. I'll let you know when this is ready for a second pass.

Okay. Just so let you know before you add more commits - if you check git diff, it looks a bit strange. It looks like this PR is adding changes that are already in master. I guess it's caused by this commit:

Squashed commit of the following: … 32169e8

It seems that's it's squashing and re-commiting maaaany changes, unrelated to this PR. It looks a bit scary, as it's overwriting files that shouldn't be touched by this PR. It kinda looks like recent changes, but ofc I didn't check it too precisely. Is this related to merging in master? I guess that should go smooth, as pretty much all of your changes were in a separate dir. To fix it, I would:

start a new branch
go back to 47ea44f
merge in master (make sure your local master is up to date first)
cherry pic bd5b307 and 59e6160
if everything is 100% fine, force push changes here

@pjanik thanks - I guess this is what I get for trying to avoid the rebase making everything out of date issue. I'll start over.


Unexpected new window opening when trying to split the pane of a window in Administration mode

Windows Terminal version
1.20.10101.0 also in 1.18.3181.0
Windows build number
10.0.22635.0
Other Software
PowerShell 7.4.1
Steps to reproduce

Open WT as administrator
run wt -w 0 sp
New window opens instead of split pane in the same current window

Expected Behavior
After I run wt -w 0 sp a new split pane is opened in the same window
Actual Behavior
New Window is opened

Thanks for filing! We're actually going to mark this as a /dup of #9628


Add: How-to-publish-public-packages-to-npm-registry-and-github-registry

Here is the blog post as specified in the github repo and below is my social handles.
Twitter.
LinkedIn.

Next time add another comment that tags @code-collabo/community-mentors if you want them to help check it out. Otherwise no one will know that you submitted a PR.

Review comment 1:
Nice work creating a new branch in this case @KamiNation
But there are issues with other things like the Pull request title, linking issue to pull request etc
What to do? - Please see my what to do comment from your other PR: https://github.com/code-collabo/community-blog/pull/16#issuecomment-1786483271

Review comment 2:
I don't understand what you added in this comment: https://github.com/code-collabo/community-blog/pull/15#issue-1943215980
Help me understand


Convert Twig extensions to lazy loaded extensions

See https://symfony.com/doc/current/templating/twig_extension.html#creating-lazy-loaded-twig-extensions
Current extensions are awfully slow. They shouldn't have any dependencies.

I am closing this issues as this now available in 3.0 branch, and will be available in 3.0 release.


server/proxy: Bugfixes and code refactor

This PR fixes some bugs & memory leaks, and refactors some of the code:

Race conditions that caused a segfault
Memory leaks
RdpgfxServerContext was never free()'ed by the server
Some handles that were never closed by the server
Logs improvements
Some mistakes in comments fixed

@speidy feel free to review
@akallabeth @hardening when this PR will be merged, please consider not squashing the commits, they have meaning

@freerdp-bot can you test that ?

@hardening what do you think?

@akallabeth lets merge then?


Add Favicon to the Website

I want to add Favicon to the website. Please assign this issue to me @TeeWrath under SWoC'24

I have already added and made a pull request

Ok, sorry I didn't saw the PR's


Add user-readable Ticket ID field

The Need

Humans need an easy to read ticket ID/number to reference requests (for example, when calling the hotline to ask for the status of ticket)
Ticket IDs can be added to Email subject lines to group communication around a specific request together (both for residents and for staff members)
We will want to allow importing tickets from external systems, and will need to store their ticket ID, so we can update an existing ticket in following imports. Unlike our IDs, these IDs are unique to a jurisdiction but not to an instance (the same ID can appear in multiple jurisdictions)

The Solution

Add a new field for Ticket Id
By default, it will be an auto-increasing number with a year and month prefix. Each month we start counting from 1. For example, the 271st ticket in June 2022 will have the ID "2206271"

@amirozer sounds good.

We can also create a data migration that backfills these IDs for existing requests.
I like the format for the default ID based on date and increment
Regarding your point 3, I'm less sure about the use case for allowing an external system to set these IDs in order to continue updating a ticket based on an existing ID from another system. We can't guarantee that these external systems issue IDs that are unique per jurisdiction - eg they may be unique per department for all we know. I'm just not sure it is not better to always issue our own ticket ID based on the format you suggest, which we can guarantee is unique in a given jurisdiction context, and then, if we have a real use case, add a field for external identifier(s).

@pwalsh re: 3, I've based this requirement on the fact that we have an immediate need to import external systems' data into the platform. We already do this today with dozens of clients, and we already today import the same tickets multiple times, updating existing tickets, so we do need an external reference ID. I'll check if we have any client that has multiple hotlines integrated. If we do, I suggest the import mechanism will optionally add a prefix to ticket numbers, by import source.

Shipped in https://github.com/govflow/govflow/pull/53


Upgrade symfony version

Current coverage is 22.83% (diff: 27.27%)

No coverage report found for master at 80509f4.

Powered by Codecov. Last update 80509f4...98438b4


docs: document preemption in Armada

I'd prefer moving the docs for preemption config into the config itself (that includes everything except the example job). I.e., put it in the PreemptionConfig definition in the code. That way we ensure the code and docs are in synch. Creating standalone docs runs the risk of the docs becoming outdated without us noticing. For a mature project, that's less of an issue. Since there are fewer changes. But for Armada there are lots of changes.
Re the example job. I think it's better we but it into the user guide.

I think it looks good but I can get behind Albin's suggestion. Example yaml might be better as standalone file which we can just directly submit to armada if wanted.

I think the config comments and examples look good.  I was hoping to see a design of how we implemented Preemption in Armada.
I'd like to also see what the problems were with the current premption API so we can potentially bring this to the Kubernetes project as a potential feature request or fix.

@kannon92 most probably the backoffice side of Preemption will get completely redesigned soon, so current diagrams won't be relevant, but the client-facing interface will remain the same.
I plan on updating the docs as soon as preemption is redesigned


'Maximum function nesting level of 100 reached' after load

I have this error when I run translator:load
'Maximum function nesting level of 100 reached'
I even changed the max nesting to 1000 but I still have the error.
Any ideas what I can do?

The issue is in the composer dependency "waavi/model", see: https://github.com/Waavi/model
If you look at line 251 in vendor\waavi\model\src\Waavi\Model\WaaviModel.php and step through the code you find that $this->getQualifiedDeletedAtColumn() calls line 3102 in vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php which calls $this->newQuery again and again...
Laravel 4.2 adds traits for soft-deleting which is the cause of the problem so adding use SoftDeletingTrait; to the top of vendor\waavi\model\src\Waavi\Model\WaaviModel.php should fix the problem.

This should be fixed in our latest release for Laravel 5.


Question: Get turn restriction info

Hi, i'm unable to figure out how to retrieve information about turn restrictions.

Consider the provided graph where it is allowed to go from AB to BC and from BC to BD, however, it is not allowed to go from AB to BD due to a turn restriction.
I have tried to instantiate the Turn class using vertex a, b, d, however, IsRestrictedBy returns false.
This is most likely happening because i provide the RestrictionCollection from my RouterDb which is empty. The RouterDb is build from an osm.pbf file, so I assume the turn restrictions are read automatically?
Is it possible to retrieve turn restrictions from the graph?
If yes, how is it done?

You can get restrictions from the routerdb by using this method:
https://github.com/itinero/routing/blob/develop/src/Itinero/RouterDb.cs#L484
The vehicle type there corresponds to the vehicle type used in the profiles:
https://github.com/itinero/routing/blob/develop/src/Itinero/Osm/Vehicles/car.lua#L3


Add metadata to geoserver initialisation

Adds contact information to the geoserver.
Adds styles for temperature_perceived, temperature_difference, and temperature_hi.
Moves constants to a new file.

Thanks @sdobbert, this looks good in general.
I have a suggestion for an architectural change: The files geoserver-init/0X0_foo_bar.js are designed as standalone scripts. Therefore it would be better to have geoserver-init/020_add_metadata.js also as a standalone script instead of importing the addContactInformation function into geoserver-init/010_setup_geoserver.js.
You already added 020_add_metadata.js to the start script in geoserver-init/package.json, which is the step to execute it as standalone script.

Thanks for the suggestion, I changed the architecture accordingly.


Support for Mongoid localized fields

Is it possible to use a fulltext search on a translated field ? Knowing the fields behaves like a hash, it it possible to either

1: enable lookup for all languages at the same time,
2: given a language (ie I18n.locale), autocomplete only for that specific language ?

This would require some work, feel free to contribute.

Superset of https://github.com/mongoid/mongoid_fulltext/issues/14


Docs Applicable only to Edge Legacy?

I appear to have a launch config out of the box after installing the office addin debugging extension in VS Code. Adding another appears unnecessary
It might add value to make it clear that the proposed launch config is for Edge Legacy and to provide a launch config for Edge Chromium (where a user has installed webview2.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 614e6992-f9be-4ce5-1f15-0fc6bf285c43
Version Independent ID: 1b37e38d-06ec-cd00-16bb-3324b1f0048f
Content: Microsoft Office Add-in Debugger Extension for Visual Studio Code - Office Add-ins
Content Source: docs/testing/debug-with-vs-extension.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Thanks for raising this issue @bgausden.
@mscharlock, could you please investigate?

Thanks for raising this issue @bgausden.
@mscharlock, could you please investigate?

Yes, thanks for the suggestion @bgausden. I am working on a doc about how to specifically add configs for webView2, so will let folks know that this one is just for legacy.

Hi @bgausden - just wanted to let you know that the webView2 docs are out here: https://docs.microsoft.com/en-us/office/dev/add-ins/testing/debug-desktop-using-edge-chromium. I'm going to close this thread for now, but let me know if you have any other comments or issues by commenting and I will reopen this thread. Thanks!


[BUG] Static Route stop working on WireGuard Tunnel service restart or firewall reboot

Describe the bug
The defined static route stop working if you stop/start the tunnel.
To Reproduce
Set the tunnel working to pass traffic site-to-site, and restart any of the ends, it will stop passing the traffic through.
Expected behavior
On a tunnel restart, or firewall reboot, the tunnel should start (and it does), and start passing all the traffic through the defined static routes and not the default gateway.
Version information (please complete the following information):

PfSense: 2.5.1
WireGuard-tools: wireguard-tools-lite-1.0.20210424.txz
WireGuard-kmod: wireguard-kmod-0.0.20210606.txz
pfSense-pkg-WireGuard: pfSense-pkg-WireGuard-0.1.2_6.txz

Additional context
It's that normal, or there is something that i need to configure on pfsense to force the traffic go through a static route all the time, even if the tunnel its down.

Possible that we need to reconfigure routing subsystem in addition to pf (and dpinger, and unbound).

yeah.....if i go to the static route, disable and enable again, all start to work again as it should

Hope this helps!!

Thanks. Will investigate this and circle back

Thanks bro....and keep going this great work.
Cheers!!

Do you have gateway monitoring setup for this route in any way?
Can you confirm if System>Advanced>Miscellaneous
Do not create rules when gateway is down
Is ticked?

isn't ticked that option, i have it like this, is that wrong?

It makes no difference whether 'Do not create rules when gateway is down' is enabled or not. Re-saving one static route causes all static routes to start working again. pfSense 2.5.1

Did some closer looking to pfsense internals, I think I see what's going on. Will experiment this weekend

@mrdziobaty Can you test v0.1.4_6 and try again?
You can download binaries here: http://packages.mced.tech/packages/

0.1.4_6 works great. Static routes work after service restarts, and reboots. Thanks!


chassis: Support non-square drivebase

This splits the WIDTH constant into two: width and length between the wheels.

This LGTM once we test it on the robot properly


MenuItem disabled if command property is present.

Describe the bug
When i use command to MenuItem its become unusable. It simply grays out and disable, where i cannot click on it.
To Reproduce
Make a Avalonia project add MenuItem and use CommunityToolkit.Mvvm for binding.

Expected behavior
Well i would like to use commands on MenuItems, so it should simply work as expected like buttons..
Screenshots

Environment
Win11 , Vs2022

@michalss try to inspect you DataContext with DevTools [F12]. If you have compiled bindings and the command isn't found for some reason this happens. If that still doesn't help please send over a minimal sample to reproduce.
Also which Avalonia version do you use?


Editor UX: Subclasses in lists

How can we improve the list function to add subclass functionality:

-> a. -> A. etc.

Adam should mock up the layout for these typographic treatments.
Could we call this a "Regulatory Outline"?
If so, then we can extend the list element, and apply different markup.

What we need is

sample content
for Adam & Konstantin to define the CSS according to the model

Then I can port that CSS into a custom block for regulatory outlines & it will behave as Christina desires.
@wrendo

See: https://www.abc.ca.gov/law-and-policy/regulations-rulemaking/approved-regulations/delivery-minor-decoy-requirements/text-of-approved-regulations-2/

The License Types page that Zakiya linked to also illustrates problems with spacing.
So let's also improve indentation and line heights as we work through this.

Does what I have mocked up here capture what Christina is asking for?
https://www.figma.com/file/veQuKQHf8gK5JdFEoMLGRD/Design-system-components?node-id=2%3A5692

@adam-little
(1) I believe this screenshot from #368 is closer to what we need.
.
(2) Regarding the License Types page I think we'll need to handle that under a different task or with @kkoryaka's assistance because those are using global, un-classed unordered lists (<ul> not <ol>) which are coming from the design system.
(3) Making the first line of text flush with the rest of the body is challenging because the marker (for example (iii)) width varies but I think this is better than having the marker inline the way it is on the ABC site.
@chachasikes You can put the HTML from this gist on dev for review.

Hi @zakiya
Here are two examples:

https://dev-cagov-dcc.pantheonsite.io/regulatory-outline-markup/ (CAWeb + plugin version)
https://dev-cannabis-ca-gov.pantheonsite.io/regulatory-outline-example/ (New, cleaner theme & plugin refactoring - we will be able to test the DS integration here again.)

Related PRs:
https://github.com/cagov/cannabis.ca.gov/pull/390
https://github.com/cagov/design-system/pull/133
https://github.com/cagov/ca-design-system-gutenberg-blocks/pull/47

This looks great - thank you @zakiya !
@wrendo We QA'd this, right? I think we did. Please confirm.

[X] The feature is in our monolith plugin, waiting for update.
[X] The feature is in cannabis development-pantheon - will roll up to headless after our publishing backlog clears up.

@wrendo just testing my notifications

@wrendo testing my notifications

Adding this to QA backlog

I'm going to defer to @m-sullivan7 to help QA this.

Did some QA in the headless editor. The regulation alphanumeric characters cascade as desired (lowercase letter > number > uppercase letter > Roman numeral).
I noticed a few things were off:

When you add the regulatory outline block, it defaults to the bulleted list. When the bulleted list is chosen, the regulatory numbering doesn't show up. Is there a way to get the block to default to the numbered list?
When writing in the numbered list, the text overlapped with the numbers. Here's a screenshot:


Bring my wordpress source code into github

@erfffi please assign this to the new developer

for each (i=0;i<10;i++)

Bring

First important issue
Yes this is very important


django summernote not working properly

I am having 2 issues with django summernote
everything is setup as it should be but it generally doesn't update the form [post data returns an empty string

Post data empty

images do upload to server but they wont updata on the text area as they should so the image upload does not return results which is the main reason I opted for summernote

And the other thing is I am using django 1.3, but I soughted out compatibility issues where there was a need

What do you mean "BUG",

I just released 0.6.7 with fixes of these issues. Thank you for reporting!

Can I download that or is it possible that you can email me a copy to
<EMAIL_ADDRESS>On Wed, May 20, 2015 at 5:33 PM, Hyunwoo Park<EMAIL_ADDRESS>wrote:

Closed #88 https://github.com/summernote/django-summernote/issues/88.
—
Reply to this email directly or view it on GitHub
https://github.com/summernote/django-summernote/issues/88#event-309644851
.

You can install it via pip install django-summernote==0.6.7 or download it from https://github.com/summernote/django-summernote/releases/tag/0.6.7 .

sorry got it, its work fine great work much appreciated
On Wed, May 20, 2015 at 6:51 PM, Nkosikhona Carlos Phakathi <
<EMAIL_ADDRESS>wrote:

Can I download that or is it possible that you can email me a copy to
<EMAIL_ADDRESS>On Wed, May 20, 2015 at 5:33 PM, Hyunwoo Park<EMAIL_ADDRESS>wrote:

Closed #88 https://github.com/summernote/django-summernote/issues/88.
—
Reply to this email directly or view it on GitHub
https://github.com/summernote/django-summernote/issues/88#event-309644851
.

thanks!


An error occurred when integrated GRPC to the framework

I wanna have GRPC integrated into my framework, through the pod package XXX.Podspec --force packaging will report a series of long error, what should do, the error is like this
Build command failed: xcodebuild GCC_PREPROCESSOR_DEFINITIONS='$(inherited) PodsDummy_SQL=PodSQL_PodsDummy_SQL AFAutoPurgingImageCache=PodSQL_AFAutoPurgingImageCache AFCachedImage=PodSQL_AFCachedImage AFHTTPSessionManager=PodSQL_AFHTTPSessionManager AFImageDownloadRece

...
 SetGPBType_Syntax_RawValue=PodSQL_SetGPBType_Syntax_RawValue'  ARCHS='x86_64 i386 arm64 armv7 armv7s' OTHER_CFLAGS='-fembed-bitcode -Qunused-arguments' CONFIGURATION_BUILD_DIR=build clean build -configuration Release -target Pods-packager -project Pods/Pods.xcodeproj 2>&1
Output:
    Build settings from command line:
        ARCHS = x86_64 i386 arm64 armv7 armv7s
        CONFIGURATION_BUILD_DIR = build
        GCC_PREPROCESSOR_DEFINITIONS = $(inherited) PodsDummy_SQL=PodSQL_PodsDummy_SQL AFAutoPurgingImageCache=PodSQL_AFAutoPurgingImageCache AFCachedImage=PodSQL_AFCachedImage AFHTTPSessionManager=PodSQL_AFHTTPSessionManager AFImageDownloadReceipt=PodSQL_AFImageDownloadReceipt AFImageDownloader=PodSQL_AFImageDownloader AFImageDownloaderMergedTask=PodSQL_AFImageDownloaderMergedTask

...
 SetGPBType_Syntax_RawValue=PodSQL_SetGPBType_Syntax_RawValue
        OTHER_CFLAGS = -fembed-bitcode -Qunused-arguments

    === CLEAN TARGET AFNetworking OF PROJECT Pods WITH CONFIGURATION Release ===

    Check dependencies

    Clean.Remove clean build/libAFNetworking.a
        builtin-rm -rf /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/Pods/build/libAFNetworking.a

    Clean.Remove clean build/AFAutoPurgingImageCache.h
        builtin-rm -rf /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/Pods/build/AFAutoPurgingImageCache.h

    Clean.Remove clean build/AFHTTPSessionManager.h
        builtin-rm -rf /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/Pods/build/AFHTTPSessionManager.h

...
    === CLEAN TARGET BoringSSL OF PROJECT Pods WITH CONFIGURATION Release ===

    Check dependencies
    Warning: Multiple build commands for output file /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/Pods/build/internal.h
    Warning: Multiple build commands for output file /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/Pods/build/internal.h
    Warning: Multiple build commands for output file /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/Pods/build/internal.h

...
 Warning: Multiple build commands for output file /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/Pods/build/internal.h

    Clean.Remove clean build/libBoringSSL.a
        builtin-rm -rf /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/Pods/build/libBoringSSL.a

    Clean.Remove clean build/aead.h
        builtin-rm -rf /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/Pods/build/aead.h

...
    === CLEAN TARGET Protobuf OF PROJECT Pods WITH CONFIGURATION Release ===

    Check dependencies

    Clean.Remove clean build/libProtobuf.a
        builtin-rm -rf /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/Pods/build/libProtobuf.a

    Clean.Remove clean build/Any.pbobjc.h
        builtin-rm -rf /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/Pods/build/Any.pbobjc.h

...
and the end
    write-file /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/build/Pods.build/Release-iphoneos/AFNetworking.build/Objects-normal/armv7s/AFNetworking.LinkFileList
    write-file /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/build/Pods.build/Release-iphoneos/AFNetworking.build/AFNetworking-generated-files.hmap
    write-file /var/folders/th/1z4gmmm96c346yp8phk6rmw40000gn/T/cocoapods-czn9derd/build/Pods.build/Release-iphoneos/AFNetworking.build/AFNetworking-project-headers.hmap

    ** BUILD FAILED **

Who can help me ? Thanks!

As the "Multiple build commands for output file" message is reported as a warning, is there a line reporting an error, to get more details?

Facing same issue. I think issue is related to BoringSSL framework that gRPC uses. If you have solved this issue, please let me know.

Please attach a full build log so we can diagnose.
On Mon, Jul 3, 2017 at 5:59 AM, Wasim Safdar<EMAIL_ADDRESS>wrote:

Facing same issue. I think issue is related to BoringSSL framework that
gRPC uses. If you have solved this issue, please let me know.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/7545#issuecomment-312639140, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQhcKnx1W0P0uIMWKo2mCvrY-J4obYlaks5sKOW3gaJpZM4JWAoD
.

Closed for no activity. Let us know if it is still an issue and we can reopen.


Add KoalasTableAccesor

Adds support for Koalas by implementing KoalasTableAccessor
Closes #493

I think at this point we should be looking at 100% code coverage since most of the missing lines were dask and koalas stuff. Probably worth running locally to get the missing lines (it's also very possible that we've missed some stuff along the way since Codecov's been acting up for a while now)

I think at this point we should be looking at 100% code coverage since most of the missing lines were dask and koalas stuff. Probably worth running locally to get the missing lines (it's also very possible that we've missed some stuff along the way since Codecov's been acting up for a while now)

Sounds good. I'll look into it.


Feature/improve deprecations

Coverage: 96.209%. Remained the same when pulling 9368fec8693cb0331b0d54bce5586865fdefaa6d on feature/improve-deprecations into b7e5bab71fa28ac02bf100070690429bb9406b16 on main.


Fixed redundancy error in Goal-Step Inference with wikiHow #126

Fixed data error as discussed in #126

Sorry for the delay, this looks good.  I will merge now.


ISPN-5896 ClusterStreamManager segment generation should use

locatePrimaryOwnerForSegment
https://issues.jboss.org/browse/ISPN-5896
Doing a very quick local test with 4 nodes I saw about a 7% improvement in throughput when doing Stream.count calls.

This should be cherry-picakable back to 8.0.x without a fuss as well.

Integrated, thanks Will!


Switch translation of ruby function calls to allow nested calls

Fixes issue with ruby in #4154

@karlnapf just seeing if this passes. May solve the issue you were seeing

Just merged #4154 if you wanna rebase

You will need to test that, I removed the nested call in the kwargs.sg

Just rebased and added the test

Thanks for the quick fix! :)

Seems like ruby likes you :)


The {{#is "post"}} helper produces a result on the 'post' and 'page'

Issue Summary
The {{#is "post"}} helper produces a result on the 'post' and 'page'. The result should be limited to the 'post' only.
Steps to Reproduce
Paste this code to page.hbs:
{{#is "post"}}
This is post not page
{{/is}}

Check the results on the 'page'.
Ghost Version
5.0.0
Node.js Version
Ghost(Pro)
How did you install Ghost?
Ghost(Pro)
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Was able to reproduce this bug. There's an inconsistency somewhere in "context calculation" after this change.

Hey @fueko! Thanks for the report. You are extremely helpful, as always :heart: Dzięki!

Hi @naz! Glad I could help :)


Changing log level using env var

We have a logger that extends org.apache.logging.log4j.core.Logger, and are using PowerTools Logging. The behaviour of the logger is inconsistent when you modify the Power Tools environment variable.
What were you trying to accomplish?
When we modify the environment variable  to change the log level. It does not completely work. When we call log methods such as log(), info(), debug(), trace(), the change to the environment variable does work with those log methods.
But when we call the isEnabled log methods like isTraceEnabled() or isDebugEnabled() it will return a boolean based on the log4j2.xml param, not the env var.
So this would work:
logDebug(myMsg)
not this:
if ( isDebugEnabled()) { log(myMsg) }
Expected Behavior

The isDebugEnabled  method should return true if the lambda environment variable is set to DEBUG, and log4j2.xml has log level set to INFO
Current Behavior

The isDebugEnabled  method returns false
Possible Solution

I am not sure if this is a bug in PowerTools, or if this is caused by our wrapper. But my guess is that, here on the method starting on line 117
https://github.com/awslabs/aws-lambda-powertools-java/blob/master/powertools-loggi[…]zon/lambda/powertools/logging/internal/LambdaLoggingAspect.java
If you pass false to the getContext method, aren't you getting a new context object ? and not the current one ?
Steps to Reproduce (for bugs)

Set log level in log4j2.xml to INFO
Once lambda is deployed change the POWERTOOLS_LOG_LEVEL to DEBUG
in the lambda run:  logger.log("I should be visible")
in the lambda run:  if ( isDebugEnabled()) { logger.log("I should also be visible") }

Environment

Powertools version used:  1.7.1
Packaging format (Layers, Maven/Gradle):  Gradle
AWS Lambda function runtime:
Debugging logs

How to enable debug mode**
This link doesn't actually say how to enable debug-mode ? Something missing in the doc ?

# paste logs here

| 2021-09-22T09:20:37.544-04:00 | {"instant":{"epochSecond":1632316837,"nanoOfSecond":544000000},"thread":"main","level":"INFO","loggerName":"com.amazon.pharmacycontrolsystem.machineproxymockservice.lambda.MachineProxyMockService","message":"isDebugEnabled  :  'false'","endOfBatch":false,"loggerFqcn":"org.apache.logging.log4j.spi.AbstractLogger","threadId":1,"threadPriority":5,"timestamp":"2021-09-22T13:20:37.544Z[UTC]","coldStart":"false","functionArn":"arn:aws:lambda:us-east-1:314485189890:function:PCS-personal-MacProxyMockS-MacProxyMockSvcD1773E09-rAWyTsUVhgYl","functionMemorySize":"512","functionName":"PCS-personal-MacProxyMockS-MacProxyMockSvcD1773E09-rAWyTsUVhgYl","functionVersion":"$LATEST","function_request_id":"34f2d390-6ef0-4130-b6d8-bfc2d50fcdb5","samplingRate":"0.0","service":"PCSv2  Machine Proxy Mock  Service","xray_trace_id":"1-614b2da2-66dcce3b297641326f82ea15"}
-- | -- | --

Hi @bbatpp Thanks for reporting the issue. I will have a look at this.

Hi @bbatpp I tried replicating the issue and it seems to work fine in the sample application that I have. Meaning .isDebugEnabled return correct value.

That being said, It is a best practice to set getContext to false in application server environment where different applications and even the application server itself might be using log4j2. Per my understanding, setting it to true one might end up re-configuring/writing into loggers of other applications or application server depending on how they in turn have obtained the context.

Could it be an idea for you to just try what the behavior is when you set it to true in your application?

Hi @bbatpp Any more insights into this issue?

I changed where we instantiate the logger to pass true instead of false.
LoggerContext ctx = LogManager.getContext(cls.getClassLoader(), true);
This resolved the issue, I think what was happening is, that my lambda was
connected to the parent context. So when you changed the log level with the
lambda's environment variable, it was actually affecting the parent context
(AWS), rather than my lambda.
On Wed, Dec 15, 2021 at 9:23 AM Pankaj Agrawal @.***>
wrote:

Hi @bbatpp https://github.com/bbatpp Any more insights into this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-lambda-powertools-java/issues/551#issuecomment-994838651,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQYI46KD7KLHPHFT6KPNYP3URCQG7ANCNFSM5ERL7K5Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Thanks,
Bryan Brown
SDE III, Fulfillment Automation
@.*** @.***> •<PHONE_NUMBER>
Amazon Pharmacy  |  Your medication, made easy
--
The information contained in this transmission may contain privileged and
confidential information, including patient information protected by
federal and state privacy laws. It is intended only for the use of the
person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution, or
duplication of this communication is strictly prohibited. If you are not
the intended recipient, please contact the sender by reply email and
destroy all copies of the original message.

Ok makes sense. In that case I will close the issue for now. Feel free to open new issue/reopen this in case of further issues. @bbatpp


fix infinite loop again

closes #1359
needs upstream https://github.com/pradyunsg/sphinx-theme-builder/pull/44 and will need a change to the commit hash in noxfile.py once that is merged.

Thank you for the time and effort put into fixing this!!!!
This is such an annoying bug 😤

even though this doesn't fully fix the problem (needs https://github.com/pradyunsg/sphinx-theme-builder/pull/44) I'm going to go ahead and merge it because at least then we can locally benefit from using the PR branch of the upstream project without having to manually tweak the noxfile every time. I'll get notified when https://github.com/pradyunsg/sphinx-theme-builder/pull/44 is merged anyway so I won't easily forget to update the hash when the time comes.


Update github issue templates

@jskeet thanks for the review!  Ready for another look (here and in gax, google-api-dotnet-client)


how to delete tags from image in docker hub as shell script

Hi,
i want to delete tags from docker hub from command line.
My all repository are private and i have create in organization
could you tell me how to delete and also i want to write script on it
Older than 30days should be keep the rest should be delete as a script
i have many images want to delete tags from it
Let me know solution

@docker-ci-scanner @docker-autobuild @docker-jenkins @docker hub

Closing, this is the wrong repo to report this in. For future reference please report Hub issues in https://github.com/docker/hub-feedback


closure-size: Mass replace pkg}/bin-style strings to refer to correct outputs

Same drill as before - scripted replace of foo}/bin to foo.bar}/bin in all cases where ${foo}/bin doesn't exist.
cc @vcunat

Looks good, thanks!


Fix compilation errors

This should fix some clang build errors when used as submodule for clickhouse.

@alexey-milovidov could you look into this?

I missed this PR.
PS. We build all contrib with -w and -isystem (similar to what compiler is doing when the library is in /usr/include).


No "demo" folder for image_demo.py

I didn't see any demo folder in the repo for a single image testing.

Hi,
We haven't tested the scripts provided in 'demo' folder. You can try them at mmdetection demo link.
Thanks

@Atul997 We have updated the demo folder for image_demo.py


安装报错

$ sudo python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to DPark.egg-info/requires.txt
writing DPark.egg-info/PKG-INFO
writing top-level names to DPark.egg-info/top_level.txt
writing dependency_links to DPark.egg-info/dependency_links.txt
reading manifest file 'DPark.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'dpark/porable_hash.pyx'
writing manifest file 'DPark.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
skipping 'dpark/portable_hash.c' Cython extension (up-to-date)
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/decorator.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/hotcounter.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/schedule.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/__init__.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/util.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/rdd.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/cache.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/tracker.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/bagel.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/executor.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/task.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/bitindex.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/table.py -> build/bdist.linux-x86_64/egg/dpark
creating build/bdist.linux-x86_64/egg/dpark/moosefs
copying build/lib.linux-x86_64-2.7/dpark/moosefs/__init__.py -> build/bdist.linux-x86_64/egg/dpark/moosefs
copying build/lib.linux-x86_64-2.7/dpark/moosefs/consts.py -> build/bdist.linux-x86_64/egg/dpark/moosefs
copying build/lib.linux-x86_64-2.7/dpark/moosefs/cs.py -> build/bdist.linux-x86_64/egg/dpark/moosefs
copying build/lib.linux-x86_64-2.7/dpark/moosefs/utils.py -> build/bdist.linux-x86_64/egg/dpark/moosefs
copying build/lib.linux-x86_64-2.7/dpark/moosefs/master.py -> build/bdist.linux-x86_64/egg/dpark/moosefs
copying build/lib.linux-x86_64-2.7/dpark/env.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/broadcast.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/serialize.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/tabular.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/mutable_dict.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/context.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/conf.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/accumulator.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/dstream.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/hyperloglog.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/portable_hash.so -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/job.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/dependency.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/shuffle.py -> build/bdist.linux-x86_64/egg/dpark
copying build/lib.linux-x86_64-2.7/dpark/portable_hash.pyx -> build/bdist.linux-x86_64/egg/dpark
byte-compiling build/bdist.linux-x86_64/egg/dpark/decorator.py to decorator.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/hotcounter.py to hotcounter.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/schedule.py to schedule.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/util.py to util.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/rdd.py to rdd.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/cache.py to cache.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/tracker.py to tracker.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/bagel.py to bagel.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/executor.py to executor.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/task.py to task.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/bitindex.py to bitindex.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/table.py to table.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/moosefs/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/moosefs/consts.py to consts.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/moosefs/cs.py to cs.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/moosefs/utils.py to utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/moosefs/master.py to master.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/env.py to env.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/broadcast.py to broadcast.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/serialize.py to serialize.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/tabular.py to tabular.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/mutable_dict.py to mutable_dict.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/context.py to context.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/conf.py to conf.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/accumulator.py to accumulator.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/dstream.py to dstream.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/hyperloglog.py to hyperloglog.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/job.py to job.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/dependency.py to dependency.pyc
byte-compiling build/bdist.linux-x86_64/egg/dpark/shuffle.py to shuffle.pyc
creating stub loader for dpark/portable_hash.so
byte-compiling build/bdist.linux-x86_64/egg/dpark/portable_hash.py to portable_hash.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/dquery -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/executor.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/scheduler.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/drun -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/mrun -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/dgrep -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/dquery to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/executor.py to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/scheduler.py to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/drun to 775
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/mrun to 775
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/dgrep to 755
copying DPark.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying DPark.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying DPark.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying DPark.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying DPark.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying DPark.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
creating 'dist/DPark-0.3.2-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing DPark-0.3.2-py2.7-linux-x86_64.egg
removing '/usr/lib64/python2.7/site-packages/DPark-0.3.2-py2.7-linux-x86_64.egg' (and everything under it)
creating /usr/lib64/python2.7/site-packages/DPark-0.3.2-py2.7-linux-x86_64.egg
Extracting DPark-0.3.2-py2.7-linux-x86_64.egg to /usr/lib64/python2.7/site-packages
DPark 0.3.2 is already the active version in easy-install.pth
Installing dquery script to /usr/bin
Installing executor.py script to /usr/bin
Installing scheduler.py script to /usr/bin
Installing drun script to /usr/bin
Installing mrun script to /usr/bin
Installing dgrep script to /usr/bin

Installed /usr/lib64/python2.7/site-packages/DPark-0.3.2-py2.7-linux-x86_64.egg
Processing dependencies for DPark==0.3.2
Searching for psutil
Reading https://pypi.python.org/simple/psutil/
^[[B^[[B^[Best match: psutil 4.3.0
Downloading https://pypi.python.org/packages/22/a8/6ab3f0b3b74a36104785808ec874d24203c6a511ffd2732dd215cf32d689/psutil-4.3.0.tar.gz#md5=ca97cf5f09c07b075a12a68b9d44a67d
Processing psutil-4.3.0.tar.gz
Writing /tmp/easy_install-T5wfHJ/psutil-4.3.0/setup.cfg
Running psutil-4.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-T5wfHJ/psutil-4.3.0/egg-dist-tmp-_tuYcX
Traceback (most recent call last):
  File "setup.py", line 53, in <module>
    'examples/dgrep',
  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 67, in run
  File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 117, in do_egg_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 380, in run

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 610, in easy_install

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 661, in install_item

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 709, in process_distribution

  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 836, in resolve
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1081, in best_match
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1093, in obtain
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 629, in easy_install

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 659, in install_item

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 842, in install_eggs

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1070, in build_and_install

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1056, in run_setup

  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 240, in run_setup
  File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 193, in setup_context
  File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 152, in save_modules
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 126, in __exit__
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 110, in dump
MemoryError

@ahjdzx 看起来 setuptools 的问题，建议通过 pip install -r req.txt 来安装 DPark 的依赖。

@zzl0  OK, 装好了，Thx!


code in C++ backend vs. script front end

Hi! I'm planning to add optimizer and model to the julia frontend next. But since now we already have at least 3 frontends, I just want to pause a bit and ask about what is the design philosophy of mxnet. Specifically, what level of code do you think should live in the backend and what should live in the frontend?
I think the advantage of keeping code in the backend is to avoid code redundancy in multiple frontends. They might gradually evolve into slightly different shape or even inconsistent with each other.
On the other hand, writing some non-critical programming logic in the frontend script language is more flexible and easier for user to extend. Optimizer might be a good example.
Kind of a related question, what is the plan for supporting user-defined layers? Are we going to enrich the API for Symbol and NDArray so that the end user could easily define their own layers (though maybe less efficiently) in the target script language? Or are the users always encouraged to write things in C++ in the backend if new layers are to be added?

In design, I think we should left all in dynamic way (front end) if it doesn't hurt performance. I plan to move optimizer back because there is a problem of unstable speed. I am not sure whether is the optimizer made it. If so, definitely we should move it back

a problem of unstable speed
Do you mean something like #223 ?

Yes, my guess is optimizer brings too much load to engine, but need experiment to support the guess. will do it maybe in next week.

Most of the design reflects Amdahl'law. In summary, we should being able to support a "mixed way" and allow seamless shift between the two.
The optimizer problem @antinucleon mentioned is kinda like "solved" in a sense that we make the multi-gpu speed roughly linear. There are multiple reasons for slow down, while the stabilized speed is still quite reasonable.
As we advocate for being "mixed", the current design enables both, and we should keep doing so. I think idea of putting optimizer on front-end is valuable, and it won't change even we allow expose c++ level optimizer (allow user to switch between the two).

For operators, It is definitely important to support customization, whether it is native Julia, or via composition of fine-grained symbols and ndarray, to enable user to do things efficiently.
As some common pattern occur, it may be reasonable to bring some of new big operators to backend. I guess slight divergence won't be a big problem, as long as we have a fixed set of common modules, and interchangeable format.

Thanks for the clarification!

i also think the current way of model.py is not effective. it makes maintaining similar things on different bindings harder. it will be great if we can make these codes shared to all languages.

Yes, I think most of the time users won't need to customize the logic in model.py. For optimizers, even if we ignore computational performance issue, it might be better to put common optimizers in C++ backend because the code in each front end will be essentially duplicated. As long as we still leave the interface open so that the users are able to define their own optimizers when needed, this should not be a problem.

I think keep C++ side in minimal way is correct. model.py should rely on language. In this way we can make our library in small size. Eg, if we plan to make mobile version, we only need a minimal core in size of 3-6 MB, instead of 20MB

mobile is another case, we only need to pack the model prediction codes into it. but the short-term question is that we need to write almost identical codes for python/R/julia

Let us being optimistic about this :) There will be common patterns and eventually common patterns goes back to the c++.   It is also about a thin layer of interface. i.e. limited number of simple parameters that can be passed through a C API and how much flexibility to offer.
In that sense, making a common model interface requires quite a lot of thoughts than expected. For example, how to keep the python callbacks that evaluates the state. How to adapt to multiple in, multiple out case, and how to make these arguments plain C types.  In that sense, the optimizer is a cleaner cut.
As we are also exposing the low level interface, i.e. symbolic execution and ndarray. The model code is more like a battle test case of all the low level modules, which is fun to write :)  It also serves an example on how to deeply customize the code.
It is likely the complicated use-cases will still occur, and we will keep improve the way we think about the model.py   When we have a good idea of where is the clean and effective common pattern that we want to cut, we can definitely bring it down to c++


Module-specific commands with multi()

Version: node_redis 2.8.0 and redis 4.0.10
Platform: Node.js 7.1.0 on macOS 10.13.5
Description:

I am trying to multi-exec ReJSON commands like below:
client.multi([
  ['JSON.SET', cellId, jsonpathtile, item],
  ['JSON.SET', cellId, jsonpathstack, '[' + item + ']', 'NX'],
  ['JSON.ARRAPPEND', cellId, jsonpathstack, item]
]).exec((err, resp) => {
...

However this throws
TypeError: Cannot read property 'apply' of undefined
     at new Multi (/Users/xeli/myproject/node_modules/redis/lib/multi.js:18:30)
     at RedisClient.multi (/Users/xeli/myproject/node_modules/redis/lib/individualCommands.js:25:17)
     ...

Running commands individually with client.send_command works fine. Seems like node_redis tries to find a function JSON.SET instead of applying something similar to send_command when multi array format is used.
I expected that the multi([array]) allows sending raw commands the API might not provide.
I also tried:
client.multi()
  .send_command('JSON.SET', [cellId, jsonpathtile, item])
  .send_command('JSON.SET', [cellId, jsonpathstack, '[' + item + ']', 'NX'])
  .send_command('JSON.ARRAPPEND', [cellId, jsonpathstack, item])
  .exec((err, resp) => {
  ...

But that did not work either, throwing:
TypeError: redb.multi(...).send_command is not a function

Any workaround to this?

The solution was to add the following lines:
redis.add_command('JSON.SET')
redis.add_command('JSON.ARRAPPEND')

Maybe this requirement could be better documented under multi or add_command?

@axelpale The other option is to use the ReJSON bindings. It basically just adds all the commands in so they are available as functions both in the standard client object and multi.
I'm going to close this now, but I think the real solution here is to make a multi-friendly send_command function. I've looked into it but I don't think it's exactly straight-forward. Do-able, just would take effort. Feel free to open a feature request if you agree.


Substantial speedup for isSubtype(and thus glb/lub) on big And/Or types

Motivation
Stripe had a function that took forever to typecheck
Test plan
Added test that took years before the patch.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build result here:
→ https://go/builds/bui_HSOiUG9sxxB4BT


Adding missing license files for repo and per paper directory (#44)

Fixes issue #44.

@microsoft-github-policy-service agree


Model and enum type from getAllModels does not have namespace

The context is there is pushback to use TypeSpec namespace directly as client namespace, so it is not included in common types.
But it will block .NET and TypeSpec emitter.

there is no agreement across language for namespace in client

This isn't blocking because c# and java can access the .__raw property
// Old Code
const modelNamespace = getModelNamespace(tspModel)

// New Code
for (const model of getAllModels(context)) {
  const modelNamespace = getModelNamespace(model.__raw);
}


feat: add support for setting array element

Currently, the 'set' command lacks the access to an array element by index. This patch adds this feature.
Example: toml set --toml-path pyproject.toml tool.poetry.authors[0] "Marc Rijken<EMAIL_ADDRESS>

I've added both features:

error message when the accessed array is non-existent. Example: error: non-existent array 'authorRS'
adding element to array by using the following indices. See following example$ cat config.toml
cities = ["Rotterdam"]

$ toml set 'cities[1]' = 'Amsterdam' && cat config.toml
cities = ["Rotterdam", "Amsterdam"]

$ toml set 'cities[999]' = 'Eindhoven' && cat config.toml
cities = ["Rotterdam", "Amsterdam", "Eindhoven"]


feat: new org user form (set base to develop prior to merge)

Description:
new org user form
Test:

sign in as<EMAIL_ADDRESS>click orgs list
click Manage Users button for Organization AAA
click New User button
add nonsense email: should get validation message saying user doesnt exist
add<EMAIL_ADDRESS>see success toast
click cancel or back to users link.  I added<EMAIL_ADDRESS>which worked, and a random string 'dksfjhs' which shows 'email must be a valid email'. I didn't see any 'user doesn't exist' messages...
what about adding a name? @mmnoo

it looks like you branched off a branch here - are you trying to merge to develop? @mmnoo

ya, thats the intended destination.  I added<EMAIL_ADDRESS>which worked, and a random string 'dksfjhs' which shows 'email must be a valid email'. I didn't see any 'user doesn't exist' messages...
what about adding a name? @mmnoo

ya, should have been clearer. Add email address that isnt in the system. Like<EMAIL_ADDRESS>

merging into 244, will merge to develop with that code


how to install it

Hi, which is the proper way to install elm-audio into my elm project? Tried with elm package install but no luck. I would like to play some music into a small game :)

Unfortunately, this library is quite old and is not compatible with the latest version of Elm. I'm working on a video series on how to create Tetris in Elm which may result in me rewriting this. However, I would recommend using ports to accomplish this for now.


[2731] Bug - updated trainee details don't show on timeline

Context
https://trello.com/c/7mFjLtRy/2731-bug-updating-trainee-details-often-doesnt-show-on-timeline
Changes proposed in this pull request
Includes more trainee fields in the timeline.
Also fixes a bug whereby fields that were intentionally left blank by the user in a form would be reported as changed.
Guidance to review
Change some things on a non-draft trainee and check they appears on the timeline. Especially:

course related fields
funding related fields

 Bug - updating trainee details often doesn't show on timeline

I'm getting duplicate entries on the timeline for age range, even though I only made one change (trainee is pending TRN and on the AO route), but not for subject

Not sure if this is entirely related, but noticed the PGTA trainees error most of the time, but not all the time.

More weird behaviour, sometimes funding duplicates when you make an edit, and sometimes it doesn't.
What I did:
change course from maths to biology > change age range > change bursary > saw duplicate funding entry, but not age range
on the same trainee (this bit is in the GIF)
change course from biology to physics > change age range > change bursary > saw duplicate age range, but single bursary update in the timeline.

Not sure if this is entirely related, but noticed the PGTA trainees error most of the time, but not all the time.

Unrelated but annoying - I'll card up separately. It's to do with our auto-generated example data.

I'm getting duplicate entries on the timeline for age range, even though I only made one change (trainee is pending TRN and on the AO route), but not for subject

This should be fixed now.

More weird behaviour, sometimes funding duplicates when you make an edit, and sometimes it doesn't.
What I did:
change course from maths to biology > change age range > change bursary > saw duplicate funding entry, but not age range
on the same trainee (this bit is in the GIF)
change course from biology to physics > change age range > change bursary > saw duplicate age range, but single bursary update in the timeline.

This was difficult to replicate, but I think also to do with our auto-generated data. I've made a tweak which could fix this.

when I select primary (on trainee on EY assessment only route), it errors asking me to enter a subject, despite there being no option to do so on the pag

e

Changed the funding details on a trainee on AO and still got duplicate updates on the timeline. Was working as expected for course details.
Given it could be the autogenerated data, I'd say let's just merge!


Question about async handler

I'm still trying out feTS on the backend but am stuck at my first db query. I'm trying a mongoose find here, but uWebsockets hangs up as soon as I call 'await User.find()`. It gives me
'Error: Returning from a request handler without responding or attaching an abort handler is forbidden! libc++abi: terminating'.
I've tested the find method outside the router code, and it works as expected.
`.route({
description: "Get all users",
method: "GET",
path: "/users",
schemas: { ** **\ },
handler: async (request) => {
const users = await User.find();
  return Response.json(users);

 // wrapping in a try catch also did nothing
  try {
    return Response.json(allUsers);
  } catch (err) {
    console.log(err);
  }

  return Response.json({ message: "ok" });
},

})`

Closing the issue for now. We can reopen if it still persists.


Customizing error messages is not valid for ListView?

In the document Customizing Error Messages,

You can use the app.errorMessage(), entity.errorMessage() or view.errorMessage() methods to customize the message displayed when an error occurred with the API.

But when I use app.errorMessage to custome the error message, it does not work for list view. When api server response an error,  list view display State change error: undefined. In edit view, the custom error message works.

Related to https://github.com/marmelab/ng-admin/pull/1245
PR will allow you to better customise http error

Fixed by https://github.com/marmelab/ng-admin/pull/1273


Can't print the ResultDict of an array with 2 values

Description of the issue
cirq.ResultDict(records={'c': np.array([[[True], [True]]])}) can be created but it can't be printed .
How to reproduce the issue
import cirq
import numpy as np
result = cirq.ResultDict(records={'c': np.array([[[True], [True]]])})
print(result)

Will throw
ValueError: Cannot extract 2D measurements for repeated keys
Cirq version
1.4.0.dev20240126200039

cirq-cync: needs to invistigate whether the input is valid (and add input validation) and if it's find out the bug in printing.


feat: 2024 05 26 - [merged]

Merges feat-2024-05-26 -> development

[x] #25
[x] #29
[x] #30
[x] #31
[x] #32
[x] #34
[x] #35

added 2 commits
46af675f - fix(software): ensure management command query correct for migration51e52e69 - feat(software): Add output to stdout to show what is and has occurred
Compare with previous version

mentioned in commit 46af675f3c87d975a8dab3da70090fa3ab3f7033

mentioned in commit f453075d20e41cfff16f54aa7a8a5cee60bc2e98

added 10m of time spent

added 5m of time spent

mentioned in commit 174f66a397ab3ef941d48cd45fdc1a8134870fe8

mentioned in commit 51e52e69a48fefc792b8556aa20d84652a53afe7

mentioned in commit 19d24b54a2cb9f4f81692b863260089caed12772

mentioned in commit baa8bc40ec8497e584a1b8ed0752426cdd4dd3fe

added 1 commit
935e119e - feat(setting): Enable super admin to set ALL software categories as global
Compare with previous version

marked the checklist item #30 as completed

marked the checklist item #34 as completed

marked the checklist item #35 as completed

marked the checklist item #25 as completed

mentioned in commit f1f32b923584ca05159ab9a67d7ce5e3747ee5ee

marked the checklist item #32 as completed

added 1 commit
f1f32b92 - feat(setting): Enable super admin to set ALL device models as global
Compare with previous version

mentioned in commit ece6b9e354a149ff1aa73d147bedcb3c406603c0

marked the checklist item #29 as completed

marked the checklist item #31 as completed

mentioned in commit bf69a30163e6bafd0f951dde5fd058a31c327c09

added 2h 30m of time spent

mentioned in commit abbda7b400d7c06fee5165157d2bf545c00d4bbe

added 2 commits
abbda7b4 - feat(setting): Enable super admin to set ALL device models as globalece6b9e3 - feat(setting): Enable super admin to set ALL device types as global
Compare with previous version

mentioned in commit 256d6e6c453f9e3d95ccb23074a24c205ee5d703

added 1 commit
bf69a301 - feat(setting): Enable super admin to set ALL manufacturer/publishers as global
Compare with previous version


Use the root CA bundle in ServiceMonitors/PodMonitors

What this PR does / why we need it:
The total client bundle works for now because the root-ca is included in it, but when it's removed, ServiceMonitors/PodMonitors will be broken. This switches them to the root-ca bundle since that is what signs our metrics serving certs.
Checklist

[x] Subject and description added to both, commit and PR.

/lgtm


Strange fail on Kaggle with PT 1.11

🐛 Bug
after installing Flash it fail import and seem to kill kernel without any error message
To Reproduce
https://www.kaggle.com/code/jirkaborovec/plant-pathology-with-pytorch-lightning-flash?scriptVersionId=93524389
remove the installation of PT 1.10
Expected behavior
import Flash without any issue
Environment

Python version: 3.7
PyTorch Version: 1.11
PyTorchLightning Version: 1.6.1
LightningFlash Version: 0.7.3
GPU models and configuration: 10.2

Additional context

Closing this as couldn't reproduce. Install / import is working for me on kaggle GPU notebook if I do:
!pip uninstall -y torchtext
!pip install lightning-flash[image]
!pip install --upgrade torch


Fix issue If there are enumerations in the query request parameters, the generated request parameter comments will not include 'See'.

Fix issue If there are enumerations in the query request parameters, the generated request parameter comments will not include 'See'.

close #939


3 Python files contain syntax errors

$ python3 -m flake8 . --count --select=E9 --show-source --statistics
./Blackjack Game.py:24:34: E999 SyntaxError: invalid syntax
            print "Invalid card: ", suit, rank
                                 ^
./get_youtube_view.py:1:1: E902 TokenError: EOF in multi-line statement
"""
^
./get_youtube_view.py:26:30: E999 SyntaxError: invalid syntax
if(url.startswith("https://"):
                             ^
./Streaming Tweets from Twitter to Database.py:42:20: E999 SyntaxError: invalid syntax
        print status
                   ^
1     E902 TokenError: EOF in multi-line statement
3     E999 SyntaxError: invalid syntax
4

This can be closed as all the syntax errors mentioned are fixed.

Let's solve the undefined names before closing.
flake8 testing of https://github.com/geekcomputers/Python on Python 3.7.1
$ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
./WikipediaModule.py:15:10: F821 undefined name 'raw_input'
    word=raw_input("Wikipedia Search : ")
         ^
./Guess_the_number_game.py:37:34: F821 undefined name 'range1000'
frame.add_button("range[0-1000)",range1000)
                                 ^
./Guess_the_number_game.py:38:33: F821 undefined name 'range100'
frame.add_button("range[0-100)",range100)
                                ^
./sendemail.py:42:20: F821 undefined name 'createMessageWithAttachment'
        message1 = createMessageWithAttachment(sender, to, subject, msgHtml, msgPlain, attachmentFile)
                   ^
./internet_connection_py3.py:12:16: F821 undefined name 'raw_input'
    question = raw_input("Do you want to open a website? (Y/N): ")
               ^
./internet_connection_py3.py:15:15: F821 undefined name 'raw_input'
    	search = raw_input("Input website to open (http://website.com) : ")
              ^
./movie_details.py:14:15: F821 undefined name 'raw_input'
movie_title = raw_input("Enter movie title: ")
              ^
7     F821 undefined name 'range1000'
7

E901,E999,F821,F822,F823 are the "showstopper" flake8 issues that can halt the runtime with a SyntaxError, NameError, etc. These 5 are different from most other flake8 issues which are merely "style violations" -- useful for readability but they do not effect runtime safety.

F821: undefined name name
F822: undefined name name in __all__
F823: local variable name referenced before assignment
E901: SyntaxError or IndentationError
E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree

@cclauss is the undefined name error still not resolved?? I can work on it.

Still needs work... https://github.com/cclauss/Python-2/actions