Install script report errors

I'm trying to install Cracklord on Kali:
When I run
curl -s https://packagecloud.io/install/repositories/emperorcow/cracklord/script.deb.sh | sudo bash
I get the following error:
Detected operating system as Kali/moto.
Checking for curl...
Detected curl...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/emperorcow_cracklord.list...curl: (22) The requested URL returned error: 404
Unable to download repo config from: https://packagecloud.io/install/repositories/emperorcow/cracklord/config_file.list?os=Kali&dist=moto&source=script

Please contact<EMAIL_ADDRESS>and report this.

Please advise.

I tried also to install in on Ubuntu / Precise.
The script works, however installation fails:
sudo apt-get update

......
 Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cracklord-queued

What version of Ubuntu are u running?

Ubuntu 12.04.5 LTS

Did you try installing the deb packages?
https://packagecloud.io/emperorcow/cracklord

It seems this works.
Thanks for now.

Does anyone have any thoughts on a new package management solution we could use that would nicely support other distro's?  PackageCloud is nice because it's free and automatically supports Ubuntu and Debian, but there's certainly others we'd like to include as well. Let us know what thoughts you have

I would recommend just using a Docker container.  I had a hell of a time trying to install this stuff on both Kali/Sana and Ubuntu/Vivid

Docker would be challenging given the driver access to the GPU you need. It is doable, but might be tough to configure. What are other projects using to build DEBs and RPMs for various distros?

So is the initial problem that Kali hasn't been set up as a repo in packagecloud?  Would it work if you did a
package_cloud push emperorcow/cracklord/kali/sana cracklord-queued_1.0-beta-6-g16208b9_amd64.deb?
I'm not sure what the current packaging process is but, there is also a fairly slick looking debhelper script if the goal is to actually get it into Debian/Ubuntu repos.
Another option to improve the current process is to use a CI service like Travis to do the building and automatically upload to packagecloud.
I haven't looked at it in a while, but there is also the OpenSuse Build Service.  I think it is supposed to build rpms and debs.

We are going to fix packaging to support Ubuntu at many levels, Debian stable, and Kali rolling. This will be done as part of Milestone 1.1

How did you get this install script to work??  I've tried every repository in Ubuntu 12.04.5 LTS (and Ubuntu 16.04.1 LTS) with no luck.
user@user-VirtualBox:~$ curl -s https://packagecloud.io/install/repositories/emperorcow/cracklord/script.deb.sh | sudo bash
Detected operating system as Ubuntu/precise.
Checking for curl...
Detected curl...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/emperorcow_cracklord.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.
The repository is setup! You can now install packages.
user@user-VirtualBox:~$ sudo apt-get install cracklord-queued=1.0-beta-29-gc5e2878
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cracklord-queued

I did it by installing the deb packages:
https://packagecloud.io/emperorcow/cracklord
On Sun, Sep 25, 2016 at 9:39 AM, ringfanger<EMAIL_ADDRESS>wrote:

How did you get this install script to work?? I've tried every repository
in Ubuntu 12.04.5 LTS (and Ubuntu 16.04.1 LTS) with no luck.
user@user-VirtualBox:~$ curl -s https://packagecloud.io/
install/repositories/emperorcow/cracklord/script.deb.sh | sudo bash
Detected operating system as Ubuntu/precise.
Checking for curl...
Detected curl...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/emperorcow_cracklord.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.
The repository is setup! You can now install packages.
user@user-VirtualBox:~$ sudo apt-get install cracklord-queued=1.0-beta-29-
gc5e2878
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cracklord-queued
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jmmcatee/cracklord/issues/86#issuecomment-249407736,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGyMAYpRFyEyXrZX_TLIU3RpRILAIGJFks5qtiUogaJpZM4GEXBE
.

For now only Ubuntu is supported and unless someone has some expertise in package building it will likely stay that way. I will continue to try and update the build documentation so people can build it from source on various Linux/Unix/Windows systems.


Leverage caddy-l4

I noticed caddy-l4 which is under active development. It seems that one can achieve the same functionality with caddy-l4 than with forwardproxy. Maybe, should focus on caddy-l4 development and simply showcase here a Caddyfile that implements forward proxy using caddy-l4. @mholt , your time is too valuable to be spent on less value targets.

I'm pushish all my changes for #74 today. There is still an issue with http/3 headers though. Up to @mholt to decide if using that one makes more sense. My understanding is that forwardproxy is doing more than just simple tcp/udp proxies

Yeah, thanks for the suggestion!
I'm not sure how that would look. Caddy-L4 contains a reverse proxy, but not a forward proxy. And that proxy is application-agnostic. This one is HTTP-specific. If it was caddy-l4, you'd have to use a separate config file (JSON currently, as there's no official Caddyfile support), whereas with this forwardproxy you can use the Caddyfile.
Do you have anything specific in mind as to how we could achieve the same functionality with caddy-l4?

Can't do forward proxying with caddy-l4 in a single caddy binary (must run a separate back end for forward proxying).
Not clear how to do header based probe resistance in caddy-l4.

I kind of confused the concept of load balancer and forward proxy. The "forwardproxy" here serves both roles. Compared to this monolithic design of bundling together load balancer and forward proxy, a modularized design is more flexible by allowing users to customize by piecing together different modules.
E.g., @klzgrad developed a custom forward proxy "naive". Since the forward proxy is built into "forwardproxy" and non-separable , a fork has to be made to support this custom logic. This is not good, requiring logistical overhead to keep base and fork in sync. This is despite the fact that there is already a standalone "naive" forward proxy server there. It just cannot plug in.
I see caddy-l4 promising to implement a load balancer. It's like 1) terminating TLS, 2) matching authorization header, and 3) routing appropriately to either a forward proxy or file server. User can then plug in whatever forward proxy he/she sees fit. No more fork and code change is necessary.
So, to be precise, I don't intend to see caddy-l4 play the role of the holistic "forwardproxy", but only its load balancer part. And I don't see the holistic approach adopted by "forwardproxy" is a good design.
@mholt , config format is minor. caddy-l4 will support Caddyfile sooner or later, right? :grin:

@klzgrad Hey, I am a fan of your work! :100:
@Lingxi-Li Ok, I see what you mean -- so you're talking about having a forwardproxy module implemented to work with Project Conncept (caddy-l4) so that the pieces that make this forwardproxy work are more composable and flexible for advanced users, right?
I like that idea. Would that ease your maintenance burden, @klzgrad ?

config format is minor. caddy-l4 will support Caddyfile sooner or later, right? grin

Ha, um, I hope so. :woozy_face:

The reason forwardproxy alone is not enough is because it lacks a packet length padding layer that is needed to mitigate TLS-in-TLS handshake signatures. It has the upstream directive that can pass traffic to a backend process, which was the previous solution where naive.exe ran along with vanilla Caddy server and the forwardproxy plugin to provide this padding layer. The padding logic is quite simple, and running a second executable is a hassle for user deployment, so I made some small addition to let forwardproxy handle the padding directly. But this padding layer is experimental and not quite appropriate for merging into forwardproxy for general use, so it remains a fork.
I don't have any maintenance burden in keeping a forwardproxy fork for this padding layer. It hasn't changed for years. The status quo works, and I'm not seeing great benefit in migrating to caddy-l4 for this use case.

@klzgrad Thanks for the detailed clarification. I mis-read the upstream directive of forwardproxy.
Close this thread as no real motivation to move to caddy-l4 for now. That being said, it still makes sense to minimize feature overlap and save efforts.


add tests for devise methods

What do you mean by this?

Well, I guess we wanted to check if both ways ( twitter and email) to sign in are working properly.

Hey, menthors :)
Me and Emma were running some tests about it. I guess we can add this issue to our project planning.
@tyranja is just that check you mentioned or you want to add some rspec testing too?


Massive amount of both dependency errors and tracebacks related either to Windows 11 or an unsupported GPU while installing "oogabooga", the same problem occurs while installing the "tts-generation-webui"

OS: Windows 11
GPU: GeForce 1650 (no Ti, anything like that)
Problem(s):
The very first error occured while installing the one-click-installer package itself:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
open-clip-torch 2.7.0 requires protobuf==3.20.0, but you have protobuf 4.23.4 which is incompatible.
rembg 2.0.35 requires scikit-image>=0.19.3, but you have scikit-image 0.19.2 which is incompatible.
tensorflow-intel 2.11.0 requires protobuf<3.20,>=3.9.2, but you have protobuf 4.23.4 which is incompatible.
tensorflow-intel 2.11.0 requires tensorboard<2.12,>=2.11, but you have tensorboard 2.13.0 which is incompatible.
audiocraft 0.0.2a2 requires hydra-core>=1.1, but you have hydra-core 1.0.7 which is incompatible.
Successfully installed Cython-0.29.36 Pillow-9.3.0 Werkzeug-2.3.6 absl-py-1.4.0 faiss-cpu-1.7.4 functorch-2.0.0 json5-0.9.14 librosa-0.9.2 llvmlite-0.39.0 matplotlib-inline-0.1.6 praat-parselmouth-0.4.3 protobuf-4.23.4 pyworld-0.3.3 resampy-0.4.2 rvc-beta-0.1.1 tensorboard-2.13.0 tensorboardX-2.6.1 torchcrepe-0.0.20 torchgen-0.0.1 tornado-6.3.2 traitlets-5.9.0 uvicorn-0.21.1

[notice] A new release of pip is available: 23.1.2 -> 23.2
[notice] To update, run: python.exe -m pip install --upgrade pip
Successfully installed RVC dependencies
Env file not found. Creating default env.
Config file not found. Creating default config.
Traceback (most recent call last):
  File "X:\tts_gen_webui\oobabooga_windows\installer_files\env\lib\site-packages\tensorboard\compat\__init__.py", line 42, in tf
    from tensorboard.compat import notf  # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (X:\Bark\one-click-installers-tts-6.0\tts_gen_webui\oobabooga_windows\installer_files\env\lib\site-packages\tensorboard\compat\__init__.py)

After I tried to run it "anyway":
Traceback (most recent call last):
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tensorboard\compat\__init__.py", line 42, in tf
    from tensorboard.compat import notf  # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (X:\tts_gen_webui\installer_files\env\lib\site-packages\tensorboard\compat\__init__.py)

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\transformers\utils\import_utils.py", line 1172, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "X:\tts_gen_webui\installer_files\env\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\transformers\models\gpt2\modeling_gpt2.py", line 38, in <module>
    from ...modeling_utils import PreTrainedModel, SequenceSummary
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\transformers\modeling_utils.py", line 84, in <module>
    from accelerate import __version__ as accelerate_version
  File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\accelerate\__init__.py", line 3, in <module>
    from .accelerator import Accelerator
  File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\accelerate\accelerator.py", line 37, in <module>
    from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
  File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\accelerate\tracking.py", line 42, in <module>
    from torch.utils import tensorboard
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\torch\utils\tensorboard\__init__.py", line 12, in <module>
    from .writer import FileWriter, SummaryWriter  # noqa: F401
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\torch\utils\tensorboard\writer.py", line 16, in <module>
    from ._embedding import (
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\torch\utils\tensorboard\_embedding.py", line 9, in <module>
    _HAS_GFILE_JOIN = hasattr(tf.io.gfile, "join")
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tensorboard\lazy.py", line 65, in __getattr__
    return getattr(load_once(self), attr_name)
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tensorboard\lazy.py", line 97, in wrapper
    cache[arg] = f(arg)
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tensorboard\lazy.py", line 50, in load_once
    module = load_fn()
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tensorboard\compat\__init__.py", line 45, in tf
    import tensorflow
  File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\__init__.py", line 37, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\python\__init__.py", line 37, in <module>
    from tensorflow.python.eager import context
  File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\python\eager\context.py", line 28, in <module>
    from tensorflow.core.framework import function_pb2
  File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\core\framework\function_pb2.py", line 16, in <module>
    from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
  File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\core\framework\attr_value_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
  File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\core\framework\tensor_pb2.py", line 16, in <module>
    from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
  File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\core\framework\resource_handle_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
  File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\core\framework\tensor_shape_pb2.py", line 36, in <module>
    _descriptor.FieldDescriptor(
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\google\protobuf\descriptor.py", line 561, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

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

Traceback (most recent call last):
  File "X:\tts_gen_webui\tts-generation-webui\server.py", line 40, in <module>
    from src.tortoise.generation_tab_tortoise import generation_tab_tortoise
  File "X:\tts_gen_webui\tts-generation-webui\src\tortoise\generation_tab_tortoise.py", line 7, in <module>
    from src.tortoise.gen_tortoise import (
  File "X:\tts_gen_webui\tts-generation-webui\src\tortoise\gen_tortoise.py", line 7, in <module>
    from tortoise.api import TextToSpeech, MODELS_DIR
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tortoise\api.py", line 14, in <module>
    from tortoise.models.autoregressive import UnifiedVoice
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tortoise\models\autoregressive.py", line 6, in <module>
    from transformers import GPT2Config, GPT2PreTrainedModel, LogitsProcessorList
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\transformers\utils\import_utils.py", line 1163, in __getattr__
    value = getattr(module, name)
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\transformers\utils\import_utils.py", line 1162, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "X:\tts_gen_webui\installer_files\env\lib\site-packages\transformers\utils\import_utils.py", line 1174, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import transformers.models.gpt2.modeling_gpt2 because of the following error (look up to see its traceback):
Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Oh no. Thanks for the report, I'll see if I can ping some downstream
projects. And my best suggestion at the moment would be to give WSL a try.
It might not work, but if it does it does.
On Wed, Jul 19, 2023, 11:43 PM Shiny @.***> wrote:

OS: Windows 11
GPU: GeForce 1650 (no Ti, anything like that)
Problem(s):
The very first error occured while installing the one-click-installer
package itself:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
open-clip-torch 2.7.0 requires protobuf==3.20.0, but you have protobuf 4.23.4 which is incompatible.
rembg 2.0.35 requires scikit-image>=0.19.3, but you have scikit-image 0.19.2 which is incompatible.
tensorflow-intel 2.11.0 requires protobuf<3.20,>=3.9.2, but you have protobuf 4.23.4 which is incompatible.
tensorflow-intel 2.11.0 requires tensorboard<2.12,>=2.11, but you have tensorboard 2.13.0 which is incompatible.
audiocraft 0.0.2a2 requires hydra-core>=1.1, but you have hydra-core 1.0.7 which is incompatible.
Successfully installed Cython-0.29.36 Pillow-9.3.0 Werkzeug-2.3.6 absl-py-1.4.0 faiss-cpu-1.7.4 functorch-2.0.0 json5-0.9.14 librosa-0.9.2 llvmlite-0.39.0 matplotlib-inline-0.1.6 praat-parselmouth-0.4.3 protobuf-4.23.4 pyworld-0.3.3 resampy-0.4.2 rvc-beta-0.1.1 tensorboard-2.13.0 tensorboardX-2.6.1 torchcrepe-0.0.20 torchgen-0.0.1 tornado-6.3.2 traitlets-5.9.0 uvicorn-0.21.1
[notice] A new release of pip is available: 23.1.2 -> 23.2
[notice] To update, run: python.exe -m pip install --upgrade pip
Successfully installed RVC dependencies
Env file not found. Creating default env.
Config file not found. Creating default config.
Traceback (most recent call last):
File "X:\tts_gen_webui\oobabooga_windows\installer_files\env\lib\site-packages\tensorboard\compat_init_.py", line 42, in tf
from tensorboard.compat import notf  # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (X:\Bark\one-click-installers-tts-6.0\tts_gen_webui\oobabooga_windows\installer_files\env\lib\site-packages\tensorboard\compat_init_.py)
After I tried to run it "anyway":
Traceback (most recent call last):
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tensorboard\compat_init_.py", line 42, in tf
from tensorboard.compat import notf  # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (X:\tts_gen_webui\installer_files\env\lib\site-packages\tensorboard\compat_init_.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\transformers\utils\import_utils.py", line 1172, in get_module
return importlib.import_module("." + module_name, self.name)
File "X:\tts_gen_webui\installer_files\env\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\transformers\models\gpt2\modeling_gpt2.py", line 38, in
from ...modeling_utils import PreTrainedModel, SequenceSummary
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\transformers\modeling_utils.py", line 84, in
from accelerate import version as accelerate_version
File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\accelerate_init.py", line 3, in
from .accelerator import Accelerator
File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\accelerate\accelerator.py", line 37, in
from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\accelerate\tracking.py", line 42, in
from torch.utils import tensorboard
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\torch\utils\tensorboard_init.py", line 12, in
from .writer import FileWriter, SummaryWriter  # noqa: F401
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\torch\utils\tensorboard\writer.py", line 16, in
from .embedding import (
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\torch\utils\tensorboard_embedding.py", line 9, in
HAS_GFILE_JOIN = hasattr(tf.io.gfile, "join")
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tensorboard\lazy.py", line 65, in getattr
return getattr(load_once(self), attr_name)
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tensorboard\lazy.py", line 97, in wrapper
cache[arg] = f(arg)
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tensorboard\lazy.py", line 50, in load_once
module = load_fn()
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tensorboard\compat_init.py", line 45, in tf
import tensorflow
File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow_init.py", line 37, in
from tensorflow.python.tools import module_util as module_util
File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\python_init.py", line 37, in
from tensorflow.python.eager import context
File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\python\eager\context.py", line 28, in
from tensorflow.core.framework import function_pb2
File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\core\framework\function_pb2.py", line 16, in
from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\core\framework\attr_value_pb2.py", line 16, in
from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\core\framework\tensor_pb2.py", line 16, in
from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\core\framework\resource_handle_pb2.py", line 16, in
from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
File "C:\Users\Shiny\AppData\Roaming\Python\Python310\site-packages\tensorflow\core\framework\tensor_shape_pb2.py", line 36, in
_descriptor.FieldDescriptor(
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\google\protobuf\descriptor.py", line 561, in new
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:

Downgrade the protobuf package to 3.20.x or lower.
Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "X:\tts_gen_webui\tts-generation-webui\server.py", line 40, in
from src.tortoise.generation_tab_tortoise import generation_tab_tortoise
File "X:\tts_gen_webui\tts-generation-webui\src\tortoise\generation_tab_tortoise.py", line 7, in
from src.tortoise.gen_tortoise import (
File "X:\tts_gen_webui\tts-generation-webui\src\tortoise\gen_tortoise.py", line 7, in
from tortoise.api import TextToSpeech, MODELS_DIR
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tortoise\api.py", line 14, in
from tortoise.models.autoregressive import UnifiedVoice
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\tortoise\models\autoregressive.py", line 6, in
from transformers import GPT2Config, GPT2PreTrainedModel, LogitsProcessorList
File "", line 1075, in _handle_fromlist
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\transformers\utils\import_utils.py", line 1163, in getattr
value = getattr(module, name)
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\transformers\utils\import_utils.py", line 1162, in getattr
module = self._get_module(self._class_to_module[name])
File "X:\tts_gen_webui\installer_files\env\lib\site-packages\transformers\utils\import_utils.py", line 1174, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.models.gpt2.modeling_gpt2 because of the following error (look up to see its traceback):
Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:

Downgrade the protobuf package to 3.20.x or lower.
Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/81, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXI2IBMYP6RQODYL5DDTXRBBGZANCNFSM6AAAAAA2QOVE4M
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

As for the pip complaining about dependencies, yes, that is the state of python. Python does not allow multiple versions to be installed at the same time, and packages are frequently unnecessarily specific with their "requirements".
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
open-clip-torch 2.7.0 requires protobuf==3.20.0, but you have protobuf 4.23.4 which is incompatible.
rembg 2.0.35 requires scikit-image>=0.19.3, but you have scikit-image 0.19.2 which is incompatible.
tensorflow-intel 2.11.0 requires protobuf<3.20,>=3.9.2, but you have protobuf 4.23.4 which is incompatible.
tensorflow-intel 2.11.0 requires tensorboard<2.12,>=2.11, but you have tensorboard 2.13.0 which is incompatible.
audiocraft 0.0.2a2 requires hydra-core>=1.1, but you have hydra-core 1.0.7 which is incompatible.
Successfully installed Cython-0.29.36 Pillow-9.3.0 Werkzeug-2.3.6 absl-py-1.4.0 faiss-cpu-1.7.4 functorch-2.0.0 json5-0.9.14 librosa-0.9.2 llvmlite-0.39.0 matplotlib-inline-0.1.6 praat-parselmouth-0.4.3 protobuf-4.23.4 pyworld-0.3.3 resampy-0.4.2 rvc-beta-0.1.1 tensorboard-2.13.0 tensorboardX-2.6.1 torchcrepe-0.0.20 torchgen-0.0.1 tornado-6.3.2 traitlets-5.9.0 uvicorn-0.21.1

Also I'm testing with a GTX1070 so a 16 series should be supported.

Hello @Incognitiv
I have spent 3 entire weeks trying to find a way to clone correclty voices and I still did not get good results, I am so tired of it. I am contacting you because I saw you had old comments under old issues, you haev probably found better ways since then? Could you save me from my misery and direct me towards a method, a repo, a tutorial or anything that helps get to the point where I can actually clone a voice thats looks similar to the cloned voice please?  Help my soul lol. Really.


stencil output target vue?

Does @nxext/stencil support Vue as output target?

oh alright, thanks for letting me know


[material-ui][TablePagination] TablePagination component throws You have provided an out-of-range value 4 for the select component. error if rowsPerPage isn't 10,

Steps to reproduce
Link to live example: (required)
Steps:

Setup the TablePagination Component
Set a rowsPerPageProp to any value that is not 10`, `25`, `50`, `100

Current behavior

Expected behavior
No error messages regardless of what the rowsPerPage prop is
Context
I would like the following warning to go away:

Your environment

package.json
```
    "@mui/base": "^5.0.0-beta.18",
    "@mui/icons-material": "^5.14.12",
    "@mui/lab": "^5.0.0-alpha.147",
    "@mui/material": "^5.15.17",
    "@mui/x-data-grid": "^6.16.1",
    "@mui/x-data-grid-pro": "^6.16.1",
    "@mui/x-date-pickers": "^6.16.1",
    "@mui/x-date-pickers-pro": "^6.16.1",
```

Search keywords: TablePagination, out-of-range value

Shortly after I created this issue I realized that you can pass [-1] to rowsPerPageOptions  and that will get rid of this warning. You guys can disregard!


Two new scenarios for GL entries and

Added two scenarios for BCPT:

Posting Purchase Invoice
Posting General Journal

@henrikfrovst

The following errors are thrown when the tests are built
...\Tests\BCPT-SampleTests\src\BCPTCPostPurchInv.Codeunit.al(52,9): error AA0021: Variable declarations should be ordered by type. Variables should be sorted like this: Record, Report, Codeunit, XmlPort, Page, Query, Notification, BigText, DateFormula, RecordId, RecordRef, FieldRef, and FilterPageBuilder. The rest of the variables are not sorted.
...\Tests\BCPT-SampleTests\src\BCPTCPostPurchInv.Codeunit.al(76,21): error AA0008: You must specify open and close parenthesis after 'SessionId'.
...\Tests\BCPT-SampleTests\src\BCPTPostGLEntries.Codeunit.al(131,24): error AA0008: You must specify open and close parenthesis after 'SessionId'.
...\Tests\BCPT-SampleTests\src\BCPTCPostPurchInv.Codeunit.al(108,9): error AA0008: You must specify open and close parenthesis after 'Init'.
...\Tests\BCPT-SampleTests\src\BCPTCPostPurchInv.Codeunit.al(116,38): error AA0008: You must specify open and close parenthesis after 'SelectRandomItem'.
...\Tests\BCPT-SampleTests\src\BCPTCPostPurchInv.Codeunit.al(106,9): error AA0137: Variable 'BCPTTestContext' is unused in 'CreatePurchaseLine'.
...\Tests\BCPT-SampleTests\src\BCPTCPostPurchInv.Codeunit.al(127,19): error AA0008: You must specify open and close parenthesis after 'SessionId'.

@Bertverbeek4PS The following errors are thrown when the tests are built
...\Tests\BCPT-SampleTests\src\BCPTCPostPurchInv.Codeunit.al(52,9): error AA0021: Variable declarations should be ordered by type. Variables should be sorted like this: Record, Report, Codeunit, XmlPort, Page, Query, Notification, BigText, DateFormula, RecordId, RecordRef, FieldRef, and FilterPageBuilder. The rest of the variables are not sorted. ...\Tests\BCPT-SampleTests\src\BCPTCPostPurchInv.Codeunit.al(76,21): error AA0008: You must specify open and close parenthesis after 'SessionId'. ...\Tests\BCPT-SampleTests\src\BCPTPostGLEntries.Codeunit.al(131,24): error AA0008: You must specify open and close parenthesis after 'SessionId'. ...\Tests\BCPT-SampleTests\src\BCPTCPostPurchInv.Codeunit.al(108,9): error AA0008: You must specify open and close parenthesis after 'Init'. ...\Tests\BCPT-SampleTests\src\BCPTCPostPurchInv.Codeunit.al(116,38): error AA0008: You must specify open and close parenthesis after 'SelectRandomItem'. ...\Tests\BCPT-SampleTests\src\BCPTCPostPurchInv.Codeunit.al(106,9): error AA0137: Variable 'BCPTTestContext' is unused in 'CreatePurchaseLine'. ...\Tests\BCPT-SampleTests\src\BCPTCPostPurchInv.Codeunit.al(127,19): error AA0008: You must specify open and close parenthesis after 'SessionId'.

 Have fixed the issues.
Sorry.

Changes have been merged and will be available in 23.0
@henrikfrovst, @JesperSchulz please approve and close the PR.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10814.


FoodDrink/SouthCarolinaBeerBrewies: River Rat closes doors December 30, 2023

[x] add footnote that River Rat is closing doors on December 30, 2023.
[x] add "Not So Free Times" of River Rat closing[^12]
[ ] December 31, 2023: Strike through River Rat

[^12]: River Rat to close brewery doors in Columbia after 10 years / Food News & Features / postandcourier.com

Reopen to close on 2023-12-31

Leave open until 2023-12-31

Leave open until 2023-12-31


The markdown '---'  can't transform to

Steps to reproduce the problem (provide example Markdown if applicable):
In markdown , we can use  '* * * ' ,  '___' and  '---' to generate dividing line . It seems that the commonmark only support  transform "* * * " and ' ___ '  to  ' hr ' label.
my markdown
---

Expected behavior:
transform to

expected HTML

Actual behavior:
empty
actual HTML
empty
(Also see what the reference implementation does: https://spec.commonmark.org/dingus/)

Hm no, --- is supported too, see the specification: https://spec.commonmark.org/0.30/#thematic-breaks
This test is green too:
    @Test
    public void thematicBreak() {
        assertRendering("---\n", "
\n");
    }

So that works. What is the text around --- in your case?

I wanted to add note to this old issue. Thematic break works if it's first line(like in test above) but not if it's somewhere in a middle and doesn't contain empty line before it.
Doesn't work:
hello
---
hello

Works:
hello

---
hello

Afaik, spec doesn't mention anything about empty lines around thematic break.


Polygon to rectangle bounding box

Hello,
I looked at your github profile and I realized that you have written several convert for Labelme to COCO. I know that we can generate oriented bounding box using polygon using labelme tool.
Do you know how to convert polygon bounding box to rectangle bounding box (you can find more information here:https://github.com/wkentaro/labelme/issues/542)? Do you have written any script for this type of converter?
Thanking you!

@chauhansaurabhb  did you find any solution for this problem?
i also want to convert the jsons from labelme to pascal voc.
Thanks in advance!


how to use Ag-Grid API function

Is there any way to run API function in the start?
I hope to use API function (here sizeColumnsToFit()) in the first page, but no success. The function itself works well, but it only works when it's connected to click event.
I added await grid.run_api('sizeColumnsToFit()', wp) in the main function, but it didn't work...
Here is my example.
import justpy as jp

grid_options = """
{
    rowSelection: 'multiple',
    defaultColDef: {
        filter: true,
        sortable: true,
        resizable: true,
        cellStyle: {textAlign: 'center'},
        headerClass: 'font-bold',
        sizeColumnsToFit: true
    },
      columnDefs: [
      {headerName: "Make", field: "make"},
      {headerName: "Model", field: "model"},
      {headerName: "Price", field: "price"}
    ],
      rowData: [
      {make: "Toyota", model: "Celica", price: 35000},
      {make: "Ford", model: "Mondeo", price: 32000},
      {make: "Porsche", model: "Boxter", price: 72000}
    ]
}
"""

def row_selected(self, msg):
    wp = msg.page
    if msg.selected:
        wp.selected_rows[msg.rowIndex] = msg.data
    else:
        wp.selected_rows.pop(msg.rowIndex)
    s = f'Selected rows {sorted(list(wp.selected_rows.keys()))}'
    for i in sorted(wp.selected_rows):
        s = f'{s}\n Row {i}  Data: {wp.selected_rows[i]}'
    if wp.selected_rows:
        wp.rows_div.text = s
    else:
        wp.rows_div.text = 'No row selected'

async def click_to_fit(self, msg):
    await self.grid.run_api('sizeColumnsToFit()', msg.page)

async def deselect_rows(self, msg):
    await self.grid.run_api('deselectAll()', msg.page)

async def grid_test():
    wp = jp.WebPage()
    wp.selected_rows = {}  # Dictionary holding selected rows
    grid = jp.AgGrid(a=wp, options=grid_options, style='height: 200px; width: 1500px; margin: 0.25em')
    grid.options.columnDefs[0].checkboxSelection = True
    grid.on('rowSelected', row_selected)
    wp.rows_div = jp.Pre(text='Data will go here when you select rows', classes='border text-lg', a=wp)
    btn_deselect = jp.Button(text='Deselect rows', classes=jp.Styles.button_simple+' m-2', a=wp, click=deselect_rows)
    btn_deselect.grid = grid
    btn_select_all = jp.Button(text='Column to Fit', classes=jp.Styles.button_simple+' m-2', a=wp, click=click_to_fit)
    btn_select_all.grid = grid
    await grid.run_api('sizeColumnsToFit()', wp)
    return wp

jp.justpy(grid_test)

Yes, you can use the page_ready page event and run the command there: https://justpy.io/tutorial/page_events/

Thanks, I'll try that!


doc and tests for "garbage" values in sparse matrices

Krzysztof said that the reason there's a redundant argument in the sparse matrix representations (z) is because of how Eigen handles so-called "garbage" values.

[ ] document how "garbage" values are used

[ ] add tests that match the doc to make sure they work as intended

If these are already there, could you just point out to me where?  I couldn't find them.

I believe pull request #174 fixed this. If it didn't, please reopen.


Inject components into translations

I'm wondering if I'm are the only one with this kind of needs.
On the current application I'm working on, it might be useful if we could use a component as value. For example:
render() {
 return I18n.t('key', { value: <Link onclick={() => } />}
}

In this example, Link returns a link with predefined set of props that we use everywhere.
@zoover, does something like this makes sense to add? If so, how would you suggest to do it?

Needing the same around here. Did you reach to a solution @pgom ?


Split out code-analysis into its own pipeline

Split out code analysis into its own pipeline.
Signed-off-by: Alan Jowett<EMAIL_ADDRESS>

No significant improvement in build time.


Guidelines for ibmcnxdev repositories

Thank you for requesting access to the IBM Connections Developers Organization (ibmcnxdev). Before we go ahead and fork your repository, we have some guidelines we'd like you to follow.

Use a meaningful name for your repository. Please avoid using "customizer" in the name if possible. Adhere to the github naming convention by using all lowercase letters with hyphens as separators. e.g "bluemix-weather-widget", "uniqueName-samples". You can rename your repository in the Settings tab - see Settings > Option > Repository Name > Rename

Please include a readme file explaining the repository contents and its intended purpose ... even if this is very brief and high level.

You can optionally include a licence. Ideally we hope your project will graduate to something that others would like to consume or maybe even help extend. If you add a license to your project we recommend the Apache License 2.0

Thanks,
Customizer team

Hi, Connections Customizer team. Thank you for your response.
I have changed name and gave brief description in README. Would you continue to process?

Thank you for updating the readme. Can I request you change the repository name to "mariko-samples" or something a bit more unique to you.
Thanks


Default Value

Hi,
Thanks for your excellent work on this useful plugin.
I would like ask, how i can implement or if is already possible:

the user needs to insert a date, but by default must be empty for starts.
The user wants to insert today's date, but we wants to have "shortcut" to avoid to insert all date. For example, he inserts "00", the plugin replaces automatically with today's date.

Is it possible to do it?
Thanks,
/pafcosta

@pafcosta ,
Read the readme and look for showmaskonhover, etc...
For inserting the current date hit


Option to search through ray logs/results

Currently there seems to be no option to press ctrl +f to search through the ray results.

We'll add this option in the coming weeks 👍


Adding HACBS basic sanity tests standalone task

Initial script for HACBS test team basic sanity tests check.

cc @dirgim

Maybe dropping the task from name of the file is good idea?
Agreed, it seems to align with the existing naming convention.

Also would like to create HACBS-test resource repo in app-studio org so we are getting policies from there.


Are only DoubleSide materials currently supported?

Are only DoubleSide materials currently supported?
I tried adding BackSide material to the model, which was rendered DoubleSide.

Right now models are assumed to be doubled sided since things like transmission will require information about face sidedness and front and back sides to behave correctly. It's possible for material sidedness to be taken into account but I expect that double sidedness will remain the default until other features are complete.
What's your use case only rendering the back side model? Can you share the model? I'm just curious.

Look
gltf.zip
You can try looking down from above and looking up from below.
In addition, directly replace the model in the demo project with this model, the material of the floor is not rendered?


fix: set max width for content

Tried to roughly match max width we have on serlo.org
Empty space will grow to the left/right making content centered when we have more space than max width.

Merging now so it is a little easier for me to have the changes in staging. But feel free to give me feedback still. :)


Crackling/stuttering on AirPlay devices

What version of Music Assistant has the issue?
2.2.3
What version of the Home Assistant Integration have you got installed?
No response
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
Anytime I play music to any of my three AirPlay devices (two Philips Soundrings and a Pioneer AVR) the music crackles/stutters quite often. I don't have this problem as often when playing the same music on the same devices via Logitech Media Server, but that has its own problems (tracks randomly skip and some stuttering does happen, but way way less).
How to reproduce
Play music to an AirPlay speaker I guess. It just always happens.
Music Providers
Spotify
Player Providers
AirPlay
Full log output
log.txt
Additional information
Just thought it's worth noting that this problem does occur when using LMS as well, just way less frequently. Maybe once or not at all a track in LMS as opposed to 10 to 20 times a track in MA. LMS also just randomly skips tracks and pauses or drops out for seconds at a time, whereas MA doesn't have a "don't stop the music" type thing for Spotify (as far as I could tell). It's been hard for me to find a perfect solution to replace my Chromecast-based whole home audio solution as that has been deteriorating for years now.
What version of Home Assistant Core are your running
2024.6.4
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Linux

If it happens with LMS as well then why do you think this is a MA problem?

Because it happens SIGNIFICANTLY more often in MA. Like I said, it happens every few seconds in MA as opposed to once every few tracks in LMS.

Are your players wired?

Nope, all WiFi. My network should be good enough to push it though. If that's the limitation though it would make sense to me.

MA streams FLAC so requires higher bandwidth than other applications so if you are having problems with LMS that will likely be exacerbated with MA.

I see. I just wired the one device I could (the receiver) to see if that gives any benefit. Doesn't seem to be so far, but we'll see.

Interestingly, I don't think the two Soundrings are having the crackling problem, it just seems to be the receiver. Any ideas why the receiver specifically would be crackly, but the other two (which are on WiFi) sound fine?

Have you changed the default volume normalisation settings on the player?

I just turned normalization off which did seem to help a bit, but maybe that was placebo. Would normalization introduce more or less crackling?

Only if you set it too high will it be a problem

Can you perhaps make a recording of the distortion so we could identify this a bit better ? There's a difference between disturbed sound due to some error in the sound chain or skipped frames due to network connectivity issues.
Also I would recommend playing a tiny bit with our fine grained settings for Airplay, most especially turn compression and/or encryption on/off (just play a bit with the setting combinations) as that MIGHT help on some devices.
MA and LMS under the hood use the exact same library for streaming to airplay devices (libraop) so a coindidence that the same issue exists on both is not that crazy.

Yeah I'll try to get something recorded. I did record some stuff earlier, but there were just droputs/stutters in it, no crackles surprisingly. Probably tomorrow, messed with all this a bit too much today.

Okay, got a recording where it happens a handful of times. It's actually not as bad this morning so maybe interference has something to do with it? The receiver is wired though so idk!
Anyway, here's the timecodes where you can hear the small crackles:
00:29
01:02
01:36
02:11
02:45 (most obvious)
03:54
And here's the recording: https://drive.google.com/file/d/12HKbvNT7J0t0cPvL4A7EP0Jaghxv6pOC/view?usp=sharing
And this is with compression and normalization turned off, but I didn't notice a big difference with those turned on (at least in the few songs I've been listening to this morning). I think I'd be willing to live with these small issues since the ones I have with LMS are more irritating (same occasional crackling just less, but often it will pause/dropout or just randomly skip songs in the middle of them).
Couple things I prefer about LMS that make me not want to switch to MA are the lack of "don't stop the music" and a way to easily tune the AirPlay volume commands. 100% volume sent via AirPlay is ridiculously loud on my receiver so in LMS I have 100% set to lower in the AirPlay bridge settings. I imagine I could fix this with a HA automation, but I can't get the MA integration to work (a problem I figured I'd solve if I could get the other kinks worked out).

Do you have other player providers to try?

I do have an issue that I would describe with the same words.
Yet mine is way worse than in Auram's sample.
The problem happen around 5-10 minutes after starting playing. Once the issue starts it get worse and worse until I hit pause. Pausing and restart playing right away do solve it for another 5-10 minutes.
My "Apple device" is a Shairport-Sync Linux system.
Before using MA I was using Synology Audio Station with that same Shairport-sync setup and I never got that issue in the last few years.

Here is a sound sample.
https://github.com/user-attachments/assets/06f8acfa-33e0-45c0-a8b1-d99f18b27c88

@OzGav This is not to be closed. Having to pause and unpause music every 5 minutes is very annoying. This only happens with MA.

@jpbaril You are hijacking this thread now as your issue is not the same as the OP. If you have a problem using shairport you can open a new issue.
@Auram Do you still have a problem you want followed up?

I stopped using MA a while ago so not really. The issue was not resolved when I stopped, but I no longer have a real personal stake in it.


New feature

The derivative of meso-2,6-diaminopimelc acid (ChEBI: 16488), 3-hydroxy-meso-2,6-diaminopimelic acid doesn't have any ID at the moment. It is also a constituent of the peptidoglycan in bacterial cell wall.
We would be glad if 3-hydroxy-meso-2,6-diaminopimelic acid included in ChEBI.
Please let me know if you encounter any difficulties with my request or have any questions.

Hi,
Do you know the stereo configuration (R/S) of the hydroxy group or is it unspecified.

Hello,
I'm sorry. I don't know the configuration. It was not in the paper i read.
Jessica Raasch
Am 22.08.19, 17:26, amalik01<EMAIL_ADDRESS>schrieb:
Hi,
Do you know the stereo configuration (R/S) of the hydroxy group or is it unspecified.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ebi-chebi/ChEBI/issues/3633?email_source=notifications\u0026email_token=AM7BZ52AS3NIAGXOOCVRDH3QF2VY5A5CNFSM4IOVQNTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD45OR3A#issuecomment-523954412",
"url": "https://github.com/ebi-chebi/ChEBI/issues/3633?email_source=notifications\u0026email_token=AM7BZ52AS3NIAGXOOCVRDH3QF2VY5A5CNFSM4IOVQNTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD45OR3A#issuecomment-523954412",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

A ChEBI entry has now been created (CHEBI:144634). It should be visible on the ChEBI website by tomorrow.


Update stellar-env-*

What
Update stellar-env-*.
Why
Keep it updated.

@sisuresh I might need your insight into what's happening with the failing build. I'm seeing this error:
error[E0599]: no method named `try_into_val` found for struct `soroban_env_common::env_val::EnvVal` in the current scope
  --> /Users/leighmcculloch/.cargo/git/checkouts/soroban-token-contract-5a786b24baaef2de/4a525ea/src/cryptography.rs:25:32
   |
25 |         parameters: parameters.try_into_val(e).unwrap(),
   |                                ^^^^^^^^^^^^ method not found in `soroban_env_common::env_val::EnvVal<Env, RawVal>`

When I update the soroban-token-contract, I see the same thing but the for the examples. It's almost like the examples and token contract repos have a cyclic dependency on each other?
error[E0277]: the trait bound `soroban_sdk::Vec<soroban_env_common::env_val::EnvVal<Env, RawVal>>: From<soroban_env_common::env_val::EnvVal<Env, RawVal>>` is not satisfied
  --> /Users/leighmcculloch/.cargo/git/checkouts/soroban-examples-05106bb550943bdf/6744474/authorization/src/cryptography.rs:42:32
   |
42 |         parameters: parameters.try_into().unwrap(),
   |                                ^^^^^^^^ the trait `From<soroban_env_common::env_val::EnvVal<Env, RawVal>>` is not implemented for `soroban_sdk::Vec<soroban_env_common::env_val::EnvVal<Env, RawVal>>`
   |

I'm going to close this because I'm not able to resolve it at this time. I assume this will be resolved by moving auth into the SDK.


Aborted (core dumped) when running "requirejs:builder" when building

I'm having trouble building the application from source code.
All I've done is clone the repository, run npm install and npm install –g grunt-cli and then run the grunt command. Here is a log:
$ grunt
Running "jshint:nls-en" (jshint) task
>> 2 files lint free.

Running "jshint:nls-all" (jshint) task
>> 74 files lint free.

Running "eslint:target" (eslint) task

/home/vince/github/storymap-cascade/src/app/storymaps/tpl/print/media/Text.jsx
  39:21  warning  Dangerous property 'dangerouslySetInnerHTML' found  react/no-danger
  43:35  warning  Dangerous property 'dangerouslySetInnerHTML' found  react/no-danger

/home/vince/github/storymap-cascade/src/app/storymaps/tpl/print/PrintViewReact.jsx
  258:20  warning  Dangerous property 'dangerouslySetInnerHTML' found  react/no-danger

✖ 3 problems (0 errors, 3 warnings)

Running "clean:build" (clean) task
>> 0 paths cleaned.

Running "clean:deploy" (clean) task
>> 0 paths cleaned.

Running "clean:jsapioptim" (clean) task
>> 0 paths cleaned.

Running "clean:fonts" (clean) task
>> 0 paths cleaned.

The solution is to delete package-lock.json and node_modules/ and run npm install again


add support for IOTA via MIOTA ticker

The IOTA ticker is often referred to as MIOTA. Here's an example from coinmarketcap.com's API:
{
  "id": "litecoin",
   "name": "Litecoin",
  "symbol": "LTC",
  "rank": "5",
  "price_usd": "306.361",
  "price_btc": "0.018413",
  "24h_volume_usd": "4001120000.0",
  "market_cap_usd": "16631360833.0",
  "available_supply": "54286808.0",
  "total_supply": "54286808.0",
  "max_supply": "84000000.0",
  "percent_change_1h": "-4.14",
  "percent_change_24h": "-6.62",
  "percent_change_7d": "203.22",
  "last_updated": "1513186141"
},
{
  "id": "iota",
  "name": "IOTA",
  "symbol": "MIOTA",
  "rank": "6",
  "price_usd": "4.1275",
  "price_btc": "0.00024755",
  "24h_volume_usd": "449244000.0",
  "market_cap_usd": "11472511243.0",
  "available_supply": "2779530283.0",
  "total_supply": "2779530283.0",
  "max_supply": "2779530283.0",
  "percent_change_1h": "-3.43",
  "percent_change_24h": "-9.58",
  "percent_change_7d": "-5.29",
  "last_updated": "1513185576"
}

I updated the CSS to support this ticker reference so both MIOTA and IOTA will work.

Sorry but this won't work. The CSS gets generated automatically, so you changes won't last. This would be solved by copying the IOTA.svg to MIOTA.svg and running Gulp to recompile the CSS and webfonts. However I don't feel like this is a good idea, having duplicate icons with different names.
After all, e.g. Bitcoin Cash doesn't have one ticker symbol as well, but we still have to settle with one (and not support all 4 or how many there are..).
So sorry, but this is "won't fix".

I see now yep, in src/. I think it'd be nice to find a solution for supporting the variations for some coins to simplify usability of this lib, but agree it's a pain that there's not an agreed upon standard.

If you come up with something, I'd love to hear it!


Package name rebrand

Proposing that we rebrand the package name to be cf-units, in light of the nc-time-axis rebrand.

Ping @pelson and @ocefpaf
If there is appetite for this, then we'd need to consider the timing relative to iris version 2.1...

Yep. Let's do it.

Please let's not delete old cf_units builds on conda-forge though - it means we can't re-install old versions easily and I consider it to be a negative step for reproducibility. Let people transition over to the cf-units name gradually.

BTW, in the nc_time_axis package case, it was not removed, only moved to another label. Those who need 100% reproducibility can upgrade conda and install nc_time_axis with the new feature to pin a package from a channel/label.

Unfortunately not everybody read release notes and watch GitHub 😒

Right, but we can push a new version of cf_units that simply raises an error. That way, existing build can remain (people can even pin to them), yet they get a pretty obvious error when they install cf_units anew (ImportError: cf_units has been renamed to cf-units. Please conda install cf-units instead.). Even better, we push Anaconda to actually allow "obsolete" type behaviour that you see in things like RPMs 😉.

I met a user with cf_units and cf-units in the same environment today. I'd be in favour of pushing the obviously broken version to conda-forge if this hasn't been done

Probably the best thing to do is to add an alias so those using cf_units will get the "new" cf-units too..


TEST: Add unit tests for Models module and refactor all unit tests

Coverage increased (+0.1%) to 35.595% when pulling 5b91f46325539c64273b64f7e7921ad3ad24c656 on caohhung:unittest-1 into 1180e10477416bcc2386da053605721a18656c98 on scattm:dev.

Great work! Thank Hung 😄

Coverage increased (+0.1%) to 35.595% when pulling 47b85772e9e0785378852eeb3471926fddcd8491 on caohhung:unittest-1 into 1180e10477416bcc2386da053605721a18656c98 on scattm:dev.


How to load secrets into teaclave and train a gbdt model

Hi,
After some effort, I got "Hello teaclave" message by running buitin_echo.py and mesapy_echo.py with HW mode! That is amazing! And I wanna go further. I'm going to train a gbdt model at my next step. Here, I meet my first question, which is how I can put my secret data files into teaclave. And I also need the my data encrypted before it is loaded into  gbdt model. BTW, do u guys have the docs about registering my own customized functions?

For now, you can see our end to end test for reference: https://github.com/apache/incubator-teaclave/blob/master/tests/functional/enclave/src/end_to_end/builtin_gbdt_train.rs.
More examples and docs will be updated in these days. Stay tuned.
Also, if you'd like to contribute, I'll be more than happy.

@mssun I've already finished the builtin-gbdt-train script, can I do a pull request and upload my code?

Great! Yes, you can submit a PR. Thank you so much.

#319 has been merged. Issue closed. Thanks!


start with different ram allocation

When trying to start with
mscs-server-command=-Xms$1024M -Xmx$3072M
it returns cannot get process id and does not start. Is my Syntax wrong ?

Get rid of the dollar signs

This might help https://github.com/MinecraftServerControl/mscs/blob/master/README.md#adjusting-world-properties
While you can alter the server command, if you are only changing the memory options it's easier to use mscs-initial-memory and mscs-maximum-memory
mscs-initial-memory=1024M
mscs-maximum-memory=3072M

@zanix has a better answer :)
Don't modify the server command unless you really need to. Instead use mscs-initial-memory and mscs-maximum-memory.
If you do need to modify it, here is the default version:
mscs-server-command=\$JAVA -Xms\$INITIAL_MEMORY -Xmx\$MAXIMUM_MEMORY -jar \$SERVER_LOCATION/\$SERVER_JAR \$SERVER_ARGS

A minimal edit for just the memory would be
mscs-server-command=\$JAVA -Xms1024M -Xmx3072M -jar \$SERVER_LOCATION/\$SERVER_JAR \$SERVER_ARGS

Hey thanks, I tried without the $ signs before, sorry I didn't mention that but it didn't work. @zanix's Solution works, thanks for the quick help. I didn't realize before that this option exists.


Client and server packs

Is it possible to have both client and server versions of one pack at the same time and released together for a new version ?

@Conquerix I haven't looked into it, but you could look into it if mc-publish supports it
Does this require different like upload locations? Like different pages etc. on Modrinth?

Actually I upload my pack to curse forge only (mainly because of the mod ms present). On there when uploading a client pack version, you can include other files, and people usually put the server versions there.
I'll look a bit more into mc-publish

I'll look a bit more into mc-publish

Thanks!
At least different upload locations on modrinth/curseforge is planned! :3

Ok so I looked into it a bit more, it seems that one can use files-primary and files-secondary to specify which files go where when uploading several of them
In this discussion it seems to be the case, although I don't really know what globs are, I get the idea.
With this it seems there need to be a way to distinguish easily between the server and client packs.
Maybe it would be worth looking at a setup with one repo for one modpack project, with one directory for the client and one for the server, instead of having one project per folder in the same repo.

Ok nevermind with the primary and secondary files they seem to be deprecated (see here)
I wonder what would happen if the files input had several files in it. Would it need a lot of work to change ?

Would it need a lot of work to change ?

Hmm, idk if there is something like
type: client type of stuff?
But yea, currently its handling the uploads on its own (via GitHub Actions matrices) so it would be bit of an pain to change

The type: client thing seems to be in preparation for their v4 yup.
I'll try and see in my project how to do it without the matrices, seems doable and I have some free time :D

Ok so I completely modified the pipeline on my repo to try without the matrices, basically it works.
If you put several files in the files field of mc-publish, it will publish the first one as the main file and the others as secondary files. It is fully working in my project.

Ok so I completely modified the pipeline on my repo to try without the matrices, basically it works. If you put several files in the files field of mc-publish, it will publish the first one as the main file and the others as secondary files. It is fully working in my project.

The problem with this, does it work with other "monorepo" style of uploads?
Like could It build like 3 different types of the pack e.g. quilt, fabric and forge like currently :3 ?

Ok so I completely modified the pipeline on my repo to try without the matrices, basically it works. If you put several files in the files field of mc-publish, it will publish the first one as the main file and the others as secondary files. It is fully working in my project.

The problem with this, does it work with other "monorepo" style of uploads?
Like could It build like 3 different types of the pack e.g. quilt, fabric and forge like currently :3 ?

What we could do is having a hybrid solution, for example, have each subdirectory of the git repo represent one pack, and in those there could be either the packwiz repo or 2 subdirectories client and server, each containing the corresponding packwiz repo of the same pack.
Btw,I've never seen a case where one pack has versions for different loaders without the versions being different projects, like Better MC

Ok so I completely modified the pipeline on my repo to try without the matrices, basically it works. If you put several files in the files field of mc-publish, it will publish the first one as the main file and the others as secondary files. It is fully working in my project.

The problem with this, does it work with other "monorepo" style of uploads?
Like could It build like 3 different types of the pack e.g. quilt, fabric and forge like currently :3 ?

What we could do is having a hybrid solution, for example, have each subdirectory of the git repo represent one pack, and in those there could be either the packwiz repo or 2 subdirectories client and server, each containing the corresponding packwiz repo of the same pack.
Btw,I've never seen a case where one pack has versions for different loaders without the versions being different projects, like Better MC

Currently, they are the same version because of #49


uv pip fails on BSD: Libc type could not be detected

Success to build of uv version 0.2.2 on OpenBSD current/amd64 with Rust version 1.78.0:
$ uv version
uv 0.2.2

$ rustc -vV
rustc 1.78.0 (15adfb9cd 2024-04-28) (built from a source tarball)
binary: rustc
commit-hash: 15adfb9cd5b029268e1470a41391d91859b0a1f8
commit-date: 2024-04-28
host: x86_64-unknown-openbsd
release: 1.78.0
LLVM version: 16.0.6

When I try to exec uv pip list command (or other pip commands), I have the following error:
$ uv pip list
error: Libc type could not be detected

After some analysis, this error seems to come from "Rewrite Python interpreter discovery" #3266. (release in version 0.2.0).
In crates/uv-interpreter/src/platform.rs file, function Libc::from_env, there is no case for BSD OD (freebsd, openbsd, netbsd), only for linux and windows | macos => Error::LibcNotDetected is returned for BSD OS.
I think this function sould return a new value Libc::BSD for BSD OS (specific libc version for this OS type, different from GNU libc).

OK, PR #3825 fixes this issue:

build of uv v0.2.3 on OpenBSD current/amd64 with Rust 1.78.0
uv pip <command> works as attended

$ uv pip list
Package                       Version
----------------------------- ---------
alabaster                     0.7.16
astroid                       3.1.0
attrs                         23.2.0
autopep8                      2.0.4
(...)

Thanks @konstin for your fix.

Thank you for checking back in!


Update readme to document rawdisk

@zchee readme update as requested for https://github.com/zchee/docker-machine-driver-xhyve/pull/169

@dalehamel Thanks! merged.

@zchee I won't open a new issue to ask a possible simple question but could you explain a bit more what using this feature implies ? It is said that there is a potential cost of data durability, what does that mean ? Can mounted volumes be affected/corrupted ? Or is it just about the containers inner volumes ?
Thanks in advance

@alafon since I added the support for this, I'll answer.
Basically, if you are running something where data integrity really matters (MySQL perhaps), then an unclean shutdown of the VM could result in some bytes being unwritten when using this driver.
Most likely though, since you're probably using this for development, this probably doesn't matter.
This is because the virtio-blk is much more "raw" than the ahci approach, which attempts to more closely mimic how an actual SCSI device would operate.
We use virtio-blk because it is faster and lower overhead, and we make sure everything is disposable anyways (this is kubernetes after all), so we don't really care if there are some edge cases where data could be corrupted.

Thanks for the answer, pretty clear :)


Draw scores in Detection boxes

Hello,
I have been checking out this library the last few days and it looks pretty good.
However, I had trouble drawing each detector's score in its boxes. The draw_boxes function allows you to draw the labels but not the scores.
I made a modifided version of that function that allow me to draw the scores, but I was wondering if there is an official way to do it or if It will be added in the future.
Thank you.

Hi @moooises There is no parameter to include the score when drawing but it should be a pretty easy thing to add, thanks for the suggestion!
Will flag this issue as a good first issue for someone trying to contribute to norfair

How do you feel about making the PR yourself @moooises? We are always open to contributors and since you already implemented some of it it would be easier. I can help you with the implementation/documentation or whatever you need

Yeah, I can try.
Tomorrow Friday I have work to do, but I can do it on Saturday or Sunday.

Hi @javiber,
I'm having some problems preparing the setup for the Contributing.
After installing pyenv, poetry and preparing every python version, I get an error when running poetry run tox, but only with Python 3.7.X , with the other versions I don't have any errors.
It says that the module named "rich" is not installed. I tried to install it manually, but it doesn't seems to work.
I'm using pyenv for windows.

Hi @javiber,
I'm having some problems preparing the setup for the Contributing.
After installing pyenv, poetry and preparing every python version, I get an error when running poetry run tox, but only with Python 3.7.X , with the other versions I don't have any errors.
It says that the module named "rich" is not installed. I tried to install it manually, but it doesn't seems to work.
I'm using pyenv for windows.

Hi @javiber,
I'm having some problems preparing the setup for the Contributing.
After installing pyenv, poetry and preparing every python version, I get an error when running poetry run tox, but only with Python 3.7.X , with the other versions I don't have any errors.
It says that the module named "rich" is not installed. I tried to install it manually, but it doesn't seems to work.
I'm using pyenv for windows.

That's weird, I'll look into it on Monday. For now just ignore that error, you should be able to develop normally when it the tests are failing

Couldn't reproduce the error you mentioned but as pointed out in our contributing guide you are encouraged not to run the tests locally and instead create the PR and let Github run the tests.


Update dataset-genomics-data-lake.md

@shubhirajMsft
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@shubhirajMsft
Can you review this old PR and determine whether it needs to be closed or merged?
@MicrosoftDocs/public-repo-pr-review-team

Thank you for contributing to this Azure documentation. Unfortunately, changes to Open Datasets content can't be accepted this week. The Skilling Content group is migrating this content to a new repository: azure-ai-docs.
In the meantime, we are closing this PR and tagging it so that when the content is available in the new repo, we can follow up with new location information.
#label:"migrate-followup"
#please-close

@mamtagiri We’re happy to share that contributions to machine-learning, ai-studio, ai-services, genomics, open-datasets, search are once again possible at azure-ai-docs. We appreciated your patience during this migration.
Find your article in the new repository and make the changes there (or copy/paste the raw markdown from your changed file) and open a new PR.
#remove-label:"migrate-followup"


[compnay plugin] need update

last updated at 2017.07.25

the company list has been updated in previous commits, now close the ticket.


Remove unused parameter from anonymous function

1. Why is this change necessary?
To remove an unused parameter.
2. What does this change do, exactly?
It removes an unused parameter from an anonymous function.
3. Describe each step to reproduce the issue or behaviour.
➖
4. Please link to the relevant issues (if any).
➖
5. Which documentation changes (if any) need to be made because of this PR?
➖
6. Checklist

[X] I have written tests and verified that they fail without my change
[X] I have squashed any insignificant commits
[X] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I have read the contribution requirements and fulfil them.

Hi @Crease29, thank you for your contribution! 🎉


[DO NOT MERGE] Test firmware compatibility of "delete attitude_fw"

https://github.com/PX4/ecl/pull/765

Thanks @kamilritz


Active/Inactive with thumbnails

I'm trying to put a zoom button on my easyzoom container to toggle the zoom effect, it's work, but the navigation on thumbnails doesn't work after trigger button.
`		var $easyzoom = $('.easyzoom').easyZoom( { 'loadingNotice':'Carregando', 'errorNotice':'Erro ao carregar' } );
var api1 = $easyzoom.filter('.easyzoom--with-thumbnails').data('easyZoom');
	$('.thumbnails').on('click', 'a', function(e) {
		var $this = $(this);
		e.preventDefault();
		api1.swap($this.data('standard'), $this.attr('href'));
	});

	$('#easyzoom-toggle').on('click', function() {
		var $this = $(this);
		if ($this.data("active") === true)
		{
			$this.html('').data("active", false);
			api1.teardown();
		}
		else
		{
			$this.html('').data("active", true);
			api1.teardown();
			api1._init();
		}
	});

The thumbnail lose the reference after click on zoom, any idea ?
Sample:
https://i.postimg.cc/1tB7drTd/screenshot-492.png

I fixed it, but I have another problem, when I active zoom by button, I need to trigger the event mouse move for 'invoke' the zoom after enabled it, but the component haven't any method for it, and the cursor stay above the zoom button, so I really don't have idea how fire it...


Added language icons on homepage

Added icons for main languages on the home screen using devicons.

Thanks, Mandar, but @Alone-Y154 has been working on this for a long time (#99), and that version looks somewhat better.
Thank you anyways, friend ✌


Enhance hook function returns

See #232
Maybe I went a bit overboard but I restructured the code generation a little bit to make it easier to work for me. I think it is best to review the commits in isolation as otherwise the changes to the generated code in the tests are rather confusing.

In commit 35f2be2c04053f344f926f2f670268ed08c41136 I removed some unneeded checks and changed the order of handling query documents, so it will match the order as defined in the svelte code.
In commit 867751f7df30e80081488772e6b73db38b7d5592 I took the liberty of (hopefully) improving the performance by not fetching sequentially but in parallel.
Commit 9ab933651d44eeab663e280c12c1e23ced60d003 is finally the meat of the PR and assigns hook results to variables, merges them if necessary and also merges props and stuff. I thought the other keys from LoadOutput can already be set by calling this.redirect() and this.error().

I use this currently in a sveltekit project and it works as expected, but I cannot say anything about sapper. The generated code is affected but I guess since convertKitPayload simply extracts props in the happy path everything should be alright.

Hey @fehnomenal, thanks for submitting this. Would you be willing to split up the PR into a few different ones so I can more easily track the changes? I would also like to keep the logic as close to the original version as possible since it has been vetted by many people.  I'm happy to see that multiple requests would happen in parallel but I'd like to review the load changes and the parallelism separately

Hey! I did as you requested and got rid of the first two commits. I also committed in babysteps so hopefully you can follow my process more easily :)

Thanks for trimming this down! These changes look good to me. Looking forward to seeing the PR that makes queries fire in parallel

I also appreciate that you tried to avoid any breaking changes by looking for props or stuff first. I think for the v1 release we can make hooks return all props under the props key so we can better reflect kit's API. will leave a note in the discussion


[FLINK-10291] Generate JobGraph with fixed/configurable JobID in StandaloneJobClusterEntrypoint

What is the purpose of the change
This pull request generate JobGraph with fixed JobID in StandaloneJobClusterEntrypoint
Brief change log

Generate JobGraph with fixed JobID in StandaloneJobClusterEntrypoint

Verifying this change
This change is already covered by existing tests, such as StandaloneJobClusterEntryPointTest#testJobGraphRetrieval , testSavepointRestoreSettings.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Please also rebase onto the latest master if possible.

@tillrohrmann I have refactored and rebased this PR. I found the original retrieveJobGraph  method in StandaloneJobClusterEntrypoint  has been moved into ClassPathJobGraphRetriever (introduced
in PR #6743 ). So I moved my changes into the ClassPathJobGraphRetriever#retrieveJobGraph. Hope it matches your expect.


[Postgress] Database Connection Breaking Change

Describe the bug
Since three days ago, my Cloud Run Serverpod instance has been working just fine. I updated the endpoints with a bug fix and pushed the change. Everything was still fine until a couple of hours later when my clients and users told me they couldn't log into the app. I must say, I was shocked.
Did I break something with the minor bug fix? Did someone hack my DB or Server? What was going on? After several hours of investigation and pushing different fixes, I realized I should have looked into the Cloud Run logs earlier (logs attached).
Serverpod couldn't connect to the database, so I restarted the Cloud SQL database and the Cloud Run server. It worked again for a couple of hours, and I got the same logs.
I'll be sure to spare you the details of what I did after that and for how long. After a night of sleep, I went into the git changes and suspected that maybe some transitive dependency was updated that was causing the issue, and I was right!
Postgress released a new version 3.4.3. At that time, I pushed a minor fix, which was the problem. Rolling back to version 3.4.0 did resolve it.
To Reproduce
Steps to reproduce the behavior:

Updated your serverpod pubspec.yaml and observer the change in the pubspec.lock. Postgres changed to version 3.4.3 (the latest version since 3 days ago).
Build your docker image and deploy it
Wait a few hours and get the logs (attached below) Internal server error. Failed to connect to database in future call manager. Bad state: StreamSink is closed
Serverpod can't connect to the database anymore

Expected behavior
Serverpod normally connects to the database.
Screenshots
It's not applicable, but here it goes.

Serverpod versions

Serverpod version: 2.1.1,  2.1.4 and 2.1.5 (checked on these)
Library version: (same as above)

Platform information
Which platforms do you experience the issue on? Please provide as much information here as you can. Where are you running the server? Which front-end device are you using?
Additional context
Adding a ^ for a framework is dangerous, as I pointed out a couple of months ago!
Cloud Run log:
Cloud Run Log.json

Thanks again for the detailed report!
Temp fix clarification
To clarify, as a temporary fix to this issue you simply pinned the postgres dependency to 3.4.0?
Additional questions

Do you get the same issue with 3.4.2 or 3.4.1? (This additional information would help us support the library maintaner to find the issue.)
Are these these errors only reported with stacktraces from the FutureCallManager? Since you mentioned that your users could not log in to the app I would assume the database connection is lost for the whole application. Hence, there might be stacktraces from other parts of the application?


S3 Bucket Without Restriction Of Public Bucket Security Query False Positive Result

Actual Behavior
S3 Bucket Without Restriction Of Public Bucket Security Query flagged a false positive in line 13, as by default, new buckets, access points and objects do not allow public access.
{
	"query_name": "S3 Bucket Without Restriction Of Public Bucket",
	"query_id": "1ec253ab-c220-4d63-b2de-5b40e0af9293",
	"query_url": "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_public_access_block",
	"severity": "HIGH",
	"platform": "Terraform",
	"cloud_provider": "AWS",
	"category": "Insecure Configurations",
	"description": "S3 bucket without restriction of public bucket",
	"description_id": "a6e86c32",
	"files": [
		{
			"file_name": "../../path/test.tf",
			"similarity_id": "3077235da4e24fdaa136c895be69213c27ccc60a3266001bbe440b07ac013f8d",
			"line": 13,
			"resource_type": "aws_s3_bucket_public_access_block",
			"resource_name": "example",
			"issue_type": "MissingAttribute",
			"search_key": "aws_s3_bucket_public_access_block[example].restrict_public_buckets",
			"search_line": 0,
			"search_value": "",
			"expected_value": "'restrict_public_buckets' is equal 'true'",
			"actual_value": "'restrict_public_buckets' is missing",
			"remediation": "restrict_public_buckets = true",
			"remediation_type": "addition"
		}
	]
},

Steps to Reproduce the Problem
(Command line arguments and flags used)
Run KICS Scan command
docker run -v /path/to/folder:/path checkmarx/kics:v1.6.1 scan -p /path/sample.tf
Sample to reproduce the Issue:
resource "aws_s3_bucket" "mybucket" {
  bucket = "mybucket"
  acl = "public"

  server_side_encryption_configuration {
    rule {
      apply_server_side_encryption_by_default {
      }
    }
  }
}

resource "aws_s3_bucket_public_access_block" "example" {
  bucket = aws_s3_bucket.example.id

  block_public_acls   = true
  block_public_policy = true
}

resource "aws_s3_bucket_policy" "b" {
  bucket = aws_s3_bucket.b.id

  policy = jsonencode({
    Version = "2012-10-17"
    Id      = "MYBUCKETPOLICY"
    Statement = [
      {
        Sid       = "IPAllow"
        Effect    = "Deny"
        Principal = "*"
        Action    = "s3:*"
        Resource = [
          aws_s3_bucket.b.arn,
          "${aws_s3_bucket.b.arn}/*",
        ]
        Condition = {
          IpAddress = {
            "aws:SourceIp" = "<IP_ADDRESS>/32"
          }
        }
      },
    ]
  })
}

After further reviewing the issue, as stated in the terraform documentation the default value for restrict_public_buckets is in fact defaulted to false. This means, the query is not flagging false positives and has the correct implementation.


Render method doesn't render translation of a page

Expected behavior
I am trying to render a page from CMS within a rails controller as described in the documentation.
Actual behavior
And I found out that the method render wont render the available translations of that page.
But if I call the page directly (without a rendering action in a controller, any translation can be correctly displayed).
Is this a known bug? Or did I miss something there?
My code
In my rails controller:
def about_us
render cms_page: '/about_blub'
end
And of course on my admin site I have a page about_blub.
Thanks in advance,
Hendry Iskandar

I think it's a bug. https://github.com/comfy/comfortable-mexican-sofa/blob/master/lib/comfortable_mexican_sofa/render_methods.rb#L63 is not selecting proper fragments. It needs to call page.translate!(locale) somewhere there.
Feel free to make a PR or I'll deal with this a bit later.

Thanks for the reply Oleg.
I think I would wait until it is fixed.
Let me know when the fix is done.
Have a nice day Sir!


[extensibility request] Table "Transfer Line" protected var TrackingBlocked

Object: Table 5741 "Transfer Line"
Please make variable TrackingBlocked as protected var.
Reason: We are making a change for one of our clients, whose reservations work very differently than in the standard.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 11640.


DeliveryOptimization/DOGroupIdSource

Option 5 (AAD) is missing from the description. From this reference: https://docs.microsoft.com/en-us/windows/deployment/update/waas-delivery-optimization#set-up-delivery-optimization
"Starting with Windows 10, version 1903, you can use the Azure Active Directory (AAD) Tenant ID as a means to define groups. To do this set the value for DOGroupIdSource to its new maximum value of 5."

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

ID: 06745768-affe-c86a-2da6-7bd694e847c9
Version Independent ID: e832ada1-5f0c-7809-b8a1-bb91cadb6975
Content: Policy CSP - DeliveryOptimization
Content Source: windows/client-management/mdm/policy-csp-deliveryoptimization.md
Product: w10
Technology: windows
GitHub Login: @ManikaDhiman
Microsoft Alias: dansimp

@officedocsbot assign @jvsam

Thank you for creating this issue (and #5287) @martinkupka.
Hi @ManikaDhiman, kindly confirm the update for the DOGroupIdSource policy. Thank you.

Starting with Windows 10, version 1903, you can use the Azure Active Directory (AAD) Tenant ID as a means to define groups. To do this set the value for DOGroupIdSource to its new maximum value of 5.

@officedocsbot assign @ManikaDhiman

Hi again @ManikaDhiman, if you have time, kindly look into the issue raised by the user. Thank you.

Hi @jvsam, thanks for the follow up. I have reached out to the product team to provide update on this. I will update the doc as soon as I hear from them. Thanks!

Thank you so much @ManikaDhiman!

Hi @jvsam, option 5 is now included in the DeliveryOptimization/DOGroupIdSource policy description. Updates are available in the live doc. Hope this helps. Thanks!

Hello @martinkupka thank you again for your feedback. We will now close this issue since it has been resolved and the documentation has been updated. Please continue to send your feedback and suggestions to help improve the quality of the technical documentation of Microsoft Docs.
Thank you @ManikaDhiman for your assistance!

@officedocsbot close


new zed lake: finish merge command

The new zed lake supports a merge operation that takes a set of tags, reads the commits/objects into a new commit, and outputs the new commit tag.
This task involves implementing the stub in cmd/zed/lake/merge.  It is very simple.  Just copy code from zed lake query and take stuff out.  It should take 15 minutes to code and a bit more time to write some tests.

lake/ztests/compact.yaml should be converted to zed lake merge

Note to self: When this gets implemented, update the Zed lake design doc to remove the reference to this being an open isssue.

This is subsumed by branches and merging...


{Packaging} Remove Fedora 36 build

Fedora 36 is also eol and the build task fails like https://github.com/Azure/azure-cli/pull/25974

Packaging


Avoid the deprecated queued_retry processor

The queued_retry processor was deprecated by https://github.com/open-telemetry/opentelemetry-collector/pull/1821.
The opentelemetry-collector chart is offering it as part of its default configuration (here and here in the pipeline.
The new, suggested, way (IIRC) is to use https://github.com/open-telemetry/opentelemetry-collector/tree/master/exporter/exporterhelper

Thanks for flagging @ferrarimarco, are you up for a PR?

As soon as the prometheus exporter fully migrate to exporterhelper :)


Unable to access website on Apple devices

Issue description:
I have an odd situation that I am looking for advice on.
I am on Primrose theme and this uses the Kirki plugin.
Last month users started telling me they could not access my site. Basically it wont load. No error comes up, it just won't load.
After a lot of investigation we have narrowed it down to only Apple Users. And then it depends on if they are using chrome or safari and also if they are with Telstra or not!!
I deactivated the Kirki plugin and they can access it again. However, this 'ruins' the layout of my site. Apparently there is a css file from that plugin that isn't loading
Does anyone have any idea what this could be??
My website is www.twinfo.com.au
Many thanks.
Naomi
Version used:
Version: <IP_ADDRESS>
Using theme_mods or options?
Code to reproduce the issue (config + field(s))

@NaomiDorland unfortunately Primrose is a premium theme I don't have access to.
Can you please try contacting the theme author for this issue? Kirki is just a framework that themes use to build their customizer options. From that point on it all depends on the theme's integration, what options they use and so on.
I would be happy to work with the theme developers on this issue, however without knowing what they do, how they do it, and the actual code they use in their theme, there's not much I can do to help here.
I'll close this ticket for now, but if there are any news from the theme developers please do let me know and I'll gladly reopen it.


[Chore]: Reduce complexity of controller Reconcile functions

Background
We now have a few instances of Code Climate warnings for breaching complexity thresholds in controller Reconcile functions. To continue getting warnings about excessive complexity, explore how we might refactor some of the common resource lifecycle code to minimize complexity outside of the business logic of the function and return to below the threshold.
Action to take
Explore some refactors to reduce complexity of Reconcile functions.
Impact
Reduce the complexity of the Reconcile functions below the configured threshold so we can catch excessive increases in complexity in the future.
Dev Notes
Consider:

Helper functions for resource lifecycle concerns like finalizers and owner refs
Helper functions for fetching related resources required for reconcile and subsequent error cases when those fetches fail

We have had a couple of rounds on controllers refactoring, e.g. introducing the PatchingReconciler, refactoring cforg/cfspace controllers, etc. Code climate currently does not report issues on controllers, therefore closing


Errors found in log file after fresh install (not causing problems with operation)

Checked the log file after a fresh install and found the attached error messages.
home-assistant_airtouch2plus_2024-03-09T23-50-00.log

It's a message that I don't have a spec for, there's at least 2. I've opened a separate issue here: https://github.com/nathanvdh/homeassistant-airtouch2plus/issues/4 but I won't address it myself. Please use the airtouch2plus repo in future.


Changes extracted from Quasar.

Current coverage is 74.75% (diff: 45.23%)

Merging #31 into master will decrease coverage by 3.16%

@@             master        #31   diff @@
==========================================
  Files            25         27     +2
  Lines           471        503    +32
  Methods         467        496    +29
  Messages          0          0
  Branches          3          6     +3
==========================================
+ Hits            367        376     +9
- Misses          104        127    +23
  Partials          0          0

Powered by Codecov. Last update cb7e556...ab138d1

Codecov seems to think there are some new uncovered lines in EnvT, but I couldn't actually load that page. Is it contributing anything at this point?

LGTM.

Yeah, I want to make the coverage pass before merging this. EnvT has a Show instance added, at least.

I am bad at writing tests.

 Not all of those tests were passing, it turns out. I commented out a couple of them and still improved overall coverage, so I guess that’s good.
I also extracted find from substitute (as discussed above), and added tests for that.

Hey, no fair making this “ready” before I even make it “in review” 😉
I added more commits. Thought about squashing some, but the failures are all about test coverage, so the tests that exist pass each step of the way.
Feel free to mark it ready (or even just merge it, using the new process) at this point.


Labeling images for HD5?

The code expects to be used on datasets already there based all in H5 files
We are able to create H5 datasets from pictures we want to train, but how do we include bounding boxes in those images?
In VOC and COCO is quite straightforward (XML and JSON files respectively), but with H5 we are at a loss :(
If someone could shed some light that´d be very appreciated

#8 and readme has some insights!
You can use voc format or txt files as well.
If you still have trouble, please tell uss!
You can either try voc or simple parsers for your dataset.
simple parsers are much easier, while you train your network as:
python train_rpn.py --network vgg16 -o simple -p ./dataset.txt
Simply provide a text file, with each line containing:
filepath,x1,y1,x2,y2,class_name
For example:
/data/imgs/img_001.jpg,837,346,981,456


Split try... catch to avoid whole record being marked as unreadable.

KeywordsDisplayNames (sometimes LevelDisplayNames) throws exceptions because of which the whole record is marked unreadable. By splitting try...catch, the issue can be fixed.

Merged changes.


[RFC] fs: Convert FCB to use sectors (not areas)

Prior to this commit: struct fcb contained a pointer to an array of struct flash_area.  Each entry in the array represented a flash sector that the fcb comprised.
After commit: struct fcb contains a pointer to an array of struct flash_sector, not struct flash_area.
Rationale: The FCB needs to know which sectors it occupies for its rotate operation.  However, the flash_area type is meant to represent a collection of sectors, not a single sector.  struct flash_area contains information that the fcb does not need (e.g., area ID and
device ID).  Furthermore, the flash_map API provides a means of converting a flash area ID to an array of sectors (flash_area_get_sectors()), but no way to convert to an array of areas.
I also squeezed a few flash_map nitpicks into this PR.

Codecov Report

Merging #5987 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #5987   +/-   ##
=======================================
  Coverage   52.51%   52.51%
=======================================
  Files         406      406
  Lines       39683    39683
  Branches     7715     7715
=======================================
  Hits        20839    20839
  Misses      15663    15663
  Partials     3181     3181

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f09bab9...44635a3. Read the comment docs.

@ccollins476ad Is Redy for using. All fcb tests passed. Shippable should pass as well.

need to fix checkpatch issues

flash power management future:
@ccollins476ad wrote:

The changes look good to me.  I just have one possible concern.  I noticed the flash area gets opened once in fcb_init() (via a call to flash_area_open()), and never gets closed.  For internal flash, this is not a problem, but I believe the expectation was that flash areas would be opened when accessed, and closed when the access is complete.
I guess there was a thought that keeping an external flash device open is problematic (perhaps for power usage reasons).
So I'm not sure if this is something that should be changed or not.  Like I said, it should work fine with internal flash.
Maybe it is best to keep your changes as is.  This seems like an issue that is best addressed when needed (if ever).

my answer to this:
so far calling flash_area_open each time only increasing the latency. flash_area_close dose nothing. Maybe it was an idea of power management basing on this, but so fare this add only unwanted latency. My proposition is to modify flash_map API instead: Add f. flash_area_get(int flash_area_id, flash_area **fap) - it will do what current flash_area_open' does so it will return proper flash_area pointer basing on flash_area_id.  Change 'int flash_area_open(int flash_area_id, flash_area **fap)' to 'int flash_area_open(flash_area *fap)' and limit its functionality to "flash power activation features" - so it will be empty for now. We will keep flash_area_close` as is - but we coment that it is dedicated to functionality of "flash power deactivation future".
@mbolivar - I need your opinion on this, I'm not sure what idea was behind flash_area_open/close API i mynewt.

^^ Will open an issue for this - this can be threaten as improvement.

@nvlisanpu thanks!

done

@mbolivar - I need your opinion on this, I'm not sure what idea was behind flash_area_open/close API i mynewt.

I've responded in the issue itself.


Number of houses does not seem to be correct when creating testing ground scenario from saved scenario

I created this scaled scenario containing 110 households and combined it with the 'Lochem topology' (Testing ground March 11, 2015 15:17).
The resulting testing ground contains 128 households for which technologies are specified:

This is because the testing ground defines 207 connections and importing a scenario from ETEngine, as it is today, will try to assign technologies fairly between all connections.
This will be resolved once this Trello card is complete.

This will be resolved once this Trello card is complete.

:+1:


Add confirm dialog for stop actions to avoid mis-operation.

Currently, user/admin might click on the "Stop" button by mistake when scrolling the job list or job detail page. As stop is not able to resume from the stop point, we'd better provide a confirm dialog to avoid mis-operation.
In the confirm dialog, we can also gather the reason why the user is stopping the job:
i.e.
For users, (1) Early stop; (2) Need to change the command or config; (3) etc.
For admin, (1) stop abnormal jobs; (2) release resource for higher priority jobs; (3) system maintance; etc.
Note: this change should not break downstream (NNI, VS Code Client) integration logic.

done.