[HIPIFY] hipify-clang misbehaves in the presence of preprocessor directives

Consider the following CUDA program:
__global__ void axpy_kernel(float a, float* x, float* y) {
    y[threadIdx.x] = a * x[threadIdx.x];
}

void axpy(float a, float* x, float* y) {
    axpy_kernel<<<1, 4>>> (a, x, y);
#ifdef SOME_MACRO
    axpy_kernel<<<1, 4>>> (a, x, y);
#endif
}

The result of hipifying this, if you don't pass -DSOME_MACRO is:
#include <hip/hip_runtime.h>
__global__ void axpy_kernel(float a, float* x, float* y) {
    y[hipThreadIdx_x] = a * x[hipThreadIdx_x];
}

void axpy(float a, float* x, float* y) {
    hipLaunchKernelGGL(axpy_kernel, dim3(1), dim3(4), 0, 0, a, x, y);
#ifdef SOME_MACRO
    axpy_kernel<<<1, 4>>> (a, x, y);
#endif

}

Respecting conditional macros isn't the right thing to do with this sort of mechanised refactoring - what you really want to do is walk the entire tree applying your refactor, regardless of preprocessor conditionals.
This is going to present a relatively nasty obstacle to people with complicated CUDA programs they want to translate...

Preprocessor is needed to expand macroses and hipify them also. The obstacle is known, we tried a few approaches, including search of all macro conditions and calling hipify-clang recurrently on the same source with setting an appropriate define, but it turned out very complicated with a real performance drop. Actually we need a bit strange with hipifyication: we need preprocessor and at the same time we need the source code untouched by preprocessor.

Preprocessor is needed to expand macroses and hipify them also.

Can you give an example of a situation when you need to have a macro expanded?
Why isn't it enough to just look at the source code, fix all the macro definitions, and move on? When do you need the preprocessed source?

Why isn't it enough to just look at the source code, fix all the macro definitions, and move on?

Preprocessor directives are not included in AST.

Can you give an example of a situation when you need to have a macro expanded?
When do you need the preprocessed source?

CUDA_8.0/CUDASamples/common/inc/helper_cuda.h:
#define checkCudaErrors(val)           check ( (val), #val, __FILE__, __LINE__ )

CUDA_8.0\include\driver_types.h:
#define cudaEventDisableTiming              0x02  /**< Event will not record timing data */

CUDA_8.0/CUDASamples/6_Advanced/concurrentKernels/concurrentKernels.cu:
#include <helper_cuda.h>
...
cudaEvent_t *kernelEvent;
kernelEvent = (cudaEvent_t *)malloc(nkernels * sizeof(cudaEvent_t));
for (int i = 0; i < nkernels; i++)
{
  checkCudaErrors(cudaEventCreateWithFlags(&(kernelEvent[i]), cudaEventDisableTiming));
}

So I've noticed that hipify is inlining some macros in a quite destructive way.
Consider:
// A handy macro for asserting that a CUDA API call succeeds.
#define CHECK(cmd) \
{\
    cudaError_t error = cmd;\
    if (error != cudaSuccess) { \
        fprintf(stderr, "error: '%s'(%d) at %s:%d\n", cudaGetErrorString(error), error,__FILE__, __LINE__); \
        exit(EXIT_FAILURE);\
    }\
}

void foo() {
    cudaDeviceProp props;

    // Get cuda device information, and crash if something fails.
    CHECK(cudaGetDeviceProperties(&props, 0));
}

hipify translates that into (comments mine, of course):
// A correctly hipified definition of the check macro. It now does the same error checking it
// did for CUDA, but for hip! :D
#define CHECK(cmd) \
{\
    hipError_t error = cmd;\
    if (error != hipSuccess) { \
        fprintf(stderr, "error: '%s'(%d) at %s:%d\n", hipGetErrorString(error), error,__FILE__, __LINE__); \
        exit(EXIT_FAILURE);\
    }\
}

void foo() {
    hipDeviceProp_t props;

    // What is this? This doesn't invoke the CHECK macro. This will silently discard any hip
    // error. `hipify` has changed the semantics, even though it correctly translated that macro.
    // `hipify` could've just left the CHECK() macro in place around the hipGetDeviceProperties
    // call and everything would've been perfect.
    hipGetErrorString(hipGetDeviceProperties(&props, 0));
}

Relatedly: it'd be nice if hipGetErrorString had the [[nodiscard]] attribute when compiling in C++17 mode - although I suspect you guys don't support C++17 yet.

Relatedly: it'd be nice if hipGetErrorString had the [[nodiscard]] attribute when compiling in C++17 mode - although I suspect you guys don't support C++17 yet.

Well, HIP is being built by HCC, which is based on ToT clang, which ver. is 5.0 for now; hipify-clang is being built also by clang, which ver. might be (with your changes) from 3.8 up to ToT 5.0. [[nodiscard]] attribute is supported by clang since 3.9. We can try it, I think it should work: 1. change option -std=c++11 to -std=c++17 in hipify-clang's cmake; 2. add [[nodiscard]] attribute to hipGetErrorString function in hcc_detail/hip_runtime_api.h and 3. build HIP with hipify-clang (by setting -DHIPIFY_CLANG_LLVM_DIR to cmake) from scratch.

Seems like a fine addition if we guard it appropriately (so it only gets used on C++17).   hip_runtime_api.h provides a C API so needs to be compileable with vanilla C compilers such as gcc.
From: Evgeny Mankov<EMAIL_ADDRESS>Sent: Wednesday, October 18, 2017 2:47 PM
To: ROCm-Developer-Tools/HIP<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [ROCm-Developer-Tools/HIP] [HIPIFY] hipify-clang misbehaves in the presence of preprocessor directives (#207)
Relatedly: it'd be nice if hipGetErrorString had the [[nodiscard]] attribute when compiling in C++17 mode - although I suspect you guys don't support C++17 yet.
Well, HIP is being built by HCC, which is based on ToT clang, which ver. is 5.0 for now; hipify-clang is being built also by clang, which ver. might be (with your changes) from 3.8 up to ToT 5.0. [[nodiscard]] attribute is supported by clang since 3.9. We can try it, I think it should work: 1. change option -std=c++11 to -std=c++17 in hipify-clang's cmake; 2. add [[nodiscard]] attribute to hipGetErrorString function in hcc_detail/hip_runtime_api.h and 3. build HIP with hipify-clang (by setting -DHIPIFY_CLANG_LLVM_DIR to cmake) from scratch.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ROCm-Developer-Tools/HIP/issues/207#issuecomment-337706905, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACYSAktrzwjAiHKr8XO-zQwYRkipgkMcks5stlWrgaJpZM4P6Upb.

Seems like a fine addition if we guard it appropriately (so it only gets used on C++17).   hip_runtime_api.h provides a C API so needs to be compileable with vanilla C compilers such as gcc.

A preprocessor check for the value of __cplusplus being >= 201703L seems like it should work on absolutely every compiler ever.

I've been able to resolve virtually all preprocessor-related hipify problems that aren't to do with conditional macros. By being careful about how you pick your SourceLocations, it's possible to cope with all but the most contrived use of macros in kernel launches (see testcases).
The idea here is to choose between reading from the expansion location or the spelling location depending on whether a preprocessor macro expansion sits astride the expansion location of the thing you want. If the target range contains macros, you can just copy it verbatim from the expansion location. If it is contained within another macro, and the borders of that macro do not align with the borders of the AST element you're trying to read, you have to inline it. Otherwise you can update it in the macro definition itself.
As for handling conditional macros properly, the best I've come up with so far is to move the work that's currently done with preprocessor callbacks into a Lexer-time FrontendAction. This allows you to run a lexer in raw mode and translate identifiers as they are being lexed. The practical effect of this is that it will correctly apply identifier rename transformations inside preprocessor-deleted blocks, but (of course) won't do anything that is done at the AST-level, such as kernel launches.

Hang on emankov: #235 fixed a bunch of problems relating to the preprocessor, but the example given in the original report still fails. Hipify is still unable to properly handle preprocessor-pruned code. I'm working on it locally, but we're not quite there yet. Review the testcases I added to see exactly which cases got fixed.
But we're closer :smile:

the example given in the original report

Which of them?

Which of them?

Both of the example cases from the original report still fail. As I explained in my pull request and commit messages, my work fixes handling of unconditional macros.
You can see examples of the sorts of situations that #235 fixed here:
https://github.com/ROCm-Developer-Tools/HIP/blob/094b2b9b0503c1e2935863a1d596d1045b71e7e4/tests/hipify-clang/axpy.cu#L44
and here:
https://github.com/ROCm-Developer-Tools/HIP/blob/094b2b9b0503c1e2935863a1d596d1045b71e7e4/tests/hipify-clang/axpy.cu#L12

Ok, I misunderstand, thanks.

@emankov I am closing this issue. Please reopen it in case we still need to address something.

For now, hipify handles all preprocessor interactions except true conditionals correctly.
ToDo: handle true conditionals as well.
Example:
__global__ void axpy_kernel(float a, float* x, float* y) {
    y[threadIdx.x] = a * x[threadIdx.x];
}

void axpy(float a, float* x, float* y) {
#ifdef SOME_MACRO
    axpy_kernel<<<1, 4>>> (a, y, x);
#else
    axpy_kernel<<<1, 4>>> (a, x, y);
#endif
}

Current hipification:
#include <hip/hip_runtime.h>
__global__ void axpy_kernel(float a, float* x, float* y) {
    y[threadIdx.x] = a * x[threadIdx.x];
}

void axpy(float a, float* x, float* y) {
#ifdef SOME_MACRO
    axpy_kernel<<<1, 4>>> (a, y, x);
#else
    hipLaunchKernelGGL(axpy_kernel, dim3(1), dim3(4), 0, 0, a, x, y);
#endif
}

The needed hipification:
#include <hip/hip_runtime.h>
__global__ void axpy_kernel(float a, float* x, float* y) {
    y[threadIdx.x] = a * x[threadIdx.x];
}

void axpy(float a, float* x, float* y) {
#ifdef SOME_MACRO
    hipLaunchKernelGGL(axpy_kernel, dim3(1), dim3(4), 0, 0, a, y, x);
#else
    hipLaunchKernelGGL(axpy_kernel, dim3(1), dim3(4), 0, 0, a, x, y);
#endif
}

Found a way to handle all preprocessor's conditional blocks, but it needs changes in clang. After the successful applying the changes in trunk clang, this issue will be eliminated, but the fix will be available only in the upcoming LLVM release. I hope the needed changes will be integrated into LLVM 10.0. Unfortunately, I didn't find a way to fix the issue without touching clang; going to send changes in clang on review next week after finishing testing.

Fixed by clang's D66597 and hipify's #1372.
The feature will be available in LLVM 10.0 or now in LLVM trunk.
[TODO] Add a callback in clang in order to decide on hipify-clang's side whether to skip the exact false conditional block or not. With this change, all the blocks are not skipped. Such callback will be useful for the following main cases:

conditional branches with multiplatform code;
variables redefinition in conditional branches.
other cases, which may lead to syntactical errors.
The idea is: if there is nothing to hipify in a false conditional block, then no need in skipping it - such block might be excluded.


automate nexus

This provides a new task, 'releaseNexusRepository' which will close, then release the staging repository on nexus (maven central).

Coverage remained the same at 39.572% when pulling 3879038d458a496518a84c35d49d52826b49ab27 on ek_automate_nexus into e302ade4e1e524f7dda05115ef7bd853e749e12f on master.

If you want to provide any feedback, please do - otherwise I will merge this later on today.
@psantos1113 @jrichardBD @stevebillings

Coverage decreased (-28.0%) to 11.594% when pulling 6bfdbc9bf4d4178e9c44f2604e273373e5a944ec on ek_automate_nexus into e302ade4e1e524f7dda05115ef7bd853e749e12f on master.


[5.1] Fix nil KVOChange oldValue/newValue for RawRepresentable types

This picks the changes of #20757 into the Swift 5.1 branch

Resolves SR-5872.

Closing until #20757 is merged.


Charms enters Error state when deployed on its own: lightkube.core.exceptions.LoadResourceError: No module named 'lightkube.resources.metacontroller_v1alpha1'

Bug Description
The resource -dispatcher charm enters an Error state when deployed on its own, with this error message from the debug logs:
lightkube.core.exceptions.LoadResourceError: No module named 'lightkube.resources.metacontroller_v1alpha1'. If using a CRD, ensure you define a generic resource.

The issue seems to be that some CRDs are missing that are usually applied with the metacontroller-operator charm.
To Reproduce

Get a fresh microk8s installation
Deploy the resource-dispatcher charm with juju deploy resource-dispatcher --trust
The charm should enter an Error state after some time

Environment
Charm channel: latest/stable
Juju: 3.4.5
Microk8s: 1.29
Relevant Log Output
unit-resource-dispatcher-0: 12:58:51 ERROR unit.resource-dispatcher/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/lightkube/codecs.py", line 37, in _load_model
    module = importlib.import_module(f'lightkube.resources.{version.lower()}')
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'lightkube.resources.metacontroller_v1alpha1'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./src/charm.py", line 296, in <module>
    main(ResourceDispatcherOperator)
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/ops/main.py", line 441, in main
    _emit_charm_event(charm, dispatcher.event_name)
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/ops/main.py", line 149, in _emit_charm_event
    event_to_emit.emit(*args, **kwargs)
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/ops/framework.py", line 344, in emit
    framework._emit(event)
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/ops/framework.py", line 841, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/ops/framework.py", line 930, in _reemit
    custom_handler(event)
  File "./src/charm.py", line 141, in _on_install
    self._deploy_k8s_resources()
  File "./src/charm.py", line 131, in _deploy_k8s_resources
    self.k8s_resource_handler.apply()
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/charmed_kubeflow_chisme/kubernetes/_kubernetes_resource_handler.py", line 324, in apply
    resources = self.render_manifests(force_recompute=False)
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/charmed_kubeflow_chisme/kubernetes/_kubernetes_resource_handler.py", line 272, in render_manifests
    self._manifests = codecs.load_all_yaml(
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/lightkube/codecs.py", line 105, in load_all_yaml
    return _flatten(yaml.safe_load_all(stream))
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/lightkube/codecs.py", line 98, in _flatten
    res = from_dict(obj)
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/lightkube/codecs.py", line 61, in from_dict
    model = _load_model(d['apiVersion'], d['kind'])
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/lightkube/codecs.py", line 40, in _load_model
    raise LoadResourceError(f"{e}. If using a CRD, ensure you define a generic resource.")
lightkube.core.exceptions.LoadResourceError: No module named 'lightkube.resources.metacontroller_v1alpha1'. If using a CRD, ensure you define a generic resource.
unit-resource-dispatcher-0: 12:58:51 ERROR juju.worker.uniter.operation hook "install" (via hook dispatching script: dispatch) failed: exit status 1

Additional Context
We should probably handle the CRD missing and put the charm into a Blocked state.

After discussing about this with the team:

We consider this a bug, and the charm should ideally stay in a Blocked state until the CRD is applied.
A simple fix would be to add an if statement checking for the CRD, and stay in a Blocked state if it isn't present.
As a better solution, we have decided adding a relation between resource-dispatcher and admission-webhook to track whether the CRD is applied.


update quick-filter-regex

The quick-filter-regex is case-insensitive, so "DIRECT" and "direct" are equivalent. As for "dns-out," it seems that sing-box no longer returns DNS connections in the API, so it might no longer be necessary?

homeproxy and fchomo still uses dns-out to hijack all inbound dns:53 connections, so we still need it, at least until mihomo also stops returning DNS connections in the API.

Oh i see


added anagram exercise

This looks fantastic @jsteinshouer !  Quick question, did you use the configlet CLI to generate the readme?  I need to add how to do that to the docs.

@bdw429s I created the readme manually. I wasn't aware of how to do it in the CLI. I could look into it if that would be helpful.

I've thought about trying to incorporate it into the task runner, but in order for it to pull any specifics in your hints.md, you'd need to have them in place already, so it really needs to be run after you've implemented the exercise.  I didn't include any infor for this in my screencast, mostly because I was trying to keep to the basics and I wasn't including readmes in the exercises so long as I was happy with the default.  However, after a discussion this week, I actually went back and generated readmes in all the exercises just to be consistent and because they get delivered to the user's hard drive when they checkout the exercise which is nice for them to read locally.
Generating them is pretty easy.  There's a little Go CLI called "configlet" that is made by the Excercism folk.
https://github.com/exercism/configlet
Configlet does several things including linting the exercises as part of the Travis build to ensure all the data is correct and it can even format your config files so they're consistent.  I've seriously considered remaking the readme generation bit as a task runner since it's really simple, but I haven't bothered.
Read the docs for it here.  It's the configlet generate command.
https://github.com/exercism/configlet#generate
You can run it for a single exercise or or all the exercises in a track.  It pulls the default readme from the problem-specifications repo and combines your hints.md if it exists and some other things.

Good to know. Thanks for the info. That would have caught my issue with duplicate entries in the config.json file if I had ran it prior to committing. I will look at the docs. I could take a crack at adding a task runner for generating the readme if you like.

Why don't you run the configlet generate to create the standard readme and I'll get this merged.
I'd be cool with rolling out own readme generation (as other tracks have done).  The Go template used is documented and actually you can see it here:
https://github.com/exercism/cfml/blob/master/config/exercise_readme.go.tmpl
It wouldn't be to hard to rewrite in CFML and we could make it run by default as part of the exercise scaffold and also make it a separate task running (like I did with the test generation) so it can be run again at the end of creating the exercise if the user has added custom stuff to the hints.md and wants it included.  If you take a whack at that, just send it over as another pull.  You're only one pull away from your free T-shirt!!
https://hacktoberfest.digitalocean.com/stats/jsteinshouer

I ran it to regenerate the readme file. I will attempt the task runner and send another pull if I get some time. Thanks for working with me on this.


listing a "folder" under container

How can I list files under a specific regex expression?
If not possible how can I at least get the names of just one level of name (e.g. if path is CONTAINER/top1/bottom, CONTAINER/top2/bottom I would like to get only top1 and top2 rather than listing all the blobs under the container).
I know I can give a prefix to list_blobs but than won't do for what I need above, wouldn't it?!

There is no support for regex expressions in blob listing. If you wanted to get top1 and top2 in the above example, you can make two listing requests -- one with prefix top1 and one with prefix top2. If you know there are no other top* or very few others, you can just use top and filter out any extras.

You can use the 'delimiter' parameter to restrict the results to just the level that you want.  See the test here, where resp.blobs contains the files, and resp.prefixes contains the folders: https://github.com/Azure/azure-storage-python/blob/master/tests/test_storage_blob.py#L1339

I didn't understand the question originally I think. :) If I'm understanding correctly now, Hugues has it right. Delimiter is the right way to go. I'll delete my original response.

Thanks guys. This is not exactly what I was looking for.  Separating the path from the prefix is just string processing post query. I have a container with hundreds of thousands of blobs. Let me please explain further; I want to list the top hierarchy without having to wait for a long query to return all the blobs. Then,  when a user selects a prefix,  I would like to query just the prefix below the selected one. CloudBerry has implemented something similar so I guess there is an API to do so.

I guess maybe we're not clear on what you want. From the original question it seems like delimiter does what you want -- it gives you back top1 and top2. It doesn't return all blobs. Could you provide an explicit example of what you want vs what delimiter does?

Assuming I have a structure like
folder/a/file.dat folder/b/file.dat
I am having a similar issue where
blob_service.list_blobs('container', 'folder/', delimiter='/').prefixes
it does not produce ['a', 'b'] for me

What does it produce? How many other blobs do you have in your container?

I figured it out, it creates a next_marker which I have call again and brings up a list of prefixes

Great! Closing this issue as resolved.

@AnkurDedania
how could you solve you problem? could you tell the detail? now, I have the same requirements that just want to list all the folders without blobs.

@steven123com
This is so long ago, but basing this from memory and not code. I used the next_marker to traverse and find a list of folders.

Hi @steven123com, please refer to this sample to list using a delimiter.

use walk_blobs function instead to list folders and to list blobs inside specific folder.
name_starts_with will be empty or None to list all folders in first call.
def walk_blobs(self, container_name, name_starts_with):
        returnObj = []
        # Instantiate a ContainerClient
        container_client = self.blob_service_client.get_container_client(
            container_name)
        for blob in container_client.walk_blobs(name_starts_with=name_starts_with):
            returnObj.append(blob)

        return returnObj

use walk_blobs function instead to list folders and to list blobs inside specific folder.
name_starts_with will be empty or None to list all folders in first call.
def walk_blobs(self, container_name, name_starts_with):
        returnObj = []
        # Instantiate a ContainerClient
        container_client = self.blob_service_client.get_container_client(
            container_name)
        for blob in container_client.walk_blobs(name_starts_with=name_starts_with):
            returnObj.append(blob)

        return returnObj


The fullscreen button is not reset when forcefully exiting fullscreen

The fullscreen button toggles between two states that should reflect what happens when clicking on it. A square for full-screen-mode and an inverted square for windowed-mode. I entered full-screen, but used chrome to exit it immediately without clicking the button. This event was not tracked and left the button in the wrong state (windowed-mode).

(Cool project BTW. Why don't you point out which parts you'd like to have reviewed the most.)

Thanks, i fixed the bug. In the process of thinking what to show for the review :)


Release 2019.01.25

Release is at https://github.com/googleapis/releasetool/releases/tag/releasetool-2019.01.25

The release build has started, the log can be viewed here. :sunflower:

The release build failed! Please investigate!

Release is at https://github.com/googleapis/releasetool/releases/tag/releasetool-2019.01.25

The release build has started, the log can be viewed here. :sunflower:

The release build failed! Please investigate!

Release is at https://github.com/googleapis/releasetool/releases/tag/releasetool-2019.01.25

The release build has started, the log can be viewed here. :sunflower:

The release build failed! Please investigate!


Fixing docs summaries

Hello deku. Just harmonizing and fixing the docs summaries. Have a good day.

I'm :+1: on this but I think @anthonyshort doesn't want to publish the getting started page just yet.

Yeah, the getting started page is for an older API. If someone wants to update it we could get this in sooner. Otherwise I'll get around to it some night this week :night_with_stars:


Errors in using geoview

After installing the geoview, and add the plugin in ckan.ini, when I run ckan, there are many errors. Such as:

except Exception, inst: ^ SyntaxError: invalid syntax
AttributeError: module 'xmlrpc' has no attribute 'DateTime'
nameError: name 'basestring' is not defined
ModuleNotFoundError: No module named 'xmlrpclib'
.......

Some errors can be solved by changing module names or parameters as in python 3. So I think these errors are caused by the python version. But there are still many errors. How can I solve all these errors?
I use python3.8, ckan2.9.
Thanks for any reply

If you installed the plugin by 'pip install ckanext-geoview' then you have 0.0.16 version, on GitHub is available a newer one: 0.0.17, which is more suitable for python3 and ckan2.9.

Apologies,I'll push 0.0.17 to pypi later

Thanks @wiosen and @amercader,
There is still v0.0.16 now,
Looking forward to the version 0.0.17

Apologies,I'll push 0.0.17 to pypi later


Spec Organization

Looking over the entire spec, are there improvements we can make to the structure for readability?
Here is the current outline (hyperlinks won't work):

Terminology
Versioning Scheme
Data and Metdata
Framing

Transport Protocol
Framing Protocol Usage
Framing Format

Operation

Frame Header Format
Stream Identifiers
Frame Types

Connection Establishment
Fragmentation and Reassembly
Stream Sequences and Lifetimes

Request Response
Fire and Forget
Request Stream
Request Channel

Flow Control

Reactive Stream Semantics
Lease Semantics
QoS and Prioritization

Handling the Unexpected
Resuming Operation

The RESUME and RESUME_OK frames are not under the "Frame Types" section, but under the "Resuming Operation" section. Should they be moved?  Should all of "Resuming Operation" just be a "Resuming" section underneath "Operation"?
What does "Operation" specifically mean such that "Frame Types" is under it? Interpreting "Operation" to mean "how it operates" I would expect things like "Connection Establishment", but not the 3 things that are under "Operation" currently. In other words, what is different about "Framing" and "Operation" that puts "Frame Types" underneath "Operation"?

"Resuming" is an optional part of the spec. To keep that distinct, it would be good to keep it a separate section.
"Operation" is probably poorly named. Those sections should probably be under "Framing".

Makes sense, I'll re-organize the framing/operation piece a little.

I simply removed the 'Operation' header and that made it flow far better. Left everything else as is for now.


updated beta description

Hi Jamie,
Thanks for making this change.  It looks fine to me.  Do I just add a
comment to say that, or do I need to do something else to say I've reviewed
it?
Thanks, Rachel
On 23 May 2017 at 13:32, Jamie Atkinson<EMAIL_ADDRESS>wrote:

@Jamie-Atkinson https://github.com/jamie-atkinson requested your review
on: openregister/registry-data#95
https://github.com/openregister/registry-data/pull/95 updated beta
description.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openregister/registry-data/pull/95#event-1093558879,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXaA9TflCne86LmnU_iEcG7byneL9_Tvks5r8tH0gaJpZM4NjnhY
.

--
Rachel Sutherden
Senior Business Analyst
07827 880 886
Register Design Authority https://registers.cloudapps.digital/
Government Digital Service
https://www.gov.uk/government/organisations/government-digital-service
6th Floor Aviation House
125 Kingsway
London WC2B 6NH


Add support for msbuild.exe /restore option

Recently the /restore option was added to msbuild.exe to ensure the Restore target is invoked before any other target. This behaviour is required for new style CSPROJ files to ensure the necessary files, such as project.assets.json, are generated before the Build target is invoked. See https://github.com/Microsoft/msbuild/pull/2414 for more details.
Normally NuGet restore would take care of this as well or dotnet CLI (dotnet build) but if you use an alternate NuGet client such as Paket the Restore target must still be invoked to generate these files.
The current work around for this would be:

msBuildSettings.ArgumentCustomization = args =>
args.Append("/consoleloggerparameters:ForceConsoleColor")

There is no option to add the "/restore" directly from the MSBuildSettings class.

Fixed by  #2050


Possible Feature to be added

So I was looking at Ultra Permissions mainly bc they have an easy to use in-game GUI that server owners can use. Very intuitive. I was wondering if we could something very, very, very similar to that. I have been using the LP editor however the in-game GUI seems a bit better especially for server owner beginners like myself.
Im having to stick with this plugin mainly because GriefDefender uses Contexts that LP has... also it was highly recommended to me because its so much more lite weight and server friendly.

An ingame GUI comes with some limitations like you're restricted to 54 Slots in total and you can only use items that are available in MC. Also, does it add a version-dependent part that makes it difficult to support versions below 1.13 or above it due to Item name changes before/after 1.13
A web editor has much more options, can easily be expanded and improved and you aren't limited by what Minecraft (or Spigot) offers.
If you still want to use an ingame GUI, then you can find a plugin called LuckPerms in GUI that adds exactly what you want.
Note however that we do not provide support for this plugin on the LP Discord.
This suggestion was brought up a lot and Luck gave similar/the same reasons each time why it won't be added.


Explore different binary encoding/decoding designs

At the time of this writing, binary encoding/decoding of test messages with different numbers/types of fields is quite a bit slower than bridging to messages generated in Objective-C—about 10–25x slower under some tests.
The use of the visitor pattern in binary coding may be a significant bottleneck here; the Swift compiler may have difficulty optimizing it due to the large amount of indirection through various protocols.
Since binary coding ought to be as fast as possible, it would be prudent to explore other techniques that perhaps use more imperative/sequential operations with less generality, even if it means generating larger methods to read from/write to binary data. The visitor pattern could still be used for things like text/JSON serialization, where the string processing is likely to dominate the cost of the visitor indirection anyway.

I wonder if making the specific visitor type in ProtobufTraversable a generic would led the compiler to generate specializations of the traversal for that specific visitor. That would be the ideal solution in C++, but I'm not so familiar with Swift generics to tell for sure.
I do notice that ProtobufVisitor already defines the specific visited message as a generic (in visitSingularMessageField<M: ProtobufMessage>(value: M, ...), which would be the other half of the solution.

@allevato do you happen to have automated benchmarks against ObjC protos that could be added to this repo? They would make for a good test of changes in the codec.

@jcanizales I'm hoping to port the harness that I merged in here to Objective-C so that we have a way to easily get comparative metrics, and check it into a personal fork of google/protobuf (so that it doesn't clutter up the official repo, but it's still publicly accessible).
On the broader topic, #43 adds some significant performance improvements that should bring the Swift implementation a lot closer to Objective-C. How much closer still hasn't been measured yet, but it makes me a bit more hopeful than I was originally that we could keep the visitor pattern for binary serialization too. This would be nice because it's less code to generate, and has some nice benefits w.r.t. keeping runtime implementation details internal.

@tbkka are you taking this as part of your perf work?
@allevato was there more we're wanting to do here?
Just wondering if we're close to closing this out and doing more detailed issues for future work.

This is probably obsolete now. It was borne out of my fear that the indirection of the visitor pattern would be a performance bottleneck for the binary case, but it sounds like @tbkka has been getting some good numbers out of his recent PRs.

Ok, closing out.

Actually... this is the perfect explanation for my current WIP, which is exploring a couple of (conceptually) small tweaks to the decoder design.

PR #243 should cover this for the decoder side.
I plan to start digging into the encoder/visitor performance next.

Recent PRs overhauled the encoder/visitor architecture to address API-level performance issues.


Resolve bug in Testcase testRequestLargePostHelloWorldSecure

The problem is that data is being buffered at the SSL level when it is read in from the socket. However, we rely on DispatchIO to figure out how much there is to be read.
Specifically, let's say DispatchIO says there is x bytes to read from the socket.
On SecureTransport:
SSL first checks to see if it has anything in its buffer to return to us. If yes it returns what it has in its buffer.
If it doesn't have anything in its buffer, SSLRead first implicitly calls SSLReadCallback to read the header size of the incoming SSL record
SSLRead will then read the SSL record
SSLRead will decrypt the SSLrecord and store the decrypted data internally
SSLRead will return x bytes that were requested.
The problem in this test case is that we are using DispatchIO to see if there is something to be read in and then we artificially change the block we read by the socket to showcase when it takes a while for the socket to receive data.
In a non-secure case, there is no buffering done, so when we only read x bytes from the socket, the rest of the data still remain on the socket and DispatchIO will call read again.
In the secure case, because of the buffering, DispatchIO only knows when there is data on the socket, not when there is data in the buffer.

These seem to do the trick:
ssl_pending for OpenSSL - check for readable bytes buffered in an SSL object
SSLGetBufferedReadSize for SecureTransport - Determines how much data is available to be read.

add new API to ServerSecurity

done.


How to make a .mind on the spot by camera and use it directly

I took a photo, converted it into a DataList, and got the exportedBuffer and blob objects.
const dataList = await compiler.compileImageTargets([img], (progress) => {});
const exportedBuffer = await compiler.exportData();
const blob = new Blob([exportedBuffer]);

Then how can I replace the imageTargetSrc attribute inside mindar-image in the a-sence tag?
<a-scene id="example-scene" mindar-image="imageTargetSrc: ./targets2.mind; autoStart: false;"
    vr-mode-ui="enabled: false" device-orientation-permission-ui="enabled: true">
    <a-camera id="example-camera" position="0 0 0" look-controls="enabled: false"
        cursor="fuse: false; rayOrigin: mouse;" raycaster="far: ${customFields.libVersion}; objects: .clickable">
    </a-camera>
    <a-entity mindar-image-target="targetIndex: 0">
        <a-plane id="example-plane" class="clickable" color="blue" opacity="0" opaciy="0.5" position="0 0 0"
            height="1" width="1" rotation="0 0 0" zindex="10000"></a-plane>
        <a-plane id="example-plane2" class="clickable" color="red" opaciy="0.5" position="-0.5 0.5 0" height="0.1"
            width="0.1" rotation="0 0 0"></a-plane>
    </a-entity>
</a-scene>

I tried the following methods and modified this attribute, but the .mind modification did not take effect, and the .mind before modification will still prevail.
console.log(document.getElementById('example-scene').getAttribute('mindar-image'));
document.getElementById('example-scene').setAttribute('mindar-image', {
    imageTargetSrc: blob
})
console.log(document.getElementById('example-scene').getAttribute('mindar-image'));

In that case, you have to initialize the a-scene after you generate the .mind file. You might need to go deeper into the aframe lifecycle.

In that case, you have to initialize the a-scene after you generate the .mind file. You might need to go deeper into the aframe lifecycle.

Thank you!


Get Lyric api

get the second api lyric @MikeNguyen1092

Not doing this anymore. getting artist info instead


Feat: Making the Contact Us Form Work

Describe the feature
Currently the Contact Us Form Doesnt Work,The data entered doesnt get stored anywhere.
Since We have setup mongodb for the website now,we can integrate the contact form with mongodb so that the data entered in the contact form gets stored in mongodb.
Benefits:
The Owner gets the responses from the contact form in his mongodb atlas account,from where he can then send mails to the user regarding his contact form.
Suppose I want to give feedback about the website,i go to contact form type in my details and in comments i type in my feedback message,if the data is stored in mongodb,the owner can see the form data,and contact me back.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I'm a VSoC'24 contributor
[X] I want to work on this issue

@shreyash3087 you are assigned


WebUI error

Intermediate results show as "FINAL" result.

Error when showing the comparison of the parameters.

Short summary about the issue/question:
Brief what process you are following:

How to reproduce it:

nni Environment:

nni version:
nni mode(local|pai|remote):
OS:
python version:
is conda or virtualenv used?:
is running in docker?:

need to update document(yes/no):
Anything else we need to know:

Could you please share the experiment parameters which is downloadable at the upper-right corner on WebUI?

Of course.
The parameter as following:

Json format is:
[
"{"parameter_id":0,"parameter_source":"algorithm","parameters":{"batch_size":128,"hidden_size":1024,"gamma":0.95,"policy_lr":0.0008350295839947315,"value_lr":0.0013780050113098535,"discrete_log_prob_scale":2.7489078010190826,"action_std":0.1334962415791382,"soft_tau":0.0021531543793422135},"parameter_index":0}"
]

I mean the whole dict including results, like:
{
            "id": "Fr3SU",
            "status": "SUCCEEDED",
            "hyperParameters": [
                "..."
            ],
            "logPath": "file://localhost:/xxx",
            "startTime":<PHONE_NUMBER>416,
            "sequenceId": 894,
            "endTime":<PHONE_NUMBER>617,
            "finalMetricData": [
                {
                    "timestamp":<PHONE_NUMBER>582,
                    "trialJobId": "Fr3SU",
                    "parameterId": "894",
                    "type": "FINAL",
                    "sequence": 0,
                    "data": "???"
                }
            ],
            "intermediate": [
                {
                    "timestamp":<PHONE_NUMBER>451,
                    "trialJobId": "Fr3SU",
                    "parameterId": "894",
                    "type": "PERIODICAL",
                    "sequence": 0,
                    "data": "???"
                },
                {
                    "timestamp":<PHONE_NUMBER>406,
                    "trialJobId": "Fr3SU",
                    "parameterId": "894",
                    "type": "PERIODICAL",
                    "sequence": 1,
                    "data": "???"
                },
                {
                    "timestamp":<PHONE_NUMBER>582,
                    "trialJobId": "Fr3SU",
                    "parameterId": "894",
                    "type": "FINAL",
                    "sequence": 0,
                    "data": "???"
                }
            ]
        }

You could find the experiment parameters in upper link.

The issue hasn't been active for two months. Does this problem still exist?


Update people.json

Updated my Company and Bio after moving to Isovalent.

Could you escape the double-quotes in your bio with a \ to get the json to validate please?

Sure, sorry about that, didn't realise it wouldn't work!

Looks good, thanks :)


Duplication bug using Altar of Infusion

Description (Required)
After placing items in the Altar of Infusion, I break it and they fall around like they should. But if I place the fallen altar in the same place, the same items are again inside and fall again when broken, which can duplicate infinite items. See video here: https://youtu.be/ADa6WEE4cSs
Steps to reproduce the Issue (Required)

Set up an altar
Place objects inside
Break the altar
Place the altar in exactly the same place
Break the altar

Expected behavior (Required)
When broken and placed again, the altar should be empty.
Server Log / Error Report
No errors in console
Environment (Required)

Minecraft Version: git-Paper-125 (MC: 1.19.2)
CS-CoreLib Version: Not installed
Slimefun Version: DEV - 1039 (git 3ae41d59)
Plugin Version: AlchimiaVitae vDEV - 24 (git 6950e5d2)

Cannot reproduce. Are you reloading your server?

if you fill all the slots on the crafting side of any machine in the addon and then break it the items will drop but if you place the machine back down the items will still be saved if its in the same spot so you can keep breaking and placing it to dupe those items as much as you want (from my tests it only works if all 9 slots are filled on the crafting side)

Still failing to reproduce this. I tried filling up all the crafting and output slots on all 3 crafting altars and none of them duplicated items when breaking and replacing them on the same block.
My /sf versions and /plugins:

https://github.com/Apeiros-46B/AlchimiaVitae/assets/61390942/656a9e0e-a6e3-4935-86b5-2443022827c1
However, I have managed to duplicate items by placing them in an altar, reloading the server (/reload confirm), and then breaking and replacing the altar after the reload completes. Are you reloading the server or using something like PlugMan to reload Slimefun or Alchimia? If so, that might be the cause of the issue (and I can't do much about it if that's the case).


Showing Recent Messages Print: Entry, ":objects:=Array", Does Not Exist

Hello,We have successfully integrated the script and applied it in CI.But I found some error messages.
I can get the correct path but the next thing may not match what the script wants.
Showing Error Messages:
ROOT_OBJECT is 56924D8B1A885ED20049D8FC
TARGET is 56924D921A885ED20049D8FC
BUILD_CONFIGURATION_LIST is 56924DB61A885ED20049D8FC
BUILD_CONFIGURATIONS is =Array {
56924DB71A885ED20049D8FC
56924DB81A885ED20049D8FC
}
Print: Entry, ":objects:=Array", Does Not Exist
Print: Entry, ":objects:{", Does Not Exist
ASSETCATALOG_COMPILER_APPICON_NAME=AppIcon-Debug
Print: Entry, ":objects:}", Does Not Exist

咦!   @HDB-Li  原来是大佬你的库啊

🤣  I know it , When I get an Array or Dictionary from project.pbxproj, PlistBuddy will return some extra content.
Such as if I want get buildConfigurations in Dictionary, Usually I think he's going to return an array which content is [ "C4C640D92135831000FE6554","C4C640DA2135831000FE6554"], but in fact he returned an array like this ["=Array","{","C4C640D92135831000FE6554","C4C640DA2135831000FE6554","}"].

** I guess I wrote the wrong shell language, but I don't know how to write it. Fortunately, it doesn't affect my use. **

thks,It does not affect the results of the script.   I have a suggestion , you can change the command to execute the script:
chmod -R 777 $SRCROOT/LLIconVersioning.sh && $SRCROOT/LLIconVersioning.sh
Because script permissions issues may occur.

I have already set chmod 777 in this file. It doesn't work?

emmmm?  I didn't see it in the script description.

I have set the file permissions to be 777, and this setting property will remain in LLIconVersioning.sh, so I think you should not be using the chmod -R 777 again.

👌


Run actions command hangs on string "Using the default number of Sanic workers (1)."

Rasa version: 1.10.1
Rasa SDK version (if used & relevant): 1.10.1
Rasa X version (if used & relevant):
Python version: 3.7.7
Operating system (windows, osx, ...): Win Server 2016 Standart
Issue: I'm trying to start actions server and to try my bot. Execute:
rasa run actions --debug
wait 3 hours and get:

after fixing format, saving project and trying to run server agan, get only:

it hang 4 hours ago and still do not unfreezes.
Error (including full traceback):

Command or request that led to error:
rasa run actions
Content of configuration file (config.yml) (if relevant):

Content of domain file (domain.yml) (if relevant):

Thanks for raising this issue, @akelad will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

Hi @EgorovaLiliya, when you say 3 hours what do you mean? It doesn't look like it's frozen, have you tried chatting to your bot from the rasa shell?

Hi. First times I broke comand executing after half of hour hanging it. But once I started searching problem and did other work without breaking command executing. After 3 hours of silence command prompt returned error about "formate". After fixing action and restarting command command prompt keep silence over 5 hours and I had to break executing.
I tryed to execute rasa run actions & rasa shell and get the same situation, I pressed Ctrl + Break and get:

@EgorovaLiliya instead of localhost can you try using <IP_ADDRESS>? I recall there being an issue with using localhost on windows

I tryed <IP_ADDRESS> and executed rasa run actions --debug, I got:

Also http://localhost:5055/health returns {"status":"ok"} until command executing isn't breaking
Could proxy stop connecting?

Hi,
I have exact the same problem. I tried many ways but failed to solve it. Have you found a way to solve it?

@YunLovesCode, unfortunately not yet

@EgorovaLiliya wait, when does this error occur? just from running rasa run actions? changing the URL in the endpoints shouldn't affect that

@akela, when I ran rasa run action i had only first three lines. Then I checked health, and after this, when I take a look on the command prompt, I saw error line, but I'm not sure it hapened right after checking. I tried to repeat it, but next time error didn't show up. I tried check health using link http://<IP_ADDRESS> and IE asked to add address to Trusted Zone. I did it, and got the same json and no more. Command executing didn't go ahead.

@akelad does some new info show up? May be exists other way to excute actions?

Hi @EgorovaLiliya, sorry for the delay in getting back to you. Can you show me your endpoints.yml file for when you tried <IP_ADDRESS>?

Can't send the file, something goes wrong. Here its text:
`# This file contains the different endpoints your bot can use.
Server where the models are pulled from.
https://rasa.com/docs/rasa/user-guide/configuring-http-api/#fetching-models-from-a-server/
#models:
url: http://my-server.com/models/default_core@latest
wait_time_between_pulls:  10   # [optional](default: 100)
Server which runs your custom actions.
https://rasa.com/docs/rasa/core/actions/#custom-actions/
action_endpoint:
url: "http://<IP_ADDRESS>:5055/webhook"
Tracker store which is used to store the conversations.
By default the conversations are stored in memory.
https://rasa.com/docs/rasa/api/tracker-stores/
#tracker_store:
type: redis
url: <host of the redis instance, e.g. localhost>
port: <port of your redis instance, usually 6379>
db: <number of your database within redis, e.g. 0>
password:
use_ssl: <whether or not the communication is encrypted, default false>
#tracker_store:
type: mongod
url: <url to your mongo instance, e.g. mongodb://localhost:27017>
db: <name of the db within your mongo instance, e.g. rasa>
username:
password:
Event broker which all conversation events should be streamed to.
https://rasa.com/docs/rasa/api/event-brokers/
#event_broker:
url: localhost
username: username
password: password
queue: queue`

Hm ok. Do you have some sort of restrictions on the network of the machine? i'm not sure what could be causing this other wise...
Could you try running both rasa shell and rasa run actions with the --debug flag enabled, and then have a conversation that causes the error and post the output of the logs here again?

Still can not upload files here, pasted scrins to the Logs folder with the same link. I had to break execution of rasa run actions command to go to next one. You can see ^C in forth line.

About network setting, I had proxy on work, but error exists on my home machine too where no proxy.

Could you start rasa run actions in a separate terminal one? I would like to see the logs from it separately. And you can also just copy text and paste it in here, rather than sending files

I start command on my home machine. It keep silence until I first time check health, then I get this error
D:\Лилия\Lyncbot2>rasa run actions --debug 2020-06-17 22:06:23 INFO     rasa_sdk.endpoint  - Starting action endpoint server... 2020-06-17 22:06:23 INFO     rasa_sdk.executor  - Registered function for 'action_search_website'. 2020-06-17 22:06:23 DEBUG    rasa_sdk.utils  - Using the default number of Sanic workers (1). Exception occurred while handling uri: 'http://localhost:5055/favicon.ico' Traceback (most recent call last):   File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\app.py", line 940, in handle_request     handler, args, kwargs, uri, name = self.router.get(request)   File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\router.py", line 411, in get     return self._get(request.path, request.method, "")   File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\router.py", line 475, in _get     raise NotFound("Requested URL {} not found".format(url)) sanic.exceptions.NotFound: Requested URL /favicon.ico not found
Next starts and checks don't return this error, but I get other one
D:\Лилия\Lyncbot2>rasa run actions --debug 2020-06-17 22:08:53 INFO     rasa_sdk.endpoint  - Starting action endpoint server... 2020-06-17 22:08:53 INFO     rasa_sdk.executor  - Registered function for 'action_search_website'. 2020-06-17 22:08:53 DEBUG    rasa_sdk.utils  - Using the default number of Sanic workers (1). Exception occurred while handling uri: unknown NoneType: None Exception occurred while handling uri: unknown NoneType: None
But when I pressed Ctrl+F5 in Chrome on health page I get error stable
D:\Лилия\Lyncbot2>rasa run actions --debug & rasa shell --debug 2020-06-17 22:15:51 INFO     rasa_sdk.endpoint  - Starting action endpoint server... 2020-06-17 22:15:51 INFO     rasa_sdk.executor  - Registered function for 'action_search_website'. 2020-06-17 22:15:51 DEBUG    rasa_sdk.utils  - Using the default number of Sanic workers (1). Exception occurred while handling uri: 'http://localhost:5055/favicon.ico' Traceback (most recent call last):   File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\app.py", line 940, in handle_request     handler, args, kwargs, uri, name = self.router.get(request)   File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\router.py", line 411, in get     return self._get(request.path, request.method, "")   File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\router.py", line 475, in _get     raise NotFound("Requested URL {} not found".format(url)) sanic.exceptions.NotFound: Requested URL /favicon.ico not found Exception occurred while handling uri: 'http://localhost:5055/favicon.ico' Traceback (most recent call last):   File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\app.py", line 940, in handle_request     handler, args, kwargs, uri, name = self.router.get(request)   File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\router.py", line 411, in get     return self._get(request.path, request.method, "")   File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\router.py", line 475, in _get     raise NotFound("Requested URL {} not found".format(url)) sanic.exceptions.NotFound: Requested URL /favicon.ico not found
In work network I started command on one machine and check helth on other use netwok name http://smartnpo:5055/health and get error on commsnd prompt
c:\Lyncbot>rasa run actions --debug & rasa shell --debug 2020-06-17 22:27:17 INFO     rasa_sdk.endpoint  - Starting action endpoint server... 2020-06-17 22:27:17 INFO     rasa_sdk.executor  - Registered function for 'action_search_website'. 2020-06-17 22:27:17 DEBUG    rasa_sdk.utils  - Using the default number of Sanic workers (1). Exception occurred while handling uri: 'http://smartnpo:5055/favicon.ico' Traceback (most recent call last):   File "c:\program files\python37\lib\site-packages\sanic\app.py", line 940, in handle_request     handler, args, kwargs, uri, name = self.router.get(request)   File "c:\program files\python37\lib\site-packages\sanic\router.py", line 411, in get     return self._get(request.path, request.method, "")   File "c:\program files\python37\lib\site-packages\sanic\router.py", line 475, in _get     raise NotFound("Requested URL {} not found".format(url)) sanic.exceptions.NotFound: Requested URL /favicon.ico not found

Log from home machine:
`D:\Лилия\Lyncbot2>rasa run actions --debug & rasa shell --debug
2020-06-17 22:15:51 INFO     rasa_sdk.endpoint  - Starting action endpoint server...
2020-06-17 22:15:51 INFO     rasa_sdk.executor  - Registered function for 'action_search_website'.
2020-06-17 22:15:51 DEBUG    rasa_sdk.utils  - Using the default number of Sanic workers (1).
Exception occurred while handling uri: 'http://localhost:5055/favicon.ico'
Traceback (most recent call last):
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\app.py", line 940, in handle_request
handler, args, kwargs, uri, name = self.router.get(request)
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\router.py", line 411, in get
return self._get(request.path, request.method, "")
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\router.py", line 475, in _get
raise NotFound("Requested URL {} not found".format(url))
sanic.exceptions.NotFound: Requested URL /favicon.ico not found
Exception occurred while handling uri: 'http://localhost:5055/favicon.ico'
Traceback (most recent call last):
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\app.py", line 940, in handle_request
handler, args, kwargs, uri, name = self.router.get(request)
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\router.py", line 411, in get
return self._get(request.path, request.method, "")
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\sanic\router.py", line 475, in get
raise NotFound("Requested URL {} not found".format(url))
sanic.exceptions.NotFound: Requested URL /favicon.ico not found
Exception occurred while handling uri: unknown
NoneType: None
^C2020-06-17 22:39:02 DEBUG    rasa.model  - Extracted model to 'C:\Users\Master\AppData\Local\Temp\tmp8fec41ux'.
2020-06-17 22:39:02 DEBUG    rasa.cli.utils  - Parameter 'endpoints' not set. Using default location 'endpoints.yml' instead.
2020-06-17 22:39:02 DEBUG    rasa.cli.utils  - Parameter 'credentials' not set. Using default location 'credentials.yml' instead.
2020-06-17 22:39:03 DEBUG    rasa.model  - Extracted model to 'C:\Users\Master\AppData\Local\Temp\tmpwby_z067'.
2020-06-17 22:39:04 INFO     root  - Connecting to channel 'cmdline' which was specified by the '--connector' argument. Any other channels will be ignored. To connect to all given channels, omit the '--connector' argument.
2020-06-17 22:39:04 DEBUG    sanic.root  - CORS: Configuring CORS with resources: {'/': {'origins': [''], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.'], 'expose_headers': None, 'supports_credentials': True, 'max_age': None, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': {'/*': {'origins': ''}}, 'intercept_exceptions': True, 'always_send': True}}
2020-06-17 22:39:04 DEBUG    rasa.core.utils  - Available web server routes:
/webhooks/rest                                     GET                            custom_webhook_CmdlineInput.health
/webhooks/rest/webhook                             POST                           custom_webhook_CmdlineInput.receive
/                                                  GET                            hello
2020-06-17 22:39:04 INFO     root  - Starting Rasa server on http://localhost:5005
2020-06-17 22:39:04 DEBUG    rasa.core.utils  - Using the default number of Sanic workers (1).
2020-06-17 22:39:04 INFO     root  - Enabling coroutine debugging. Loop id<PHONE_NUMBER>336.
2020-06-17 22:39:05 DEBUG    rasa.model  - Extracted model to 'C:\Users\Master\AppData\Local\Temp\tmpeg8q81ft'.
2020-06-17 22:39:07 DEBUG    rasa.utils.tensorflow.models  - Loading the model ...
2020-06-17 22:39:09 DEBUG    rasa.utils.tensorflow.models  - Finished loading the model.
2020-06-17 22:39:09 DEBUG    rasa.utils.tensorflow.models  - Building tensorflow prediction graph...
2020-06-17 22:39:17 DEBUG    rasa.utils.tensorflow.models  - Finished building tensorflow prediction graph.
2020-06-17 22:39:17 DEBUG    rasa.nlu.classifiers.diet_classifier  - Failed to load model. Maybe the path 'C:\Users\Master\AppData\Local\Temp\tmpeg8q81ft\nlu' doesn't exist?
2020-06-17 22:39:17 DEBUG    rasa.core.tracker_store  - Connected to InMemoryTrackerStore.
2020-06-17 22:39:17 DEBUG    rasa.core.lock_store  - Connected to lock store 'InMemoryLockStore'.
2020-06-17 22:39:18 DEBUG    rasa.model  - Extracted model to 'C:\Users\Master\AppData\Local\Temp\tmpo7bg7ms5'.
2020-06-17 22:39:18 DEBUG    pykwalify.compat  - Using yaml library: c:\users\master\appdata\local\programs\python\python37\lib\site-packages\ruamel\yaml_init.py
2020-06-17 22:39:18 DEBUG    rasa.utils.tensorflow.models  - Loading the model ...
2020-06-17 22:39:18 DEBUG    rasa.utils.tensorflow.models  - Finished loading the model.
2020-06-17 22:39:18 DEBUG    rasa.utils.tensorflow.models  - Building tensorflow prediction graph...
2020-06-17 22:39:19 DEBUG    rasa.utils.tensorflow.models  - Finished building tensorflow prediction graph.
2020-06-17 22:39:19 DEBUG    rasa.core.nlg.generator  - Instantiated NLG to 'TemplatedNaturalLanguageGenerator'.
Bot loaded. Type a message and press enter (use '/stop' to exit):
Your input ->  Привет подскажи адрес веба
2020-06-17 22:39:39 DEBUG    rasa.core.tracker_store  - Creating a new tracker for id '255c4c0dc7d149afbaafb84e46072717'.
2020-06-17 22:39:39 DEBUG    rasa.core.processor  - Starting a new session for conversation ID '255c4c0dc7d149afbaafb84e46072717'.
2020-06-17 22:39:39 DEBUG    rasa.core.processor  - Action 'action_session_start' ended with events '[<rasa.core.events.SessionStarted object at 0x000002693B8EA548>, <rasa.core.events.ActionExecuted object at 0x000002693B389888>]'.
2020-06-17 22:39:39 DEBUG    rasa.core.processor  - Current slot values:
location: None
system: None
web_site: None
2020-06-17 22:39:39 DEBUG    rasa.nlu.classifiers.diet_classifier  - There is no trained model: component is either not trained or didn't receive enough training data.
2020-06-17 22:39:39 DEBUG    rasa.nlu.selectors.response_selector  - Adding following selector key to message property: default
2020-06-17 22:39:39 DEBUG    rasa.core.processor  - Received user message 'Привет подскажи адрес веба' with intent '{'name': 'web_access_address', 'confidence': 0.9654752612113953}' and entities '[]'
2020-06-17 22:39:39 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 4 events.
2020-06-17 22:39:39 DEBUG    rasa.core.policies.memoization  - Current tracker state [None, None, None, {}, {'prev_action_listen': 1.0, 'intent_web_access_address': 1.0}]
2020-06-17 22:39:39 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-06-17 22:39:39 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-06-17 22:39:39 DEBUG    rasa.core.processor  - Predicted next action 'utter_ask_system' with confidence 0.97.
2020-06-17 22:39:39 DEBUG    rasa.core.processor  - Action 'utter_ask_system' ended with events '[BotUttered('Уточни для какой системы.', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {},<PHONE_NUMBER>.538629)]'.
2020-06-17 22:39:39 DEBUG    rasa.core.policies.memoization  - Current tracker state [None, None, {}, {'prev_action_listen': 1.0, 'intent_web_access_address': 1.0}, {'prev_utter_ask_system': 1.0, 'intent_web_access_address': 1.0}]
2020-06-17 22:39:39 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-06-17 22:39:39 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'web_access_address'.
2020-06-17 22:39:39 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-06-17 22:39:39 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 0.99.
2020-06-17 22:39:39 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2020-06-17 22:39:39 DEBUG    rasa.core.lock_store  - Deleted lock for conversation '255c4c0dc7d149afbaafb84e46072717'.
Уточни для какой системы.
Your input ->  Техкас
2020-06-17 22:39:44 DEBUG    rasa.core.tracker_store  - Recreating tracker for id '255c4c0dc7d149afbaafb84e46072717'
2020-06-17 22:39:44 DEBUG    rasa.nlu.classifiers.diet_classifier  - There is no trained model: component is either not trained or didn't receive enough training data.
2020-06-17 22:39:44 DEBUG    rasa.nlu.selectors.response_selector  - Adding following selector key to message property: default
2020-06-17 22:39:44 DEBUG    rasa.core.processor  - Received user message 'Техкас' with intent '{'name': 'info', 'confidence': 0.9946464896202087}' and entities '[{'entity': 'system', 'start': 0, 'end': 6, 'extractor': 'DIETClassifier', 'value': 'Техкас'}]'
2020-06-17 22:39:44 DEBUG    rasa.core.processor  - Current slot values:
location: None
system: Техкас
web_site: None
2020-06-17 22:39:44 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 9 events.
2020-06-17 22:39:44 DEBUG    rasa.core.policies.memoization  - Current tracker state [None, {}, {'prev_action_listen': 1.0, 'intent_web_access_address': 1.0}, {'prev_utter_ask_system': 1.0, 'intent_web_access_address': 1.0}, {'slot_system_0': 1.0, 'prev_action_listen': 1.0, 'entity_system': 1.0, 'intent_info': 1.0}]
2020-06-17 22:39:44 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-06-17 22:39:44 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-06-17 22:39:44 DEBUG    rasa.core.processor  - Predicted next action 'action_search_website' with confidence 0.99.
2020-06-17 22:39:44 DEBUG    rasa.core.actions.action  - Calling action endpoint to run action 'action_search_website'.
2020-06-17 22:39:47 ERROR    rasa.core.actions.action  - Failed to run custom action 'action_search_website'. Couldn't connect to the server at 'http://<IP_ADDRESS>:5055/webhook'. Is the server running? Error: Cannot connect to host <IP_ADDRESS>:5055 ssl:default [Connect call failed ('<IP_ADDRESS>', 5055)]
2020-06-17 22:39:47 ERROR    rasa.core.processor  - Encountered an exception while running action 'action_search_website'. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.
2020-06-17 22:39:47 DEBUG    rasa.core.processor  - Failed to execute custom action.
Traceback (most recent call last):
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\aiohttp\connector.py", line 936, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs)  # type: ignore  # noqa
File "c:\users\master\appdata\local\programs\python\python37\lib\asyncio\base_events.py", line 962, in create_connection
raise exceptions[0]
File "c:\users\master\appdata\local\programs\python\python37\lib\asyncio\base_events.py", line 949, in create_connection
await self.sock_connect(sock, address)
File "c:\users\master\appdata\local\programs\python\python37\lib\asyncio\selector_events.py", line 473, in sock_connect
return await fut
File "c:\users\master\appdata\local\programs\python\python37\lib\asyncio\selector_events.py", line 503, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 10061] Connect call failed ('<IP_ADDRESS>', 5055)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\rasa\core\actions\action.py", line 549, in run
json=json_body, method="post", timeout=DEFAULT_REQUEST_TIMEOUT
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\rasa\utils\endpoints.py", line 146, in request
**kwargs,
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\aiohttp\client.py", line 1012, in aenter
self._resp = await self._coro
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\aiohttp\client.py", line 483, in _request
timeout=real_timeout
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\aiohttp\connector.py", line 523, in connect
proto = await self._create_connection(req, traces, timeout)
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\aiohttp\connector.py", line 859, in _create_connection
req, traces, timeout)
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\aiohttp\connector.py", line 1004, in _create_direct_connection
raise last_exc
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\aiohttp\connector.py", line 986, in _create_direct_connection
req=req, client_error=client_error)
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\aiohttp\connector.py", line 943, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host <IP_ADDRESS>:5055 ssl:default [Connect call failed ('<IP_ADDRESS>', 5055)]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\rasa\core\processor.py", line 616, in _run_action
events = await action.run(output_channel, nlg, tracker, self.domain)
File "c:\users\master\appdata\local\programs\python\python37\lib\site-packages\rasa\core\actions\action.py", line 580, in run
raise Exception("Failed to execute custom action.")
Exception: Failed to execute custom action.
2020-06-17 22:39:47 DEBUG    rasa.core.processor  - Action 'action_search_website' ended with events '[]'.
2020-06-17 22:39:47 DEBUG    rasa.core.processor  - Current slot values:
location: None
system: Техкас
web_site: None
2020-06-17 22:39:47 DEBUG    rasa.core.policies.memoization  - Current tracker state [{}, {'prev_action_listen': 1.0, 'intent_web_access_address': 1.0}, {'prev_utter_ask_system': 1.0, 'intent_web_access_address': 1.0}, {'slot_system_0': 1.0, 'prev_action_listen': 1.0, 'entity_system': 1.0, 'intent_info': 1.0}, {'slot_system_0': 1.0, 'prev_action_search_website': 1.0, 'entity_system': 1.0, 'intent_info': 1.0}]
2020-06-17 22:39:47 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-06-17 22:39:47 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'info'.
2020-06-17 22:39:47 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-06-17 22:39:47 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 0.98.
2020-06-17 22:39:47 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2020-06-17 22:39:47 DEBUG    rasa.core.lock_store  - Deleted lock for conversation '255c4c0dc7d149afbaafb84e46072717'.
Your input ->  /stop
2020-06-17 22:40:23 INFO     root  - Killing Sanic server now.`

Log from work comp:
`c:\Lyncbot>rasa run actions --debug & rasa shell --debug
2020-06-17 22:27:17 INFO     rasa_sdk.endpoint  - Starting action endpoint server...
2020-06-17 22:27:17 INFO     rasa_sdk.executor  - Registered function for 'action_search_website'.
2020-06-17 22:27:17 DEBUG    rasa_sdk.utils  - Using the default number of Sanic workers (1).
Exception occurred while handling uri: 'http://smartnpo:5055/favicon.ico'
Traceback (most recent call last):
File "c:\program files\python37\lib\site-packages\sanic\app.py", line 940, in handle_request
handler, args, kwargs, uri, name = self.router.get(request)
File "c:\program files\python37\lib\site-packages\sanic\router.py", line 411, in get
return self._get(request.path, request.method, "")
File "c:\program files\python37\lib\site-packages\sanic\router.py", line 475, in get
raise NotFound("Requested URL {} not found".format(url))
sanic.exceptions.NotFound: Requested URL /favicon.ico not found
Exception occurred while handling uri: unknown
NoneType: None
^C2020-06-17 22:42:48 DEBUG    rasa.model  - Extracted model to 'C:\Users\EGOROV~1\AppData\Local\Temp\tmp7jrgwyvn'.
2020-06-17 22:42:48 DEBUG    rasa.cli.utils  - Parameter 'endpoints' not set. Using default location 'endpoints.yml' instead.
2020-06-17 22:42:48 DEBUG    rasa.cli.utils  - Parameter 'credentials' not set. Using default location 'credentials.yml' instead.
2020-06-17 22:42:49 DEBUG    rasa.model  - Extracted model to 'C:\Users\EGOROV~1\AppData\Local\Temp\tmpvi3zqzwi'.
2020-06-17 22:42:49 INFO     root  - Connecting to channel 'cmdline' which was specified by the '--connector' argument. Any other channels will be ignored. To connect to all given channels, omit the '--connector' argument.
2020-06-17 22:42:49 DEBUG    sanic.root  - CORS: Configuring CORS with resources: {'/': {'origins': [''], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.'], 'expose_headers': None, 'supports_credentials': True, 'max_age': None, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': {'/*': {'origins': ''}}, 'intercept_exceptions': True, 'always_send': True}}
2020-06-17 22:42:49 DEBUG    rasa.core.utils  - Available web server routes:
/webhooks/rest                                     GET                            custom_webhook_CmdlineInput.health
/webhooks/rest/webhook                             POST                           custom_webhook_CmdlineInput.receive
/                                                  GET                            hello
2020-06-17 22:42:49 INFO     root  - Starting Rasa server on http://localhost:5005
2020-06-17 22:42:49 DEBUG    rasa.core.utils  - Using the default number of Sanic workers (1).
2020-06-17 22:42:49 INFO     root  - Enabling coroutine debugging. Loop id<PHONE_NUMBER>352.
2020-06-17 22:42:50 DEBUG    rasa.model  - Extracted model to 'C:\Users\EGOROV~1\AppData\Local\Temp\tmpys4akzxv'.
2020-06-17 22:42:50 DEBUG    rasa.utils.tensorflow.models  - Loading the model ...
2020-06-17 22:42:50.767530: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
2020-06-17 22:42:52 DEBUG    rasa.utils.tensorflow.models  - Finished loading the model.
2020-06-17 22:42:52 DEBUG    rasa.utils.tensorflow.models  - Building tensorflow prediction graph...
2020-06-17 22:42:58 DEBUG    rasa.utils.tensorflow.models  - Finished building tensorflow prediction graph.
2020-06-17 22:42:58 DEBUG    rasa.nlu.classifiers.diet_classifier  - Failed to load model for 'ResponseSelector'. Maybe you did not provide enough training data and no model was trained or the path 'C:\Users\EGOROV~1\AppData\Local\Temp\tmpys4akzxv\nlu' doesn't exist?
2020-06-17 22:42:58 DEBUG    rasa.core.tracker_store  - Connected to InMemoryTrackerStore.
2020-06-17 22:42:58 DEBUG    rasa.core.lock_store  - Connected to lock store 'InMemoryLockStore'.
2020-06-17 22:42:58 DEBUG    rasa.model  - Extracted model to 'C:\Users\EGOROV~1\AppData\Local\Temp\tmpcfaz7_0l'.
2020-06-17 22:42:58 DEBUG    pykwalify.compat  - Using yaml library: c:\program files\python37\lib\site-packages\ruamel\yaml_init.py
2020-06-17 22:42:58 DEBUG    rasa.utils.tensorflow.models  - Loading the model ...
2020-06-17 22:42:59 DEBUG    rasa.utils.tensorflow.models  - Finished loading the model.
2020-06-17 22:42:59 DEBUG    rasa.utils.tensorflow.models  - Building tensorflow prediction graph...
2020-06-17 22:43:00 DEBUG    rasa.utils.tensorflow.models  - Finished building tensorflow prediction graph.
2020-06-17 22:43:00 DEBUG    rasa.core.nlg.generator  - Instantiated NLG to 'TemplatedNaturalLanguageGenerator'.
Bot loaded. Type a message and press enter (use '/stop' to exit):
Your input ->  Привет. Подскажи адрес веба
2020-06-17 22:50:29 DEBUG    rasa.core.tracker_store  - Creating a new tracker for id '66844f5417e042e4b79f5ba318c9418a'.
2020-06-17 22:50:29 DEBUG    rasa.core.processor  - Starting a new session for conversation ID '66844f5417e042e4b79f5ba318c9418a'.
2020-06-17 22:50:29 DEBUG    rasa.core.processor  - Action 'action_session_start' ended with events '[<rasa.core.events.SessionStarted object at 0x0000018D04124648>, <rasa.core.events.ActionExecuted object at 0x0000018D00538348>]'.
2020-06-17 22:50:29 DEBUG    rasa.core.processor  - Current slot values:
location: None
system: None
web_site: None
2020-06-17 22:50:29 DEBUG    rasa.nlu.classifiers.diet_classifier  - There is no trained model for 'ResponseSelector': The component is either not trained or didn't receive enough training data.
2020-06-17 22:50:29 DEBUG    rasa.nlu.selectors.response_selector  - Adding following selector key to message property: default
2020-06-17 22:50:29 DEBUG    rasa.core.processor  - Received user message 'Привет. Подскажи адрес веба' with intent '{'name': 'web_access_address', 'confidence': 0.9886178374290466}' and entities '[]'
2020-06-17 22:50:29 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 4 events.
2020-06-17 22:50:29 DEBUG    rasa.core.policies.memoization  - Current tracker state [None, None, None, {}, {'intent_web_access_address': 1.0, 'prev_action_listen': 1.0}]
2020-06-17 22:50:29 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-06-17 22:50:29 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-06-17 22:50:29 DEBUG    rasa.core.processor  - Predicted next action 'utter_ask_system' with confidence 0.98.
2020-06-17 22:50:29 DEBUG    rasa.core.processor  - Action 'utter_ask_system' ended with events '[BotUttered('Уточни для какой системы.', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {},<PHONE_NUMBER>.8457644)]'.
2020-06-17 22:50:29 DEBUG    rasa.core.policies.memoization  - Current tracker state [None, None, {}, {'intent_web_access_address': 1.0, 'prev_action_listen': 1.0}, {'intent_web_access_address': 1.0, 'prev_utter_ask_system': 1.0}]
2020-06-17 22:50:29 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-06-17 22:50:29 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'web_access_address'.
2020-06-17 22:50:29 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-06-17 22:50:29 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 0.99.
2020-06-17 22:50:29 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2020-06-17 22:50:29 DEBUG    rasa.core.lock_store  - Deleted lock for conversation '66844f5417e042e4b79f5ba318c9418a'.
Уточни для какой системы.
Your input ->  Техкас
2020-06-17 23:01:22 DEBUG    rasa.core.tracker_store  - Recreating tracker for id '66844f5417e042e4b79f5ba318c9418a'
2020-06-17 23:01:22 DEBUG    rasa.nlu.classifiers.diet_classifier  - There is no trained model for 'ResponseSelector': The component is either not trained or didn't receive enough training data.
2020-06-17 23:01:22 DEBUG    rasa.nlu.selectors.response_selector  - Adding following selector key to message property: default
2020-06-17 23:01:22 DEBUG    rasa.core.processor  - Received user message 'Техкас' with intent '{'name': 'info', 'confidence': 0.9993159770965576}' and entities '[{'entity': 'system', 'start': 0, 'end': 6, 'value': 'Техкас', 'extractor': 'DIETClassifier'}]'
2020-06-17 23:01:22 DEBUG    rasa.core.processor  - Current slot values:
location: None
system: Техкас
web_site: None
2020-06-17 23:01:22 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 9 events.
2020-06-17 23:01:22 DEBUG    rasa.core.policies.memoization  - Current tracker state [None, {}, {'intent_web_access_address': 1.0, 'prev_action_listen': 1.0}, {'intent_web_access_address': 1.0, 'prev_utter_ask_system': 1.0}, {'slot_system_0': 1.0, 'intent_info': 1.0, 'entity_system': 1.0, 'prev_action_listen': 1.0}]
2020-06-17 23:01:22 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-06-17 23:01:22 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-06-17 23:01:22 DEBUG    rasa.core.processor  - Predicted next action 'action_search_website' with confidence 0.98.
2020-06-17 23:01:22 DEBUG    rasa.core.actions.action  - Calling action endpoint to run action 'action_search_website'.
2020-06-17 23:01:23 ERROR    rasa.core.actions.action  - Failed to run custom action 'action_search_website'. Couldn't connect to the server at 'http://<IP_ADDRESS>:5055/webhook'. Is the server running? Error: Cannot connect to host <IP_ADDRESS>:5055 ssl:default [Connect call failed ('<IP_ADDRESS>', 5055)]
2020-06-17 23:01:23 ERROR    rasa.core.processor  - Encountered an exception while running action 'action_search_website'. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.
2020-06-17 23:01:23 DEBUG    rasa.core.processor  - Failed to execute custom action.
Traceback (most recent call last):
File "c:\program files\python37\lib\site-packages\aiohttp\connector.py", line 936, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs)  # type: ignore  # noqa
File "c:\program files\python37\lib\asyncio\base_events.py", line 962, in create_connection
raise exceptions[0]
File "c:\program files\python37\lib\asyncio\base_events.py", line 949, in create_connection
await self.sock_connect(sock, address)
File "c:\program files\python37\lib\asyncio\selector_events.py", line 473, in sock_connect
return await fut
File "c:\program files\python37\lib\asyncio\selector_events.py", line 503, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 10061] Connect call failed ('<IP_ADDRESS>', 5055)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\program files\python37\lib\site-packages\rasa\core\actions\action.py", line 549, in run
json=json_body, method="post", timeout=DEFAULT_REQUEST_TIMEOUT
File "c:\program files\python37\lib\site-packages\rasa\utils\endpoints.py", line 150, in request
**kwargs,
File "c:\program files\python37\lib\site-packages\aiohttp\client.py", line 1012, in aenter
self._resp = await self._coro
File "c:\program files\python37\lib\site-packages\aiohttp\client.py", line 483, in _request
timeout=real_timeout
File "c:\program files\python37\lib\site-packages\aiohttp\connector.py", line 523, in connect
proto = await self._create_connection(req, traces, timeout)
File "c:\program files\python37\lib\site-packages\aiohttp\connector.py", line 859, in _create_connection
req, traces, timeout)
File "c:\program files\python37\lib\site-packages\aiohttp\connector.py", line 1004, in _create_direct_connection
raise last_exc
File "c:\program files\python37\lib\site-packages\aiohttp\connector.py", line 986, in _create_direct_connection
req=req, client_error=client_error)
File "c:\program files\python37\lib\site-packages\aiohttp\connector.py", line 943, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host <IP_ADDRESS>:5055 ssl:default [Connect call failed ('<IP_ADDRESS>', 5055)]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\program files\python37\lib\site-packages\rasa\core\processor.py", line 644, in _run_action
events = await action.run(output_channel, nlg, tracker, self.domain)
File "c:\program files\python37\lib\site-packages\rasa\core\actions\action.py", line 580, in run
raise Exception("Failed to execute custom action.")
Exception: Failed to execute custom action.
2020-06-17 23:01:23 DEBUG    rasa.core.processor  - Action 'action_search_website' ended with events '[]'.
2020-06-17 23:01:23 DEBUG    rasa.core.processor  - Current slot values:
location: None
system: Техкас
web_site: None
2020-06-17 23:01:23 DEBUG    rasa.core.policies.memoization  - Current tracker state [{}, {'intent_web_access_address': 1.0, 'prev_action_listen': 1.0}, {'intent_web_access_address': 1.0, 'prev_utter_ask_system': 1.0}, {'slot_system_0': 1.0, 'intent_info': 1.0, 'entity_system': 1.0, 'prev_action_listen': 1.0}, {'slot_system_0': 1.0, 'prev_action_search_website': 1.0, 'intent_info': 1.0, 'entity_system': 1.0}]
2020-06-17 23:01:23 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-06-17 23:01:23 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'info'.
2020-06-17 23:01:23 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-06-17 23:01:23 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 0.99.
2020-06-17 23:01:23 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2020-06-17 23:01:23 DEBUG    rasa.core.lock_store  - Deleted lock for conversation '66844f5417e042e4b79f5ba318c9418a'.
Your input ->  /stop
2020-06-17 23:01:47 INFO     root  - Killing Sanic server now.`

I think by hitting ctrl-c you may be killing the action server. Like I said, please try running the action server in a separate terminal window

Sorry didn't understand it first time. Well I started action server in command prompt, then open new one window and started shell and it worked! But does it solve the problem? Do commands don't work together or command prompt work incorrect?

For me also getting same kind of problem. When I am running rasa run actions, it is not showing me the port. I checked with --debug and it is showing the attached message. I don’t know what that means. Can you please help me… When I am running a rasa shell and typing hi, I am getting an error saying that the mentioned message is not present in the domain. I checked the port on which the shell is connected it is different than the one mentioned in my endpoints.yml. I have attached my rasa shell command prompt, please look into it. It should connect to the 5055 port but instead, it is connecting to 5005 port

@EgorovaLiliya They do work together usually, I'm not 100% sure what the format for running those commands on Windows is though. We typically recommend running them separately in any case, because then you can see the logs separately if any errors happen.
Glad it's all working now though!

@sinhasangram this looks like a separate issue, and i think the problem is your NLU model isn't trained. Please ask any further questions you have in our forum


Routing not working on a certain domain

Routing and switching between pages work fine here https://hrnetologyru.sfilimonov.now.sh/ but stop working here https://hr.netology.ru/ This is all ONE deployment. So the issue is there only with a certain domain.
What I've done to debug:

Checked all .vue files for markup errors.
Checked HTML with validator and solved some errors and warnings.
Added chainWebpack: config => config.mode('development') into https://github.com/sergeyfilimonov/hr.netology.ru/blob/master/gridsome.config.js

Code is here https://github.com/sergeyfilimonov/hr.netology.ru

Looks like something is minifying the HTML on https://hr.netology.ru. HTML comments are missing on that site which is present on https://hrnetologyru.sfilimonov.now.sh. Vue depends on those comments to hydrate the markup correctly.

@hjvedvik I have tried to upload the same files to an FTP with the same domain hr.netology.ru and it doesn't work. It seems it means that the problem is with the code itself, it's somehow doesn't like the domain :/ Or...
Do some settings of the domain might cause this issue?

@hjvedvik we have fixed this issue. I don't know what we did exactly to fix it but it root of the problem was in some proxy/HTTPS settings or — more likely — with the fact that the main domain netology.ru is configured to work with CloudFare CDN, and these settings were applied for hr.netology.ru also. It seems Amazon and CloudFare CDNs were interfering somehow and this caused troubles with navigation.


FIX: Bonferroni reject mask bug

closes #2227.

lgtm +1 for merge when travis finishes

how does this fix affect the examples?

how does this fix affect the examples?

I think we don't use it anywhere.

but maybe we do ...

yeah, we do use it in two examples I think. Can you post the before and after plots?

I post after. for before see mne webpage.

okay

LGTM Thanks !

So here it does not make any difference, the bonferroni is just illustrated but not used, the actual line is computed by hand.
https://www.dropbox.com/s/vvpz75k3gnrmez4/Screenshot 2015-06-21 19.59.46.png?dl=0

in the second exmaple the reject output is not used.

so we're fine.

thanks !

cool thanks @dengemann !


Sources cannot see private GitHub repositories like Dependencies can

It seems that sources ... github in a cumulusci.yml file gets an Error: 404 Not Found for private repositories that dependencies can see just fine (due to me having various GitHub credentials cached in various parts of my computer).
I need to use a private corporate repository that isn't packaged up properly as a dependency.
How can I make this work?

Thanks for sharing this issue. Could you run cci error gist immediately after you get that message so we can see the complete stacktrace?

Here it is:
https://gist.github.com/kkgthb/d4948a04b4115b7391c61ef1423d00ac

Say @davidmreed , I stopped getting 404 errors as in the gist above, but now I get this instead:
PS c:\example> cci task run my_utils:deploy --org feature
[03/04/22 09:10:07] Fetching from GitHub: MyCompany/My-Utils @ main (abc123456789zyx)
                    Getting org info from Salesforce CLI for<EMAIL_ADDRESS>[03/04/22 09:10:13] Beginning task: Deploy
                    As user<EMAIL_ADDRESS>                    In org: 00...

                    src not found.
                    Deployment package is empty; skipping deployment.

Is there something I can put under definition of sources -> my_utils in cumulusci.xml or inside the private repo I'm including as a source, to specify that my source code has everything under a \force-app\main\default\ folder and not a \src\ folder?

@davisagli , thanks so much but I'm really confused what you want me to have cumulusci.yml say.
Here's what it looks like so far:
minimum_cumulusci_version: '3.31.0'
project:
    name: Private-Source-Bug
    package:
        name: Private-Source-Bug
        api_version: '53.0'
    git:
        default_branch: 'main'
    source_format: sfdx
sources:
    my_utils:
        github: https://github.com/MyCompany/My-Utils
        branch: main
flows:
    config_dev:
        steps:
            3:
                task: my_utils:deploy

Oops, I'm back, @davisagli , @davidmreed , and any others.
I just added an extra item under sources and I'm back to the original 404 error that made me open this ticket in the first place.
Any idea why I can easily see lots of repos at https://github.com/MyCompany in my web browser, but some of them connect via CCI and others 404 out?

Oh, I'm a dolt.  The repo I was trying to use that was 404-ing out doesn't have a main branch, it has a master branch.

OK, so I figured out the reason for the initial 404 error -- the primary branch of the repo in question was master, not main (I switched which repo I was working on when things suddenly started working, and now that I thought I had things working, I went back to using it and 404'ed out again).
However, now I'm getting this problem trying to import a 2nd source:
PS C:\example> cci task run ust_eda_easy:deploy --org feature
[03/07/22 12:46:39] Fetching from GitHub: MyCompany/My-Second-Import @ master (abcdef1234567890987654321fedcba)

...
Traceback (most recent call last):
  File "...cci.py", line 79, in main
    cli(args[1:], standalone_mode=False, obj=runtime)
...
    open(targetpath, "wb") as target:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\example\\.cci\\projects\\My-Second-Import\\abcdef1234567890987654321fedcba\\force-app\\main\\default\\objects\\Custom_Object__c\\fields\\Custom_Field__c__c.field-meta.xml'

And sure enough, if I expand C:\example\.cci\projects\My-Second-Import\, it's blank, in contrast to C:\example\.cci\projects\My-Utils\, which has a copy of the My-Utils git repo in it, more or less.
Any ideas what's going wrong with the My-Second-Import repo and my desktop environment running CCI?

@kkgthb Is your main project actually located in C:\example, or is that a substitution you made to obscure a real path that is longer? The reason I'm asking is that Windows has a 260-character path limit that can cause problems in Python unless a registry setting is changed to remove the limit. We've run into that at this exact point before so I'm wondering if this is related, even though the path you showed starting with C:\example is shorter than 260 characters.
The easiest way to disable the path length limit is to press a button in the Python installer -- look for the step about "Disable path length limit" in https://cumulusci.readthedocs.io/en/stable/get_started.html#on-windows
It's possible I'm still on the wrong track, but seems worth ruling this out.

@davisagli It's a substitution to obscure, and I'll bet that's exactly what's going on.  I'll try and get back to you.

@davisagli , still working on it.  There are a lot of issues w/ My-Second-Import and many of the branches I'd like to play w/ don't have this in them:
tasks:
    deploy:
        options:
            path: force-app

There doesn't happen to be a way to configure Private-Source-Bug's cumulusci.yml to tell the My-Second-Import source how to do its job, is there?  I can re-branch every branch I want to try & fix it, but it's going to be a bit tedious that way.

If My-Second-Import already has source_format: sfdx (it might; it’s the
default for new projects) then you should be able to use my third option
(run the deploy_unmanaged flow instead of the deploy task). If not, then I
don’t think there’s a way to fix it without editing cumulusci.yml in each
branch of My-Second-Import
On Mon, Mar 7, 2022 at 7:40 PM Katie Kodes @.***> wrote:

@davisagli https://github.com/davisagli , still working on it. There
are a lot of issues w/ My-Second-Import and many of the branches I'd like
to play w/ don't have this in them:
tasks:
deploy:
options:
path: force-app
There doesn't happen to be a way to configure Private-Source-Bug's
cumulusci.yml to tell the My-Second-Import source how to do its job, is
there? I can re-branch every branch I want to try & fix it, but it's going
to be a bit tedious that way.
—
Reply to this email directly, view it on GitHub
https://github.com/SFDO-Tooling/CumulusCI/issues/3062#issuecomment-1061287271,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAL65XED5MW7WH3J4ZBQVTU62OWHANCNFSM5NP55FXA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
David Glick | LMTS, Release Engineering | Salesforce.org
http://www.salesforce.org/


Only display error message if populations not successfully imported

I got the following message about not all features being imported. It looks like it's displayed even if all of the cells were successfully imported

Thanks for posting this! This should be fixed in the v1.1.0-alpha.10 release I just uploaded.


Websites with a local seed randomly fails to load

Operation System: Linux, macOS, and Windows
Beaker version: 0.8.8

Go to dat://beakerbrowser.com
Choose to seed the website
Give it some time to download the site. Check in the Library to confirm you’ve got the whole site.
Restart Beaker
Go to dat://beakerbrowser.com again.
Reload a couple of times.

Expected: page should load just fine as you have a local copy.
Actual: “It doesn't seem like anybody is sharing this page right now.” error page.

Okay this is what I thought you were reporting in https://github.com/beakerbrowser/beaker/issues/1412. I agree this is an issue, I'm unsure about #1412.

#1412 is specifically a issue with DNS caching. This issue happens even when accessing raw Dat keys without Dat DNS being involved. Alternate steps for this issue: go to library, open an archive, click the raw Dat link, and then you seemingly at random get the “nobody is sharing” error despite having a local copy.


SourceMap not picked up in VSC and WebStorm

Bug Report
We are currently investigating how to improve debug experience for users of our lib.
Inline sources increased the package size by  ~10% which we would like to avoid.
The sourceRoot property seemed like a elegant way to get around shipping the sources but putting a URL as source root.
However, I am not able to get this working. Perhaps it is only a config issue, then please apologize this ticket. Also if the code mapping is part of the IDE like please close the issue. Since I had problem in VSC and Webstorm I thought the issue is potentially related to Typescript.
I have prepared a minimal example to reproduce the issue:
https://github.com/FrankEssenberger/source-map-tests
The package @sap-cloud-sdk/util is shipped with source mapping and in the post install  the value for the sources and sourcesRoot is adjusted to point to the local source files in the repo. I wanted to test the remote URL but simple things first :-).
The files look ok to me:

<EMAIL_ADDRESS>has a sourceMappingURL at the bottom

//content node
//# sourceMappingURL=string.js.map

<EMAIL_ADDRESS>points to the source location

{
  "version": 3,
  "file": "string.js",
  "sourceRoot": "/...absolute/Path.../source-map-test/util-src",
  "sources": [
    "string.ts"
  ],
  "names": [],
  "mappings": ";;;AAAA,yDAA6C;AAC7C//shorten it a but"
}

🔎 Search Terms
soureRoot, source maps, sourceMappingURL @weswigham appeared often in the review and discussion on issues.
🕗 Version & Regression Information
n.a.
⏯ Playground Link
https://github.com/FrankEssenberger/source-map-tests
💻 Code
https://github.com/FrankEssenberger/source-map-tests
🙁 Actual behavior
When you step into the trimLeft method of the SDK the .js file is shown and not the .ts using source maps.
🙂 Expected behavior
You see the .ts file which is human readable and not the transpiled .js

Seems to be an issue with the tooling. When I attached the chrome debugger it was picking up the source. No clou what is wrong with VSC.


Easy to follow documentation

I have followed the documentation and to be honest I am a bit lost. I wanted to test a simple event where the user logs in an a query is sent to a server.
I have registered my hooks
HOOK_EVENTS = {
    # 'any.event.name': 'App.Model.Action' (created/updated/deleted)
    'user.logged_in':       'django.contrib.auth.models.User.created+',
    'user.added':       'django.db.models.signals.pre_save+',
    'user.changed':       'django.db.models.signals.pre_save+'
}

They are visible in django admin and I added the actions in the database. The request is not being sent however, what I'm I missing?

@prog-24 The value: 'django.db.models.signals.pre_save+' is not the correct value to assign here. It should be <app-name>.<model-name>.<'CRUD'-action>. e.g. blog.Article.created.


step area finding

i think there are not needed to use targets in search, maybe best choise set barriers for targets and set tile for path finding traget(-1 tile after get result)


Verification

Sinch
We'll be using Sinch for their PIN SMS verification process. The rates are reasonable.

See the Sinch Rest API for examples on how we can interact with their API.
See sinch-rest-api npm package as well.

In the how to use they go over go solutions to handling verifications. Currently we've been leaning towards application signed requests (API server). Is there any reason not to go this route? Considering their mobile/web SDK approach is considered recommended and we will have a web client.
Issues
During verification, how could we deal with a user entering a phone number they received through provider number recycling?
My thoughts here are that if we force a two factor authentication password on the user during sign up we can help alleviate this problem. If I entered my phone number that turned out to be a recycled number from my provider, and that number had a history in our application I could:

Claim I am a new user, setting a new password & wiping the entire previously associated data
Claim I am a returning user and prove it by entering my password

Shall we close this open and open up one for passport?

Let's leave it here to revisit for two way. I will clear out the issue I noted since that won't matter now.