[Feature request] BibTeX / Literature in Franklin

Thanks for this nice package, it looks neat and seems easy to use so far.
Would it be possible to integrate for example Bibliography.jl to have a Publication List (maybe even literature in single pages/blog posts at the bottom)? That would be awesome. Especially a publication list would be nice to have (and my starting point to not only play with Franklin but actually switch).

So Bibliography.jl doesn't work for me (it's also not registered) but here's a prototype with BibTeX.jl which should show you how things can work; this is with the sandbox template
index.md
# Test with BibTex.jl

Some text here etc

## References

{{show_refs coleridge almendro maron}}

utils.jl
using BibTeX

function ref_item(ref, infos)
    io = IOBuffer()

    author = infos["author"]
    author_last, author_first = strip.(split(author, ","))

    write(io, "
")
    write(io, """$author_first $author_last, $(infos["title"]), $(infos["date"]).""")
    write(io, "
")
    return String(take!(io))
end

function hfun_show_refs(refs)
    _, allrefs = parse_bibtex(read(joinpath("_assets", "bibex.bib"), String))
    out = IOBuffer()
    write(out, "
")
    for ref in refs
        infos = get(allrefs, ref, nothing)
        isnothing(infos) && continue
        write(out, ref_item(ref, infos))
    end
    write(out, "
")
    return String(take!(out))
end

and that's it. The example bib file I'm using is this one and is saved in _assets/bibex.bib
Result

Notes

If you decide to use what I'm showing above, you'll have to add a bit of logic to remove these {...} and parse things like accents which are stored in the LaTeX format (see screenshot); this is pretty easy with a few replace in the ref_item function; though ideally these are things which should be done in the packages themselves...
Franklin has an internal way to handle references (parsing and processing of \cite, \citet, \citep); it could be hooked up with something that can parse bib files without too much effort but I'm currently a bit disappointed by the state of these libs (though you may have had a better experience in which case a working example using one of those packages would be useful)

hmm this could do the job: https://lucianolorenti.github.io/BibTeXFormat.jl/latest/

Oh sorry, I wasn't aware that Bibliography.jl is not yet registered, I just saw a propotype with that and Documenter recently and since I am thinking of moving my page from Jekyll to Franklin and this is the only thing I am not yet sure about... this might be a good thing to discuss here.
So yes of course, BibTeXFormat and things are a good way, too. I will check.
Concerning Accents, my usual bib-files are from BibLaTeX using UTF8, then accents should also be not a problem.

Right then in your case you should be able to "just" use my solution tweaking for the desired look. You could also use BibTexFormat but I'm not sure it will help you massively

I will try that then, maybe next week maybe during JuliaCon and report back.

Hi, while the above variant with BibTex.jl essentially worked (kudos for being able to parse my messy bibfile after only a few fixes!), presentation of the results in html is quite hard to achieve.  OTOH if you have pandoc and pandoc-citeproc installed, you can make use of the vast library of CSL styles available, e.g. you will find there ieee.csl.
Assuming a bibliography mypapers.bib in _assets, this can be achieved in the following way:
Write a "hfun" calling pandoc which writes a the html formatted bibliography to stdout:
function hfun_pub()
    read(`pandoc -f markdown+yaml_metadata_block+citations+raw_html _assets/pub.md --filter pandoc-citeproc --csl=_assets/ieee.csl --bibliography=_assets/mypapers.bib   --mathjax`,String)
end

In pub.md, you just write the yaml header with the bibtex keys (these dots etc. matter) :
---
nocite: |
 @Article1,
 @Article2,
 @Article3,
...

E.g. in publications.md you write
# Publications
{{pub}}

I had this up and running for some custom static site building, now I am  a proud owner of a
Franklin.jl based homepage ;-).

This looks really really nice, thanks Jürgen! I will take a closer look hopefully soon.

beautiful! that's something I can add in the docs as a nice example
Btw @j-fu are you happy for me to add a link to your webpage in the README? thanks!

Well  after sleeping over it:

The ultimate julian way would be to implement CSL based typesetting in Julia, which seems to be an achievable goal, given that there are already several implementations in different languages.

The pattern to use pandoc could easily be generalized to the  processing of whole markdown pages. In particular, this would allow to have in-text references. Not sure though if this should be the way forward here, but pandoc is just incredibly powerful (and thus making a point for haskell btw...)

Albeit interesting, all of this is outside my priorities, so i just mention these points here for anyone liking to  pick them up...
As for linking my home page - well yes, if you think it is ok enough - I won't be that active maintaining it, tough I plan to post my scientific computing course material  (julia/pluto based) there in the next couple of months.

I would contribute to both a CSL based typesetting as well as something that does pandoc-ish things with Franklin, though also for me both topics are not my main priorities so I will not start such projects but would contribute if they exist.

So I had a look and it seems to me that a good working compromise is to just use citeproc-js which is heavily battle tested.
In a way this would be similar to the pandoc option that @j-fu used but the project seems (more?) active and tested, also there would then be two options, one where you just load the js library and one where you pre-render. Franklin could provide some glu code to make this seamless.
It might then appear that this is somehow too slow or not flexible enough and might seed an effort towards a Julian one but this is an entire project in itself and doesn't look trivial (many finicky details).

If the references can be processed before building the site, DOI content negotiation could be of interest. So long as all the publications have a DOI that supports it, the plain text reference can be retrieved with e.g. curl -D - -L -H "Accept: text/x-bibliography" <doi link here> or using a simple script that can do web requests.

hmm pretty cool and definitely doable

I'll play around with it a bit, for now I'm pasting each entry in manually. My first hunch for automation is that the output might still need some touching-up, like turning the DOI number into an actual link.

Working on my first blog article now, then I'll push it as an example, with a fix for the regex which didn't work for textbooks (or anything that doesn't have a journal name). The retrieved reference text has so far been fine in most cases, occasionally I get strange things in the crossref metadata (usually something in place of missing/incorrect page number declarations). But it is easy enough to touch up the refcache. I've also made the citation macro print ??? like the default one when a ref is missing from the list...
[ link coming soon ]

All of the stuff can be found in here: https://sr.ht/~adigitoleo/adigitoleo-website/sources
For example, utils.jl.
The article with references: https://adigitoleo.srht.site/blog/geophys/drex-tests-analytical
Website also linked on my github profile. The article is very technical and mostly for self-reference. Don't worry about the content. It did however serve as a useful test for just about all of the features I will ever need (maths, images, flexboxes, refs, footnotes...) Happy to be added to README here, although that's basically all I have there at the moment.

Hi, while the above variant with BibTex.jl essentially worked (kudos for being able to parse my messy bibfile after only a few fixes!), presentation of the results in html is quite hard to achieve. OTOH if you have pandoc and pandoc-citeproc installed, you can make use of the vast library of CSL styles available, e.g. you will find there ieee.csl.
Assuming a bibliography mypapers.bib in _assets, this can be achieved in the following way: Write a "hfun" calling pandoc which writes a the html formatted bibliography to stdout:
function hfun_pub()
    read(`pandoc -f markdown+yaml_metadata_block+citations+raw_html _assets/pub.md --filter pandoc-citeproc --csl=_assets/ieee.csl --bibliography=_assets/mypapers.bib   --mathjax`,String)
end

In pub.md, you just write the yaml header with the bibtex keys (these dots etc. matter) :
---
nocite: |
 @Article1,
 @Article2,
 @Article3,
...

E.g. in publications.md you write
# Publications
{{pub}}

I had this up and running for some custom static site building, now I am a proud owner of a Franklin.jl based homepage ;-).

@j-fu I just contructed my publication list using your ideias. Thanks for that.
I have a question: In your webpage the publications are sorted by date. Did you change the ieee.csl class to reflect this? Could you give some hint on how you did it?

Thank you all for the helpful discussion.
I wanted to parse bibfiles with my publications and display them neatly on my homepage, together with links to arXiv or the publisher's sites. The above solutions didn't quite work for me so I resorted to the following solution that may also be useful for other people with this use-case:

I first import and sort the bibliography using the Bibliography and DataStructures package (code)
I then extract the content that I need from the created datastructure and do some string manipulation for a nice conversion to html. The solution is a bit hacked together and specific to my needs but works and can hopefully be adapted to other people's needs too (code)
Note that the Bibliography seems to be able to do chronological sorting (oldest publication on the top) but not reverse chronological sorting  (newest publication on the top). Reverse chronological ordering can be achieved with  Iterators.reverse when looping through the papers, see here

That's how it looks like: link


Not compatible with 0.9.1* version

Not able to run using monai 0.9.1.rc3 version.. (specially in case of deepedit which fails while running post inverse transform)

May be other models also should need some verification against latest MetaTensor related changes...

Hi @SachidanandAlle , in configs/metadata.json, library versions are included, and for this version of deepedit bundle, we can only ensure that it can work with monai v0.9.0.
For the metatensor based changed, we may need to add new supported versions.
cc @Nic-Ma

@yiheng-wang-nv , as MetaTensor is slightly breaking change, need to update new version bundles if the developer or user like to support MONAI 0.9.1.
CC @wyli
Thanks.

This issue has been resolved in: https://github.com/Project-MONAI/model-zoo/issues/180


Update views.py

Add request parameter to Site.get_current so we can work in situations where SITE_ID is not defined

This is not ready to merge


Error: APP-SERVICE-SDK:lanDebug:fail rejected due to no permission currently报错

Error: APP-SERVICE-SDK:lanDebug:fail rejected due to no permission currently报错问题，在src/index.js中加入key !== "createSignal" && key !== "lanDebug"

@hzy1216 大佬可以提一个 PR 支持一下😊

like this #43

fix on https://github.com/youngjuning/wx-promise-pro/commit/dab90c7a1881c71da4f412e61667e6204b043965，publish on 3.2.4


ByteCounter.Write documentation is outdated

It mentions that adds the byte count to ByteCounter.Count which is inaccurate, as it's a method now.

Solved in 312499f.

Solved in 312499f.


Bug: Colors in text don't match colors on diagram

Where does the issue happen?
https://learn.qiskit.org/course/introduction/visualizing-entanglement
What is the content issue?
In "Exercise 5" and "Bell test for quantum variables" sections of the "Visualizing Entanglement" section, the text refers to the bars as white representing 1 and black representing 0, but the images acutally have 1 represented by purple and zero represented by a gray empty bar.
Screenshots

Additional information
No response

Closed via https://github.com/Qiskit/platypus/pull/1669


Add rerun failed tests in Grinder link to release summary report

Updated TRSS Release Summary Report to include ~rerun in grinder link for all failed tests, as well as~ rerun grinder link in each failed child test. This is partial fix of #624
Fixes: #632
Signed-off-by: Tommy Tho<EMAIL_ADDRESS>

Report Preview
Release Summary Report for Test_openjdk11_hs_extended.openjdk_x86-64_linux
Report generated at: Sat, 02 Apr 2022 01:14:03 GMT
TRSS Build and TRSS Grid View
Jenkins Build URL https://ci.adoptopenjdk.net/job/Test_openjdk11_hs_extended.openjdk_x86-64_linux/31/
Started by upstream project "build-scripts/jobs/jdk11u/jdk11u-linux-x64-hotspot" build number 994 at 2021-07-03, 11:12:25 a.m.

jdk8u-aix-ppc64-openj9 ⚠ UNSTABLE ⚠

Test_openjdk11_hs_extended.openjdk_x86-64_linux ⚠ UNSTABLE ⚠
Rerun all | failed testsjava -version output
openjdk version "11.0.12" 2021-07-20

OpenJDK Runtime Environment Temurin-11.0.12+6 (build 11.0.12+6)

OpenJDK 64-Bit Server VM Temurin-11.0.12+6 (build 11.0.12+6, mixed mode)

jdk_management_1 => deep history 0/1 passed | possible issues
jdk_tools_1 => deep history 0/2 passed | possible issues
jdk_beans_0 => deep history 0/2 passed | possible issues
Test_openjdk11_hs_extended.openjdk_x86-64_linux_testList_2 ⚠ UNSTABLE ⚠
jdk_management_0 => deep history 0/1 passed | possible issues
jdk_security_infra_0 => deep history 0/1 passed | possible issues

Let's break this into 2 steps:

rerun links for specific failed tests (line103 - line112, line136)
parse and add Rerun in Grinder with failed test targets link in the database and display it on the TRSS summary report

Please clean this PR so we can get step 1 delivered.

Release Summary Report for jdk8u-linux-aarch64-dragonwell
Report generated at: Wed, 06 Apr 2022 03:55:40 GMT
TRSS Build and TRSS Grid View
Jenkins Build URL https://ci.adoptopenjdk.net/job/Test_openjdk11_hs_extended.openjdk_x86-64_linux/30/
Started by upstream project "build-scripts/jobs/jdk11u/jdk11u-linux-x64-hotspot" build number 991 at 2021-06-26, 11:51:07 a.m.

Test_openjdk11_hs_extended.openjdk_x86-64_linux ⚠ UNSTABLE ⚠
Rerun alljava -version output
openjdk version "11.0.12" 2021-07-20

OpenJDK Runtime Environment Temurin-11.0.12+5 (build 11.0.12+5)

OpenJDK 64-Bit Server VM Temurin-11.0.12+5 (build 11.0.12+5, mixed mode)

jdk_security_infra_1 => deep history 0/1 passed | possible issues | rerun
jdk_tools_1 => deep history 0/1 passed | possible issues | rerun
Test_openjdk11_hs_extended.openjdk_x86-64_linux_testList_2 ⚠ UNSTABLE ⚠
jdk_management_1 => deep history 0/4 passed | possible issues | rerun

Let's break this into 2 steps:
1. rerun links for specific failed tests (line103 - line112, line136)

2. parse and add Rerun in Grinder with failed test targets link in the database and display it on the TRSS summary report

Please clean this PR so we can get step 1 delivered.

PR is cleaned. Step 1 should be delivered.


Issues with Capitalization and Punctuation in Transcribed Audios

After transcribing several audio files using medium model, I have noticed that the transcriptions lack capitalization and punctuation. For example:
Transcribed text with punctuation and capitalization: "Produces, for example, a Renault headlight. They say, yes, yes, we produce it."
Transcribed text without punctuation and capitalization: "produces for example a renault headlight they say yes yes we produce it"
I suspect that this issue might be due to some accumulated cache in the model (or something similar). This problem seems to occur with certain types of content, but I am not sure. BTW, sometimes the problem fixes itself after a few minutes of audio. Therefore, my questions are:
Why does this happen?
How can I fix it?
I use this configuration of parameters:
vad_parameters = {
    'threshold': 0.5,
    'min_speech_duration_ms': 400,
    'max_speech_duration_s': float("inf"),
    'min_silence_duration_ms': 400,
    'window_size_samples': 1024,
    'speech_pad_ms': 750
}

hallucination_silence_threshold = 0.8
model_size = "medium"
compute_type = "float16"
beam_size = 8

and silance ...
same problems...
have you managed to understand the cause of the problem?
thank you

and silance ... same problems...
have you managed to understand the cause of the problem? thank you

Hi! Yes, I've searched for similar issues in many other repositories and found out that it's just a bug in Whisper. Whisper "forgets" to do punctuation and capitalization, and we can "remind" it by using a prompt with punctuation and capitalization.
Using a prompt can introduce instability in the final result (hallucinations and other issues), so I refuse this possibility because of it. However, you may try and experiment with it!


Make pg_catalog schema visible only when client connect from Postgres protocol

What type of enhancement is this?
API improvement
What does the enhancement do?
This was a comment from the initial PR of pg_catalog feature #4332 . This pg_catalog is designed to work with postgresql client tools like psql to get meta information of the database. It should only be visible when client connects from postgresql protocol. We should not see it from our mysql clients, and http dashbaord.
Implementation challenges
Check the QueryContext to see current whether current client is from postgresql port or not.

assign this to me.


How do you write a range request?

I'm trying to take advantage of COG format to write a python script to download only the data inside of a state border for example "california.shp". The data I want to download is hosted on AWS as requester pays, so it's important that I only download exactly what I need.
I have gone several pages in on google, and despite all the pages saying how great COG is because of the range requests, I just can't find a single real example showing how to do this.
So, given a shapefile, and an aws data COG data source (for example, naip-imagery), how would you do this? It would be great to have example scripts on this website (or anywhere, really).
This is the code I have so far. (Along with some creative suggestions from ChatGPT that didn't work out, I'm assuming it has just as little information to feed into the model as I did when trying to figure it out...)
import boto3
import shapefile
from shapely.geometry import Polygon, Point

# Read in shapefile, which is in WGS84
california_border = Polygon(shapefile.Reader("california.shp")).shapes()[0].points)

# Connect to AWS
client = boto3.client(
    "s3",
    aws_access_key_id=<MY_ACCESS_KEY>,
    aws_secret_access_key=<MY_SECRET_ACCESS_KEY>,
    region_name="us-west-2"
)

# List objects in the "naip-analytic" dataset
objects = client.list_objects_v2(
    Bucket="naip-analytic",
    Prefix="ca/2020/60cm/rgbir_cog/32114", #One out of 6 folders available for California, this holds 43 .tif files
    MaxKeys=1000,
    RequestPayer="requester"
)

for obj in objects["Contents"]:
    print(obj["Key"])
    # Get object metadata
    metadata = client.head_object(
        Bucket="naip-analytic",
        Key=obj["Key"],
        RequestPayer="requester"
    )

    coords = metadata["Metadata"] #This doesn't actually hold any information (suggested by ChatGPT). Full output below

    #Everything below is non-working suggestions from ChatGPT, left in case they inspire any good ideas
    xmin = float(coords["s3:xmin"])
    ymin = float(coords["s3:ymin"])
    xmax = float(coords["s3:xmax"])
    ymax = float(coords["s3:ymax"])

    # Check if image intersects the California border
    if california_border.intersects(Polygon([(xmin, ymin), (xmax, ymin), (xmax, ymax), (xmin, ymax)])):
        # Calculate the overlap between the image and the California border
        overlap = california_border.intersection(Polygon([(xmin, ymin), (xmax, ymin), (xmax, ymax), (xmin, ymax)]))
        # Calculate the start and end bytes of the overlap
        start_x, start_y = overlap.exterior.coords[0]
        end_x, end_y = overlap.exterior.coords[2]
        start_byte = int((start_x - xmin) / (xmax - xmin) * obj["Size"]) #This was ChatGPT's guess. I am not sure if this is approrpiate
        end_byte = int((end_x - xmin) / (xmax - xmin) * obj["Size"])
        # Create a range request for the image
        url = f"https://naip-analytic.s3.amazonaws.com/{obj['Key']}?AWSAccessKeyId={client.meta.config.access_key}&Signature={client.meta.config.secret_key}&Expires={client.meta.config.signature_version}"
        headers = {
            "Range": f"bytes={start_byte}-{end_byte}"
        }
        print(url)

My metadata response from AWS looks like this:
{'ResponseMetadata': {'RequestId': 'BCZWDXWE7BJ1444B', 'HostId': 'BnfupuW09mBf8wBWNCYt2sLFLl78sY3niZ+TKZx6UkGZqCIFk3uNLCqPRG76I3qvAEWpkLLhR3s=', 'HTTPStatusCode': 200, 'HTTPHeaders': {'x-amz-id-2': 'BnfupuW09mBf8wBWNCYt2sLFLl78sY3niZ+TKZx6UkGZqCIFk3uNLCqPRG76I3qvAEWpkLLhR3s=', 'x-amz-request-id': 'BCZWDXWE7BJ1444B', 'date': 'Thu, 05 Jan 2023 17:23:55 GMT', 'x-amz-request-charged': 'requester', 'last-modified': 'Fri, 28 Jan 2022 16:31:34 GMT', 'etag': '"3357a147f64f23e7b8471760b7faf242-44"', 'accept-ranges': 'bytes', 'content-type': 'image/tiff', 'server': 'AmazonS3', 'content-length': '361935973'}, 'RetryAttempts': 0}, 'AcceptRanges': 'bytes', 'LastModified': datetime.datetime(2022, 1, 28, 16, 31, 34, tzinfo=tzutc()), 'ContentLength': 361935973, 'ETag': '"3357a147f64f23e7b8471760b7faf242-44"', 'ContentType': 'image/tiff', 'Metadata': {}, 'RequestCharged': 'requester'}

I'm hoping someone here is familiar enough with the format to point me in the right direction, it's disappointing that something so simple isn't described anywhere.
I'm not sure where to find:

The AWS-hosted COG's bounding box coordinates (the ones above ["s3:xmin"] etc. do not appear when I run the code)
How do I calculate which bytes I need?
Can I get more specific and only get the exact bytes within my border, or do I have to do a bounding box?

Thanks! I really appreciate any help.

checkout
https://rasterio.readthedocs.io/en/latest/topics/masking-by-shapefile.html
https://cogeotiff.github.io/rio-tiler/advanced/feature/
But that will only explain how to read a raster (COG). You have other issues to solve:

NAIP has multiple years of acquisition (your 6 sub-directories), so you have to select 1
for each years you have multiple small COG so you need to create a mosaic first. The easiest will be to create a VRT document with all the COG and then use it to fetch the part you need (from the shape)

You don't need to write the range-request, you rasterio/GDAL to do that for you
ref:
https://github.com/kylebarron/naip-cogeo-mosaic
https://github.com/developmentseed/cogeo-mosaic/blob/main/docs/src/examples/Create_a_Dynamic_RtreeBackend.ipynb

I see several options for what should go in place of "https://" such as "s3://" or "/vsis3/", but don't know what the difference is.

because the naip bucket is requester pays, you'll need to use the s3:// prefix and set AWS_REQUEST_PAYER= requester in you environment.
This should fix the "Warning 1: Can't open . Skipping it" issue.

What is the overlap with the vrt and the mosaic.json project? They sound similar, so if I could just use the gdal vrt format instead that would be preferrable to minimize extra libraries.

MosaicJSON is kinda like a VRT but optimized for dynamic tiling. For your use case VRT will be enough.

Would I then need to feed the vrt file into rio_tiler Reader, where it is treated like a regular file

Yes

and I can then follow the example you linked (https://cogeotiff.github.io/rio-tiler/advanced/feature/) at which point my file will be downloaded and saved?

Rio-tiler is not meant to save output file, you'll better served with gdalwarp command line as you mentioned.

Thanks for your help, it feels so close! I really appreciate it.
I now have my list of urls in "ca_32113_urls.txt":
s3://naip-analytic.s3.amazonaws.com/ca/2020/60cm/rgbir_cog/32114/m_3211419_nw_11_060_20200524.tif
s3://naip-analytic.s3.amazonaws.com/ca/2020/60cm/rgbir_cog/32114/m_3211420_ne_11_060_20200524.tif
s3://naip-analytic.s3.amazonaws.com/ca/2020/60cm/rgbir_cog/32114/m_3211420_nw_11_060_20200524.tif

And my command
gdalbuildvrt -input_file_list .\ca_32114_urls.txt ca_32114_urls.vrt --config AWS_REGION "us-west-2" --config AWS_ACCESS_KEY_ID <my_access_key> --config AWS_SECRET_ACCESS_KEY <my_secret_key> --config AWS_REQUEST_PAYER "requester"
But am still getting "Warning 1: Can't open . Skipping it"
When you say said to set this in the environment, does it have to be a standard windows environment variable, or would you expect it to work as shown in the command above

🤦 my bad
it should be
/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211419_nw_11_060_20200524.tif
/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211420_ne_11_060_20200524.tif
/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211420_nw_11_060_20200524.tif

GDAL uses /vsis3/ prefix and not s3://

Ah, I tried that one already as well, didn't work unfortunately.

it worked for me 🤷♂

Ah, that's a good start!
Did you run the same command I had listed above, or do you have the environment variables set locally?
Are you using Windows or Linux?

$ cat test.txt
/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211419_nw_11_060_20200524.tif
/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211420_ne_11_060_20200524.tif
/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211420_nw_11_060_20200524.tif

$ gdalbuildvrt -input_file_list test.txt ca_32114_urls.vrt --config AWS_REGION "us-west-2" --config AWS_REQUEST_PAYER "requester"
0...10...20...30...40...50...60...70...80...90...100 - done.

$ cat ca_32114_urls.vrt
<VRTDataset rasterXSize="39990" rasterYSize="13100">
  <SRS dataAxisToSRSAxisMapping="1,2">PROJCS["NAD83 / UTM zone 11N",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4269"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-117],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","26911"]]</SRS>
  <GeoTransform>  7.1059800000000000e+05,  5.9999999999999998e-01,  0.0000000000000000e+00,  3.6265380000000000e+06,  0.0000000000000000e+00, -5.9999999999999998e-01</GeoTransform>
  <VRTRasterBand dataType="Byte" band="1">
    <ColorInterp>Red</ColorInterp>
    <SimpleSource>
      <SourceFilename relativeToVRT="0">/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211419_nw_11_060_20200524.tif</SourceFilename>
      <SourceBand>1</SourceBand>
      <SourceProperties RasterXSize="10680" RasterYSize="12440" DataType="Byte" BlockXSize="512" BlockYSize="512" />
      <SrcRect xOff="0" yOff="0" xSize="10680" ySize="12440" />
      <DstRect xOff="0" yOff="660" xSize="10680" ySize="12440" />
    </SimpleSource>
    <ComplexSource>
      <SourceFilename relativeToVRT="0">/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211420_ne_11_060_20200524.tif</SourceFilename>
      <SourceBand>1</SourceBand>
      <SourceProperties RasterXSize="10710" RasterYSize="12450" DataType="Byte" BlockXSize="512" BlockYSize="512" />
      <SrcRect xOff="0" yOff="0" xSize="10710" ySize="12450" />
      <DstRect xOff="29280" yOff="0" xSize="10710" ySize="12450" />
      <NODATA>0</NODATA>
    </ComplexSource>
    <SimpleSource>
      <SourceFilename relativeToVRT="0">/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211420_nw_11_060_20200524.tif</SourceFilename>
      <SourceBand>1</SourceBand>
      <SourceProperties RasterXSize="10700" RasterYSize="12440" DataType="Byte" BlockXSize="512" BlockYSize="512" />
      <SrcRect xOff="0" yOff="0" xSize="10700" ySize="12440" />
      <DstRect xOff="19520" yOff="230" xSize="10700" ySize="12440" />
    </SimpleSource>
  </VRTRasterBand>
  <VRTRasterBand dataType="Byte" band="2">
    <ColorInterp>Green</ColorInterp>
    <SimpleSource>
      <SourceFilename relativeToVRT="0">/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211419_nw_11_060_20200524.tif</SourceFilename>
      <SourceBand>2</SourceBand>
      <SourceProperties RasterXSize="10680" RasterYSize="12440" DataType="Byte" BlockXSize="512" BlockYSize="512" />
      <SrcRect xOff="0" yOff="0" xSize="10680" ySize="12440" />
      <DstRect xOff="0" yOff="660" xSize="10680" ySize="12440" />
    </SimpleSource>
    <ComplexSource>
      <SourceFilename relativeToVRT="0">/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211420_ne_11_060_20200524.tif</SourceFilename>
      <SourceBand>2</SourceBand>
      <SourceProperties RasterXSize="10710" RasterYSize="12450" DataType="Byte" BlockXSize="512" BlockYSize="512" />
      <SrcRect xOff="0" yOff="0" xSize="10710" ySize="12450" />
      <DstRect xOff="29280" yOff="0" xSize="10710" ySize="12450" />
      <NODATA>0</NODATA>
    </ComplexSource>
    <SimpleSource>
      <SourceFilename relativeToVRT="0">/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211420_nw_11_060_20200524.tif</SourceFilename>
      <SourceBand>2</SourceBand>
      <SourceProperties RasterXSize="10700" RasterYSize="12440" DataType="Byte" BlockXSize="512" BlockYSize="512" />
      <SrcRect xOff="0" yOff="0" xSize="10700" ySize="12440" />
      <DstRect xOff="19520" yOff="230" xSize="10700" ySize="12440" />
    </SimpleSource>
  </VRTRasterBand>
  <VRTRasterBand dataType="Byte" band="3">
    <ColorInterp>Blue</ColorInterp>
    <SimpleSource>
      <SourceFilename relativeToVRT="0">/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211419_nw_11_060_20200524.tif</SourceFilename>
      <SourceBand>3</SourceBand>
      <SourceProperties RasterXSize="10680" RasterYSize="12440" DataType="Byte" BlockXSize="512" BlockYSize="512" />
      <SrcRect xOff="0" yOff="0" xSize="10680" ySize="12440" />
      <DstRect xOff="0" yOff="660" xSize="10680" ySize="12440" />
    </SimpleSource>
    <ComplexSource>
      <SourceFilename relativeToVRT="0">/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211420_ne_11_060_20200524.tif</SourceFilename>
      <SourceBand>3</SourceBand>
      <SourceProperties RasterXSize="10710" RasterYSize="12450" DataType="Byte" BlockXSize="512" BlockYSize="512" />
      <SrcRect xOff="0" yOff="0" xSize="10710" ySize="12450" />
      <DstRect xOff="29280" yOff="0" xSize="10710" ySize="12450" />
      <NODATA>0</NODATA>
    </ComplexSource>
    <SimpleSource>
      <SourceFilename relativeToVRT="0">/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211420_nw_11_060_20200524.tif</SourceFilename>
      <SourceBand>3</SourceBand>
      <SourceProperties RasterXSize="10700" RasterYSize="12440" DataType="Byte" BlockXSize="512" BlockYSize="512" />
      <SrcRect xOff="0" yOff="0" xSize="10700" ySize="12440" />
      <DstRect xOff="19520" yOff="230" xSize="10700" ySize="12440" />
    </SimpleSource>
  </VRTRasterBand>
  <VRTRasterBand dataType="Byte" band="4">
    <SimpleSource>
      <SourceFilename relativeToVRT="0">/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211419_nw_11_060_20200524.tif</SourceFilename>
      <SourceBand>4</SourceBand>
      <SourceProperties RasterXSize="10680" RasterYSize="12440" DataType="Byte" BlockXSize="512" BlockYSize="512" />
      <SrcRect xOff="0" yOff="0" xSize="10680" ySize="12440" />
      <DstRect xOff="0" yOff="660" xSize="10680" ySize="12440" />
    </SimpleSource>
    <ComplexSource>
      <SourceFilename relativeToVRT="0">/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211420_ne_11_060_20200524.tif</SourceFilename>
      <SourceBand>4</SourceBand>
      <SourceProperties RasterXSize="10710" RasterYSize="12450" DataType="Byte" BlockXSize="512" BlockYSize="512" />
      <SrcRect xOff="0" yOff="0" xSize="10710" ySize="12450" />
      <DstRect xOff="29280" yOff="0" xSize="10710" ySize="12450" />
      <NODATA>0</NODATA>
    </ComplexSource>
    <SimpleSource>
      <SourceFilename relativeToVRT="0">/vsis3/naip-analytic/ca/2020/60cm/rgbir_cog/32114/m_3211420_nw_11_060_20200524.tif</SourceFilename>
      <SourceBand>4</SourceBand>
      <SourceProperties RasterXSize="10700" RasterYSize="12440" DataType="Byte" BlockXSize="512" BlockYSize="512" />
      <SrcRect xOff="0" yOff="0" xSize="10700" ySize="12440" />
      <DstRect xOff="19520" yOff="230" xSize="10700" ySize="12440" />
    </SimpleSource>
  </VRTRasterBand>
  <OverviewList resampling="nearest">2 4 8 16 32</OverviewList>
</VRTDataset>

I'm on Mac OS, I have couple env set but it shouldn't make any difference for accessing the files
$ env | grep "GDAL"
GDAL_CACHEMAX=75%
GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR
GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES
GDAL_HTTP_MULTIPLEX=YES
GDAL_INGESTED_BYTES_AT_OPEN=32768
GDAL_DATA=/opt/homebrew/share/gdal
GDAL_HTTP_VERSION=2

GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR is maybe the most important, but this will only speed up the process

Do you have additional AWS environment variables set? I saw you omitted AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, so I'm guessing they are set as environment variables.

I'm guessing they are set as environment variables.

yes they are in my env by default so I omitted those

Darn, it was so close. I'll try again later on a different computer to see if it's something about this machine causing the issue. I tried running it again with --config CPL_DEBUG "ON", but this did not provide much additional information.


Example has crashed at start

As mentioned in documentation an example is here
But it crashes at start on emulator and android device with exception:
Observatory server failed to start after 10 tries
I/flutter (16645): Observatory server failed to start after 11 tries
I/flutter (16645): Could not start Observatory HTTP server:
I/flutter (16645): SocketException: Failed to create server socket (OS Error: Operation not permitted, errno = 1), address = <IP_ADDRESS>, port = 0
I/flutter (16645): #0      _NativeSocket.bind (dart:io-patch/socket_patch.dart:996:7)
I/flutter (16645): <asynchronous suspension>
I/flutter (16645): #1      Server.startup.poll (dart:vmservice_io/vmservice_server.dart:425:19)
I/flutter (16645): <asynchronous suspension>
I/flutter (16645): #2      Server.startup (dart:vmservice_io/vmservice_server.dart:437:13)
I/flutter (16645): <asynchronous suspension>

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.2, on Ubuntu 20.04.4 LTS 5.13.0-35-generic, locale en_US.UTF-8)                                                                                [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc1)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2021.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

@ValeriusGC which platform are you running the sample on?

is it 64 bit? because 32 bit is not supported there is a bug that needs to be fixed. https://github.com/isar/isar/issues/187

@ValeriusGC Please add the tag for granting access to internet usage in the AndroidManifext.xml file:
<uses-permission android:name="android.permission.INTERNET"/>

After adding this and running the example app again. Things should work fine hopefully!

@ValeriusGC Please add the tag for granting access to internet usage in the AndroidManifext.xml file:

Now i stuck with next error: Failed to load dynamic library 'libisar.so': dlopen failed: library "libisar.so" not found
I/flutter ( 2922): Invalid argument(s): Failed to load dynamic library 'libisar.so': dlopen failed: library "libisar.so" not found
E/flutter ( 2922): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: IsarError: Could not initialize IsarCore library. If you create a Flutter app, make sure to add isar_flutter_libs to your dependencies.
E/flutter ( 2922): #0      initializeIsarCore (package:isar/src/native/isar_core.dart:68:5)
E/flutter ( 2922): #1      openIsarNative (package:isar/src/native/open.dart:27:3)
E/flutter ( 2922): <asynchronous suspension>
E/flutter ( 2922): #2      main (package:quotes/main.dart:12:16)
E/flutter ( 2922): <asynchronous suspension>

Here is my YAML
environment:
  sdk: ">=2.12.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  isar: ^1.0.0
  isar_flutter_libs: ^1.0.0
  isar_connect: ^1.0.0
  lazy_load_scrollview: 1.3.0
  auto_size_text: ^3.0.0
  flutter_staggered_grid_view: 0.4.0-nullsafety.3
  path_provider: ^2.0.8

dev_dependencies:
  isar_generator: ^1.0.0
  build_runner: any

I tried update to last ones ...
dependencies:
  flutter:
    sdk: flutter
  isar: ^2.2.1
  isar_flutter_libs: ^2.2.1
  isar_connect: 2.0.0
  lazy_load_scrollview: 1.3.0
  auto_size_text: ^3.0.0
  flutter_staggered_grid_view: ^0.6.1
  path_provider: ^2.0.9

dev_dependencies:
  isar_generator: ^2.2.1
  build_runner: any

... but faced with conflicts:
Because isar_connect 2.0.0 depends on isar 2.0.0 and quotes depends on isar ^2.2.1, isar_connect 2.0.0 is forbidden.
So, because quotes depends on isar_connect 2.0.0, version solving failed.

is it 64 bit? because 32 bit is not supported there is a bug that needs to be fixed. #187

My work machine Linux is 64-bit

Because isar_connect 2.0.0 depends on isar 2.0.0 and quotes depends on isar ^2.2.1, isar_connect 2.0.0 is forbidden.
So, because quotes depends on isar_connect 2.0.0, version solving failed.
You can resolve the above error by removing isar_connect 2.0.0 from the dependencies as it is no longer after version 2.1.0. It's already integrated in isar ^2.2.1.

Now i stuck with next error: Failed to load dynamic library 'libisar.so': dlopen failed: library "libisar.so" not found
I am guessing you are testing the sample in the Android emulator which is probably an x86 emulator. You can try it in your 64-bit physical device the sample app should work fine.

As @richard457 32-bit systems facing this issue.

Fixed in latest release 👍


Writing a file with password protection doesn't work

Inherited from Railo Extension. Supplying a password to the write() method only makes the file "read-only". Doesn't prevent opening.

POI's support for password protection seems to be patchy. You can prevent XML spreadsheet files (.xlsx) from being opened without a password, but not binary (.xls) workbooks.
Conversely you can prevent a binary workbook from being edited, but this doesn't work for XML workbooks.
I've decided to make the password attribute of write() trigger the XML-only file encryption. If the workbook is binary instead of XML it will throw an exception.
I've also created a separate setReadOnly() function which works with binary workbooks: https://github.com/cfsimplicity/lucee-spreadsheet/issues/69
@Imah could you please download the current Master and see if the password protection in write() works for you now. As I say it will only work with XML format spreadsheets. Also note that not all spreadsheet software supports the type of encryption used. I was able to open protected files with Excel Viewer but not OpenOffice.

Hi Julian,
I followed your example you had, for write() to test out XML spreadsheet creation,
spreadsheet = service("spreadsheet");
data = QueryNew( "First,Last","VarChar,VarChar",[ [ "Susi","Sorglos" ],[ "Julian","Halliwell" ] ] );
workbook = spreadsheet.workbookFromQuery( data );
path = "C:/temp/test.xlsx";
spreadsheet.write( workbook=workbook, filepath=path, password="testpassword");
But, that still throws an error (not sure if I was doing something wrong there?):
Message	Whole file password protection is not supported for binary workbooks
Detail	Password protection only works with XML ('xlsx') workbooks.
I did come across some post regarding password proctection, I.e.
http://sachinnikam.blogspot.com.au/2014/04/apache-poi-password-protected-excel.html
using Biff8EncryptionKey,
however, with my limited Java skills, not sure if this would work for binary (xls) workbook?
Regards,
Leroy

Hi Leroy, the example code you used creates a binary file. You need to add the xmlFormat flag to workbookFromQuery to generate an XML file:
spreadsheet = service("spreadsheet");
data = QueryNew( "First,Last","VarChar,VarChar",[ [ "Susi","Sorglos" ],[ "Julian","Halliwell" ] ] );
workbook = spreadsheet.workbookFromQuery( data=data,xmlFormat=true );
path = "C:/temp/test.xlsx";
spreadsheet.write( workbook=workbook, filepath=path, password="testpassword");

The POI docs suggest (but aren't very clear) that Biff8EncryptionKey could be used for writing password protected binary files, but the example they give is for reading only.
I tried adapting it for writing but couldn't get it to work. I'm not a Java developer either so it may be I was doing it wrong. I'll take a look at the blog you mention and see if that works any better.
Thanks.
Julian.

Leroy, I've looked at the blog post and it's actually just creating a "read-only" file. It can still be opened without the password as the author does mention. I have already added a setReadOnly() method which uses the writeProtectWorkbook() POI method used in the post.
As I say the POI docs do suggest Biff8EncryptionKey can be used when saving binary files, but I've tried and can't get it to prevent the file from being opened.

Hi Julian,
Thanks very much for looking into this. I can confirm that the XML spreadsheet can be created with password pro
You can prevent XML spreadsheet files (.xlsx) from being opened without a password, but not binary (.xls) workbooks.

Julian, are you able to open a password protected XML spreadsheet?

Hi Leroy, as I mentioned earlier I've found that the encrypted XLSX files can be opened (with the correct password) by MS Excel Viewer (I don't have the full MS Excel, but assume it will work with that too), but not by OpenOffice.

Hi Julian,
Sorry I meant using the read function from your code. Is it able to open and read a password protected excel file, parsing the password as an argument ?
Regards
Leroy

No the read() method doesn't support specifiying a password. Please open a ticket if that's something you need and I'll experiment with it. But given how patchy the POI encryption support is I'm not sure how effective it'll be.

Hi Julian,
Hope you had a great Christmas. I have created a ticket in GitHub regarding
this, and am wondering if this is something you will be looking into in
near future? I need to get this project launch (which involves creating and
reading password protected Excel spreadsheet) in mid January 2016, and am
wondering if this time frame is feasible?
Thanks,
Leroy
On 19 December 2015 at 20:43, Julian Halliwell<EMAIL_ADDRESS>wrote:

No the read() method doesn't support specifiying a password. Please open
a ticket if that's something you need and I'll experiment with it. But
given how patchy the POI encryption support is I'm not sure how effective
it'll be.
—
Reply to this email directly or view it on GitHub
https://github.com/cfsimplicity/lucee-spreadsheet/issues/68#issuecomment-165964083
.

Hi Leroy. See my comment on your ticket: https://github.com/cfsimplicity/lucee-spreadsheet/issues/70


SQL Editor button (F3) does nothing

System information:

Operating system WINDOWS 10
DBeaver version 6.0.2
Java version internal ?
Additional extensions none

Connection specification:

Database DB2 AS/400

Describe the problem you're observing:
After the latest upgrade DBeaver 6.0.2 when I press the SQL Edito icon (or I press F3) nothing happens. Before the update there was a nice window with all the related sql files I opened before for that particular connection.
Now nothing happens !! :(

This may be some kind of configuration corruptions, you can reset UI settings to fix this (https://github.com/dbeaver/dbeaver/wiki/Reset-UI-settings)
Also there is shortcut CTRL+[ - it does the same on platforms (while F3 is Windows-only)

Hello,
I did exactly as you said: the file have been recreated after deletion, but  the problem persists....
Pressing the button nothing happens... :(
Any other suggestion ?

Please attach error/debug logs (https://github.com/dbeaver/dbeaver/wiki/Log-files)

Yes. I continue to install the latest version, but the button continues to
do nothing...
Il mar 15 ott 2019, 17:27 uslss<EMAIL_ADDRESS>ha scritto:

hi @velteyn https://github.com/velteyn is issue still actual for you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/5727?email_source=notifications&email_token=AAHY3HTAP2U4IMWBBK6HTJLQOXOOVA5CNFSM4HF7W462YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBJF6AQ#issuecomment-542269186,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHY3HXN4Y22MKTWYXNZUI3QOXOOVANCNFSM4HF7W46Q
.

So could you attach error/debug logs (https://github.com/dbeaver/dbeaver/wiki/Log-files)?

logz.log
metadata.log
dbeaver-debug.log

OK !! I got it !! I noticed that the window is width 0 height 200
So it open it but it is not visible.  Can you check for default window width ?

I believe this bug was fixed around version 6.1 (we check panel width/height)

@velteyn So, once you resize script panel manually - does it break again after some time?

Mmmm , after I manually resized it , it remains at the given width/height so the problem is solved for me.. I don't know how it was put on 0 width at the beginning.. It this happens again I'll report.


Improve error message for missing pacakges from inside dataset script

Improve the error message for missing packages from inside a dataset script:
With this change, the error message for missing packages for bigbench looks as follows:
ImportError: To be able to use bigbench, you need to install the following dependencies:
        - 'bigbench' using 'pip install "bigbench @ https://storage.googleapis.com/public_research_data/bigbench/bigbench-0.0.1.tar.gz"'

And this is how it looked before:
ImportError: To be able to use bigbench, you need to install the following dependencies['bigbench', 'bigbench', 'bigbench', 'bigbench'] using 'pip install "bigbench @ https://storage.googleapis.com/public_research_data/bigbench/bigbench-0.0.1.tar.gz" bigbench bigbench bigbench' for instance'

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Closing in favor of #4484.


Explorer does not render in Safari

Bug description
Using Safari Version 13.1.3 (15609.4.1) Explorer does not render (a blank page is displayed). Same issue experienced on iPadOS versions.
Hardware specification
What hardware are you using?

Operating system:

Device: Mac BookPro / iPad

Steps To reproduce the bug
Expected behaviour
Rendered as it happens with Chrome or Firefox
Actual behaviour
Nothing is rendered. blank page.
Errors
at the Safari Web Console:
ReferenceError: Can't find variable: BigInt

Older versions of Safari don't support BigInt https://www.caniuse.com/?search=bigint
A polyfill has been added which should allow browsers with missing BigInt support to function correctly.

Older versions of Safari don't support BigInt https://www.caniuse.com/?search=bigint
A polyfill has been added which should allow browsers with missing BigInt support to function correctly.


Update LUIS authoring SDK to reflect latest changes

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please add REST spec PR link to the SDK PR
[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

@AmirGeorge please fix failing tests

@AmirGeorge please fix failing tests

@dsgouda any input on why the delete app API is now failing? https://azuresdkci.westus2.cloudapp.azure.com/job/CI-NetSDK_U/1065/console
The only change added to it was to add an optional boolean query parameter.

@AmirGeorge A couple of things to check

Please check if the delete operation URL was modified in the spec
If not, you may have to re-record your tests

Also, do these tests work on your local machine?

@AmirGeorge A couple of things to check

Please check if the delete operation URL was modified in the spec
If not, you may have to re-record your tests

Also, do these tests work on your local machine?

@dsgouda No they do not work on my local machine. The test project was even build failing locally and I had to add xunit reference in the project file (added in this PR) to get it to build. Now when I try to run the tests from VS test explorer, it instantly says 'Test run finished' without actually running anything.

@AmirGeorge could you add the link to your REST spec PR and check the first bullet point

@AmirGeorge could you add the link to your REST spec PR and check the first bullet point

@dsgouda https://github.com/Azure/azure-rest-api-specs/commit/7d344e289c4befb3cf2d92baee7ea1af204faae8
The only change is the addition of the optional force flag (topmost change in the linked commit).
Could the query param be somehow interpreted as part of the url path not as a query param? The error message suggests this:
Unable to find a matching HTTP request for URL 'DELETE /luis/api/v2.0/apps/0645d086-d6a3-4a4b-9a9d-5efaab7bbd71?force=false'.

@AmirGeorge that's right,
The bool is a Path parameter as indicated here
You may have to re-record the tests

@AmirGeorge that's right,
The bool is a Path parameter as indicated here
You may have to re-record the tests

@dsgouda I am not sure how to do that. Any pointers?

@AmirGeorge instructions to record tests can be found here

@AmirGeorge Please check if the tests work for you in PlayBack mode. Also, please ensure you have copied over the newly recorded test jsons to the SessionRecords directory

@dsgouda finally done.
FYI the link to record tests was a bit confusing. It was not clear whether I should start from creating a service principal or what. I ended up just changing the Playback mode in BaseTest to Record and assign a valid subscription key.
It took a lot of time because at first the tests project was failing to build locally, so I added the xunit nuget package:
<PackageReference Include="xunit" Version="2.4.1" />
After this it could build, but on trying to run the tests from tests explorer, the test run exists instantly without actually running anything. Doing some research, I arrived that I need to add the following 2 references:
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
After that the tests worked in playback mode. I changed to record and re-recorded all the tests with many fixes to get them working.

@dsgouda finally done.
FYI the link to record tests was a bit confusing. It was not clear whether I should start from creating a service principal or what. I ended up just changing the Playback mode in BaseTest to Record and assign a valid subscription key.
It took a lot of time because at first the tests project was failing to build locally, so I added the xunit nuget package:
<PackageReference Include="xunit" Version="2.4.1" />
After this it could build, but on trying to run the tests from tests explorer, the test run exists instantly without actually running anything. Doing some research, I arrived that I need to add the following 2 references:
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
After that the tests worked in playback mode. I changed to record and re-recorded all the tests with many fixes to get them working.

That's interesting, @shahabhijeet has a better handle on test dependencies and can investigate the issue you faced. For now, I can review rest of the PR since the checks are passing.
Thanks for the updates


[bug] cast the environment variable to an integer

when attempting to use the environment variable SIXPACK_WEB_PORT to alter the port number that the web uses I get the following error
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 859, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 732, in format
    return fmt.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 471, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.7/logging/__init__.py", line 335, in getMessage
    msg = msg % self.args
TypeError: %d format: a number is required, not str
Logged from file _internal.py, line 87

but the environment variable SIXPACK_PORT for setting the API port worked just fine.
after inspecting both sixpack and sixpack-web executables I noticed that sixpack-web did not cast it's environment variable to an integer before using it
correcting this fixed my error

@zackkitzmiller ^^

Looks good to me. Can you confirm this works in 2.7

tested it today, confirmed, sixpack-web starts up with no errors :+1:


Ignore soft hyphens when detecting links

Short description

Ignore soft hyphens when auto detecting links in TinyMCE
Proposed changes

Ignore soft hyphens in detection only, but don't strip them out of the text content.

Side effects

Nonsensically placed soft hyphens will not be removed from the page. But on the flip side, sensibly placed ones will also stay.

Resolved issues

Fixes: #2998

Pull Request Review Guidelines

I couldn't reproduce any of the reported issues

Do you mean the original issue or what I mentioned under Side effects?

Do you mean the original issue or what I mentioned under Side effects?

The original reported issue

@JoeyStk did you use the Steps to reproduce from #2998?


Elastic Beanstalk can't find a platform version that matches "Docker running on 64bit Amazon Linux 2"

I run:
Description
Briefly describe the bug you are facing.
Steps to reproduce

Setup a new git-based project with a Dockerfile in it
Run:

eb init

I selected:

region us-east-2 (Ohio) (14)
Default Docker image (1)

I then try to setup an environment:

Run:

> eb create prod

ERROR: NotFoundError - Elastic Beanstalk can't find a platform version that matches "Docker running on 64bit Amazon Linux 2".

I cannot get past this and cannot deploy my app.
Observed result
Please provide command output with --debug flag set.
2020-05-05 11:29:55,622 (DEBUG) cement.core.foundation : laying cement for the 'eb' application
2020-05-05 11:29:55,622 (DEBUG) cement.core.hook : defining hook 'pre_setup'
2020-05-05 11:29:55,622 (DEBUG) cement.core.hook : defining hook 'post_setup'
2020-05-05 11:29:55,622 (DEBUG) cement.core.hook : defining hook 'pre_run'
2020-05-05 11:29:55,622 (DEBUG) cement.core.hook : defining hook 'post_run'
2020-05-05 11:29:55,623 (DEBUG) cement.core.hook : defining hook 'pre_argument_parsing'
2020-05-05 11:29:55,623 (DEBUG) cement.core.hook : defining hook 'post_argument_parsing'
2020-05-05 11:29:55,623 (DEBUG) cement.core.hook : defining hook 'pre_close'
2020-05-05 11:29:55,623 (DEBUG) cement.core.hook : defining hook 'post_close'
2020-05-05 11:29:55,623 (DEBUG) cement.core.hook : defining hook 'signal'
2020-05-05 11:29:55,623 (DEBUG) cement.core.hook : defining hook 'pre_render'
2020-05-05 11:29:55,623 (DEBUG) cement.core.hook : defining hook 'post_render'
2020-05-05 11:29:55,623 (DEBUG) cement.core.hook : registering hook 'add_handler_override_options' from cement.core.foundation into hooks['post_setup']
2020-05-05 11:29:55,623 (DEBUG) cement.core.hook : registering hook 'handler_override' from cement.core.foundation into hooks['post_argument_parsing']
2020-05-05 11:29:55,623 (DEBUG) cement.core.handler : defining handler type 'extension' (IExtension)
2020-05-05 11:29:55,623 (DEBUG) cement.core.handler : defining handler type 'log' (ILog)
2020-05-05 11:29:55,623 (DEBUG) cement.core.handler : defining handler type 'config' (IConfig)
2020-05-05 11:29:55,623 (DEBUG) cement.core.handler : defining handler type 'mail' (IMail)
2020-05-05 11:29:55,623 (DEBUG) cement.core.handler : defining handler type 'plugin' (IPlugin)
2020-05-05 11:29:55,624 (DEBUG) cement.core.handler : defining handler type 'output' (IOutput)
2020-05-05 11:29:55,624 (DEBUG) cement.core.handler : defining handler type 'argument' (IArgument)
2020-05-05 11:29:55,624 (DEBUG) cement.core.handler : defining handler type 'controller' (IController)
2020-05-05 11:29:55,624 (DEBUG) cement.core.handler : defining handler type 'cache' (ICache)
2020-05-05 11:29:55,624 (DEBUG) cement.core.handler : registering handler '<class 'cement.core.extension.CementExtensionHandler'>' into handlers['extension']['cement']
2020-05-05 11:29:55,642 (DEBUG) cement.ext.ext_plugin : plugin config dir /etc/eb/plugins.d does not exist.
2020-05-05 11:29:55,642 (DEBUG) cement.ext.ext_plugin : plugin config dir /Users/vlucas/.eb/plugins.d does not exist.
2020-05-05 11:29:55,657 (DEBUG) ebcli.core.hooks : -- EBCLI Version: 3.18.1
2020-05-05 11:29:55,658 (DEBUG) ebcli.core.hooks : -- Python Version: 3.7.5 (default, Nov  1 2019, 02:16:38)
[Clang 10.0.0 (clang-1<IP_ADDRESS>)]
2020-05-05 11:29:55,658 (DEBUG) ebcli.core.fileoperations : Project root found at: /Users/vlucas/Code/projects/seamless.cloud
2020-05-05 11:29:55,662 (DEBUG) ebcli.objects.sourcecontrol : Getting current branch name by performing `git rev-parse --abbrev-ref HEAD`
2020-05-05 11:29:55,674 (DEBUG) ebcli.objects.sourcecontrol : master
2020-05-05 11:29:55,674 (DEBUG) ebcli.core.fileoperations : Project root found at: /Users/vlucas/Code/projects/seamless.cloud
2020-05-05 11:29:55,678 (DEBUG) ebcli.core.fileoperations : Project root found at: /Users/vlucas/Code/projects/seamless.cloud
2020-05-05 11:29:55,684 (DEBUG) ebcli.core.fileoperations : Project root found at: /Users/vlucas/Code/projects/seamless.cloud
2020-05-05 11:29:55,688 (DEBUG) ebcli.objects.sourcecontrol : Getting current branch name by performing `git rev-parse --abbrev-ref HEAD`
2020-05-05 11:29:55,702 (DEBUG) ebcli.objects.sourcecontrol : master
2020-05-05 11:29:55,703 (DEBUG) ebcli.core.fileoperations : Project root found at: /Users/vlucas/Code/projects/seamless.cloud
2020-05-05 11:29:55,707 (DEBUG) ebcli.core.fileoperations : Project root found at: /Users/vlucas/Code/projects/seamless.cloud
2020-05-05 11:29:55,712 (DEBUG) ebcli.core.fileoperations : Project root found at: /Users/vlucas/Code/projects/seamless.cloud
2020-05-05 11:29:55,717 (DEBUG) ebcli.core.fileoperations : Project root found at: /Users/vlucas/Code/projects/seamless.cloud
2020-05-05 11:29:55,721 (DEBUG) ebcli.core.fileoperations : Project root found at: /Users/vlucas/Code/projects/seamless.cloud
2020-05-05 11:29:55,724 (DEBUG) ebcli.objects.sourcecontrol : Getting current branch name by performing `git rev-parse --abbrev-ref HEAD`
2020-05-05 11:29:55,736 (DEBUG) ebcli.objects.sourcecontrol : master
2020-05-05 11:29:55,736 (DEBUG) ebcli.core.fileoperations : Project root found at: /Users/vlucas/Code/projects/seamless.cloud
2020-05-05 11:29:55,740 (DEBUG) ebcli.core.fileoperations : Project root found at: /Users/vlucas/Code/projects/seamless.cloud
2020-05-05 11:29:55,744 (DEBUG) ebcli.lib.elasticbeanstalk : Inside list_platform_branches api wrapper
2020-05-05 11:29:55,745 (DEBUG) ebcli.lib.aws : Creating new Botocore Session
2020-05-05 11:29:55,745 (DEBUG) ebcli.lib.aws : Botocore version: 1.15.49
2020-05-05 11:29:55,764 (DEBUG) ebcli.lib.aws : Creating new Botocore Client for elasticbeanstalk
2020-05-05 11:29:55,817 (DEBUG) ebcli.lib.aws : Successfully created session for elasticbeanstalk
2020-05-05 11:29:55,817 (DEBUG) ebcli.lib.aws : Making api call: (elasticbeanstalk, list_platform_branches) to region: us-east-2 with args:{'Filters': [{'Attribute': 'BranchName', 'Operator': '=', 'Values': ['Docker running on 64bit Amazon Linux 2']}]}
2020-05-05 11:29:56,098 (DEBUG) ebcli.lib.aws : API call finished, status = 200
2020-05-05 11:29:56,098 (DEBUG) ebcli.lib.aws : Response: {'PlatformBranchSummaryList': [{'PlatformName': 'Docker', 'BranchName': 'Docker running on 64bit Amazon Linux 2', 'BranchOrder': '11000', 'LifecycleState': 'Supported', 'SupportedTierList': ['WebServer/Standard', 'Worker/SQS/HTTP']}], 'ResponseMetadata': {'RequestId': 'e9ce65a1-3725-44c1-9222-7970f1b7510b', 'HTTPStatusCode': 200, 'date': 'Tue, 05 May 2020 16:29:56 GMT', 'RetryAttempts': 0}}
2020-05-05 11:29:56,098 (DEBUG) ebcli.lib.elasticbeanstalk : Inside list_platform_versions api wrapper
2020-05-05 11:29:56,098 (DEBUG) ebcli.lib.aws : Making api call: (elasticbeanstalk, list_platform_versions) to region: us-east-2 with args:{'Filters': [{'Type': 'PlatformBranchName', 'Operator': '=', 'Values': ['Docker running on 64bit Amazon Linux 2']}]}
2020-05-05 11:29:56,280 (DEBUG) ebcli.lib.aws : API call finished, status = 200
2020-05-05 11:29:56,281 (DEBUG) ebcli.lib.aws : Response: {'PlatformSummaryList': [], 'ResponseMetadata': {'RequestId': 'db9d58fb-7113-4282-9601-8065fec76580', 'HTTPStatusCode': 200, 'date': 'Tue, 05 May 2020 16:29:56 GMT', 'RetryAttempts': 0}}
2020-05-05 11:29:56,283 (INFO) eb : Traceback (most recent call last):
  File "/Users/vlucas/Library/Python/3.7/lib/python/site-packages/ebcli/core/ebrun.py", line 62, in run_app
    app.run()
  File "/Users/vlucas/Library/Python/3.7/lib/python/site-packages/cement/core/foundation.py", line 797, in run
    return_val = self.controller._dispatch()
  File "/Users/vlucas/Library/Python/3.7/lib/python/site-packages/cement/core/controller.py", line 472, in _dispatch
    return func()
  File "/Users/vlucas/Library/Python/3.7/lib/python/site-packages/cement/core/controller.py", line 478, in _dispatch
    return func()
  File "/Users/vlucas/Library/Python/3.7/lib/python/site-packages/ebcli/core/abstractcontroller.py", line 92, in default
    self.do_command()
  File "/Users/vlucas/Library/Python/3.7/lib/python/site-packages/ebcli/controllers/create.py", line 213, in do_command
    platform = _determine_platform(platform, iprofile)
  File "/Users/vlucas/Library/Python/3.7/lib/python/site-packages/ebcli/controllers/create.py", line 587, in _determine_platform
    platform_string)
  File "/Users/vlucas/Library/Python/3.7/lib/python/site-packages/ebcli/operations/platformops.py", line 189, in get_platform_for_platform_string
    return platform_version_ops.get_preferred_platform_version_for_branch(platform_string)
  File "/Users/vlucas/Library/Python/3.7/lib/python/site-packages/ebcli/operations/platform_version_ops.py", line 348, in get_preferred_platform_version_for_branch
    branch_name))
ebcli.objects.exceptions.NotFoundError: Elastic Beanstalk can't find a platform version that matches "Docker running on 64bit Amazon Linux 2".

Expected result
I expected this to work.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

OS: Mac OSX

Add --debug flag to command you are running

Thanks for reporting this @vlucas,
This appears to be a data issue, not a bug in the EBCLI. The issue is that the platform/platform branch that you selected has no platform versions associated with it.
I will report this issue internally, but I would recommend that you also post to the AWS Elastic Beanstalk forums.
In the meantime you should be able to unblock yourself by selecting a different platform.

Having a similar issue when trying to run eb config put test-sc.cfg.yml
ERROR: NotFoundError - Elastic Beanstalk can't find a platform version that matches "Ruby 2.6 running on 64bit Amazon Linux 2".

Having a similar issue when trying to run eb config put test-sc.cfg.yml

@RealRobin-com Please see the following: https://github.com/aws/aws-elastic-beanstalk-cli/issues/32

Thanks for reporting this @vlucas,
This appears to be a data issue, not a bug in the EBCLI. The issue is that the platform/platform branch that you selected has no platform versions associated with it.
I will report this issue internally, but I would recommend that you also post to the AWS Elastic Beanstalk forums.
In the meantime you should be able to unblock yourself by selecting a different platform.

Hi,
I have a similary error but i can't select another platform, button is disabled.

ERROR: InvalidParameterValueError - Platform 'arn:aws:elasticbeanstalk:eu-west-3::platform/Docker running on 64bit Amazon Linux/2.12.17' does not exist.

Hi,
I have a similary error but i can't select another platform, button is disabled.

ERROR: InvalidParameterValueError - Platform 'arn:aws:elasticbeanstalk:eu-west-3::platform/Docker running on 64bit Amazon Linux/2.12.17' does not exist.

Hey @EGSatelix, please open a new issue and fill out all the requested information.
Thanks

I feel this issue needs to be reopened.
I get the same error - however - I get it with a configuration file saved from the exact eb application I am trying to apply updates to.  'eb config save' works fine.
I am running eb cli  3.19.3 in an amazon linux 2 container on MacOS - using volumes to pass through to my credentials file (not that it should matter)

We also had the error ERROR: NotFoundError - Elastic Beanstalk can't find a platform version that matches "Docker running on 64bit Amazon Linux" pop up with version EB CLI 3.19.4 (Python 3.9.5).
In our case, it turend out the access credentials were missing the elasticbeanstalk:ListPlatformVersions permission.

I know this issue is already closed but I have the feeling that my problems are related.
I was trying to deploy a Python/Django app using Docker. I initialized the app using eb init and chose Docker as platform.
When trying to create an environment I ran into a strange "invalid option specification" problem.
Printing Status:
2022-02-16 12:53:21    INFO    createEnvironment is starting.
2022-02-16 12:53:23    INFO    Using elasticbeanstalk-eu-central-1-_redacted_ as Amazon S3 storage bucket for environment data.
2022-02-16 12:53:24    ERROR   "option_settings" in one of the configuration files failed validation. More details to follow.
2022-02-16 12:53:24    ERROR   Invalid option specification (Namespace: 'aws:elasticbeanstalk:container:python:staticfiles', OptionName: '/static/'): Unknown configuration setting.
2022-02-16 12:53:24    ERROR   Failed to launch environment.

I tried to fix it with an .ebextensions config file, but it didn't work. It looks like eb create was using the wrong platform (python instead of docker).
I tried to select the platform with eb create --platform docker and ran into the following error:
ERROR: InvalidParameterValueError - Platform ARN is invalid: Not an IAM ARN: 64bit Amazon Linux 2 v3.4.11 running Docker.

I tried to select the default platform, but it didn't help. When I ran eb platform show I got the error:
$ eb platform show
ERROR: NotFoundError - Elastic Beanstalk can't find a platform version that matches "Docker running on 64bit Amazon Linux 2".

I thought that my awsebcli might be deprecated, but I'm running EB CLI 3.20.3 (Python 3.10.) installed with homebrew on OS X.
Some people seemed to have a permission problem but that's unlikely because I use an IAM account with full admin permissions.


.net version of Macad3D

Hi, i want to use Macad3D for my own Project.
In your Homepage, Macad targets .net framework 4.8, so i create project also based on .netframework 4.8.
And i build source code and import dll files to my project
but i got this error message

System.IO.FileNotFoundException
HResult=0x80070002
Message=Could not load file or assembly  'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
It looks like depned on .net 5.0. So, I create new project based on .net 5.0.
Bui i got another error message like below

System.BadImageFormatException: 'Could not load file or assembly 'Macad.Occt, Version=1.1.1295.3, Culture=neutral, PublicKeyToken=f3b86e0df7940e9a'.
What should i do?

Hi @yong753,

In your Homepage, Macad targets .net framework 4.8

Version 1.0, which is available on the homepage, is built on .NET Framework 4.8. YOu can find the sources here.
The head of the main branch is already built on .NET 5.

System.BadImageFormatException

This error message usually indicates that an x86 process is trying to load an x64 dll. Please make sure that you compile and start platform x64.

I got 1.0 version and it works perfectly in my project.
I'll close this issue.
Thanks for your help @dipts !


bump egui to 0.25

Thanks, looks good, but I typically do a release before bumping egui. So I'll do one now.


Type hints: shorthand argument of encoding channels does not always accept Sequence[str]

See https://github.com/altair-viz/altair/pull/3307#issuecomment-1879180642

From the perspective of a type checker, str is Sequence[str]:
class str(Sequence[str]):
    @overload
    def __new__(cls, object: object = ...) -> Self: ...

I've come back to this issue a few times, but I'm still unsure one what we're trying to fix


[Help] Fail to compile official tutorial example

Hi,
I followed the tutor installing the latest 4.8.0 beta Lucent. However, the code cannot pass compiling as shown below.
The Assembly references to the wrong version of Lucene (3.0.3).
I have tried remove the NuGet packages and reinstall again. It did not help. Any suggestion? Thanks!

Thank you for your question.  I wrote the tutorial and will try to help you.  The tutorial makes no reference to Lucene.NET 3.0.3 and is instead for Lucene.NET 4.8.
Perhaps when you added the NuGet reference you left out the –prerelease switch.  (see https://lucenenet.apache.org/quick-start/tutorial.html#add-nuget-references)
The command should be:
dotnet add package Lucene.Net --prerelease
The –prerelease part of that command is what will add the reference to the Lucene.NET 4.8  since it’s still in beta.  If you leave out –prerelease then it will create a reference to 3.0.3 which is incorrect and will not compile.
You can confirm that it referenced the correct version of Lucene.NET by looking at  the .csproj file created (https://lucenenet.apache.org/quick-start/tutorial.html#viewing-the-two-main-files  )
In that project file, the following two lines should show the latest beta version of Lucene.Net 4.8

Please let me know if this clears up your issue.
Thank you for trying out Lucene.NET.  It’s a great open source Search Library.
Best,
-Ron
rclabo
From: Jim Chiu @.***
Sent: Wednesday, July 13, 2022 7:07 AM
To: apache/lucenenet
Cc: Subscribed
Subject: [apache/lucenenet] [Help] Fail to compile official tutorial example (Issue #641)
Hi,
I followed the tutor installing the latest 4.8.0 beta Lucent. However, the code cannot pass compiling as shown below.
The Assembly references to the wrong person of Lucene (3.0.3).
I have tried remove the NuGet packages and reinstall again. It did not help. Any suggestion? Thanks!
https://user-images.githubusercontent.com/2939228/178718745-5af84635-e75a-4ac0-80d5-b604a85e0f94.jpg 截圖 2022-07-13 下午6 47 55
https://user-images.githubusercontent.com/2939228/178718981-a520a75a-9522-4d11-8d46-69e0dc580ee5.jpg 截圖 2022-07-13 下午7 02 05
—
Reply to this email directly, view it on GitHub https://github.com/apache/lucenenet/issues/641 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABU7VW5QP5J7YXF5LEM4SRDVT2POLANCNFSM53OJ74VQ .
You are receiving this because you are subscribed to this thread.  https://github.com/notifications/beacon/ABU7VW3TNKZNHFWJZDAAJLTVT2POLA5CNFSM53OJ74V2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4TNON2OA.gif Message ID: @.***>

In your screenshot I see that the GUI shows that you have a NuGet references to Lucene.Net Version 4.8.0-beta00016 and Lucene.Net.Analysis.Common Version 4.8.0-beta00016.  And yet the GUI is saying it can't resolve the referenced to StandardAnalyzer and doesn't recognize the Lucene.Net.Analysis.Standard namespace.
That class and namespace is in the Lucene.Net.Analysis.Common Version 4.8.0-beta00016 NuGet package.  So it's odd the GUI isn't seeing them in that package.  You might try saving everything and then restarting the development environment.  Maybe it will then see the StandardAnalyzer  and  the Lucene.Net.Analysis.Standard namespace.

Thanks a lot!
I end up restart VS2022, delete the solution folder and create a new project from beginning. This did help me start Lucene tutorial examples.

In your screenshot I see that the GUI shows that you have a NuGet references to Lucene.Net Version 4.8.0-beta00016 and Lucene.Net.Analysis.Common Version 4.8.0-beta00016. And yet the GUI is saying it can't resolve the referenced to StandardAnalyzer and doesn't recognize the Lucene.Net.Analysis.Standard namespace.
That class and namespace is in the Lucene.Net.Analysis.Common Version 4.8.0-beta00016 NuGet package. So it's odd the GUI isn't seeing them in that package. You might try saving everything and then restarting the development environment. Maybe it will then see the StandardAnalyzer and the Lucene.Net.Analysis.Standard namespace.

Yes. VS2022 17.3 preview did not update namespace references completely. I did install Lucene 3.0.3 at first by mistake. However, update it to 4.8 beta directly does not solve the problem.
Create a total new solution folder seems to solve it. Thanks.


Can't install the latest version 1.6.5 on Ubuntu 18.04 (bionic)

The latest version 1.6.5 added the dependency package libncursesw6 which is not available on Ubuntu 18.04LTS Bionic.
The following packages have unmet dependencies:
 goaccess : Depends: libncursesw6 (>= 6.0) but it is not installable

Package libncursesw6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libncursesw6' has no installation candidate

The version 1.6.4 was was running fine on the same server.
Thank you,
Marlon

I can confirm this.
Has the exact same problem on several Ubuntu 18.04 servers when trying to upgrade from 1.6.4 to 1.6.5

Thanks for the heads up on this. The issue should be fixed.
Please let me know if that solves the issue on your end.

Issue seems to be resolved.
1.6.5 installs and works fine on all my instances now.

Can confirm, the issue is fixed.
Thank you @allinurl.

Thank you all. Closing this. Feel free to reopen it if needed.


Get parsed equation?

Hi,
Is there a way to return the "parsed" version of a string, and then evaluate that parsed form? Essentially I'm using this library to calculate values for a graph and since I'm usually only ever changing a variable or two, is there a way to do this efficiently?
Thanks

Yes, you'd create an Expression, which is the parsed form of the string. Once you have the Expression, you can ask it to evaluate, passing in any values for the variables the expression contains.

See also: https://github.com/davedelong/DDMathParser/wiki/Usage#advanced

Perfect thanks!


Revert "Revert "Add docstrings to show short_help when running --help""

This reverts #2571 which mistakingly reverted #2542 which addressed #2381 by adding short_help text to the output of --help.
Let me know if this works @erinxocon!

BDFL approved.  Thanks and sorry for the mixup!


feat(generator): generate quickstart scaffold

Modify the generator to also create a scaffold for the quickstart
program. Then I used the generator to create the scaffold for the
logging, pubsublite, secretmanager, and tasks libraries.
The generated code requires some editing, but these are fairly small.
These quickstarts are compiled in the cmake-install build, where we
can compile them in parallel. This was very useful, it found several
bugs in the generated CMake files.
Sorry for the gigantic PR.  Most of it is generated code, I think you
should pay attention to:

Anything in generator/
google/cloud/*/doc/main.dox had some light editing
google/cloud/*/quickstart/README.md has some light editing
google/cloud/*/quickstart/quickstart.cc has some significant editing
Other files in google/cloud/*/quickstart/* are generated

This change is

PTAL

PTAL


when the query with a node the api fails

When querying with a non-chacrateristics not-comment like source, the server fails.

https://www.ebi.ac.uk/pride/sdrfcheck-api/v2/properties/getPropertiesFromText?sdrf_properties=source name'
Problem solved.


Saving node that already exists throws exception

Error: Node(1335) already exists with label `named_thing` and property `id` = 'NCBIGene:25236'

Should use MERGE rather than CREATE. Also, should SET properties ON CREATE and only use id to identify a node.
https://github.com/NCATS-Tangerine/kgx/blob/1a325d70e7c4853f01c6bb463aab9a47ea5bca5c/kgx/neo_transformer.py#L236

@lhannest There are plenty of such issues that are fixed while working on merging KGs. Will issue a PR that addresses these issues.


Add xianli123 and yih-wang to opendatahub-io org

Description
Closes #33 #35
New Open Data Hub Member Requirements

[x] New members have reviewed and acknowledged the Open Data Hub:

Code of Conduct
Contribution Guide
Community Membership Guidelines

[x] Enabled 2FA on their GitHub account

Pull Request Requirements

[x] New members are added in alphabetical order
[x] Only one new member change per commit (if you add two members separate it in two commits
[x] For individual user changes: Commit message format Add <USERNAME> to <opendatahub-io, mlops-sig, ...>.
[ ] For new team requests: Commit message format Create <TEAMNAME>. If the new team consists solely of existing members, you may
[ ] New GitHub team requests are from an existing opendatahub-io member who will function as the maintainer of the team. Each additional member will follow the same requirements for adding new members

Merging based on Approval by @kywalker-rh in the respective issues


Error after clean install (exception antlr)

When executing python manage.py sqlcreate the following exception is thrown.
Exception: Could not deserialize ATN with version  (expected 4).
The full exception traceback is attached.
There is an issue with the antlr4-python3-runtime package (installed version 4.11.1).
Installing an older version seems to solve the problem (pip install antlr4-python3-runtime==4.9.3)
antlr_exception_full_traceback.txt

Merge #97 (commit) solves issue.


org.xml.sax.SAXParseException: Current configuration of the parser doesn't allow a maxOccurs attribute value to be set greater than the value 5,000.

Unable to parse nested xml using pyspark and XSDs, returns below error
org.xml.sax.SAXParseException: Current configuration of the parser doesn't allow a maxOccurs attribute value to be set greater than the value 5,000.
In Java APIs the fix is to set : jdk.xml.maxOccurLimit=0 , where can we do this in databricks.

It doesn't sound like this question is about spark-xml itself, right?
You can configure your SAX parser by setting attributes on the parser factory object.

actually the error comes when used with spark-xml library.
org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 4 times, most recent failure: Lost task 0.3 in stage 0.0 (TID 3) (<IP_ADDRESS> executor driver): java.util.concurrent.ExecutionException: org.xml.sax.SAXParseException; systemId: file:/local_disk0/spark-0e00459b-fab1-47ed-bf54-658a2466adc3/userFiles-f8eafb2e-843f-481a-9cc5-d74a7934083c/auth.079.001.02_xxxxx_1.1.0.xsd; lineNumber: 5846; columnNumber: 99; Current configuration of the parser doesn't allow a maxOccurs attribute value to be set greater than the value 5,000.

Can you say more about how this arises? I ask because you mention XSDs. Also is there more to the stack trace in the logs? what is maxOccurs in your XSD?


Not able to run my tests, I get this below error:

No description, can't help. Closing for now, reopen if needed.


Expire user session when Bolt access token expires

Solidus updates the order address when the order has been placed, in order to do it, Bolt requires an access token with write permission, which is only provided during the Bolt login and cannot be refreshed.
This means we should ask the user to log in again whenever the access token is expired

@Naokimi we need the access token only to update the address on Bolt right?

@DanielePalombo we have 3 services with read access (DetailService, SyncPaymentSourcesService and SyncAddressesService) and 1 service with write access (AddAddressService).
Considering the latest email we could change the logic of calling AddAddressService by trigerring an update of the access_token synchronously before scheduling the job

With update of the access_token do you mean, ask the user to log in again?

ah, yes, that's what I meant

At the moment the AddAddressService is performed when the order is finalized.
We can move it between the address and delivery checkout step (in the controller) and force the user to log in again when the access token is expired and the address is not present on Bolt Addresses.

An issue found:
A simple solution to the write access would be to move the add_address step to before_delivery and add a condition like session[:bolt_access_token] && session[:bolt_expiration_time] >= Time.now.utc that if true would sign out the user. However just from this condition we won't know if the access_token is the original or refreshed one. But the only way to distinguish between the two is via their scope, which has been removed from https://github.com/nebulab/omniauth-bolt. As such, to solve this task we first need to add @scope = response['scope'] to omniauth-bolt.


Allow the use of core components and concepts in user-defined concepts

At present, concepts are restricted to using components / extending concepts defined in the same ambient.toml. The API macro crate includes the core ambient.toml, so it should be able to draw upon it to find components and concepts to use if not defined in the current project.
This needs to:

resolve the paths to the components and concepts from the core module correctly
work with existing use-cases
not import those concepts into scope
be implemented in such a way that it could be extended to support using components/concepts from project dependencies (#23) in future.

https://github.com/AmbientRun/Ambient/blob/main/guest/rust/api/api_macros/src/ambient_project/concepts.rs#L15
Just to confirm, I need to import the ambient.toml file in this check and extract the concepts

Not quite - this is a two-part problem. The ambient_project::implementation function reads in a manifest, generates a tree of components (all components defined by the manifest, as organised by its namespaces), and generates code for both the components and the concepts defined by the manifest. The concept-generation step takes the tree that was generated and uses that to look up which components are in scope.
ambient_api_macros contains the core ambient.toml, which describes the core components and concepts for the runtime. This is loaded by the api_project macro, which is used only by the ambient_api crate. The main macro is what users use, and for this issue, it also needs to load in the core ambient.toml and read the components and concepts from that.
It needs to do that in such a way that the core ambient.toml's components and concepts are available for people to use in their own concepts, but are not added to the generated output.
There's quite a few nuances here (especially around generating the correct IDs for components), so I think I'll take it off good first issue for now.


Add meaningful semantic class names to emoji svgs

Hi all,
I've been hunting recently for an emoji set that provides .svgs of each face/person emoji with each section of the face grouped and labelled.
As Twitter's emoji seem very open and inclusive, I was wondering if I could propose we implement it here.
For example, 1f63a.svg could go from:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36">
    <path fill="#FFCC4D"
          d="M35.734 19.929C35.375 16.66 35 15 34 13c0 0 3-9 1-12.7-.674-1.246-7.404 1.688-10 3.7 0 0-4-.998-7-.998S11 4 11 4C8.404 1.988 1.674-.946 1 .3-1 4 2 13 2 13 1 15 .625 16.66.266 19.929-.129 23.513.657 26.37 1 27c.39.716 2.367 3.025 5 5 4 3 10 4 12 4s8-1 12-4c2.633-1.975 4.61-4.284 5-5 .343-.63 1.129-3.487.734-7.071z"/>
    <path fill="#E75A70" d="M18 19.5c3 0 3 .5 3 1.5s-1.5 3-3 3-3-2-3-3-.001-1.5 3-1.5z"/>
    <path fill="#F18F26"
          d="M2 3c.447-1.342 5.64 1 6.64 2C8.64 5 4 8 3 11c0 0-2-5-1-8zm32 0c-.447-1.342-5.64 1-6.64 2 0 0 4.64 3 5.64 6 0 0 2-5 1-8z"/>
    <path fill="#FFCC4D"
          d="M4.934 5.603C4.934 4.189 11 7 10 8s-2 1.603-3 2.603-2.066-4-2.066-5zm26.132 0C31.066 4.189 25 7 26 8s2 1.603 3 2.603 2.066-4 2.066-5z"/>
    <path fill="#FEE7B8"
          d="M.701 25c-.148 0-.294-.065-.393-.19-.171-.217-.134-.531.083-.702.162-.127 4.02-3.12 10.648-2.605.275.02.481.261.46.536-.021.275-.257.501-.537.46-6.233-.474-9.915 2.366-9.951 2.395-.093.071-.202.106-.31.106zm8.868-4.663c-.049 0-.1-.007-.149-.022-4.79-1.497-8.737-.347-8.777-.336-.265.081-.543-.07-.623-.335-.079-.265.071-.543.335-.622.173-.052 4.286-1.247 9.362.338.264.083.411.363.328.627-.066.213-.263.35-.476.35zM35.299 25c.148 0 .294-.065.393-.19.171-.217.134-.531-.083-.702-.162-.127-4.02-3.12-10.648-2.605-.275.02-.481.261-.46.536.021.275.257.501.537.46 6.233-.474 9.915 2.366 9.951 2.3<IP_ADDRESS>.106.31.106zm-8.868-4.663c.049 0 .1-.007.149-.022 4.79-1.497 8.737-.347 8.777-.336.265.081.543-.07.623-.335.079-.265-.071-.543-.335-.622-.173-.052-4.286-1.247-9.362.338-.264.083-.411.363-.328.6<IP_ADDRESS>3.35.476.35z"/>
    <path fill="#292F33"
          d="M28.023 24.191C27.046 24.383 23 26 18 26s-9.046-1.617-10.023-1.809C7 24 6.885 25.264 7.442 27.132 8 29 11 33 18 33s10-4 10.558-5.868c.557-1.868.442-3.132-.535-2.941z"/>
    <path fill="#F5F8FA" d="M8 25s5 2 10 2 10-2 10-2-.5 3-1.5 3-1.5-1-1.5-1-4 2-7 2-7-2-7-2-.5 1-1.5 1S8 25 8 25z"/>
    <g fill="#292F33">
        <ellipse cx="12" cy="14.5" rx="2" ry="3.5"/>
        <ellipse cx="24" cy="14.5" rx="2" ry="3.5"/>
    </g>
</svg>

to:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36">
    <g class="face">
        <path fill="#FFCC4D"
              d="M35.734 19.929C35.375 16.66 35 15 34 13c0 0 3-9 1-12.7-.674-1.246-7.404 1.688-10 3.7 0 0-4-.998-7-.998S11 4 11 4C8.404 1.988 1.674-.946 1 .3-1 4 2 13 2 13 1 15 .625 16.66.266 19.929-.129 23.513.657 26.37 1 27c.39.716 2.367 3.025 5 5 4 3 10 4 12 4s8-1 12-4c2.633-1.975 4.61-4.284 5-5 .343-.63 1.129-3.487.734-7.071z"/>
        <path fill="#F18F26"
              d="M2 3c.447-1.342 5.64 1 6.64 2C8.64 5 4 8 3 11c0 0-2-5-1-8zm32 0c-.447-1.342-5.64 1-6.64 2 0 0 4.64 3 5.64 6 0 0 2-5 1-8z"/>
        <path fill="#FFCC4D"
              d="M4.934 5.603C4.934 4.189 11 7 10 8s-2 1.603-3 2.603-2.066-4-2.066-5zm26.132 0C31.066 4.189 25 7 26 8s2 1.603 3 2.603 2.066-4 2.066-5z"/>
        <path fill="#FEE7B8"
              d="M.701 25c-.148 0-.294-.065-.393-.19-.171-.217-.134-.531.083-.702.162-.127 4.02-3.12 10.648-2.605.275.02.481.261.46.536-.021.275-.257.501-.537.46-6.233-.474-9.915 2.366-9.951 2.395-.093.071-.202.106-.31.106zm8.868-4.663c-.049 0-.1-.007-.149-.022-4.79-1.497-8.737-.347-8.777-.336-.265.081-.543-.07-.623-.335-.079-.265.071-.543.335-.622.173-.052 4.286-1.247 9.362.338.264.083.411.363.328.627-.066.213-.263.35-.476.35zM35.299 25c.148 0 .294-.065.393-.19.171-.217.134-.531-.083-.702-.162-.127-4.02-3.12-10.648-2.605-.275.02-.481.261-.46.536.021.275.257.501.537.46 6.233-.474 9.915 2.366 9.951 2.3<IP_ADDRESS>.106.31.106zm-8.868-4.663c.049 0 .1-.007.149-.022 4.79-1.497 8.737-.347 8.777-.336.265.081.543-.07.623-.335.079-.265-.071-.543-.335-.622-.173-.052-4.286-1.247-9.362.338-.264.083-.411.363-.328.6<IP_ADDRESS>3.35.476.35z"/>
    </g>
    <g class="nose">
        <path fill="#E75A70" d="M18 19.5c3 0 3 .5 3 1.5s-1.5 3-3 3-3-2-3-3-.001-1.5 3-1.5z"/>
    </g>
    <g class="mouth">
        <path fill="#292F33"
              d="M28.023 24.191C27.046 24.383 23 26 18 26s-9.046-1.617-10.023-1.809C7 24 6.885 25.264 7.442 27.132 8 29 11 33 18 33s10-4 10.558-5.868c.557-1.868.442-3.132-.535-2.941z"/>
        <path fill="#F5F8FA" d="M8 25s5 2 10 2 10-2 10-2-.5 3-1.5 3-1.5-1-1.5-1-4 2-7 2-7-2-7-2-.5 1-1.5 1S8 25 8 25z"/>
    </g>
    <g class="eyes" fill="#292F33">
        <ellipse cx="12" cy="14.5" rx="2" ry="3.5"/>
        <ellipse cx="24" cy="14.5" rx="2" ry="3.5"/>
    </g>
</svg>

It adds a small amount of length but makes it clearer how each is constructed, and opens up all kinds of fun possibilities in hackathon projects etc.
Also, there seems to be appetite for such emoji sets, with examples like @EmojiMashupBot proving very popular.
Finally, it would also be a really fun way for the wider community to get involved in open source software development by providing a number of good-first-patch issues this Hacktoberfest.
If this idea has some support then I'll be happy to contribute to the repository, once we agree suitable class names and target emoji.
What does everyone think?

Having edited Twemoji SVGs by hand, I fully support this suggestion. It would make projects like Emoji Builder simpler and a COLR+CPAL Open Type color font possible, probably.
However, I understand that there is a competing desire to minimize file size for CDN etc. Therefore I would propose to maintain  separate source (containing semantically annotated pretty-printed SVGs and perhaps original files in a proprietary format) and distribution (with optimized SVGz and PNG, perhaps WebP) folders or repositories.
Alternatively, there could be a single folder for each emoji that contained several image and metadata files.


Unable to identify sparse dynamics for a dynamical system with noisy data

Hello ,
I'm working on sparse identification using noisy data. For this purpose I'm trying to use SINDy-PI but results are not coming accurate as in it is not able to identify sparse model out of noisy data. I have tried noise variance of magnitudes 0, 1e-07, 1e-04,1e-3, 1e-2. It is failing for noise level = 1e-04 and greater.
Any help would or suggestions would be appreciated.

Hi,
Could you please describe your problem in detail? May I know which problem are you working on?


H1 title overlap with in-page navigation column

https://docs.microsoft.com/en-us/dotnet/api/system.func-17?view=netframework-4.7.2
Title is long: Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult>
It overlaps with "in this article"

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

ID: d95cd525-746d-313d-b7f9-4d442d2319df
Version Independent ID: 930861a9-778b-7428-f582-58043958e890
Content: Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult> Delegate (System)
Content Source: [xml/System/Func17.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System/Func17.xml)
Product: dotnet-api
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thanks @zhiliangxu for reporting this issue. Given this is a problem with the docs platform, I've moved this to https://github.com/MicrosoftDocs/feedback/issues/622.


Readme edits

These are the results of a readme morning editing session that included Mike Brown, Will Barton, Mike Morici and me (Bill Higgins, aka @higginsw).

All looks good, thanks


Automate generating checksum files for release

Issue #, if available:
#1656
Description of changes:
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve


Schema DDL: placeholder for supporting migration cases

Migrated from https://github.com/snowplow/schema-guru/issues/140

Here I'm collecting possible Schema-migrations and ways to handle it

New optional property (column) added. Addition. Will be implemented in 0.6.0.

ALTER TABLE ADD COLUMN ...

Property become nullable. Revision. See #147

ALTER TABLE ADD COLUMN customer_id_new string null;
INSERT INTO customer_id_new SELECT from customer_id;
ALTER TABLE DROP COLUMN customer_id;
ALTER TABLE RENAME COLUMN customer_id_new TO customer_id
END TRANSACTION;

Property become union-type: string -> [string, number]. Revision.  See #137

A default is added to a property (Addition)

A minimum and/or maximum value is removed from a numeric (Revision)

New required field added (Model)

New required field added with default (Revision?)

Migrated to https://github.com/snowplow-incubator/schema-ddl/issues/32


Change the comments field to report the comments in the issues and not include in notes

Currently, when you submit a license, the comments are included in the notes section of the XML.
The legal team would like to include the comments in the Issues submitted to the license-list-XML repo and not include it in the <notes> ... </notes> section of the XML.  We'll reserve the notes section of the XML for legal team use.

@goneall So, just leave the notes in xml as empty string for now?
Also, I would like to work on this issue.

So, just leave the notes in xml as empty string for now?

Yes

Also, I would like to work on this issue.

Great - thanks!


installer/cd-dvd/iso-image: avoid leaking build timestamps on non-x86

Motivation for this change
In some circumstances, adding a file to a directory that does not exist will cause xorriso to create that directory with the current timestamp, thus breaking reproducibility. This has caused problems before: https://github.com/NixOS/nixpkgs/pull/75484 .
When isolinux is not installed in the ISO, such as on non-x86 systems, the addition of the isolinux splash image caused this problem. I have rearranged the file list to only add the image if the isolinux directory will be added, which would have the correct timestamp. I also made sure that the EFI splash image will only be added on EFI-bootable ISOs, hopefully avoiding a similar problem with that configuration (though I haven't tested it). As a bonus, this saves a whole 34K on non-x86 ISOs :)
I have verified that nix-build ./nixos/release-combined.nix -A nixos.iso_minimal.x86_64-linux --check is still successful on an x86_64-linux system, and that nix-build ./nixos/release-combined.nix -A nixos.iso_minimal.aarch64-linux --check is newly successful on an aarch64-linux system with this patch. I also verified that my custom aarch64-linux ISO cross-compiled from an x86_64-linux system is now reproducible as well. I haven't thoroughly checked the reproducibility of the whole ISO closure, but it seems to be reproducible and should not be impacted anyway.
cc: @grahamc @samueldr
Things done

Built on platform(s)

[X] x86_64-linux
[X] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I found out how the Guix folks solved the underlying problem and added an option to the xorriso invocation to force all timestamps to one second after the epoch. This should prevent this problem from recurring in the future.
I am keeping the rearrangement of the files as it makes sense and will save a bit of space.

@GrahamcOfBorg test image-contents


[Fabric 1.21] [Crash/Incompat] Incompatible with Things

Recent Crash w/ the mod and the libraries involved
https://paste.atlauncher.com/view/febe2a99-6d17-4182-9801-8d2e911a6f9a
here's the most current atlauncher's log
https://github.com/wisp-forest/things/issues/111

Unsure on where to report this, so I decided to report this on both ends! Hope you don't mind. ><

never mind! the compat layer is outdated!


macOS: Issue with ftp - "Cannot shutdown the data connection - Socket is not connected"

I'm using Obliteration for the first time, so I'm just going through the setup stage.
My PS4 Pro is all set up with ftp open (I can access it using Cyberduck).
However when it starts copying data across it fails on the first file: GnmCompositor.elf

I can see that it has created directories, but GnmCompositor.elf is the only thing that was retrieved (118KB):

My main Mac is an M1 MBP running Sonoma 14.3. I built an arm64 native version of Obliteration.
However that doesn't seem to be related, as I tried with the x64 Github Actions  build on an old Intel MacBook and the same thing happened.

A quick update: Following advice from VocalFan on Discord, I just copied over the system folder using Cyberduck and I was able to pass the setup stage.

Our new kernel use a different method so we don't need to fix this anymore.


Document call endpoint

The call endpoint deeplink should be documented. I can call it, it works, but I am not sure on the params it accepts.

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

ID: 45541337-ecd7-5cf6-cbe4-3f0d2f39aa79
Version Independent ID: 6b4203f0-2844-06c9-eaa3-9cc03e6f76c0
Content: Create deep links - Teams
Content Source: msteams-platform/concepts/build-and-test/deep-links.md
Product: msteams
GitHub Login: @laujan
Microsoft Alias: lajanuar

@shweaver-MSFT , Which deep link you are referring, is it within Tab or From Tab? Are you talking about microsoftTeams.executeDeeplink() method.  it takes the following URL with these params:
https://teams.microsoft.com/l/entity/<appId>/<entityId>?webUrl=<entityWebUrl>&label=<entityLabel>&context=<context> appId, entity ID, entityWebUrl and context.
you can check it here: Deep link from your tab

Hi @Trinetra-MSFT,
Yes, I am talking about URIs used to invoke specific states/actions in Teams. For example, calling this uri will cause Teams to display with a new chat message with the provided params:
https://teams.microsoft.com/l/chat/0/0?users=,,...&topicName=&message=
Looking at the syntax, you will see the word chat. Turns out there is also a call endpoint, and invoking it will cause Teams to display a new audio/video call. You can click the link and see for yourself:
https://teams.microsoft.com/l/call/0/0
My team (http://aka.ms/mgt) is working on adding video/audio call deeplinking support to our PersonCard component. Only problem is that the depelink docs don't say anything about creating a new call via deeplink. That's what I'm looking for.