Error in EntityReader.php: Undefined Index

PHP Version
7.4
Shopware Version
<IP_ADDRESS>
Expected behaviour
Request should retrieve product single on pwa
Actual behaviour
Fails with: Notice: Undefined index: 581ca532f1ed3186247a00d32b67ffea
in https://github.com/shopware/platform/blob/7fc5520cbe8d4b72791672af79fe3f8af0e89848/src/Core/Framework/DataAbstractionLayer/Dbal/EntityReader.php#L541-L554
fix would be:
            $parentId = $entity->get('parentId');

            //extract mapping ids for the current entity
            if(array_key_exists( $parentId, $mapping)) {
                $mappingIds = $mapping[$parentId];

                $structData = $data->getList($mappingIds);

                //assign data of child immediately
                if ($association->is(Extension::class)) {
                    $entity->addExtension($association->getPropertyName(), $structData);
                } else {
                    $entity->assign([$association->getPropertyName() => $structData]);
                }
            }

How to reproduce
I don't know exactly how to reproduce this error. This error is occurring in shopware-pwa on product single pages, after the shopware update to <IP_ADDRESS>. It is fixed with the fix above. But I don't know if this is just symptom suppression or the actual fix

it seems im running into the same problem with 6.4.7
[
    {
        "code": "0",
        "status": "500",
        "title": "Internal Server Error",
        "detail": "Notice: Undefined index: ",
        "meta": {
            "trace": [
                {
                    "file": "/sw6/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php",
                    "line": 376,
                    "function": "loadOneToManyWithPagination",
                    "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\Dbal\\EntityReader",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php",
                    "line": 1076,
                    "function": "loadOneToMany",
                    "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\Dbal\\EntityReader",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php",
                    "line": 113,
                    "function": "fetchAssociations",
                    "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\Dbal\\EntityReader",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php",
                    "line": 79,
                    "function": "_read",
                    "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\Dbal\\EntityReader",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/Profiling/Entity/EntityReaderProfiler.php",
                    "line": 36,
                    "function": "read",
                    "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\Dbal\\EntityReader",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/System/SalesChannel/Entity/SalesChannelRepository.php",
                    "line": 177,
                    "function": "read",
                    "class": "Shopware\\Core\\Profiling\\Entity\\EntityReaderProfiler",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/System/SalesChannel/Entity/SalesChannelRepository.php",
                    "line": 118,
                    "function": "read",
                    "class": "Shopware\\Core\\System\\SalesChannel\\Entity\\SalesChannelRepository",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/Content/Product/SalesChannel/Detail/ProductDetailRoute.php",
                    "line": 120,
                    "function": "search",
                    "class": "Shopware\\Core\\System\\SalesChannel\\Entity\\SalesChannelRepository",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/Content/Product/SalesChannel/Detail/CachedProductDetailRoute.php",
                    "line": 121,
                    "function": "load",
                    "class": "Shopware\\Core\\Content\\Product\\SalesChannel\\Detail\\ProductDetailRoute",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/System/SystemConfig/SystemConfigService.php",
                    "line": 349,
                    "function": "Shopware\\Core\\Content\\Product\\SalesChannel\\Detail\\{closure}",
                    "class": "Shopware\\Core\\Content\\Product\\SalesChannel\\Detail\\CachedProductDetailRoute",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php",
                    "line": 39,
                    "function": "trace",
                    "class": "Shopware\\Core\\System\\SystemConfig\\SystemConfigService",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/Framework/Adapter/Translation/Translator.php",
                    "line": 99,
                    "function": "Shopware\\Core\\Framework\\Adapter\\Cache\\{closure}",
                    "class": "Shopware\\Core\\Framework\\Adapter\\Cache\\CacheTracer",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php",
                    "line": 40,
                    "function": "trace",
                    "class": "Shopware\\Core\\Framework\\Adapter\\Translation\\Translator",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php",
                    "line": 43,
                    "function": "Shopware\\Core\\Framework\\Adapter\\Cache\\{closure}",
                    "class": "Shopware\\Core\\Framework\\Adapter\\Cache\\CacheTracer",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php",
                    "line": 41,
                    "function": "trace",
                    "class": "Shopware\\Core\\Framework\\Adapter\\Cache\\CacheTagCollection",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/storefront/Framework/Cache/CacheTracer.php",
                    "line": 37,
                    "function": "trace",
                    "class": "Shopware\\Core\\Framework\\Adapter\\Cache\\CacheTracer",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php",
                    "line": 53,
                    "function": "Shopware\\Storefront\\Framework\\Cache\\{closure}",
                    "class": "Shopware\\Storefront\\Framework\\Cache\\CacheTracer",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/storefront/Framework/Cache/CacheTracer.php",
                    "line": 38,
                    "function": "trace",
                    "class": "Shopware\\Storefront\\Theme\\ThemeConfigValueAccessor",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/Content/Product/SalesChannel/Detail/CachedProductDetailRoute.php",
                    "line": 122,
                    "function": "trace",
                    "class": "Shopware\\Storefront\\Framework\\Cache\\CacheTracer",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware-pwa/shopware-pwa/src/Pwa/PageLoader/ProductPageLoader.php",
                    "line": 80,
                    "function": "load",
                    "class": "Shopware\\Core\\Content\\Product\\SalesChannel\\Detail\\CachedProductDetailRoute",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware-pwa/shopware-pwa/src/Pwa/Controller/PageController.php",
                    "line": 199,
                    "function": "load",
                    "class": "SwagShopwarePwa\\Pwa\\PageLoader\\ProductPageLoader",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware-pwa/shopware-pwa/src/Pwa/Controller/PageController.php",
                    "line": 175,
                    "function": "getPageResult",
                    "class": "SwagShopwarePwa\\Pwa\\Controller\\PageController",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/symfony/http-kernel/HttpKernel.php",
                    "line": 156,
                    "function": "resolve",
                    "class": "SwagShopwarePwa\\Pwa\\Controller\\PageController",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/symfony/http-kernel/HttpKernel.php",
                    "line": 78,
                    "function": "handleRaw",
                    "class": "Symfony\\Component\\HttpKernel\\HttpKernel",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/symfony/http-kernel/Kernel.php",
                    "line": 199,
                    "function": "handle",
                    "class": "Symfony\\Component\\HttpKernel\\HttpKernel",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php",
                    "line": 86,
                    "function": "handle",
                    "class": "Symfony\\Component\\HttpKernel\\Kernel",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
                    "line": 479,
                    "function": "handle",
                    "class": "Symfony\\Component\\HttpKernel\\HttpCache\\SubRequestHandler",
                    "type": "::"
                },
                {
                    "file": "/sw6/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
                    "line": 269,
                    "function": "forward",
                    "class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
                    "line": 285,
                    "function": "pass",
                    "class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
                    "line": 213,
                    "function": "invalidate",
                    "class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/HttpKernel.php",
                    "line": 181,
                    "function": "handle",
                    "class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
                    "type": "->"
                },
                {
                    "file": "/sw6/vendor/shopware/core/HttpKernel.php",
                    "line": 81,
                    "function": "doHandle",
                    "class": "Shopware\\Core\\HttpKernel",
                    "type": "->"
                },
                {
                    "file": "/sw6/public/index.php",
                    "line": 69,
                    "function": "handle",
                    "class": "Shopware\\Core\\HttpKernel",
                    "type": "->"
                }
            ],
            "file": "/sw6/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php",
            "line": 544
        }
    }
]

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


Programs are not showing in lecture notes / code

Will be proposing changes as soon as I find a little time, need to revamp the whole blog. And will push updates using same main branch.

There will be development using Markdoc later.


update social media links in footer

create add and add url to it

not add social media links in the footer's social media icons!?


issue dont complete

Voice Support with node-opus / opusscript #1169
pls opening. for helping @meew0

your issue is Error: Incorrect login details were provided. this has nothing to do with node-opus or opusscript, and it has nothing to do with erlpack. please stop opening useless issues

this is dont my problem.
my problem is i dont can install this voice support.
the login details is fixxed.

https://discord.gg/bRCvFy9


Address feedback in "Improve regular expression error messages" PR

Follow up to https://github.com/NVIDIA/spark-rapids/pull/5871 to address some feedback.
Refactored isSupportedRepetitionBase into two separate functions isSupportedRepetitionBase and getUnsupportedRepetitionBase.
Signed-off-by: Anthony Chang<EMAIL_ADDRESS>

build


chore : add Logo to Cairo Zero extension

Add logo to Cairo Zero extension
Rename extension to Cairo 0 (more consistent with the other  "Cairo 1.0" extension)

This change is

@liorgold2  i'm working at Nethermind and was requested to add a Logo to Cairo zero extension
After merging, someone with rights for Starkware publisher will need to do vsce publish to update it in the VSC marketplace


Artist Module Updates

From @briansw on May 19, 2016 15:10
NOTE: do not include partner-submitted bios at this time
Launch as Lab feature first for review

Copied from original issue: artsy/force-private#5044

From @artsyit on July 26, 2016 14:24
 Artwork page: Artist module updates

From @briansw on August 23, 2016 15:18
General

[ ] Tab and header titles need to be adjusted based on rule above "Highlights" vs "History"
[ ] When no exhibition history/highlights are present on the bio tab, don't collapse the bio
[ ] Make CV button the small-button style
[ ] Make the View all articles button small-button style
[ ] There should be 20px between article title and byline

Artists with 15 or Fewer Shows

[ ] Should look like no. 1: https://www.artsy.net/artwork/cosima-von-bonin-george
[ ] Should look like no. 2: https://www.artsy.net/artwork/michael-krebber-untitled-3
[ ] Should look like no. 3: https://www.artsy.net/artwork/nick-veasey-superman-3

Artists with 16 or More Shows

[ ] Should look like no. 1: https://www.artsy.net/artwork/andy-warhol-details-of-renaissance-paintings-sandro-botticelli-birth-of-venus-1482-4
[ ] Should look like no. 2: https://www.artsy.net/artwork/simon-fujiwara-ich-cornerboy-double-32l-1
[ ] Should look like no. 3: Can't find an example, but maybe with terminal you can find one quicker than me.

[ ] I just noticed that the exhibition sequence seems to be out of order as well. The shows should be listed newest to oldest.

@briansw after talking with @mzikherman, it looks like these are already sorted by date in addition to a specific weight.

Right, I think the weighting is correct, but the sort is incorrect for the display on the page. Ie, it's correct that we're pulling older shows from 2014, but the shows that are displayable should show up in reverse chronological order.

They are ordered by date, but weighted. Wouldn't reordering it again disrupt the order of the weight?

The weighting should be considered only when making the initial selection of displayable shows and then that group should be sorted by date.


Feature/Make compatible with FZF completion

Problem
After integrating FZF's completion plugin, triggering completion for directories with ** <TAB> gave an error:
$ cd path/to/dir/** <TAB>
[fd error]: The search pattern 'path/to/dir' contains a path-separation character ('/') and will not lead to any search results.

If you want to search for all files inside the 'path/to/dir' directory, use a match-all pattern:

  fd . 'path/to/dir'

Instead, if you want your pattern to match the full file path, use:

  fd --full-path 'path/to/dir'

This also applied to files completion, e.g:
$ vim /path/to/file/** <TAB>

Solution
Add match-all pattern to fd command in _fzf_compgen_path and _fzf_compgen_dir functions

Hi @ethan605, good catch! Thanks for the contribution.


Address of customer not getting added in Customer->Address section when customer save it at time of checkout.

Bug report
Title
Address of customer not getting added in Customer->Address section when customer save it at time of checkout.
Issue Description
Address of customer not getting added in Customer->Address section when customer save it at time of checkout.
Preconditions
1. framework Version- master

Steps to reproduce
1. step1- Add a product in cart
2. step2- Enter your address and also select the option save as address and proceed to checkout.
3. step3- After successful order go to customer address section.

Expected result
Added address should display in address section of customer.
Actual result
Address of customer not getting added in Customer->Address section when customer save it at time of checkout.

Fixed


adding data exposed episode on HDFS Tiering

adding data exposed episode on HDFS Tiering

never mind. I followed the wrong process.


The rmagick not install in Windows7 64bit rails 4.2.0 and ruby 2.1.5

I'm try to install rmagick 2.13.4 in my Windows 7-64Bits with Ruby 2.1.5 + Rails 4.2.0 because I'm reading the ebook "Rails 4 Application Development", but not work, the message is in image below.
Could you to help me please?

I'm yet did install the "ImageMagick" but not work the install of rmagick.

It seems like missing convert command.

Set ImageMagick to be first in your system path:

path=[path to ImageMagick];%path%

e.g.
path=C:\Program Files\ImageMagick-6.9.0-4-Q16;%path%

Install the rmagick gem. You can get rmagick to compile on Windows with the command:

gem install rmagick -- '--with-opt-dir="[path to ImageMagick]"'

e.g.
gem install rmagick -- '--with-opt-dir="C:\Program Files\ImageMagick-6.9.0-4-Q16"'

Installing on Windows · rmagick/rmagick Wiki

Yeah, solved
Thank you for answer u338steven

You are welcome! :)


modified:   docs/deploy/linux/installer/install.md

Fixed issue #2399.

Submitted on wrong branch


added props with state interface in MembersPage ts file

I tried to use your example and i see that you need to have props in constructor and super so i added them.

Branch got outdated pending on comment (State), the samples has been revamped it should be uptodate now, thanks  for your feedback, closing this branch


Read LST zfit file

Hi,
I would like to read LST zfit file in ctapipe in order to do low-level LST camera calibrations.
I tried
from ctapipe.io import event_source

for event in event_source("file_name.fits.fz"):
    pass

I got AttributeError. Is it possible to read zfits file in ctapipe?
Anybody work on this issue?
I would like to start implementations in ctapipe.
I have my script, where I read fits file by  protozfits.
Thanks for any help.
Paweł

Hello Pawel

I have my script, where I read fits file by protozfits.

I would like to help, if I can. Could you maybe share this script, so we can see what it is you are doing?

Hi Pawel,
I wrote a preliminary version of a NectarCAM fits reader (there is a pull request on going) that can be easily adapted to LST reading. I can do it, but I will need some days, is it ok for you?

@FrancaCassol Thanks a lot.  It is ok for me. I can wait.
Maybe will be useful my script to read LTS fits file from(http://cta.cppm.in2p3.fr/LSTCAM/ZFITS/20170322/)
import numpy as np
from protozfits import SimpleFile
from translatez_fits import translate_fits # This is function to translate fits file, because was misunderstanding in recorded data, but this should be fix for next files

class Event:
    n_channels = 8
    RoI = 40

    def __init__(self, event):
        self.event = event
        self.samples_high_gain = np.zeros((self.n_channels, self.RoI))
        self.samples_low_gain = np.zeros((self.n_channels, self.RoI))
        self.first_capacitor_high_gain = np.zeros(8)
        self.first_capacitor_low_gain = np.zeros(8)

    def read(self):
        hi_gain, low_gain = translate_fits(self.event)
        for j in range(0, self.n_channels):
            self.samples_high_gain[j, 0:40] = hi_gain[j * 40:(j + 1) * 40]
            self.samples_low_gain[j, 0:40] = low_gain[j * 40:(j + 1) * 40]
        fc = self.event.firstCapacitorIds.data[0:8]
        for i in [0, 2, 4, 6]:
            self.first_capacitor_high_gain[i] = fc[i]
            self.first_capacitor_high_gain[i + 1] = fc[i]
        for j in [1, 3, 5, 7]:
            self.first_capacitor_low_gain[j - 1] = fc[j]
            self.first_capacitor_low_gain[j] = fc[j]

f = SimpleFile("../data/Run021.1.fits.fz")
for i in range(0, 100):
    ev = next(f.Events)
    Ev = Event(ev)
    Ev.read()

Hello... we just discussed a bit about this topic here in Barcelona. From Julian I understood that there exists some C++ code already, which could serve as an example... I think it would be good if we could have a look at that code...

Maybe will be useful my script to read LTS fits file from(http://cta.cppm.in2p3.fr/LSTCAM/ZFITS/20170322/)

Hi Pawel, could you please produce a 10 event files? This can be uploaded in ctapipe as example for the reader...

Hi Franca,
Do you need fits.fz file, which will have the same structure as file from LS CAM?
I would like to help, but unfortunately I have never produced fits file, only I read those.
I think, the simplest solution will be read fits file by use  protozfits and then create new fits file and write to file 10 events. @dneise It is possible create/write to fits file by use protozfits ? I'd appreciate it if you explain me how write to fits file. If I know how write to fits file, I will produce example file.
With regard to C++ code, exist Julian C++ macros to low-level calibration, I will ask him about it.

Hello, writing zfits files is not possible with the Python-wrapped-'protozfits' version one can find in github.com/cta-sst1m/protozfitsreader at the moment.
This funktionality is not exposed to the python world at the moment...

If I understood correctly original protozfits is in C/C++? Can I use protozfits in C/C++ to read/write zfits files?

Hi Pawel,
today in Barcellona at the ASWG meeting Julien Houles (the writer of the LST event builder) explained us  that he is just modifying the LST data model in order to make it closer to the R1 ctapipe data model, this is still working in progress and at the moment there are no data available with this new model (but hopefully they will arrive soon), also there is no protozfits library compatible with it. So, in order to make a LST reader in ctapipe similar to the NectarCAM and Digicam reader, we need a new version of the protozfitsreader (by Dominik) based on a new version of the rawzfitreader (by Etienne) and we must wait for first LST data with the new version of the event builder (by Julien). @Etienne12345  and @dneise could you please confirm it?
Concerning your last question, yes, you should be able to read  LST files with the code ZFitsInspector in https://forge.in2p3.fr/projects/cta/repository/show/ACTL/CamerasToACTL/  but I am not sure that your version of LST files is still compatible with the last code version ...

we need a new version of the protozfitsreader (by Dominik) based on a new version of the rawzfitreader (by Etienne)

In the past Etienme was indeed so friendly to provide the binaries for Py3.5 & 3.6 for Linux and OSX.
Then I would just take these binaries, 'patch' their RPATHs, and put them into the right folder, here
https://github.com/cta-sst-1m/protozfitsreader/tree/master/protozfits
How to 'patch' the RPATH of the linux binaries, I tried to explain here:
https://github.com/cta-sst-1m/protozfitsreader/blob/master/patching_so_files.md
For the MacOS binaries, I did not manage this, therefore the usere still have to set the DYLD_LIBRARY_PATH.
None of the Python files (in the reader) needs to be modified when the Datamodel changes. Of course higher level code, which want to access the new fields needs to be adjusted accordingly.

Hello,
@pawel21 : Yes you can use protozfits in C++. The reading classes, python bindings and all is in the CamerasToACTL project in the CTA svn here: https://svn.in2p3.fr/cta/ACTL/CamerasToACTL/
There are not much examples, but you can look at trunk/ACTL/GUI/GLCameraLoader.cpp to see how files are open and events loaded (in the constructor of the class). Or let me know what you want to do and I'll make a simple example for you.
@dneise @FrancaCassol : Sure I'll generate a new version of the binary packages with Julien latest changes. Most probably today, maybe tomorrow: I'll keep you posted.
@FrancaCassol : you can use zfitsdump rather than zfitsinspector. the former uses reflection and works on any file, while the later is hard-coded.
@FrancaCassol @pawel21 : I could easily produce an example LST file with the new data model once Julien explains to me what are the fields that should be populated (at noon / early afternoon). Of course the data would be noise.

@dneise

I think it would be good if we could have a look at that code...
I added Julian macros to my github cpp macros!

That's great thanks a lot. Looking at these cpp macros as well as at your already existing python modules together with having seen Julians talk yesterday I believe we got a nice overview of what is needed to be done. I think based on this we will have no problem implementing this together in a short amount of time.

  @dneise
  I have start to work in ctapipe SW development few weeks ago; my work shall be focused in LST DL0 files reading. So, I have installed the protozfits SW following the steps you recommend in the post from 18 of April/2018.

The installation was made downloading from https://github.com/cta-sst-1m/protozfitsreader . No errors were reported in the installation process but when I try to use, it fails with the following error message:
>>> from protozfits import SimpleFile
Traceback (most recent call last):
File "", line 1, in
File "/usr/users/iaguado/CTA_Work/SW/ZFits SW for ctapipe/protozfitsreader/protozfits/init.py", line 2, in  from .digicam import File as DigicamFile
File "/usr/users/iaguado/CTA_Work/SW/ZFits SW for ctapipe/protozfitsreader/protozfits/digicam.py", line 6, in  from . import rawzfitsreader
ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
   The installation was made with setup.py build and setup.py commands, but with pip installation process the same error is obtained. The error remains, either running python from protozfitsreader directory or moving down to protozfits subdirectory. Also, pytest command produces the same error.
    Any idea of what is wrong or missing?
    Thank you in advance,

PD: I am working on Linux with python 3.6 from ctapipe environment (cta-dev2) that was previously installed with anaconda.

Hello Isidro,
thank you for your interest in the protozfits reader package. I propose to discuss problems related to that package, in the issue tracker of that package. For your convenience I copied your nice description to: https://github.com/cta-sst-1m/protozfitsreader/issues/31

Hi @dneise ,
it seems the LST new data model is now stable, I can then proceed to create the skeleton of the LST reader in ctapipe. Unfortunately, it seems to me that the present ctapipe version of protozfits (0.44.5) is still not compatible with the new model:

rawzfitsreader.open("LST_streamer1_20180427_000.fits.fz")
Open has failed. Error: Cannot load data of type R1.CameraEvent. The reason is: ProtobufIFits must be updated to handle this type of data. This is very easy to do but must unfortunatelly be done manually. Write an email to etienne and he will do it (hopefully) while reading file LST_streamer1_20180427_000.fits.fz and table
-1

I am wrong?
(You can find the new new model LST files in https://cta.cppm.in2p3.fr/LSTCAM/ZFITS/20180427/ )
Thanks for any hint
Cheers

Indeed the python binaries were not generated yet. We hope to manage to sit together with Dominik tomorrow and "just do it". We will keep you posted in any case.

Hi Etienne,
That is perfect. I am in the meanwhile going ahead with a draft of the reader.
Also, I just realized that one of the files in https://cta.cppm.in2p3.fr/LSTCAM/ZFITS/20180427/ is missing the CameraConfig table, I guess this is not foreseen. I asked Julien to produce a 10 events file, with all the tables, to be used as test and to be included in ctapipe (but perhaps you can create it?)
Cheers

Hi again Franca,
I just created a 10 events file: will send it out by email.

Dear Franca & Etienne,
nice to see this is moving forwards, thanks a lot for your effort.  I have
just been told that in the coming days we will have real calibration runs
taken at the camera integration set-up at IFAE, with a few clusters. It
would be great to be able to look into them (besides Etienne's tools) also
with ctapipe. Do you have an estimate of when the reader could be
operational? - we have one alternative in the meantime (using the so-called
legacy daq software) but would be much better if we can use only the EVB
from now on.
Best regards,
Abelardo
On 8 May 2018 at 15:27, Etienne12345<EMAIL_ADDRESS>wrote:

Hi again Franca,
I just created a 10 events file: will send it out by email.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cta-observatory/ctapipe/issues/698#issuecomment-387401642,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANghOoSOZoTO18Cou091Pc_m-YVqFtEpks5twZ1EgaJpZM4TM2X9
.

--
Abelardo Moralejo Olaizola
Institut de Física d'Altes Energies
Tel : +34 931641662
Fax: +34 935811938
Avís - Aviso - Legal Notice - (LOPD) - http://legal.ifae.es
--
Avís -
Aviso - Legal Notice - (LOPD) - http://legal.ifae.es
http://legal.ifae.es/

Dear Abelardo,
I have a first skeleton of the reader but in order to run and test it I need the python version of the new protozfits library. Etienne and Dominik are going to keep us informed on when it will be ready. But I must say that time starts to become short before the meeting in Paris, eventually we will sit down one evening of next week (it will be easier with the support of a LST data expert ;-))
Cheers

https://github.com/cta-sst-1m/protozfitsreader/pull/33

Dear Franca, Etienne, Dominik,
ok, thanks a lot, seems you're pretty close now. We can indeed meet in
Paris, I'll be there Mo-Fri, though I am not sure many experts on the LST
side will be around.  Once this is merged, hopefully Julian Sitarek and
Pawel Gliwny (neither will go to Paris) can test it straightaway - they're
probably reading this, but will anyway contact them directly once Dominik
finishes.
Best regards,
A.
On 11 May 2018 at 09:20, Etienne12345<EMAIL_ADDRESS>wrote:

Dear Abelardo,
we worked on this with @dneise https://github.com/dneise on Wednesday:
we are almost there, only the python side of the loader must be adapted to
R1 data format. I believe that @dneise https://github.com/dneise is on
it, maybe he will be able to complete it today ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cta-observatory/ctapipe/issues/698#issuecomment-388282741,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANghOiDuQehh60thWtzkUSsC671M2Jx9ks5txTvJgaJpZM4TM2X9
.

--
Abelardo Moralejo Olaizola
Institut de Física d'Altes Energies
Tel : +34 931641662
Fax: +34 935811938
Avís - Aviso - Legal Notice - (LOPD) - http://legal.ifae.es
--
Avís -
Aviso - Legal Notice - (LOPD) - http://legal.ifae.es
http://legal.ifae.es/

Ah in case you did not see it, https://github.com/cta-sst-1m/protozfitsreader  v1.0.0 is now released

Dear Dominik,
great, thanks!  Franca, can you then test the LST reader?  Since you will
be in Paris next week, and hence may lack time for it, perhaps Pawel and
Julian Sitarek can help with it. what do you think?
A.
On 11 May 2018 at 12:34, Dominik Neise<EMAIL_ADDRESS>wrote:

Ah in case you did not see it, https://github.com/cta-sst-1m/
protozfitsreader v1.0.0 is now released
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cta-observatory/ctapipe/issues/698#issuecomment-388327126,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANghOqn_uigS4a5T5AMU-dKOtDxAGPdWks5txWk_gaJpZM4TM2X9
.

--
Abelardo Moralejo Olaizola
Institut de Física d'Altes Energies
Tel : +34 931641662
Fax: +34 935811938
Avís - Aviso - Legal Notice - (LOPD) - http://legal.ifae.es
--
Avís -
Aviso - Legal Notice - (LOPD) - http://legal.ifae.es
http://legal.ifae.es/

Just to confirm that I have used the v1.0 (delivered yesterday) to read events from Run002_001.fits.fz file.
There are some issues (the event_id counts 1, 3, 5, 7, ...) but probably I am doing something wrong.
I will try this afternoon with the new release delivered during this morning.

OK. This could explain why events in Run002_001.fits.fz increase 1, 3, 5, ... and events in Run002_002.fits.fz increase 2, 4, 6, ...

Dear Dominik,
I have problem with install https://github.com/cta-sst-1m/protozfitsreader.
When I try: pip install https: // github.com / cta-sst-1m / protozfitsreader / archive / v1.0.0.tar.gz,
, it fails with the following error message: Not Found for url: https: // codeload.github.com / cta-sst-1m / protozfitsreader / tar.gz / v1.0.0
Could you check if the link is correct?

Hello Pawel, thanks for reporting. Indeed I made a typo in the name of the release.
Fixed it.
Just as a hint for the future. Every github project has a releases page, for the protozfits it is here:
https://github.com/cta-sst-1m/protozfitsreader/releases
You can also click on the "releases" button at the top of the repos main page.
And on that page you can hover with your mouse over the zip and tar-balls to find out the URLs.

Thanks Dominik for help

There is a plugin now for the LST event source


Active studyrights: special cases

Studyright activity is determined by parseActivity in:
updater/sis-updater-worker/src/updater/updateStudents/studyRightUpdaters.js
It is currently based on semester enrollments, but some studyrights don't use those. Maybe find out a way to determine which ones do.
Here's 22 unique education_type urns from importer-db's educations table:

Did this so that 'urn:code:education-type:degree-education:specialisation-in-medicine-and-dentistry' and 'urn:code:education-type:degree-education:specialisation-in-veterinary' these education types' activity is now checked by validity dates, no term registratrions are needed.
These were the only known ones that are "degree-education" but do not require term registration. The open question is, which other education_type activity-statuses (the non-degree ones) should be parsed the same way. Right now all of them require term registrations. Some of them seem to have them, but not all.


The sitemap link in the readme file is dead

The Link to the sitemap blog post, does not work anymore

I can't find the issue. Can you reopen providing more information?

You linked to another Blogpost in the README of this repository (not in your blog)
The sitemap.xml file was inspired by this post.

The link there is dead. I don't if the site just doesn't exists anymore, or if something else went wrong

Thanks for the clarification. I removed the dead link!


Stopped working after the first merge

Bug description
After I merge the first PR by release-plz, it stopped creating new PRs.
https://github.com/elbaro/downtown/pull/18
To Reproduce
Steps to reproduce the behavior:

Creates a PR
Merge
Github action runs
No PR is created

Expected behavior
Create a new PR
Environment

release-plz version<EMAIL_ADDRESS>
Additional context

The main branch is protected.
There is an old branch left by release-plz.
I didn't publish the crate to the registry.
The Github action log had no useful info.

This is the expected behavior.
From logs:

You local Cargo.toml has version 0.1.1, while crates.io has version 0.1.0.
Which version should release-plz update to? None, right?
Release-plz is waiting for you to publish your current version.
Since here you specified release-pr, release-plz won't publish the version for you.
I hope I was clear, let me know if you still have doubts.
Can I improve the docs in some way to make this more explicit?

I see. Actually I wanted release-pr to work locally and only depend on the local Cargo.toml version.
Can I change this issue to a feature request that adds a config to make release-pr read the version from the local Cargo.toml?

No, sorry. Release-plz needs a cargo registry to do his job (public or private).
For private registries there's an issue open but I will look into it.
I explained why is complied to support projects that are not published to a cargo registry in https://github.com/MarcoIeni/release-plz/issues/590

#590

understood, thanks!


Distribute source

By shipping source files and setting the ‘react-native’ entry point to src, the RN packager can parse the module and provide source maps when debugging from your app. This makes the install slightly heavier but is worth it for the improved ergonomics.

We've already done this in react-nav-stack: https://github.com/react-navigation/react-navigation-stack/blob/master/package.json

thx eric for ur contribution


slow inference on ARM64 device

Description
Hi there,
I am using a Rockchip - RK3399 (64-bit CPUS: Dual Cortex-A72 + Quad Cortex-A53, USB: 3.0), with Ubuntu 18.04.1 LTS, Python 3.6.8.
When running examples/detect_image.py with the model efficientdet_lite2_448_ptq_edgetpu.tflite:
the inference takes ~330 ms, while I expected ~100 ms (from the published benchmark).
Is my expectation realistic? or, are there issues in my setup that I'm not aware of?
Here's what I've done so far:

I installed libedgetpu1-std & python3-pycoral, as described in the official instructions.
I stored the input images locally (on the SD card).
I have set the 'performance' mode for the cpu freq.
I made sure that the device connection is recognized as USB 3 (lsusb -> bcdusb=3.1).

Finally, I tried the benchmarks/inference_benchmarks.py, and got:
******************** Check results *********************
 * Unexpected high latency! [inception_v1_224_quant_edgetpu.tflite]
   Inference time: 6.283602199999905 ms  Reference time: 4.0 ms
 * Unexpected high latency! [mobilenet_v1_1.0_224_quant_edgetpu.tflite]
   Inference time: 4.973522705000164 ms  Reference time: 2.22 ms
 * Unexpected high latency! [mobilenet_v2_1.0_224_quant_edgetpu.tflite]
   Inference time: 5.482743665000385 ms  Reference time: 2.56 ms
 * Unexpected high latency! [ssd_mobilenet_v2_face_quant_postprocess_edgetpu.tflite]
   Inference time: 10.197461029999886 ms  Reference time: 7.78 ms
******************** Check finished! *******************

I would appreciate any help,
Thanks!
Click to expand!
Issue Type
Performance
Operating System
Ubuntu
Coral Device
USB Accelerator
Other Devices
No response
Programming Language
Python 3.6
Relevant Log Output
No response

Hello @noamholz Could you please share the link to published benchmarks?
with USB accelerator inference speeds might differ based on your host system and whether you're using USB 2.0 or 3.0.
Here rare the results on my Linux Machine:
With  libedgetpu1-max
 python3 examples/detect_image.py   --model /home/hemanthreddyj/Desktop/issues/pycoral_46/efficientdet_lite2_448_ptq_edgetpu.tflite   --labels test_data/coco_labels.txt   --input test_data/grace_hopper.bmp   --output ${HOME}/grace_hopper_processed.bmp
----INFERENCE TIME----
Note: The first inference is slow because it includes loading the model into Edge TPU memory.
128.92 ms
101.32 ms
95.12 ms
95.44 ms
107.40 ms
-------RESULTS--------
person
  id:     0
  score:  0.9609375
  bbox:   BBox(xmin=3, ymin=22, xmax=510, ymax=600)

with  libedgetpu1-std
 python3 examples/detect_image.py   --model /home/hemanthreddyj/Desktop/issues/pycoral_46/efficientdet_lite2_448_ptq_edgetpu.tflite   --labels test_data/coco_labels.txt   --input test_data/grace_hopper.bmp   --output ${HOME}/grace_hopper_processed.bmp
----INFERENCE TIME----
Note: The first inference is slow because it includes loading the model into Edge TPU memory.
147.90 ms
128.71 ms
120.05 ms
120.40 ms
127.54 ms
-------RESULTS--------
person
  id:     0
  score:  0.9609375
  bbox:   BBox(xmin=3, ymin=22, xmax=510, ymax=600)

Thanks @hjonnala for your reply,

USB accelerator inference speeds might differ based on your host system and whether you're using USB 2.0 or 3.0

My system is indeed using USB 3.0, and the CPUs: Dual Cortex-A72 + Quad Cortex-A53.
Here's how I relate my case to the published benchmark -
I expect my system to be similar enough to the Coral dev-board, since they seem to have similar computing power.
But while the dev-board is on par with "Desktop CPU + USB Accelerator" (2.6ms inference time on mobilenet_v2, for example), my system is much slower (5.5ms inference time on mobilenet_v2).
An important difference between my system & the dev-board, is that the latter uses a PCI connection - would that explain most of the difference in performance?
Would you recommend any tests that I perform to identify the bottleneck?
Thanks again!

Operating frequency also affects the inference time. Can you try installing edgetpu runtime with maximum operating frequency? (sudo apt-get install libedgetpu1-max)
On my Linux machine(x_86_64), with standard operating frequency
******************** Check results *********************
 * Unexpected high latency! [inception_v1_224_quant_edgetpu.tflite]
   Inference time: 5.300638125045225 ms  Reference time: 3.06 ms
 * Unexpected high latency! [mobilenet_v1_1.0_224_quant_edgetpu.tflite]
   Inference time: 3.9057857799343765 ms  Reference time: 2.17 ms
 * Unexpected high latency! [mobilenet_v2_1.0_224_quant_edgetpu.tflite]
   Inference time: 4.219176759943366 ms  Reference time: 2.29 ms
 * Unexpected high latency! [ssd_mobilenet_v2_face_quant_postprocess_edgetpu.tflite]
   Inference time: 8.32953658507904 ms  Reference time: 5.36 ms
******************** Check finished! *******************

with maximum operating frequency
******************** Check results *********************
 * Unexpected low latency! [ssd_mobilenet_v1_coco_quant_postprocess_edgetpu.tflite]
   Inference time: 6.677852355060168 ms  Reference time: 10.02 ms
******************** Check finished! *******************

Thanks @hayatoy.
Using libedgetpu1-max certainly improves the speeds.
******************** Check results *********************
 * Unexpected high latency! [mobilenet_v1_1.0_224_quant_edgetpu.tflite]
   Inference time: 3.5727628600000116 ms  Reference time: 2.22 ms
 * Unexpected high latency! [mobilenet_v2_1.0_224_quant_edgetpu.tflite]
   Inference time: 3.8395439999999326 ms  Reference time: 2.56 ms
******************** Check finished! *******************

But for the model efficientdet_lite2_448_ptq_edgetpu.tflite, running via examples/detect_image.py,
the inference goes down from ~330 ms to ~280 ms, while the benchmark says ~100 ms. So there's still a significant gap here, of more than x2.
By the way, does the published benchmark assume libedgetpu1-std or max?
In any case, I wish to avoid using the maximum frequency in my application due to the overheating.
So I'm still trying to understand which relevant differences between my Rockchip - RK3399 and the coral dev-board, could best explain the difference in performance. Currently I assume it's the PCIe (dev-board) vs USB 3.1 (Rockchip - RK3399). Unless there are any other important elements that I'm missing (?)
Thanks

Hi @noamholz  the published benchmark assume libedgetpu1-max. (Since we are doing max performance test we use max frequency).
The benchmarks for efficientdet_lite2_448_ptq_edgetpu.tflite  model are measured with a Coral USB Accelerator on a desktop CPU (Single 64-bit Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz). As both(Desktop CPU and  Rockchip - RK3399) are different CPU architectures you might be seeing the significant difference.


Fix pin tip detect getting stuck in loop

Potential fix for https://github.com/DiamondLightSource/mx-bluesky/issues/634. See https://github.com/DiamondLightSource/mx-bluesky/issues/634#issuecomment-2468011536 for explanation
Instructions to reviewer on how to test:
To test:

Run pip install pytest-timeouts
Confirm new test fails without the added asyncio.sleep(0)
Confirm test passes with it

Checks for reviewer

[ ] Would the PR title make sense to a scientist on a set of release notes
[ ] If a new device has been added does it follow the standards
[ ] If changing the API for a pre-existing device, ensure that any beamlines using this device have updated their Bluesky plans accordingly
[ ] Have the connection tests for the relevant beamline(s) been run via dodal connect ${BEAMLINE}

I've tried to reproduce this in ophyd-async but can't so far. This passes without needing the asyncio.sleep:
async def test_observe_value_times_out_with_busy_sleep():
    sig, setter = soft_signal_r_and_setter(float)

    async def tick():
        for i in range(5):
            await asyncio.sleep(0.1)
            setter(i + 1)

    recv = []

    async def watch():
        async for val in observe_value(sig, timeout=0.5):
            time.sleep(0.15)
            recv.append(val)

    t = asyncio.create_task(tick())
    start = time.time()
    try:
        with pytest.raises(asyncio.TimeoutError):
            await asyncio.wait_for(watch(), timeout=0.2)
        assert recv == [0, 1]
        assert time.time() - start == pytest.approx(0.3, abs=0.05)
    finally:
        t.cancel()

Ok, manages to reproduce it in the same manner as your test:
async def test_observe_value_times_out_with_no_external_task():
    sig, setter = soft_signal_r_and_setter(float)

    recv = []

    async def watch():
        async for val in observe_value(sig):
            # If you put "await asyncio.sleep(0.00001)" here it times out
            recv.append(val)
            setter(val + 1)

    start = time.time()
    with pytest.raises(asyncio.TimeoutError):
        await asyncio.wait_for(watch(), timeout=0.2)
    assert recv
    assert time.time() - start == pytest.approx(0.3, abs=0.05)

However I question if this is your actual failure mode on I03, as this depends on the busy task prompting the callback in the same asyncio coro, while on I03 you have to yield already to an already busy queue. I'll see if I can reproduce this with an actual EPICS signal...

However I question if this is your actual failure mode on I03, as this depends on the busy task prompting the callback in the same asyncio coro, while on I03 you have to yield already to an already busy queue. I'll see if I can reproduce this with an actual EPICS signal...

It's worth noting that we only saw this issue once a couple of weeks ago and have not seen it again since so it's likely some timing race condition that's quite rare.

Closing in favour of https://github.com/bluesky/ophyd-async/pull/648#event-15298821917. Let's reopen this if we see the issue again (after the ophyd-async change is live on i03)


Previously deleted repeatable migrations fail validation when upgrading

Which version and edition of Flyway are you using?
7.7.0 Teams
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line
Which database are you using? (Type & version)
MSSQL 2014
Which operating system are you using?
Linux
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Upgraded from 6.1.2 and ran flyway migrate.
What did you expect to see?
Successful validation and no migrations executed (since we didn't change anything).
What did you see instead?
ERROR: Validate failed: Migrations have failed validation
Detected applied migration not resolved locally: MIGRATION_NAME If you removed this migration intentionally, run repair to mark the migration as deleted.

For each repeatable migration that we've deleted.
We pinpointed the issue to the 7.0.0 release.  We're actually seeing the exact opposite behavior described here.  That scenario worked for us before, but no longer does after the upgrade.
While the suggestion to run flyway repair works, this isn't sustainable for us since everything is done through a pipeline.  How can we get flyway to succeed as before and allow for deleted repeatable migrations?

So to confirm, in Flyway 6.1.2 deleted repeatable migrations didn't cause validation errors for being missing - but in 7.7.0 they do?
If that's the case, it sounds like perhaps that was a bug in an earlier version. If an applied migration is deleted, Flyway should produce a validation error. So that behavior is more correct in the latest versions. I think the right thing is to run repair, or re-introduce the scripts.

While the suggestion to run flyway repair works, this isn't sustainable for us since everything is done through a pipeline. How can we get flyway to succeed as before and allow for deleted repeatable migrations?

Can you not amend your pipelines to always run repair before migrating in all your environments?

In versions previous to 7.0.0, ignoreMissingMigrations was defaulted to true, in 7.0.0 that is now defaulted to false. You should be able to set this back to true in config to replicate 6.x behavior. This will need to be enabled during migrate as this runs validation (which would fail without ignoreMissingMigrations set to true)

@MikielAgutu

So to confirm, in Flyway 6.1.2 deleted repeatable migrations didn't cause validation errors for being missing - but in 7.7.0 they do?

Confirmed.

Can you not amend your pipelines to always run repair before migrating in all your environments?

We certainly can do that, but it would essentially render all the protections provided by the checksums and the stateful schema history table worthless.
@madninjaskillz
Can you provide a link to the code change and/or documentation indicating this change was made?  I'm unable to find one.  Additionally, our configuration files from 6.1.2 indicate that it was defaulted to false at that time.

@MikielAgutu @madninjaskillz
We have confirmed that in 6.1.2 if a repeatable migration is applied and then removed, validate does not fail.  It does not matter if ignoreMissingMigrations is set to true of false.  The same, however, is not true for a versioned migration.
We have relied on this behavior (potentially taking advantage of a bug) for over 3 years now and have many pipelines that rely upon it.  How can we make it so that we can upgrade?
If you're set on it being a bug that has since been resolved, are you open to adding a new configuration that would allow it to ignore just repeatables, bringing back the behavior from before?  As-is, we are not able to upgrade.

Setting ignoreMissingMigrations to true should achieve the same effect in V7. Validate will then continue to succeed for missing migrations

That will allow both versioned and repeatable to be removed.  The behavior prior to V7 was just repeatable and that's what we'd like back if we can.  We don't want to allow versioned to be removed.

In this case we'd recommend running validate separately from migrate and validating versioned and repeatable migrations separately. You can store versioned and repeatable migrations in separate directories and change locations to validate them, and utilize ignoreMissingMigrations to achieve your desired behavior. You could also achieve this with cherryPick as validate respects what you specify to cherryPick, but that process is more manual as it requires updating the contents of cherryPick
We can't commit to adding this specific behavior, but if it gets more interest we will revisit it

If we try to validate just the repeatable or just the versioned wouldn't it have the same problem since all of the other would be missing?  I don't have any problem running them separately if there is a way to do that.

If you use the cherryPick approach then you won't encounter this problem. Everything not being cherryPick-ed is marked as ignored, so together with ignoreIgnoredMigrations you will get the desired behavior
If you use the locations approach then you'd be able to validate the repeatable migrations as all versioned migrations will be marked as future, but when it comes to validating versioned migrations, they will still have this same problem. In this case, it seems something like ignoreRepeatableMigrations is required, as opposed to something too specific such as ignoreMissingRepeatableMigrations
I'll rename the issue to reflect the former of the above features and reopen while we investigate

@DoodleBobBuffPants just to confirm, whereas we currently only run migrate, with the proposed ignoreRepeatableMigrations we'd:

validate with locations for only the versioned migrations with ignoreRepeatableMigrations set to true
validate with locations for only the repeatable migrations with ignoreMissingMigrations set to true
migrate with validateOnMigrate set to false

@DoodleBobBuffPants please explain why deleting migrations is discouraged, particularly repeatable migrations.  This is a very common and expected use case for us, so I'm wondering if we're fundamentally doing something wrong.
We utilize repeatable migrations for things like stored procedures, views, functions, and triggers.  Any time one of the objects is dropped, we delete the corresponding repeatable migration.

I should have said that deleting migrations and not running repair to mark them as DELETED is discouraged
In the workflow you have described, you end up in a state where the object is no longer in the database but Flyway's schema history table would suggest that it is as the corresponding repeatable migration is still considered to have been successfully applied, but it is just missing. This state is all that was possible before V7 but it is an incorrect state to be in
Running repair to mark the migration as DELETED might be what you need in this workflow instead
I understand you don't want to always run repair as it could cover up changes to checksums, so perhaps you could utilize the JSON output of validate to determine the kinds of validation failures that occurred?

@DoodleBobBuffPants
Having the ability to delete a repeatable is a big help.  We unfortunately have a lot of stored procedures we are trying to replace with application code.
Is there some way to adjust the history when this occurs to have the best of both worlds?

@jangolano
With Flyway we recommend making all database changes with a migration. If your aim is to make changes to the database in the application instead of with migrations, then you could use dummy (blank) migrations to track the history, but note that your migrations themselves lose reproducibility
If your application won't be making changes to the database and you will be deleting those stored procedures, then deleting those migrations on disk and running repair to mark them as DELETED is the way forward


Kythe website: fix canonical link to use http instead of https [phab:D199]

Created by schroederc at 2015-04-16 22:21:25:

zarko accepted this revision at 2015-04-16 22:22:51

schroederc closed via commit 3dac69afc3941b6ba8878c05065e40a43c28aa18 at 2015-04-16 22:25:49


robotgo.Sleep() pauses application at beginning not when called

Robotgo version (or commit ref): v<IP_ADDRESS>7
Go version: 1.11.1
Gcc version: 4.8.3
Operating system and bit: W10 x64
Resolution: 1440p
Can you reproduce the bug at Examples:

[X] Yes (provide example code)
[ ] No
[ ] Not relevant

Provide example code:

func typeStr() {
	robotgo.TypeString("Hello World")

	robotgo.Sleep(1)
	robotgo.TypeString("Hello World")

	robotgo.Sleep(1)
	robotgo.TypeString("Hello World")
}

Log gist:

Description
func Sleep() does not seem to function properly.  I expect the above code to output "Hello World", wait 1 second, and repeat.  Instead, the entire program pauses upon "go run main.go" for the time defined in Sleep() and then runs the TypeString()s one after another (instantaneously).
Is this by design?  Sleep() stops the program on run versus "where" the Sleep() func is called?
My problem is this: I am running a command to open a program (Notepad.exe) which takes a second to load.  I then want to write into that program.  I have to wait for the program to open before "writing".  Maybe this isn't even possible with robotgo...

The Sleep() method uses time.Sleep(), my test works fine.
robotgo.Sleep(2.1)


Razor code formatting is unusable when the end of line is LF

Type: Bug
Issue Description
If the end of the line is LF, formatDocument breaks the code and also creates new lines indefinitely.
Steps to Reproduce
Try to format files with LF like the following examples.
@page "/welcome"

<PageTitle>Welcome!</PageTitle>

Welcome to Blazor!

@if (true)
{

@message

}

@code {
    private string message =
        "Hello from a Razor component and welcome to Blazor!";
}

Expected Behavior
Correct formatting
Actual Behavior
Unusable code formatting.
After formatting many times...
https://github.com/dotnet/vscode-csharp/assets/23562885/1d7bc20a-e0d3-445d-b974-6ce3d69c812e
Logs

C# log
[LanguageServerHost] [07:42:20.972][End]textDocument/references
[LanguageServerHost] Using C# from request text document
[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host
[LanguageServerHost] [07:42:21.258][Start]textDocument/codeLens
[LanguageServerHost] [07:42:21.258][End]textDocument/codeLens
[LanguageServerHost] Using C# from request text document
[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host
[LanguageServerHost] [07:42:21.552][Start]textDocument/references
[LanguageServerHost] [07:42:21.801][Start]textDocument/didChange
[LanguageServerHost] [07:42:21.801][End]textDocument/didChange
[LanguageServerHost] Closing workspace/diagnostics request
[LanguageServerHost] Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost] [07:42:21.823][End]workspace/diagnostic
[LanguageServerHost] [07:42:21.830][Start]textDocument/didChange
[LanguageServerHost] Using C# from request text document
[LanguageServerHost] [07:42:21.830][End]textDocument/didChange
[RazorWorkspaceListener] (ProjectId, #d912f22d-9b3d-4ffc-8107-6cbfb6194622 - Constance.Auth) scheduling task due to workspace event
[RazorWorkspaceListener] (ProjectId, #d912f22d-9b3d-4ffc-8107-6cbfb6194622 - Constance.Auth) scheduling task due to workspace event
[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host
[LanguageServerHost] [07:42:21.830][Start]textDocument/inlayHint
[LanguageServerHost] [07:42:21.830][End]textDocument/inlayHint
[LanguageServerHost] Closing workspace/diagnostics request
[LanguageServerHost] Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost] [07:42:21.895][End]workspace/diagnostic
[LanguageServerHost] Using C# from request text document
[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host
[LanguageServerHost] [07:42:21.923][Start]textDocument/semanticTokens/range
[LanguageServerHost] [07:42:21.932][End]textDocument/semanticTokens/range
[LanguageServerHost] Using C# from request text document
[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host
[LanguageServerHost] [07:42:22.005][Start]textDocument/foldingRange
[LanguageServerHost] [07:42:22.005][End]textDocument/foldingRange
[LanguageServerHost] [07:42:22.053][End]textDocument/references
[LanguageServerHost] Using C# from request text document
[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host
[LanguageServerHost] [07:42:22.165][Start]textDocument/foldingRange
[LanguageServerHost] [07:42:22.166][End]textDocument/foldingRange
[RazorWorkspaceListener] (ProjectId, #d912f22d-9b3d-4ffc-8107-6cbfb6194622 - Constance.Auth) writing json file

C# LSP Trace Logs
[Trace - 1:42:20 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:20.972][End]textDocument/references"
}

[Trace - 1:42:21 PM] Sending request 'textDocument/codeLens - (1102)'.
Params: {
    "textDocument": {
        "uri": "virtualCSharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs"
    }
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] Using C# from request text document"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.258][Start]textDocument/codeLens"
}

[Trace - 1:42:21 PM] Received response 'textDocument/codeLens - (1102)' in 4ms.
Result: [
    {
        "range": {
            "start": {
                "line": 69,
                "character": 25
            },
            "end": {
                "line": 69,
                "character": 32
            }
        },
        "data": {
            "SyntaxVersion": "2024-06-07T19:42:17.3629592Z-10721-0",
            "ListIndex": 0,
            "TextDocument": {
                "uri": "virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs"
            }
        }
    },
    {
        "range": {
            "start": {
                "line": 73,
                "character": 21
            },
            "end": {
                "line": 73,
                "character": 51
            }
        },
        "data": {
            "SyntaxVersion": "2024-06-07T19:42:17.3629592Z-10721-0",
            "ListIndex": 1,
            "TextDocument": {
                "uri": "virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs"
            }
        }
    },
    {
        "range": {
            "start": {
                "line": 88,
                "character": 30
            },
            "end": {
                "line": 88,
                "character": 33
            }
        },
        "data": {
            "SyntaxVersion": "2024-06-07T19:42:17.3629592Z-10721-0",
            "ListIndex": 2,
            "TextDocument": {
                "uri": "virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs"
            }
        }
    },
    {
        "range": {
            "start": {
                "line": 91,
                "character": 32
            },
            "end": {
                "line": 91,
                "character": 47
            }
        },
        "data": {
            "SyntaxVersion": "2024-06-07T19:42:17.3629592Z-10721-0",
            "ListIndex": 3,
            "TextDocument": {
                "uri": "virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs"
            }
        }
    },
    {
        "range": {
            "start": {
                "line": 132,
                "character": 19
            },
            "end": {
                "line": 132,
                "character": 26
            }
        },
        "data": {
            "SyntaxVersion": "2024-06-07T19:42:17.3629592Z-10721-0",
            "ListIndex": 4,
            "TextDocument": {
                "uri": "virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs"
            }
        }
    }
]

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.258][End]textDocument/codeLens"
}

[Trace - 1:42:21 PM] Sending request 'textDocument/references - (1103)'.
Params: {
    "textDocument": {
        "uri": "virtualCSharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs"
    },
    "position": {
        "line": 132,
        "character": 19
    },
    "context": {
        "includeDeclaration": true
    }
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] Using C# from request text document"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.552][Start]textDocument/references"
}

[Trace - 1:42:21 PM] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor",
        "version": 8
    },
    "contentChanges": [
        {
            "range": {
                "start": {
                    "line": 13,
                    "character": 0
                },
                "end": {
                    "line": 13,
                    "character": 4
                }
            },
            "rangeLength": 4,
            "text": ""
        },
        {
            "range": {
                "start": {
                    "line": 12,
                    "character": 28
                },
                "end": {
                    "line": 12,
                    "character": 28
                }
            },
            "rangeLength": 0,
            "text": "\n"
        },
        {
            "range": {
                "start": {
                    "line": 6,
                    "character": 10
                },
                "end": {
                    "line": 6,
                    "character": 10
                }
            },
            "rangeLength": 0,
            "text": "\n"
        }
    ]
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.801][Start]textDocument/didChange"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.801][End]textDocument/didChange"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] Closing workspace/diagnostics request"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics"
}

[Trace - 1:42:21 PM] Received response 'workspace/diagnostic - (1094)' in 2498ms.
Result: {
    "items": []
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.823][End]workspace/diagnostic"
}

[Trace - 1:42:21 PM] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "virtualCSharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs",
        "version": 4
    },
    "contentChanges": [
        {
            "range": {
                "start": {
                    "line": 142,
                    "character": 3
                },
                "end": {
                    "line": 142,
                    "character": 4
                }
            },
            "rangeLength": 1,
            "text": "8"
        },
        {
            "range": {
                "start": {
                    "line": 133,
                    "character": 0
                },
                "end": {
                    "line": 133,
                    "character": 4
                }
            },
            "rangeLength": 4,
            "text": ""
        },
        {
            "range": {
                "start": {
                    "line": 132,
                    "character": 28
                },
                "end": {
                    "line": 132,
                    "character": 28
                }
            },
            "rangeLength": 0,
            "text": "\r\n"
        },
        {
            "range": {
                "start": {
                    "line": 130,
                    "character": 7
                },
                "end": {
                    "line": 130,
                    "character": 8
                }
            },
            "rangeLength": 1,
            "text": "3"
        },
        {
            "range": {
                "start": {
                    "line": 120,
                    "character": 6
                },
                "end": {
                    "line": 120,
                    "character": 7
                }
            },
            "rangeLength": 1,
            "text": "10"
        },
        {
            "range": {
                "start": {
                    "line": 113,
                    "character": 6
                },
                "end": {
                    "line": 113,
                    "character": 7
                }
            },
            "rangeLength": 1,
            "text": "10"
        },
        {
            "range": {
                "start": {
                    "line": 106,
                    "character": 0
                },
                "end": {
                    "line": 106,
                    "character": 0
                }
            },
            "rangeLength": 0,
            "text": "\r\n"
        }
    ]
}

[Trace - 1:42:21 PM] Sending request 'textDocument/inlayHint - (1104)'.
Params: {
    "textDocument": {
        "uri": "virtualCSharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs"
    },
    "range": {
        "start": {
            "line": 78,
            "character": 37
        },
        "end": {
            "line": 136,
            "character": 0
        }
    }
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.830][Start]textDocument/didChange"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] Using C# from request text document"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.830][End]textDocument/didChange"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[RazorWorkspaceListener] (ProjectId, #d912f22d-9b3d-4ffc-8107-6cbfb6194622 - Constance.Auth) scheduling task due to workspace event"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[RazorWorkspaceListener] (ProjectId, #d912f22d-9b3d-4ffc-8107-6cbfb6194622 - Constance.Auth) scheduling task due to workspace event"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.830][Start]textDocument/inlayHint"
}

[Trace - 1:42:21 PM] Received response 'textDocument/inlayHint - (1104)' in 3ms.
Result: []

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.830][End]textDocument/inlayHint"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] Closing workspace/diagnostics request"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics"
}

[Trace - 1:42:21 PM] Received response 'workspace/diagnostic - (1092)' in 2597ms.
Result: {
    "items": []
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.895][End]workspace/diagnostic"
}

[Trace - 1:42:21 PM] Sending request 'textDocument/semanticTokens/range - (1105)'.
Params: {
    "textDocument": {
        "uri": "virtualCSharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs"
    },
    "range": {
        "start": {
            "line": 78,
            "character": 37
        },
        "end": {
            "line": 136,
            "character": 0
        }
    }
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] Using C# from request text document"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host"
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.923][Start]textDocument/semanticTokens/range"
}

[Trace - 1:42:21 PM] Received response 'textDocument/semanticTokens/range - (1105)' in 18ms.
Result: {
    "data": [
        78,
        37,
        10,
        18,
        0,
        0,
        10,
        1,
        43,
        0,
        2,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        6,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        8,
        14,
        0,
        0,
        9,
        7,
        14,
        0,
        1,
        8,
        1,
        43,
        0,
        1,
        8,
        1,
        43,
        0,
        0,
        1,
        1,
        43,
        0,
        0,
        1,
        1,
        43,
        0,
        0,
        1,
        1,
        43,
        0,
        0,
        1,
        1,
        43,
        0,
        1,
        8,
        1,
        43,
        0,
        1,
        8,
        1,
        14,
        0,
        0,
        1,
        6,
        14,
        0,
        0,
        7,
        7,
        14,
        0,
        0,
        8,
        7,
        14,
        0,
        0,
        8,
        3,
        19,
        0,
        1,
        8,
        1,
        14,
        0,
        0,
        1,
        6,
        14,
        0,
        0,
        7,
        7,
        14,
        0,
        0,
        8,
        7,
        14,
        0,
        0,
        8,
        4,
        19,
        0,
        1,
        8,
        7,
        15,
        0,
        0,
        8,
        6,
        15,
        0,
        0,
        7,
        6,
        15,
        0,
        0,
        7,
        3,
        27,
        1,
        0,
        4,
        1,
        21,
        0,
        0,
        2,
        4,
        15,
        0,
        0,
        4,
        1,
        43,
        0,
        1,
        8,
        1,
        14,
        0,
        0,
        1,
        6,
        14,
        0,
        0,
        7,
        7,
        14,
        0,
        0,
        8,
        7,
        14,
        0,
        0,
        8,
        4,
        19,
        0,
        1,
        8,
        1,
        14,
        0,
        0,
        1,
        6,
        14,
        0,
        0,
        7,
        7,
        14,
        0,
        0,
        8,
        7,
        14,
        0,
        0,
        8,
        4,
        19,
        0,
        1,
        8,
        9,
        15,
        0,
        0,
        10,
        8,
        15,
        0,
        0,
        9,
        4,
        15,
        0,
        0,
        5,
        15,
        13,
        0,
        0,
        15,
        1,
        43,
        0,
        0,
        1,
        6,
        15,
        0,
        0,
        6,
        2,
        21,
        0,
        0,
        2,
        9,
        0,
        0,
        0,
        9,
        1,
        21,
        0,
        0,
        1,
        10,
        0,
        0,
        0,
        10,
        1,
        21,
        0,
        0,
        1,
        10,
        0,
        0,
        0,
        10,
        1,
        21,
        0,
        0,
        1,
        9,
        0,
        0,
        0,
        9,
        1,
        21,
        0,
        0,
        1,
        17,
        2,
        0,
        0,
        18,
        9,
        7,
        0,
        0,
        9,
        1,
        43,
        0,
        1,
        8,
        1,
        43,
        0,
        1,
        12,
        9,
        7,
        0,
        0,
        9,
        1,
        21,
        0,
        0,
        1,
        12,
        13,
        0,
        0,
        12,
        1,
        43,
        0,
        0,
        1,
        1,
        21,
        0,
        0,
        1,
        1,
        19,
        0,
        0,
        1,
        1,
        43,
        0,
        0,
        2,
        14,
        18,
        0,
        0,
        14,
        1,
        43,
        0,
        0,
        2,
        1,
        43,
        0,
        0,
        1,
        6,
        15,
        0,
        0,
        6,
        2,
        21,
        0,
        0,
        2,
        9,
        0,
        0,
        0,
        9,
        1,
        21,
        0,
        0,
        1,
        10,
        0,
        0,
        0,
        10,
        1,
        21,
        0,
        0,
        1,
        10,
        0,
        0,
        0,
        10,
        1,
        21,
        0,
        0,
        1,
        14,
        24,
        0,
        0,
        14,
        1,
        43,
        0,
        0,
        1,
        1,
        43,
        0,
        0,
        1,
        1,
        43,
        0,
        0,
        1,
        10,
        7,
        0,
        0,
        10,
        1,
        43,
        0,
        0,
        2,
        2,
        21,
        0,
        0,
        3,
        1,
        43,
        0,
        1,
        12,
        1,
        43,
        0,
        1,
        12,
        1,
        43,
        0,
        0,
        1,
        1,
        43,
        0,
        0,
        1,
        1,
        43,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        8,
        14,
        0,
        0,
        9,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        1,
        19,
        0,
        0,
        2,
        89,
        18,
        0,
        1,
        0,
        3,
        27,
        1,
        0,
        4,
        1,
        21,
        0,
        0,
        2,
        6,
        15,
        0,
        0,
        6,
        1,
        43,
        0,
        0,
        1,
        6,
        15,
        0,
        0,
        6,
        2,
        21,
        0,
        0,
        2,
        9,
        0,
        0,
        0,
        9,
        1,
        21,
        0,
        0,
        1,
        10,
        0,
        0,
        0,
        10,
        1,
        21,
        0,
        0,
        1,
        10,
        0,
        0,
        0,
        10,
        1,
        21,
        0,
        0,
        1,
        3,
        0,
        0,
        0,
        3,
        1,
        21,
        0,
        0,
        1,
        9,
        2,
        0,
        0,
        9,
        1,
        43,
        0,
        0,
        1,
        1,
        43,
        0,
        2,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        6,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        8,
        14,
        0,
        0,
        9,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        8,
        14,
        0,
        0,
        9,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        1,
        19,
        0,
        0,
        2,
        89,
        18,
        0,
        1,
        1,
        2,
        23,
        0,
        0,
        3,
        1,
        43,
        0,
        0,
        1,
        4,
        15,
        0,
        0,
        4,
        1,
        43,
        0,
        2,
        0,
        1,
        43,
        0,
        3,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        6,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        8,
        14,
        0,
        0,
        9,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        8,
        14,
        0,
        0,
        9,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        2,
        19,
        0,
        0,
        3,
        89,
        18,
        0,
        1,
        2,
        3,
        27,
        1,
        0,
        4,
        1,
        21,
        0,
        0,
        2,
        7,
        27,
        0,
        0,
        7,
        1,
        43,
        0,
        2,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        6,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        8,
        14,
        0,
        0,
        9,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        8,
        14,
        0,
        0,
        9,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        2,
        19,
        0,
        0,
        3,
        89,
        18,
        0,
        2,
        0,
        1,
        43,
        0,
        2,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        6,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        8,
        14,
        0,
        0,
        9,
        7,
        14,
        0,
        1,
        8,
        1,
        43,
        0,
        1,
        8,
        1,
        14,
        0,
        0,
        1,
        6,
        14,
        0,
        0,
        7,
        7,
        14,
        0,
        0,
        8,
        7,
        14,
        0,
        0,
        8,
        4,
        19,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        8,
        14,
        0,
        0,
        9,
        7,
        14,
        0,
        1,
        0,
        1,
        14,
        0,
        0,
        1,
        4,
        14,
        0,
        0,
        5,
        2,
        19,
        0,
        0,
        3,
        89,
        18,
        0,
        2,
        4,
        7,
        15,
        0,
        0,
        8,
        6,
        15,
        0,
        0,
        7,
        7,
        27,
        0,
        0,
        8,
        1,
        21,
        0,
        2,
        4,
        53,
        18,
        0,
        0,
        53,
        1,
        43,
        0
    ]
}

[Trace - 1:42:21 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:21.932][End]textDocument/semanticTokens/range"
}

[Trace - 1:42:22 PM] Sending request 'textDocument/foldingRange - (1106)'.
Params: {
    "textDocument": {
        "uri": "virtualCSharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs"
    }
}

[Trace - 1:42:22 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] Using C# from request text document"
}

[Trace - 1:42:22 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host"
}

[Trace - 1:42:22 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:22.005][Start]textDocument/foldingRange"
}

[Trace - 1:42:22 PM] Received response 'textDocument/foldingRange - (1106)' in 2ms.
Result: [
    {
        "startLine": 105,
        "startCharacter": 10,
        "endLine": 123,
        "endCharacter": 1,
        "collapsedText": "..."
    },
    {
        "startLine": 93,
        "startCharacter": 128,
        "endLine": 94,
        "endCharacter": 13,
        "collapsedText": "..."
    },
    {
        "startLine": 91,
        "startCharacter": 126,
        "endLine": 128,
        "endCharacter": 9,
        "collapsedText": "..."
    },
    {
        "startLine": 74,
        "startCharacter": 39,
        "endLine": 83,
        "endCharacter": 9,
        "collapsedText": "..."
    },
    {
        "startLine": 73,
        "startCharacter": 54,
        "endLine": 85,
        "endCharacter": 9,
        "collapsedText": "..."
    },
    {
        "startLine": 69,
        "startCharacter": 33,
        "endLine": 140,
        "endCharacter": 5,
        "collapsedText": "..."
    },
    {
        "startLine": 5,
        "startCharacter": 10,
        "endLine": 62,
        "endCharacter": 22,
        "kind": "imports",
        "collapsedText": "..."
    },
    {
        "startLine": 2,
        "startCharacter": 41,
        "endLine": 141,
        "endCharacter": 1,
        "collapsedText": "..."
    }
]

[Trace - 1:42:22 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:22.005][End]textDocument/foldingRange"
}

[Trace - 1:42:22 PM] Received response 'textDocument/references - (1103)' in 503ms.
Result: [
    {
        "uri": "virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs",
        "range": {
            "start": {
                "line": 132,
                "character": 19
            },
            "end": {
                "line": 132,
                "character": 26
            }
        }
    },
    {
        "uri": "virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs",
        "range": {
            "start": {
                "line": 114,
                "character": 8
            },
            "end": {
                "line": 114,
                "character": 15
            }
        }
    }
]

[Trace - 1:42:22 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:22.053][End]textDocument/references"
}

[Trace - 1:42:22 PM] Sending request 'textDocument/foldingRange - (1107)'.
Params: {
    "textDocument": {
        "uri": "virtualCSharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs"
    }
}

[Trace - 1:42:22 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] Using C# from request text document"
}

[Trace - 1:42:22 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host"
}

[Trace - 1:42:22 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:22.165][Start]textDocument/foldingRange"
}

[Trace - 1:42:22 PM] Received response 'textDocument/foldingRange - (1107)' in 3ms.
Result: [
    {
        "startLine": 105,
        "startCharacter": 10,
        "endLine": 123,
        "endCharacter": 1,
        "collapsedText": "..."
    },
    {
        "startLine": 93,
        "startCharacter": 128,
        "endLine": 94,
        "endCharacter": 13,
        "collapsedText": "..."
    },
    {
        "startLine": 91,
        "startCharacter": 126,
        "endLine": 128,
        "endCharacter": 9,
        "collapsedText": "..."
    },
    {
        "startLine": 74,
        "startCharacter": 39,
        "endLine": 83,
        "endCharacter": 9,
        "collapsedText": "..."
    },
    {
        "startLine": 73,
        "startCharacter": 54,
        "endLine": 85,
        "endCharacter": 9,
        "collapsedText": "..."
    },
    {
        "startLine": 69,
        "startCharacter": 33,
        "endLine": 140,
        "endCharacter": 5,
        "collapsedText": "..."
    },
    {
        "startLine": 5,
        "startCharacter": 10,
        "endLine": 62,
        "endCharacter": 22,
        "kind": "imports",
        "collapsedText": "..."
    },
    {
        "startLine": 2,
        "startCharacter": 41,
        "endLine": 141,
        "endCharacter": 1,
        "collapsedText": "..."
    }
]

[Trace - 1:42:22 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [07:42:22.166][End]textDocument/foldingRange"
}

[Trace - 1:42:22 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[RazorWorkspaceListener] (ProjectId, #d912f22d-9b3d-4ffc-8107-6cbfb6194622 - Constance.Auth) writing json file"
}

[Trace - 1:42:22 PM] Sending request 'textDocument/codeLens - (1108)'.
Params: {
    "textDocument": {
        "uri": "virtualCSharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs"
    }
}

[Trace - 1:42:22 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] Using C# from request text document"
}

[Trace - 1:42:22 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] virtualcsharp-razor:///c:/Users/eptadot/source/repos/Constance/src/Backend/Auth/Components/Pages/Welcome.razor__virtual.cs found in workspace Host"
}

Environment information
VSCode version: 1.90.0
C# Extension: 2.31.19
Using OmniSharp: false
Dotnet Information
.NET SDK:
 Version:           8.0.301
 Commit:            1a0e9c0300
 Workload version:  8.0.300-manifests.9e3391ed
 MSBuild version:   17.10.4+10fbfbf2e
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.22631
OS Platform: Windows
RID:         win-x64
Base Path:   C:\Program Files\dotnet\sdk\8.0.301\
.NET workloads installed:
There are no installed workloads to display.

This only seem to happen on files I got from an online repository  not my code file.
I loaded this Project -
https://github.com/PacktPublishing/Web-Development-with-Blazor-Third-Edition/tree/main/Chapter06/MyBlog


Getting Ballerina configured behind firewalls with proxies for the installation instructions + setup

We need to have documentation for how to deal with  firewalls / proxies when installing / setup

In addition, building behind a proxy requires maven configured to use a proxy.
I currently use cntlm on my dev machine, configured with NTLMv2 password hashes.
With these cntlm logs on to the corporate proxy, which supports cntlm and NTLMv2
cntlm runs on localhost and port 3128.
For maven I export MAVEN_OPTS="-DproxyHost=<IP_ADDRESS> -D proxyPort=3128" in my .bashrc.
I needed this config for the maven checkstyle plugin, since it uses raw github files https://raw.githubusercontent.com/wso2/code-quality-tools/v1.1/checkstyle/checkstyle.xml
https://raw.githubusercontent.com/wso2/code-quality-tools/v1.1/checkstyle/suppressions.xml
Eventhough I have http_proxy and https_proxy environment variables, which work for everything else maven does, it did not work for these 2 files, hence the MAVEN_OPTS config.

@shafreenAnfar do we have any instructions in Ballerina on how to work with HTTP proxy servers?


Question about how to create this plugin

Hello, this plugin is not cocoapod plugin?

How to create the PushPlugin.framework used in nativescript ? I mean the relation between the PushPlugin IOS xcode source and the PushPlugin.framework folder used in nativescript ?
Is it better to create plugin in this fashion or use cocoapod? Maybe this is better since it directly talk to nativescript ?

Thanks

@x4080
This is not a CocoaPod package. A plugin that is using a CocoaPod is this one NativeScript dialog.

The PushPlugin.framework is a native library that packs all needed native code. You can examine the xcode project in native-src/ios. The built framework is available at platforms/ios. The way they are exposed to the project can be examined in push-plugin.ios.js.

Both ways of packaging your own custom native code (either via a framework or a CocoaPod) should be usable in NativeScript. More on using CocoaPods in your NativeScript app is available here.

thanks for the answer


Support testing REST / S3 API

@LuQQiu Could you run the code formatter (black + reorder-python-imports), documented at the README?
I noticed that there are some code format changes, which probably are unnecessary.


chore: update h2 into h1 to improve accessibility 💡

Close #164
Proposed Changes

Updated the h2 into h1 to improve accessibility

Check List (Check all the applicable boxes)

[x] Enhancement done
[x] All new and existing tests passed.
[x] My code follows the code style of this project.

Hey there @LakshaySK106 👋🏻
Please make sure to review this PR.
Thank You!

can you please share the screenshots of the update?


ISPN-8719 KeySet.(iterator|spliterator|stream) not compatible with

versions before 9.1

Fixed issue where 9.1+ clients couldn't talk to 9.0 still

https://issues.jboss.org/browse/ISPN-8719

Merged them all to the respective branches. Thanks