[Question] How to do topic partitioning and config consumers

Do you have any document or example project?

Examples: https://github.com/confluentinc/confluent-kafka-dotnet/tree/master/examples
The API docs (via intellisense or by reading the code) are thorough, we're working on putting them online in a browsable format.
More thorough walkthroughs / documentation is coming.
For general kafka docs, check out
http://docs.confluent.io/current/
http://kafka.apache.org/documentation/

Partitioner is not available yet, the librdkafka default one will be used (consistent random) - but you can explicitly specify a partition when producing, in addition to the topic name in ProduceAsync method
For consumer, you can find samples in the example folder
https://github.com/confluentinc/confluent-kafka-dotnet/blob/master/examples/AdvancedConsumer/Program.cs
https://github.com/confluentinc/confluent-kafka-dotnet/tree/master/examples/SimpleConsumer
All available configurations (both consumer and producer) are here : https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md
Most things you can find in librdkafka wiki apply on confluent-kafka
This project wiki has to be improved,, I give you this point ;) Don't hesitate if you have issues or feedback!

What's holding-up the custom partitioner?  It was available in the library you took over so...

Questions over API design mostly. Related were changes we were making to serializer configuration (which have been sorted out now). We're no longer blocked on this, but custom partitioners are not at the top of the priority queue. That said I want this in and it shouldn't take much..
Finally, note that although many people ask for this, in most scenarios use cases of custom partitioners is usually not necessary.

We wrote a custom Murmur2 partitioner to match the one used by the java client.  How would you recommend we accomplish the same without being able to do the same here?

right, that is a very legitimate use case.
presently, there is no way to accomplish this.

The best I can suggest is look to at rdkafka-dotnet for how to implement it and add it to the library yourself. It shouldn't be hard - all the p/invoke calls are still exposed internally. Then feel free to open a PR :-). Even if we decided to change the API you came up with, it wouldn't be a big deal to swap out with whatever the eventual decision is. Shouldn't need to let this block you.

Maybe we're confusing goals here.  In the version we're using, TopicConfig has a property named CustomPartitioner of type Partitioner which will be used if set.  Otherwise the Topic operates as normal.
We've already coded our own Murmur2 partitioner and set it into CustomPartitioner so we're good as long as that feature exists - which it currently doesn't.  Seems that'd be easy to add but the fact you're talking about pInvokes makes me think there's a wholesale rework underway.
We'd like to switch to this one but I think we'll wait until an easy migration path is available.  Thanks!

No - not confusing goals. Everything needed to implement the feature exists internally, it's just not exposed publicly yet.

Got it.  Looking forward to when we can make the switch. Thanks!
On Tue, Aug 1, 2017 at 2:37 PM, Matt Howlett<EMAIL_ADDRESS>wrote:

No - not confusing goals. Everything needed to implement the feature
exists internally, it's just not exposed publicly yet.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/confluentinc/confluent-kafka-dotnet/issues/274#issuecomment-319504552,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC-vl0wWk-ku4oWJorGN72D-eK7tgi3Pks5sT5qvgaJpZM4Olntb
.

tracking this in #587


allow merging datasets where a variable might be a coordinate variable only in a subset of datasets

Is your feature request related to a problem?
Here are two datasets, in one a is a data_var, in the other a is a coordinate  variable. The following fails
import  xarray as xr

ds1 = xr.Dataset({"a": ('x', [1, 2, 3])})
ds2 = ds1.set_coords("a")
ds2.update(ds1)

with
    649 ambiguous_coords = coord_names.intersection(noncoord_names)
    650 if ambiguous_coords:
--> 651     raise MergeError(
    652         "unable to determine if these variables should be "
    653         f"coordinates or not in the merged result: {ambiguous_coords}"
    654     )
    656 attrs = merge_attrs(
    657     [var.attrs for var in coerced if isinstance(var, (Dataset, DataArray))],
    658     combine_attrs,
    659 )
    661 return _MergeResult(variables, coord_names, dims, out_indexes, attrs)

MergeError: unable to determine if these variables should be coordinates or not in the merged result: {'a'}

Describe the solution you'd like
I think we should replace this error with a warning and arbitrarily choose to either convert a to a coordinate variable or a data  variable.
Describe alternatives you've considered
No response
Additional context
No response

Rather than arbitrary, I'd like to see it make the choice match the "first" (or caller of update, in this example, but same error happens with xr.merge) input.


LGCY restriction visability

As a ministry user I don't want the LGCY restriction to display to students in the activity page for the time being in order to reduce call volumes being produced.
Acceptance Criteria

[x] Set the LGCY restriction communication effect to "no effect" so that they don't see a banner or anything on the activity page.

Additional Context
This is a short term resolution in order to alleviate current call volumes for the LGCY restriction

Updated the notification_type for LGCY restriction to "No effect" so no banner will be there.
Closing as complete @Joshua-Lakusta @ninosamson


Add Typescript Support

Proposed Changes
Added Typescript definitions and improve the CI/CD pipeline.
Pull Request Checklist
Please check if your PR fulfills the following requirements:

[x] I have read the CONTRIBUTING guidelines
[x] My commits follow the appropriate guidance
[x] I certify that I have the appropriate permissions to add these changes to the repository
[x] An issue is open for the changes proposed
[x] I have added/updated tests for new code changes (if applicable)
[x] Documentation has been added/updated (if applicable)
[x] I built (npm run build) locally and pushed all changes

Issues Addressed: #43
Other Information
Switched build configuration over to @m-scott-lassiter/semantic-release-github-npm-config

:tada: This PR is included in version 1.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


(PUP-868) deprecate misc cert-related faces

This PR deprecates the certificate_request, certificate_revocation_list, and ca faces.
Original context from @nfagerlund on redmine #15860:
The real puppet cert mgmt command is “puppet cert.” It’s one of the classic
applications.  I’m seeing:

ca
~certificate~ - note it was decided to keep certificate in PUP-868
certificate_request
certificate_revocation_list
None of these act as a replacement for puppet cert.  By using a patchwork of
them, you might be able to get all of the functionality of puppet cert, but
it’s not clear. This is a result of us simply exposing these indirector
endpoints on the command line without spending any time thinking about a
usable API for interacting with them.
Because the find/search/save/destroy actions are generally bad fits for a
command line API, these faces are all cluttered up with at least partially
unusable actions.
Because they act through the indirector, and agent and master use different
termini for all of these endpoints, it’s not clear which faces and actions
are meant to be used on the agent and which on the master. Additionally, some
of these may be intended to act remotely.
Some of these faces have actions whose behavior conflicts with an
identically-named action on ‘puppet cert.’ Particularly, see puppet
certificate generate vs. puppet cert generate vs.  puppet ca generate
(?????).
Some of these faces (particularly puppet ca) have completely undocumented
actions. This is my “someone added an action without a description string”
face: >:|

CLA signed by all contributors.

This passed a local ad-hoc acceptance run against ubuntu 16.04:
https://gist.github.com/MosesMendoza/bae542255371f8b092b3f01e2ac05b70

Confirmed that the faces listed match up with the discussion in the attached tickets and spec tests validate the behaviour.  As this is a deprecation message only, this is a low risk change.  LGTM.


identity or servicePrincipal are required

It is not clear from<EMAIL_ADDRESS>that one of identity,servicePrincipal are required.

Hi @vfarcic,
Thank you for suggesting this. I will link this issue to Terrajet's https://github.com/crossplane-contrib/terrajet/issues/92 and https://github.com/crossplane-contrib/terrajet/issues/140. The idea is once we have the autogenerated documentation, either:

It will convey the information that one of identity or servicePrincipal has to be specified, or
If the generated doc does not convey this info, we should be able to manually specify it via field configuration using Terrajet's pkg/config package.


chore: bdd-spring-1572923372 to 0.0.1

chore: Promote bdd-spring-1572923372 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


koord-scheduler: support System QOS reserved cpus

Ⅰ. Describe what this PR does
Users can set annotation node.koordinator.sh/system-qos-resource in node to reserve some cpu cores for Pods configured with System QoS. koord-scheduler should exclude these reserved CPUs for LSE/LSR Pods when allocating CPU cores.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in make test

/lgtm


build_path not working because path_patterns not set

It would be ideal for pybids to be able to determine new BIDS compliant paths for new or hypothetical files based on a dictionary of entities. At the moment there is a BIDSLayout method to do this, build_path. However build_path builds paths from the patterns it inherits from BIDSLayout which are currently an empty list, which means that build_path returns nothing.
If i define new path_patterns for a BIDSLayout build_path is able to run as expected.
There seem to be path_patterns defined in the BIDSLayout config files (https://github.com/INCF/pybids/blob/7315f5c41d6cf20c0f4c9d8624e408ed1e1bbf5f/bids/grabbids/config/bids.json lines 82-89). Is there any way to import these when the BIDSLayout is initialised?

Ah, this is a casualty of the Domain classes introduced in a recent version of grabbit. Before, path_patterns used to be a property of the Layout object, but now each Domain has its own path_patterns. So the build_path method needs to be updated to accept a list of domains as an argument, or to combine all available domains if none is passed. Then it would work fine. I'll try to get to this in the next few days, but feel free to submit a PR to grabbit if you like. I've opened an issue for this here.

Took care of this in grabbles/grabbit#79; should be fixed in pybids once I bump grabbit version later today. Thanks for reporting it!


Reusable publishing workflow for custom models.

I'm currently facing a use case where I would like my custom models to support the publishing workflow (draft version, preview draft, publish draft).
I found some tools around (https://github.com/johnsensible/django-publish, https://github.com/platypus-creation/django-draft), but I think it requires too much hackery to have it integrated in the cms, especially with the front-end editing.
Also a standardized way of dealing with this would improve consistency (same goal as #2639) and would avoid having to customize the live / draft switcher (#2971).
What's your input on this topic ?

There are also multiple improvements in 3.x and 3.2 regarding naming and button states :) I hope this serves your needs.

This has been closed, but I don`t find the info on how to implement it. Is there a link to an article or tutorial, on how to implement a publication workflow for a Django model called e.g. "Project".
Is it possible, to use "Page" as base class to derive from?


Change git town's ship strategy

Docs at https://www.git-town.com/preferences/ship-strategy#fast-forward say this still can enforce code review if main is protected, and will definitely push the right commits.  I wasn't sure of either of those before.

Combined this with another PR.


Why are monorepo packages not taken into account for status and add commands?

Affected Packages

Problem

changeset status does not take into account which packages in a monorepo have or don't have changesets. Instead, it just checks "if any changeset exists".
Given a monorepo with packages packA and packB. If I make changes to both packA and packB and add a changeset for only packA then changeset status executes successfully and does not detect that packB has changes.
I would expect changeset status to fail in this case and report that packB is missing a changeset.
Similarly, it would be helpful for the cli to take into account which packages are missing changesets. So given the above example, I would expect changeset add to indicate to the user that packB is missing a changeset.
While comparing changesets with beachball I noticed this key difference. I imagine this was a design decision and I am wondering why this is the case and if there are any plans to change this behavior?
Is this a constraint for allowing empty changsets? Seems like empty changesets could also indicate which package, without requiring a bump. beachball has the concept of a none version bump.
Thanks for all of the great work and my apologies if this is already documented somewhere (could be nice to add something to the decisions docs).
Proposed solution

I would expect changeset status to fail in this case and report that packB is missing a changeset.

this behavior could be implemented as an additional flag to the status command. PRs are welcome

Similarly, it would be helpful for the cli to take into account which packages are missing changesets. So given the above example, I would expect changeset add to indicate to the user that packB is missing a changeset.

interesting - could u propose CLI texts for this? How it would be printed to the user? I guess we could make a new group for such packages that would be listed at the top

Seems like empty changesets could also indicate which package, without requiring a bump. beachball has the concept of a none version bump.

We support this as well! :)

Great, thanks for the feedback... I'm going to check with the team to see if we have bandwidth to help. Based on stars and activity, changesets is more interesting, but we were looking for these slightly different features.

We ended up having to write a dangerjs check to detect if any monorepo package changes in a PR was not covered by any provided changesets.


Documentation Bug

Hey all,
There's a bug in the documentation. I talk about it in this pull request: https://github.com/Estimote/Android-SDK/pull/108
Basically, the docs say to use EstimoteCloud.get(), but that's not a command, and the user should instead use EstimoteCloud.getInstance().

I fixed that in our source code, it will be live for the next release. I'll close this bug when new release occurs.


MRG, STY: Many style fixes

WIP until https://github.com/numpy/numpydoc/pull/238 is merged, then I'll change our code to use numpy/numpydoc/master.
Basically the Pandas folks had their own docstring validation code that they are now contributing to NumpyDoc, and it found a bunch of inconsistencies in our code. This fixes many of them, but leaves the following for later when someone is bored (there are hundreds and they are annoying):
    'PR06',  # Parameter type should use "str" instead of "string"
    'PR08',  # Parameter description should start with a capital letter
    'PR09',  # Parameter description should finish with "."
    'RT04',  # Return value description should start with a capital letter
    'RT05',  # Return value description should finish with "."

The only downside I can see is that we lose our "parameter description length" check, but this is easy enough to complain about in the review process.

Okay this PR is ready to go now that the upstream NumpyDoc PR has been merged

thx @larsoner


dnbc4tools removes lncRNA from the annotation file

Hi @MGI-tech-bioinformatics
I was running mkgtf utility of your tool with the Plasmodium GTF. However, I observe that it's getting rid of non-coding genes from the GTF file (these include tRNA, rRNA, and other non-coding RNAs). Besides, the tool log says that the GTF file contains IG_C_gene and lincRNA and all other categories that are only relevant to Humans, not plasmodium which is not true. Can you please check, what might be causing this?

./dnbc4tools tools mkgtf --ingtf PlasmoDB-68_Pfalciparum3D7.gtf --output genes.filter.gtf --type gene_type
Using "gene_type" for Analysis
The types of genes obtained are:
protein_coding
lncRNA
lincRNA
antisense
IG_C_gene
IG_D_gene
IG_J_gene
IG_LV_gene
IG_V_gene
IG_V_pseudogene
IG_J_pseudogene
IG_C_pseudogene
TR_C_gene
TR_D_gene
TR_J_gene
TR_V_gene
TR_V_pseudogene
TR_J_pseudogene
Analysis Complete

These are the default parameters of the software. You can select the types of genes you need to retain for analysis using --include.

@MGI-tech-bioinformatics
Okay, I see. Since ncRNA is not included in your list they got excluded. Could you please add this as a note in the quick start documentation because the other documentation here is not in English ?


Merge sync 785589b

Summary
Sync to latest upstream #785589b

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 8 committers have signed the CLA.:white_check_mark: dkstyle:white_check_mark: 1ilsang:x: ersachin3112:x: jeffin143:x: CommanderRoot:x: gkostov:x: snitin315:x: chenxsanYou have signed the CLA already but the status is still pending? Let us recheck it.


Adding distil-whisper model support to TensorRT-LLM

What this PR Does:
This PR adds support for converting huggingface's distil-whisper model weights to compatible pytorch .pt files which can be further used to build TensorRT-LLM engines.
How the PR Does it:
distil-whisper's architecture is quite similar to openai-whisper models except for the fact that the number of decoder layers are lesser. Despite this, currently it was not possible to use TensorRT-LLM with distil-whisper since the naming convention for the parameters and weights were different among the two frameworks.
This PR addresses this issue and identifies the change of pattern between the two naming conventions. The script uses regex to convert models weights from huggingface to openai-whisper format.
You can do so by running the script convert_from_distil_whisper.py as follows:
# install requirements first
pip install -r requirements.txt

# will download the model weights from huggingface and convert them to openai-whisper's pytorch format
# model is saved to ./assets/ by default
python3 convert_from_distil_whisper.py --model_name distil-whisper/distil-large-v2

# now we can build the model like before:
python3 build.py --model_name distil-large-v2 --output_dir compiled-distil-large-v2 --use_gpt_attention_plugin --use_gemm_plugin --use_bert_attention_plugin

Results and figures:
This might be useful when one wants fast latency models for short audio clips. Using TensorRT-LLM for distil-whisper provides upto 3x increase improvement in latency over huggingface.
For instance, for mean audio size of $3.5$ seconds, we are able to get a mean latency of $0.086$ seconds on an A10G.
Distribution of wav sizes vs latency:

@symphonylyh Kindly, take a look if possible.

Hi @Bhuvanesh09, great work! I will take this PR into internal gitlab to do some CI test. We will credit your work on the release notes for distill-whisper model.

Hi @Bhuvanesh09 , thanks very much for your great work. The update including your changes have been merged into the main branch, (see #1168) and we've credit you as the co-author.
We are going to close this PR. Thanks again for your support, and please let us know if you have any questions.


docker run -e ENV="TEST"

Hello,
Do we have the possibility to pass an environment variable to the docker.run() function ?
Thanks

For those looking for an example...
docker.run('test:latest', ['node', '/root/test.js'], [process.stdout, process.stderr], {Tty: false, env: ['NODE_ENV=development']}, function(error, data, container) {
    ...
});


[tiny] make debug info optional, CAFFE2_DEBUG env variable driven

This will cause 1) debug info to normally be dropped 2) to allow users to attach debug info with and env variable.
In the future there may be other constructors and this will allow framework authors to have a
consistent mechanism for determining if debug info should be attached.

Should we actually remove this all together? Looks like folks are leaning towards going a completely different route now. So we don't encourage people storing things there.

if a new route is decided we can always update this.  this is an extremely simple and easy to use solution to a relatively simple problem, I don't see a need to complicate it

@bwasti , I actually think this can cause issues in certain cases. In case somebody is running with this debug option and then you just want to print protobufs, they would become very convoluted.

of course this diff itself is making things better, not worse, feel free to merge. Still my point is that we might want to get rid of this feature (which is very new) all together.


'ks param set [...]' is piling up backslashes

/kind bug
There is a weird behaviour happening with the command ks param set [...] which is piling up some backslashes in params.libsonnet file.
The command I ran is ks param set gitlab component infra2
Each time I run this command, it updates my params.libsonnet file as expected.
However, it impacts another entry in the file. Let's say I have the following params file:
[...]
  components: {
    gitlab: {
      component: "infra",
      config: {
        "gitlab.rb": |||
          external_url 'https://someurl.com'
          letsencrypt['enable'] = true
          letsencrypt['contact_emails'] =<EMAIL_ADDRESS>        |||
      }
[...]

Then I run the command: ks param set gitlab component infra2
My file now looks like:
[...]
  components: {
    gitlab: {
      component: 'infra2',
      config: {
        "gitlab.rb": "external_url 'https://someurl.com'\nletsencrypt['enable'] = true\nletsencrypt['contact_emails'] =<EMAIL_ADDRESS>      },
[...]

I run it again: ks param set gitlab component infra2
Now it looks like this (notice the backslashes are piling up each time I run the command)
[...]
  components: {
    gitlab: {
      component: 'infra2',
      config: {
        "gitlab.rb": "external_url 'https://someurl.com'\\nletsencrypt['enable'] = true\\nletsencrypt['contact_emails'] =<EMAIL_ADDRESS>      },
[...]

I understand the format change into a single line with \n, however I guess backslashes should not be piling up :)
keep up the good work this is really useful software. Cheers!

ksonnet version 0.11.0
Kubernetes version : Client 1.9.7 Server 1.10.4-gke.0

Hello @plaurin84. This issue has been fixed in master. I'm not sure if we are going to do a 0.11.1 or include it with 0.12. I will know more later today and report back here.

Good stuff, thank you :-)


turn off multisampling in niivue tests

@cdrake , could you implement this in the playwright and jest tests? It would probably be useful to have a central niivueOptions object as a helper that can be used across all tests (since it can be imported). We should set isAntiAlias to false and isHighResolutionCapable to false to just to avoid the pixel differences that could occur between snapshots on personal systems and the CI runners.

Will do.


added support for binary url overwrite

Pull Request Test Coverage Report for Build 34

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 33:
0.0%

Covered Lines:
33

Relevant Lines:
33

💛  - Coveralls

I'd also prefer the binarySite variable to be named baseUrl which in opinion describes better what is happening, but feel free to ignore that.

Added the requested changes.

Thanks for your contribution. I published this as version 0.1.4.


EC_POINT_set_Jprojective_coordinates_GFp does not check if point is on curve

Unlike EC_POINT_set_affine_coordinates, EC_POINT_set_Jprojective_coordinates_GFp does not check that the provided coordinates form a point that is on the curve. It would be better if it did. If you will accept it, I can provide a PR for this.

This would not be a good idea because EC_POINT_set_affine_coordinates is implemented as call to EC_POINT_set_Jprojective_coordinates_GFp. So there would be a double checking done which is inefficient.
EC_POINT_set_Jprojective_coordinates_GFp is also a deprecated function. So I am closing this RFE.


VS Code HTML Class Intellisense stopped working

I have a new issue regarding HTML css class intellisense, it was working brilliantly until recently, when i type class, no suggestions are offered. I just uninstalled a couple extensions (Not those extensions that offered CSS class intellisense). The interesting thing in a new line, if i start typing the names of a class like fa-* or btn*, i get a suggestion of all classes i have but inside a class. PHP, Other html intellisense like Angular ng* works perfectly only classes

VSCode Version: 1.11.1
OS Version: Windows 10 (Anniversary Update)

duplicate of https://github.com/Zignd/HTML-CSS-Class-Completion/issues/43


Needed Solution: Unique Paths

Link - https://leetcode.com/problems/unique-paths/
Preferred Languages: - C++, Java, Python, Javascript
Code along with an easy-to-understand, and proper explanation of the solution will make a valid contribution.
Instructions: -
Make a folder, and rename it to the problem's title.
Add your code file along with a markdown containing the code's explanation and problem link inside the folder.
Do add your name and Github ID at the top of the markdown and code if you wish to seek credits.

Hey @Jimmy290901 , Can you assign this to me ?

Hey @Jimmy290901, can you please assign me this problem?


Function key F4 disabled when running

OS:
Mac 10.12.6
Issue Descriptions:
When GPMDP is running function key F4 does not work in other applications but can still be assigned as an OS global hotkey.
Most noticeable when using byobu in terminal/iterm2.
Steps to Reproduce:
Pick an application you use F4 in, for me it's a byobu session in iterm2/terminal.
Notice F4 works.
Start GPMDP.
Notice F4 no longer works.
Exit GPMDP.
Notice F4 works again.

What is your F4 key supposed to do?

Using byobu in terminal
F2 = new window
F3/F4 = move prev/next window
F7 = enable scrollback
So when GPMDP kills my ability to use F4 is just makes byobu a little less easy to use. Not really a big thing I just don't see why it's doing that as I don't have any keybinding set in GPMDP.

I can't reproduce this on any of my macs, Fn+F4 and just F4 work perfectly fine with GPMDP open and without it open.  We don't put any keybinds anywhere near F4.  I'd reccomend looking at how iterm2 binds that F4 key and see if for instance having an active media session on your device would stop it working


✨ Replace flag with pflag

What type of PR is this?
/kind feature

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #106
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:

[ ] squash commits
[ ] include documentation
[ ] add unit tests

do we need to add 	pflag.CommandLine.AddGoFlagSet(flag.CommandLine) before parsing? I'm not sure...

do we need to add  pflag.CommandLine.AddGoFlagSet(flag.CommandLine) before parsing? I'm not sure...

Building the executable locally and invoking the same -h is working fine. I haven't tested the same on the tilt setup. @aniruddha2000 please test if you have a running tilt setup.

Well, I don't have any access to Hivelocity UI to see if devices are there or not, but I can clearly see that I have providerID in my k9s after creating a cluster by tilt, does that work?

I think this is more a question of how flags work, not whether the operator works as a whole. But I guess you can proceed


Filtering by multiple attributes?

What is the proper syntax to employ multiple filters at the same time with an AND relationship?

http://localhost:3000/contacts?filter[name-last]=Doe&filter[name-first]=John
though with curl you will probably need to escape it as:
http://localhost:3000/contacts?filter%5Bname-last%5D=Doe&filter%5Bname-first%5D=John

You will of course also need to declare this filters on your resource.

Got it. I am writing my own filters. In my case, only one filter is being used to limit the results rather than both. How can I debug what is going on here?

You can debug by overriding self.apply_filters on your resource. See https://github.com/cerebris/jsonapi-resources/blob/master/lib/jsonapi/resource.rb#L693 for the source.


Consider scoping your packages on NPM.

We have more and more modules in Focus.
There's a (relatively new?) feature in NPM called package scoping with would allow to publish the different modules as @focus/core, @focus/components, @focus/notifications...
This has a few advantages:

Focus modules could be instantly recognizable (there's other stuff called focus-something on NPM)
In the node_modules folder, all @focus/* modules would be located in the @focus subfolder on top on the folder (alphabetical order), so way more accessible to browse.

Other frameworks does this more and more (angular, cycle for instance).

I already thought about that. Cycle js uses this way of naming libraries.
The main problem is that we don't own the focus name. We just have focusjs.

Maybe with the get focus name to be coherent with the website.

@Hartorn This issue is still relevent ?


[APPM-934] Error when adding a secondary user store for a tenant for the first time

The following is logged when a secondary user store is added to a tenant for the first time. [2015-05-19 17:48:47,378] INFO - ReadWriteLDAPUserStoreManager LDAP connection created successfully in read-write mode [2015-05-19 17:48:47,495] INFO - ReadWriteLDAPUserStoreManager LDAP connection created successfully in read-write mode [2015-05-19 17:48:47,497] INFO - DeploymentEngine org.apache.axis2.deployment.DeploymentException: The deployment of second1.xml is not valid.Reference: https://wso2.org/jira/browse/APPM-934

App manager component is being rewritten for IoT server, and this will be addressed there. Hence closing the issue.


bug(mat-chip): Using an array of objects from a component's method hangs the application

Description
I'm creating a widget where I use mat-chip-list and mat-chip to render active filters, I'm using a component method to populate mat-chip-list but it's causing the entire application to freeze (the method returns a javascript array of objects instead of observable).
Reproduction
Steps to reproduce:
Use an array of objects to render the mat-chip-list.
https://stackblitz.com/edit/components-issue-fpjhzo
filter.component.ts
get activeFilterOptionsList(): any[] {
    const activeOptions = this.activeFilterOptions;
    let output: any[] = [];
    for (const key in activeOptions) {
      output = [...activeOptions[key], ...output];
    }
    return output;
}

filter.component.html
<mat-chip-list>
    <mat-chip
        *ngFor="let option of activeFilterOptions"
        (removed)="onChipRemoved($event.chip)"
        [value]="option.name">
                        {{option.name}}
         <button matChipRemove>
             <mat-icon>cancel</mat-icon>
         </button>
    </mat-chip>
</mat-chip-list>

Expected Behavior
mat-chip-list should be rendered with an array of objects, not only with Observable.
Actual Behavior
mat-chip-list freezes the application if an array of objects is used.
Environment

Angular: 14.2
CDK/Material: 14.2.7
Browser(s): Chrome
Operating System: macOS

This is causing an infinite change detection, because any time activeFilterOptionsList is accessed, it produces a new array which means that the view needs to be re-rendered.

@crisbeto yeah, I suspect that too... but that issue is not present in mat-list with mat-list-item. structurally they have similar markup.
<mat-list>
    <mat-list-item *ngFor="let option of activeFilterOptionsList">{{option.name}}</mat-list-item>
</mat-list>

this works perfectly fine.

There's probably something in the chip that triggers another round of change detection as a result which throws it into the loop. Either way, this isn't something we support since it'll cause other performance issues down the road.

It's not about supporting a new feature or functionality, it's about triaging a bug in the existing component mat-chip which is causing an issue for the simplest of use cases where chips are not working with ngFor.
mat-chip-list with mat-chip is having the same markup as mat-list with mat-list-item (which works perfectly).
mat-chip is not supposed to be used with *ngFor that consumes an array from a getter property?

Fixing the bug would mean supporting this behavior as well. This isn't a pattern we want to encourage people to use.


Add docs for the Rule class

More documentation for the "Rule" type class; When users coming from
"make" approach shake they might have some misconceptions about
the role of "Rule" instances, especially about the relation of "key" and
"value". It is obvious to me now, but I had a hard time understanding
the actual role of that class, and how to create reasonable custom
instances.
This is only a draft - are documentation pull requests at all desired?
What is the preferred style of documentation?
Please comment on the request.

Pull requests are most appreciated, thanks for takin the time, and for pointing out what is confusing at the beginning! I'm just heading to bed now, but will read through the details tomorrow morning.
Generally I don't expect most people to create their own rules, but just use the baked in ones. What did you need to create a custom rule for?

I actually don't ever compile any source code with shake. I use shake to orchestrate individual builds running on vms.
I plan on extending the use of shake to actual compilation of haskell and C code currently build using cmake; I only wish there was a library of helpers for compiling and linking C projects into say rpm files.
 The basic idea is that several (related) packages are built are grouped into package repositories.
Whenever a single package of a group changes, a new repo is created (i.e. the package files are copied to the package repository directory in a new subdirectory and new yum repo files etc are created)
I have three custom rules, not all of which might necessarily be implemented as such:

VM image builds
Package repository builds
Cloning/Pulling of git repositories.

I am sure I want a custom rule to build or pull VM images using my experimental "b9" library (at http://hackage.haskell.org/package/b9-0.2.4), because b9 has the concept of "shared images" which can be reused by other vm-builds but also can be "pushed" or "pulled" to/from remote hosts.
These images are hidden in a local directory known to b9  - and are never addressed by any build b9 build directly, e.g. through a filesystem path, but only via an abstract identifier, e.g. "rh7-prod"  or "fc20-testing".
One reason why I cannot allow a build to directly specify a file system path to an image file(-set) is that a build job might actually update an such an image while another build job on the same machine copies that images.

Thanks for the changes. I hadn't expected many people to be writing their own Rules, but your uses seem quite reasonable - very interesting to know.
I have some fairly extensive documentation tests which check all the Haddock samples compile. I'm just fixing the docs up so they pass those (both fixing the docs, filling out types for your examples, and fixing the doc generator). I should have that done tonight, then tomorrow I'll take a closer look at the actual content of the docs.

OK, all the docs pass, and I've gone through and revised the Rule instance. It's pretty much following the pattern you started with, but I've tweaked the example to just be defining the "file" rules, and reworded things a little. Let me know if you think I've made it worse in any way. Thanks for taking the time to improve the docs here, I think it's quite valuable. I even found a minor bug in one of the comments on storedValue, and inserted a test case to confirm how it actually works, so a very valuable exercise.

Wow, I am impressed by the sophistication of your approach. Thanks for
documenting shake a little more.
Wbr
Sven
Am 28.02.2015 23:23 schrieb "Neil Mitchell"<EMAIL_ADDRESS>
OK, all the docs pass, and I've gone through and revised the Rule
instance. It's pretty much following the pattern you started with, but I've
tweaked the example to just be defining the "file" rules, and reworded
things a little. Let me know if you think I've made it worse in any way.
Thanks for taking the time to improve the docs here, I think it's quite
valuable. I even found a minor bug in one of the comments on storedValue,
and inserted a test case to confirm how it actually works, so a very
valuable exercise.
—
Reply to this email directly or view it on GitHub
https://github.com/ndmitchell/shake/pull/214#issuecomment-76551831.


Fix repository URL for published package

The package metadata's repository URL refers to the Rhai organisation. It should refer to the repository that the Rhai package is publish from.

Well, not sure...  I believe I've seen people point to the org for the main repo project...

Ah, OK.  Fair enough.

Thanks!


feat: add NumberExtension to create SizedBox from num

Usage
// regular
SizedBox(height: 20);

// by extension
20.hSizedBox; // same output as above

LGTM! Thanks. Merging 🚀


chore: replace uint2str function with cheatcode

This project looks awesome 🫡
Small PR so you have a little less code to maintain, there's toString overloads for all solidity types

Lovely! Thank you fren.
If you all like it and want to merge it into foundry proper, feel free! Although... it's a bit hacky :/

Now that you mention it, it probably wouldn't be too hard to convert the solidity/shell script into rust to do this with native cheat codes, e.g. vm.getRecentDeployment("MyContract", block.chainid). Maybe worth opening an issue to track. (Don't want to add to forge-std since that currently has no shell scripts or ffi usage and it'd be great to keep it that way)
Also if it helps, StdCheats has a bunch of helpers for parsing artifacts which might let simplify things, and potentially even get rid of the shell script, in which case then we could upstream to forge-std. You might still need a new cheat to get all files in the broadcast directory, which I don't think exists yet


Handle invalid dom element, fixes #371

This fixes https://github.com/ftlabs/fastclick/issues/371 since that happens if the layer is null or undefined.

Many thanks for your contribution but I don't think this is the right thing for fastclick to do.  attach's API expects a valid DOM Element and if one isn't provided the behaviour is undefined.  Perhaps it should error in this case but it certainly shouldn't fail silently……

It definitely shouldn't break a whole app.
Should it throw an error? I can modify this PR or create a new one to throw an error instead, saying that the element is invalid.

I think correct response is throw error...
if (typeof layer !== 'object' || !layer.nodeType) {
    throw new Error('Must attach with a valid DOM element');
}

Just my two cents.

@cmwelsh I like that. Maybe I'll just use that.


environment variables are missing

At least these environment variables are not present at Bash startup:
USER
LOGNAME
SHELL

These are all pretty basic requirements for normal Linux functionality.

I believe on Linux these are set up by the login process which we don't currently run.
Just filed a task against myself to get these three environment variables added when we launch bash, thanks for pointing this out.

Fixed this in our development branch and it will make it's way to the external flighting branch. Thanks again for bringing this to our attention.


Cosmetic: RAG/KG button header at the bottom

@slobentanzer What is this issue for? I'm not very clear, would you please explain to me?

@slobentanzer is this issue relate to KG button disappearing at the bottom?

@fengsh27 sorry this and other recent ones were just a bunch of issues I created mainly for myself to remind myself of the cosmetics that mysteriously disappeared from my commits. I will take care of them, probably tomorrow. :)
(it is about creating a header similar to the one containing the Help and Persona buttons, but for RAG and KG)


[WIP] Theme updates

We're looking to use the same look-and-feel (theme) as the WP site. I'm leaning on the color scheme of the old site. This can merge with #1 and resolve #9.
Things in progress:

[x] Use blue and whites
[x] Add icon
[x] Replace stock photo

Ready for review by @conroywhitney

I'm starting small with design. This is targets the navbar and home page. I'm going to start tackling each page at a time since some of the CSS is inline the React components, which I'll eventually refactor to scale better if pages are added in the future.


When webui start or restart, it take extremely long time to load

Don't know if this is an issue. After enable this extension, webui take extremely long time to load when start or restart(several minutes).
If I disable this in webui‘s “extension” sheet, the problems solved(loaded immediately) . Don't know what the problem is. Please help

Hm, I've never had this issue before. The extension loads and processes some local files, but on a modern browser this shouldn't be a noticeable performance impact. So I need more details to help you.

Are you running locally, over a shared address, or in colab?
What web browser are you using?
Are there any error messages in the webui terminal or browser console?
Is there high cpu usage or other anomalies during loading?
Is the webui in general taking long to start up, or does it load the web page but hang afterwards?

Thanks.
I've tried several times, here are some details I got.
-Yes, running locally.

I have chrome and Edge browser, all got the problem.
Yes, there are some error messages in the  browser console. Nothing in webui's cmd window.
Chrome used about 25% cpu and 1.4G memory during loading.
The webui load the web page immediately but hang afterwards. And after about 3-5 minutes, CPU usage and webui back to 0% and normal, then webui can be used as normal.

Below is error message in browser console:
DevTools failed to load SourceMap: Could not load content for chrome-extension://bdodppndnaccmbilgifdlindbonogfpf/browser-polyfill.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
(index):2784 GET http://<IP_ADDRESS>:7860/file=extensions/tag-autocomplete/tags/e621.csv?1671415421811 net::ERR_CONNECTION_RESET 200 (OK)
(index):2849 Error loading extra file: TypeError: Failed to fetch
(index):2784 GET http://<IP_ADDRESS>:7860/file=extensions/tag-autocomplete/tags/e621.csv?1671415422250 net::ERR_CONNECTION_RESET 200 (OK)
(index):2849 Error loading extra file: TypeError: Failed to fetch
(index):2784 GET http://<IP_ADDRESS>:7860/file=extensions/tag-autocomplete/tags/danbooru.csv?1671415420388 net::ERR_CONNECTION_RESET 200 (OK)
(index):2813 Error loading tags file: TypeError: Failed to fetch
(index):2784 GET http://<IP_ADDRESS>:7860/file=extensions/tag-autocomplete/tags/e621.csv?1671415422140 net::ERR_CONNECTION_RESET 200 (OK)
(index):2849 Error loading extra file: TypeError: Failed to fetch
(index):2784 GET http://<IP_ADDRESS>:7860/file=extensions/tag-autocomplete/tags/e621.csv?1671415422522 net::ERR_CONNECTION_RESET 200 (OK)
(index):2849 Error loading extra file: TypeError: Failed to fetch
(index):2784 GET http://<IP_ADDRESS>:7860/file=extensions/tag-autocomplete/tags/e621.csv?1671415422638 net::ERR_CONNECTION_RESET 200 (OK)
(index):2849 Error loading extra file: TypeError: Failed to fetch
(index):3003 Uncaught (in promise) TypeError: textAreaId.replaceAll is not a function
at createResultsDiv ((index):3003)
at (index):3585
at Array.forEach ()
at setup ((index):3573)
2
(index):3003 Uncaught (in promise) TypeError: textAreaId.replaceAll is not a function
at createResultsDiv ((index):3003)
at (index):3585
at Array.forEach ()
at setup ((index):3573)
(index):3003 Uncaught (in promise) TypeError: textAreaId.replaceAll is not a function
at createResultsDiv ((index):3003)
at (index):3585
at Array.forEach ()
at setup ((index):3573)
(index):3003 Uncaught (in promise) TypeError: textAreaId.replaceAll is not a function
at createResultsDiv ((index):3003)
at (index):3585
at Array.forEach ()
at setup ((index):3573)
(index):3003 Uncaught (in promise) TypeError: textAreaId.replaceAll is not a function
at createResultsDiv ((index):3003)
at (index):3585
at Array.forEach ()
at setup ((index):3573)
(index):3003 Uncaught (in promise) TypeError: textAreaId.replaceAll is not a function
at createResultsDiv ((index):3003)
at (index):3585
at Array.forEach ()
at setup ((index):3573)

Please try to enter this in the browser console on the webui tab:
await (await fetch("file=extensions/tag-autocomplete/tags/e621.csv?1671415421811")).text()

I just want to make sure the loading itself works.
Other than that: I see you're using e621 as your main and danbooru as an extra file - that might be the cause. The "Extra file" system was originally for translations, now that those have a separate setting it's either aliases or new tags. But for aliases it loops through the whole file multiple times to try and find matches, so if the extra file is too big like in your case it will have an exponentially worse runtime. It also won't be ordered correctly since it just gets added at the bottom of the main tags. So really it's just for small sets of user-specific tags they often use or something like that.
TL;DR: try removing the extra file in the settings (edit "tac_extra.extraFile" to "None" in the webui's config.json in the root folder if you don't want to wait for it to start)

Thank you.
I set "extraFile" to "None" as you said, then the problem solved. It's my mistake, I was thinking that I can use "extra file" to add 2nd csv so there are more aliases when I type prompts.
Now I use danbooru for tags, and another 3 columns csv for translate, without "aliases file"(extra file).

Please try to enter this in the browser console on the webui tab:
await (await fetch("file=extensions/tag-autocomplete/tags/e621.csv?1671415421811")).text()

I just want to make sure the loading itself works.
Other than that: I see you're using e621 as your main and danbooru as an extra file - that might be the cause. The "Extra file" system was originally for translations, now that those have a separate setting it's either aliases or new tags. But for aliases it loops through the whole file multiple times to try and find matches, so if the extra file is too big like in your case it will have an exponentially worse runtime. It also won't be ordered correctly since it just gets added at the bottom of the main tags. So really it's just for small sets of user-specific tags they often use or something like that.
TL;DR: try removing the extra file in the settings (edit "tac_extra.extraFile" to "None" in the webui's config.json in the root folder if you don't want to wait for it to start)

I agree it can be a bit confusing, I might rework that system some time, or at least describe it better in the readme.
Glad that fixed it for you!

BTW, what excactly is "e261"? What does it mean? I thought it was a site like danbooru, but not sure.

I agree it can be a bit confusing, I might rework that system some time, or at least describe it better in the readme. Glad that fixed it for you!

Yes, e261 is another booru site. They focus on furry art, and since a few popular models were trained on it, I included their tags for those who use them. But for everything else danbooru should be better.

Yes, e621 is another booru site. They focus on furry art, and since a few popular models were trained on it, I included their tags for those who use them. But for everything else danbooru should be better.

Hello, Happy Lunar New Year.
Pls help. This time I encountered another problem. Don't know if it's caused by tac or not.
There are "tac“in webui's "extensions" tab, but ain't "tac" in "settings" tab. And tac don't trigger when input prompt.
Error massage mentioned about" lora" and "tac". It's like:
`venv "E:\PYTRADING\SD\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: c361b89026442f3412162657f330d500b803e052
Installing requirements for Web UI
Launching Web UI with arguments: --xformers --deepdanbooru --opt-split-attention --precision full --no-half --lowvram --always-batch-cond-uncond
E:\PYTRADING\SD\venv\Scripts\python.exe
Error loading script: tag_autocomplete_helper.py
Traceback (most recent call last):
File "E:\PYTRADING\SD\modules\scripts.py", line 205, in load_scripts
module = script_loading.load_module(scriptfile.path)
File "E:\PYTRADING\SD\modules\script_loading.py", line 13, in load_module
exec(compiled, module.dict)
File "E:\PYTRADING\SD\extensions\tag-autocomplete\scripts\tag_autocomplete_helper.py", line 23, in
LORA_PATH = Path(shared.cmd_opts.lora_dir)
AttributeError: 'Namespace' object has no attribute 'lora_dir'
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading weights [9e2c6ceff3] from E:\PYTRADING\SD\models\Stable-diffusion\f222.ckpt
Loading VAE weights specified in settings: E:\PYTRADING\SD\models\VAE\vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(244):
Model loaded in 7.5s (0.5s create model, 5.3s load weights).
Running on local URL:  http://<IP_ADDRESS>:7860
To create a public link, set share=True in launch().
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 331, in call
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\wc.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\applications.py", line 270, in call
await super().call(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call
await self.app(scope, receive, _send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call
await responder(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 706, in call
await route.handle(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 69, in app
await response(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 334, in call
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\wc.txt does not exist.
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 331, in call
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\wcet.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\applications.py", line 270, in call
await super().call(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call
await self.app(scope, receive, _send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call
await responder(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 706, in call
await route.handle(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 69, in app
await response(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 334, in call
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\wcet.txt does not exist.
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 331, in call
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\wc.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\applications.py", line 270, in call
await super().call(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call
await self.app(scope, receive, _send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call
await responder(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 706, in call
await route.handle(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 69, in app
await response(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 334, in call
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\wc.txt does not exist.
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 331, in call
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\wcet.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\applications.py", line 270, in call
await super().call(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call
await self.app(scope, receive, _send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call
await responder(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 706, in call
await route.handle(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 69, in app
await response(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 334, in call
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\wcet.txt does not exist.
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 331, in call
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\emb.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\applications.py", line 270, in call
await super().call(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call
await self.app(scope, receive, _send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call
await responder(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 706, in call
await route.handle(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 69, in app
await response(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 334, in call
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\emb.txt does not exist.
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 331, in call
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\emb.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\applications.py", line 270, in call
await super().call(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call
await self.app(scope, receive, _send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call
await responder(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 706, in call
await route.handle(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 69, in app
await response(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 334, in call
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\emb.txt does not exist.
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 331, in call
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\hyp.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\applications.py", line 270, in call
await super().call(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call
await self.app(scope, receive, _send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call
await responder(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 706, in call
await route.handle(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 69, in app
await response(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 334, in call
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\hyp.txt does not exist.
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 331, in call
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\hyp.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\applications.py", line 270, in call
await super().call(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call
await self.app(scope, receive, _send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call
await responder(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 706, in call
await route.handle(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 69, in app
await response(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 334, in call
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\hyp.txt does not exist.
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 331, in call
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\lora.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\applications.py", line 270, in call
await super().call(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call
await self.app(scope, receive, _send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call
await responder(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 706, in call
await route.handle(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 69, in app
await response(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 334, in call
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\lora.txt does not exist.
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 331, in call
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "E:\PYTRADING\SD\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\lora.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "E:\PYTRADING\SD\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\applications.py", line 270, in call
await super().call(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call
await self.app(scope, receive, _send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call
await responder(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call
raise exc
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "E:\PYTRADING\SD\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 706, in call
await route.handle(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\routing.py", line 69, in app
await response(scope, receive, send)
File "E:\PYTRADING\SD\venv\lib\site-packages\starlette\responses.py", line 334, in call
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\lora.txt does not exist.`

Ah, I've checked the "tag_autocomplete_helper.py",  it contain some command about .txt as expected.
I paste them below.  I see "even if no ... write to....." but it seems like they failed to write to temp/.txt,,,,
Sorry, I don't know how to fix this.

even if no wildcards or embeddings are found
write_to_temp_file('wc.txt', [])
write_to_temp_file('wce.txt', [])
write_to_temp_file('wcet.txt', [])
write_to_temp_file('hyp.txt', [])
write_to_temp_file('lora.txt', [])
Only reload embeddings if the file doesn't exist, since they are already re-written on model load
if not TEMP_PATH.joinpath("emb.txt").exists():
write_to_temp_file('emb.txt', [])
Write wildcards to wc.txt if found
if WILDCARD_PATH.exists():
wildcards = [WILDCARD_PATH.relative_to(FILE_DIR).as_posix()] + get_wildcards()
if wildcards:
write_to_temp_file('wc.txt', wildcards)
Write extension wildcards to wce.txt if found
if WILDCARD_EXT_PATHS is not None:
wildcards_ext = get_ext_wildcards()
if wildcards_ext:
write_to_temp_file('wce.txt', wildcards_ext)
# Write yaml extension wildcards to wcet.txt if found
wildcards_yaml_ext = get_ext_wildcard_tags()
if wildcards_yaml_ext:
write_to_temp_file('wcet.txt', wildcards_yaml_ext)
Write embeddings to emb.txt if found
if EMB_PATH.exists():
# Get embeddings after the model loaded callback
script_callbacks.on_model_loaded(get_embeddings)
if HYP_PATH.exists():
hypernets = get_hypernetworks()
if hypernets:
write_to_temp_file('hyp.txt', hypernets)
if LORA_PATH.exists():
lora = get_lora()
if lora:
write_to_temp_file('lora.txt', lora)

I‘m reinstalling the extension.

No good. After delete tac, no error message.  After install using" git clone "https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git" extensions/tag-autocomplete"   , problem reappear.

Looks like it can't find any of the temporary files it needs. Not just lora but those for embeddings, hypernetworks and wildcards as well.
Is E:\PYTRADING\SD\ your webui installation root?
Also, check if the temporary files were written to the paths it tries to load, e.g.
E:\PYTRADING\SD\extensions\tag-autocomplete\tags\temp\lora.txt, hyp.txt and emb.txt

Is E:\PYTRADING\SD\ your webui installation root?   yes
Also, check if the temporary files were written to the paths it tries to load, e.g.   No, they were not.
OK, read your EDIT, just update 3days ago (@ο@) .... OK,I'll go update. Thank you.

The webui commit in the error message you posted is from 2 weeks ago

Thank for your reply. The newer commit SD webui is compatible with AUTOTAG. I run SD locally, on kaggle and colab. Some code I use running smoothly with older commit SD and older AUTOTAG. I think it just version compatible problem and it's ...complicated. :(

Yeah, the newest autotag version will require newer webui versions due to the added Lora feature, while 1.16.x autotag versions will work with older webuis.


support for Tensorflow 2

hi,
it seems tensorflow 2.2.0 for golang got released: https://pkg.go.dev/github.com/tensorflow/tensorflow/tensorflow/go?tab=doc
Are you going to support it?
but Tensorflow C api is still 1.15: https://www.tensorflow.org/install/lang_c

tfgo already works with TensorFlow 2.x if you compile the C library by yourself, it's just a matter of linking it.
Officially I can't support it, because I have to wait for the official C library compiled. But as soon as it's out I will support it.
In the meantime, you can compile the C library by yourself (or, if like me you use Archlinux you can just install the tensorflow package and link with the ready-to-use .so) and use tfgo with the tf 2.x runtime.

Official libs have been updated: https://www.tensorflow.org/install/lang_c

@mxk @Arnold1  sorry for the extreme delay (but lockdown + moving to a new apartment have absorbed all my time).
I'll have a look at TensorFlow 2.x support (I'll start with TensorFlow 2.3.1).
In order to be able to completely support it, I also have to rewrite the test part of tfgo (I use a Python script to generate a tensorflow 1.x support - now, instead, I have to export a tensorflow 2.x function (or model, or stati graph) using tf.function.
It won't be immediate, but perhaps if I find the time, in some weeks a new release should be available.
P.S: I covered the tf.function export + the load in tfgo in my book (https://amzn.to/2TMImSw) if you're interested, you can have a look at the last paragraph.

I merged the support for TensorFlow 2.x (in particular, 2.3.1).
I had to remove the estimator support because TensorFlow is almost dropping them and are impossible to maintain alone.
Moreover, I had to create a TensorFlow fork with some fix in the tests and with all the required .proto files compiled and placed in the correct position, in this way it's easy to go build and also go get the package without any compilation error.
I updated the README accordingly


Changelog.md has no meta file

Describe the bug
error:

To Reproduce
Steps to reproduce the behavior:

Import from package manager
See error

This is specific for SteamyFaceNG and has been fixed a couple of days ago. If you find any other issues with the transport, please report them on its repo directly.


Script to update thin-edge.io from device

Describe the bug
Currently I can install thin-edge.io via script. But I can not update it.
Expected behavior
thin-edge.io provides a script that allows update of thin-edge.io via anprovided upgrade path.

I use the same script to upgrade thin-edge as the installation script, introduced here.
So we can consume the same script to upgrade/downgrade. However, we don't really document how to do it. I think this is what we should do.

Using the installation script as "upgrade" script only works partially in our experience. It strongly depended on from which version I jump to which version. This should be handled by the script via an upgrade path.

Upgrading feature is already available, but not well-known. We will work to improve our current documentation. Focus on this page https://thin-edge.github.io/thin-edge.io/html/howto-guides/002_installation.html.

Using the installation script as "upgrade" script only works partially in our experience. It strongly depended on from which version I jump to which version. This should be handled by the script via an upgrade path.

The upgrade script should work for upgrades or to install a specific version - so if you experience some issue using it, please create an issue.

Resolved with #1309


improvements for multi-folder projects

Use some shortcut of parent folder instead number

You sir, are having the best ideas :smiley:
I will even improve it a bit ;)


Matrix benchmark test not using correct type

https://github.com/exercism/go/blob/2f58e6d0aaf6c379d02741c59d3b8ba297f7d3c3/exercises/practice/matrix/matrix_test.go#L271
Shouldn't this be:
var matrix *Matrix
Instead of:
var matrix Matrix

I second guessed myself, but after looking at other submitted solutions, it does seem like the signature for New() is always (*Matrix, error).
With BenchmarkNew, it's trying to assign *Matrix, when it's expecting Matrix.

Figured it out. I was representing the matrix with a struct, which doesn't have a nil value. Once I changed that to type Matrix [][]int it works without changing the tests.