backfill eia860gens technology_description based on energy_source_cod…

First Pass
Adds a function to the generators_eia860 function in the output module to backfill the technology_description field based on the energy_source_code_1. Gets technology description coverage up to ~94% from ~43%.
Lingering Qs: should I add a caveat in the metadata?
Updates

Improve the _backfill_tech_desc() function so it runs a lot faster. From ~7 min to ~20 seconds, whew!
Add a component to the backfilling function that will fill all energy codes that correspond to one technology type only (The previous backfill only filled NA values based on energy codes that show up in that plant/generator group. This is because some of the energy codes correspond to multiple technology types and creating a tech to energy_code map within a plant/generator group is likely to get the right tech-energy_code pairing. This new component is useful when the plant/generator groups have all NA technology descriptions and therefore no tech-energy_code mapping to work with.
Add backfill_tech toggle to pudl_out.gens_eia860(backfill_tech=True) object that will rebuild the table if you ask for a change in backfill.
Add an instance variable to tell you whether the table is backfilled pudl_out.backfill_eia860_tech (this is also how the object knows whether to rebuild)

Conceptually this looks to me like you landed on the right logic for getting the right answer here (for gens that have some tech types, grab the oldest with the same energy_source_code_1 and apply to that to the pre-2104 nulls). But I this apply/map process is probably much slower than necessary. It took ~7 minutes on my end with all of the years crunching. I'm wondering if instead of doing this inside of a groupby/apply, we can do a groupby -> get the oldest and then merge that back onto the pre-2014 records. I'm happy to help with this or make some more actionable suggestions on this if you'd like.

-- Done, here is the time added by the new function:
CPU times: user 19.4 s, sys: 788 ms, total: 20.2 s
Wall time: 21.1 s

One additional question. Does the prime mover have any useful information here? Or is there more information in the energy_source_code_1?

-- Unfortunately the places where prime move code might help (ex: when there are both IC and CC gas turbines labeled as NG by the energy code) the prime_mover_code is always None. lame.

I'd also suggest enabling folks to toggle this on and off with a backfill=True/False argument that gets passed to pudl.output.eia860.generators_eia860() via pudl.output.pudltabl.gens_eia860()

-- Done. I also added an instance variable so you can check whether the table has been backfilled. Also It will rebuild the table if you recall the object and change your preference for backfilling or not.

I made two bb comments for suggestions. and my other request is that we add one test for this so this can be run as a part of the fast tests. lmk if you want help adding it! (it can be a doozy to navigate over there)

I would love some guidance making a test for it!

Ok so I moved the backfill_tech_desc and unit_id parameters from the output table cache functions to the pudl_out object.
I noticed that the process is slightly different for each of these add-ons is slightly different, and is something we might want to revisit if we take another look at how the output tables are made. By add-ons, I mean:
###fill_net_gen
The action happens in the cache functions where there are three:
def gen_eia923(self, update=False):
        """
        Pull EIA 923 net generation data by generator.

        Net generation is reported in two seperate tables in EIA 923: in the
        generation_eia923 and generation_fuel_eia923 tables. While the
        generation_fuel_eia923 table is more complete (the generation_eia923
        table includes only ~55% of the reported MWhs), the generation_eia923
        table is more granular (it is reported at the generator level).

        This method either grabs the generation_eia923 table that is reported
        by generator, or allocates net generation from the
        generation_fuel_eia923 table to the generator level.

        Args:
            update (bool): If true, re-calculate the output dataframe, even if
                a cached version exists.

        Returns:
            pandas.DataFrame: a denormalized table for interactive use.

        """
        if update or self._dfs['gen_eia923'] is None:
            if self.fill_net_gen:
                logger.info(
                    'Allocating net generation from the generation_fuel_eia923 '
                    'to the generator level instead of using the less complete '
                    'generation_eia923 table.'
                )
                self._dfs['gen_eia923'] = self.gen_allocated_eia923(update=update)
            else:
                self._dfs['gen_eia923'] = self.gen_original_eia923(update=update)
        return self._dfs['gen_eia923']

    def gen_original_eia923(self, update=False):
        """Pull the original EIA 923 net generation data by generator."""
        if update or self._dfs['gen_og_eia923'] is None:
            self._dfs['gen_og_eia923'] = pudl.output.eia923.generation_eia923(
                self.pudl_engine,
                freq=self.freq,
                start_date=self.start_date,
                end_date=self.end_date)
        return self._dfs['gen_og_eia923']

    def gen_allocated_eia923(self, update=False):
        """Net generation from gen fuel table allocated to generators."""
        if update or self._dfs['gen_allocated_eia923'] is None:
            self._dfs['gen_allocated_eia923'] = (
                pudl.analysis.allocate_net_gen.allocate_gen_fuel_by_gen(self)
            )
        return self._dfs['gen_allocated_eia923']

The pudl_out instance function says nothing about filling net gen.
unit_ids
The add-on is a parameter in the pudl_out instance of the eia860 gens table, but the functions to curate it reside at the bottom of the module.
fill_fuel_cost,  roll_fuel_cost and backfill_tech_desc`
These add-ons are taken care of fully in the output table instance.

I kinda think we should switch to filling technology_description in by default since it's fast, has no external dependencies, and this is a valuable field. What do you think?

I'm ok with that. As long as we're doing a good job of compiling and documenting the types of transformations that a table undergoes.

Have you seen cases where grouping by just plant_id_eia and generator_id and backfilling across changes in energy_source_code_1 are inappropriate? For example plant_id_eia==470 (Pueblo / Comanche) switches from SUB to BIT as you go back in time, but the technology type shouldn't change and it would be good to fill in those older years. However the method (which includes fuel type) stops backfilling when that fuel type changes.

I don't believe any of the backfilling is inappropriate, however sometimes the lack of complete filling, due to a fuel code change, renders a generator group incomplete. We could create another pass that links certain fuel types to one another. For example BIT and SUB or WH and whatever other fuel is already there. It would make the technology_description field more complete, but it would require a fair amount of futzing around in to establish what all these edge cases are. I started doing some of this, but didn't want to dedicate more time than it was worth.
Here's a list of the energy_source_code_1 combinations from plant_id_eia and generator_id groups that have at least two energy_source_code_1 values, one of which only appears once. If we feel like some of these are similar enough to call the same, we can write some code to do that.
['NG' 'WH']                     393
['DFO' 'NG']                    104
['BIT' 'SUB']                    34
['NG' 'RFO']                     16
['BIT' 'NG']                     14
['NG' 'OG' 'WH']                 11
['DFO' 'JF' 'KER']               11
['DFO' 'RFO']                     9
['DFO' 'KER']                     8
['NG' 'OTH' 'WH']                 8
['BIT' 'RC' 'SUB']                7
['DFO' 'WH']                      7
['BIT' 'BLQ']                     6
['NG' 'OG']                       6
['JF' 'KER']                      6
['BIT' 'SGC']                     5
['BIT' 'NG' 'SUB']                5
['BIT' 'SC']                      5
['OG' 'PC']                       5
['NG' 'PUR']                      5
['LFG' 'NG']                      5
['DFO' 'JF']                      4
['NG' 'OBG']                      4
['BIT' 'RC']                      4
['BLQ' 'NG']                      4
['NG' 'OG' 'PC']                  4
['BLQ' 'DFO' 'WDS']               3
['OG' 'WH']                       3
['LFG' 'OBG']                     3
['DFO' 'NG' 'WH']                 3
['NG' 'WDS']                      3
['OBS' 'WDS']                     3
['OG' 'WDS']                      3
['NG' 'SUB']                      3
['LFG' 'NG' 'OBG']                2
['NG' 'OTH']                      2
['BIT' 'WDS']                     2
['DFO' 'NG' 'RFO' 'WH']           2
['NG' 'OTH' 'PUR' 'WH']           2
['BIT' 'OG' 'SG']                 2
['DFO' 'NG' 'RFO']                2
['LFG' 'WH']                      2
['BLQ' 'WH']                      2
['GEO' 'WH']                      2
['NG' 'SUB' 'WDS']                2
['BIT' 'RFO' 'SUB']               2
['DFO' 'OBG']                     2
['BIT' 'BLQ' 'WDS']               2
['BIT' 'RC' 'SC']                 2
['BIT' 'DFO' 'SUB']               2
['NG' 'PC']                       2
['SUB' 'WC']                      2
['BIT' 'TDF' 'WDS']               2
['BIT' 'NG' 'WH']                 2
['BIT' 'NG' 'SGC']                2
['BIT' 'PC' 'RFO']                2
['NG' 'OG' 'PUR']                 1
['DFO' 'NG' 'WH' 'WO']            1
['BIT' 'OTH' 'SUB']               1
['GEO' 'NG']                      1
['LFG' 'OG' 'WH']                 1
['WDL' 'WDS']                     1
['GEO' 'OTH']                     1
['JF' 'KER' 'RFO']                1
['BLQ' 'DFO']                     1
['BIT' 'DFO' 'SC']                1
['LIG' 'NG']                      1
['OBG' 'SG' 'WH']                 1
['LFG' 'MSW']                     1
['RFO' 'WH']                      1
['SG' 'SGP']                      1
['NG' 'SG' 'SGP']                 1
['BIT' 'NG' 'WDS']                1
['BIT' 'WC']                      1
['BIT' 'NG' 'RC' 'SUB']           1
['AB' 'BIT' 'DFO']                1
['BLQ' 'NG' 'WDS']                1
['BLQ' 'NG' 'OBG' 'WH']           1
['WC' 'WDS']                      1
['NG' 'WH' 'WO']                  1
['BFG' 'OG']                      1
['NG' 'OG' 'OTH' 'PC']            1
['BIT' 'NG' 'PC']                 1
['OG' 'PC' 'WH']                  1
['NG' 'PUR' 'WH']                 1
['AB' 'OBS' 'WDS']                1
['OG' 'WO']                       1
['NG' 'PC' 'WC']                  1
['BLQ' 'WDS']                     1
['OG' 'OTH' 'PC' 'WH']            1
['BLQ' 'WAT']                     1
['NG' 'PC' 'WH']                  1
['LFG' 'NG' 'OBG' 'OG' 'WH']      1
['OTH' 'SUB']                     1
['NG' 'OBG' 'WH']                 1
['JF' 'WH' 'WO']                  1
['BIT' 'PC']                      1
['BIT' 'NG' 'RC']                 1
['AB' 'WDS']                      1
['NG' 'RFO' 'WH']                 1
['MWH' 'SUN']                     1

Here's a reference of what each of these energy codes stands for in EIA technology_description terms:
{'AB': ['Other Waste Biomass'],
 'BFG': ['Other Gases'],
 'BIT': ['Conventional Steam Coal',
  'Coal Integrated Gasification Combined Cycle'],
 'BLQ': ['Wood/Wood Waste Biomass'],
 'DFO': ['Petroleum Liquids'],
 'GEO': ['Geothermal'],
 'JF': ['Petroleum Liquids'],
 'KER': ['Petroleum Liquids'],
 'LFG': ['Landfill Gas'],
 'LIG': ['Conventional Steam Coal'],
 'MSW': ['Municipal Solid Waste'],
 'MWH': ['Batteries', 'Flywheels'],
 'NG': ['Natural Gas Fired Combined Cycle',
  'Natural Gas Fired Combustion Turbine',
  'Natural Gas Internal Combustion Engine',
  'Natural Gas Steam Turbine',
  'Natural Gas with Compressed Air Storage',
  'Other Natural Gas'],
 'NUC': ['Nuclear'],
 'OBG': ['Other Waste Biomass'],
 'OBL': ['Other Waste Biomass'],
 'OBS': ['Other Waste Biomass'],
 'OG': ['Other Gases'],
 'OTH': ['All Other'],
 'PC': ['Petroleum Coke'],
 'PG': ['Petroleum Liquids'],
 'PUR': ['All Other'],
 'RC': ['Conventional Steam Coal'],
 'RFO': ['Petroleum Liquids'],
 'SGC': ['Coal Integrated Gasification Combined Cycle'],
 'SGP': ['Petroleum Coke'],
 'SLW': ['Other Waste Biomass'],
 'SUB': ['Conventional Steam Coal'],
 'SUN': ['Solar Photovoltaic',
  'Solar Thermal without Energy Storage',
  'Solar Thermal with Energy Storage'],
 'TDF': ['All Other'],
 'WAT': ['Conventional Hydroelectric',
  'Hydroelectric Pumped Storage',
  'Hydrokinetic'],
 'WC': ['Conventional Steam Coal'],
 'WDL': ['Wood/Wood Waste Biomass'],
 'WDS': ['Wood/Wood Waste Biomass'],
 'WH': ['All Other'],
 'WND': ['Onshore Wind Turbine', 'Offshore Wind Turbine'],
 'WO': ['Petroleum Liquids']}

I made one other change that might have been the result of a python update. I added .fillna(pd.NA) to the portion of code that maps static fuel types onto NA rows. Without this, it was throwing the following error: ValueError: Must provide strings.
    out_df.loc[out_df.technology_description.isna(
    ), "technology_description"] = (
        out_df.energy_source_code_1.map(static_fuels).fillna(pd.NA))

Hmm, that's weird. What context were you getting that error in? I didn't see it testing locally and the tests passed. The 3.10 Python branch hadn't been merged in from dev yet so it seems like that probably wasn't the issue. I guess it makes sense though since it's a string column, and NaN isn't a string.
I switched to using a defaultdict for the call to map() with pd.NA as the default value, which was suggested by the pandas docs.


Do we have DLQ (Dead letter queue) in .net library

Description
HI There,
We are planning to add error mechanism, there are three approach, which one is suggested and recommended

Whenever there is error we will publish to error topic respective to each topic
Whenever there is a error we will publish to common topic(needs to add custom partitioner )
Use DLQ(Dead letter queue)

How to reproduce
Question
Checklist
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[ ] Confluent.Kafka nuget version.
[ ] Apache Kafka version.
[ ] Client configuration.
[ ] Operating system.
[ ] Provide logs (with "debug" : "..." as necessary in configuration).
[ ] Provide broker log excerpts.
[ ] Critical issue.

what you want depends on your requirements...
there is no explicit concept of a dead letter queue in the API, but you can just use a normal topic for that purpose.


Update README.md

• Removed the mention of HTS now being available
• Updated staking "under development" with phases and link to the docs
Description:

Related issue(s):
Fixes #
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Thanks @bmgentile !!


feat: parse tx util + tx multiple operations

Add support to multiple transfers / contract calls and other in the same Transaction screen
Applied changes to DApp / TransactionRequest screen
Added tx, centralizing logic to process transactions in a functional library.

parseTx receives transaction data, process the transaction through lots of helpers and return the data as Tx, with operations of the transaction already processed.
if returned Tx doesn't provide all the data the user need, he can still use all the other functional helpers to get the data he wants. Some examples are:

isTypeMint, isTypeCreate, isTypeScript
isStatusPending, isStatusSuccess, isStatusFailure
getOutputsChange, getOutputsContract, getOutputsCoin ....
getInputsCoin, getInputsContract, getInputsMessage ....
getReceiptsCall, getReceiptsReturn, getReceiptsReturnData ....
getOperations , getTransferOperations, getContractCallOperations
getGasUsed, getFee, getFeeFromReceipts

Closes #364
Closes #363
Closes #321

I think, we should add a line in the middle where we had a space before.


Prevent robot voting

Use a Captcha or reCaptcha to avoid robot voting.

Captcha can be added through the Module settings (Never/Unauthorized Users Only/Always).
Also added a honeybot, therefore Captcha is not really necessary.


Support for Vaadin10 rc5

Do you plan on upgrading the HybridMenu to Vaadin10 1.0, since the RC is already available?

Yes, I just upgraded the project to the latest version. The version number is 3.0.9.vaadin10 and is built with version rc5. https://gitlab.com/KaesDingeling/Hybrid-Menu/issues/55


Crop Selection Tool Goes Beyond the Image

Hi,
I have an issue where the crop selection tools goes beyond the image. In the initialState of my crop, I have set the width to 320 and aspect ratio to 16/9. Following is the isse:

The width of the image under test in 200px and as you can see the crop selection tool goes beyond the image.
Is there any way to fix this?
Thanks.

@WaqqarSuleman
it was just a css issue that you are facing. please disable or remove display flex from your div element.

@mudassirmmt Thanks a lot!


Browser history not working in electron app

My electron app works fine with HashHistory, but when I switch to browserHistory,not working fine.
I noticed that the two have different initial pathname.
const history = createHashHistory();
console.log(history.location.pathname);
//  "/"

const history = createBrowserHistory();
console.log(history.location.pathname);
//  "/C:/Users/asdf/Documents/GitHub/electron-react-boilerplate/app/app.html"
//  This path matches the route "/C:/"
//  and when I use "history.goBack()" and "history.goForward()" also found some errors

then i use the following code, the problem is solved.
const history = createBrowserHistory({
  basename: window.location.pathname
});

Just ran into this same issue. Thanks for providing the solution!

May be superceded by https://github.com/chentsulin/electron-react-boilerplate/pull/1184
https://github.com/chentsulin/electron-react-boilerplate/commit/30aca607f25c774e5766fd8aeca48ead29e17a63


UI Bug in the Drawer's UserAccountsDrawerHeader onDetailsPressed()

Video showing the bug I have found: https://www.youtube.com/watch?v=A1LLEjfFzgM&feature=youtu.be
The little triangle in the UserAccountsDrawerHeader doesn't stay in the right state when closing the drawer.
Steps to Reproduce
I believe you can find this UI bug in every default drawer from flutter. I can confirm it's in the Flutter Gallery App -> Material -> Navigation Drawer.

open Flutter Gallery App
go to Material
go to navigation Drawer
open the drawer
press on the little triangle in the UserAccountHeader
close the drawer again
observe the state of the little triangle

Logs
Finally, paste the output of running flutter doctor -v here.
[√] Flutter (Channel beta, v0.4.4, on Microsoft Windows [Version 10.0.16299.431], locale de-DE)
    • Flutter version 0.4.4 at G:\OneDrive\GitHub\flutter
    • Framework revision f9bb4289e9 (2 weeks ago), 2018-05-11 21:44:54 -0700
    • Engine revision 06afdfe54e
    • Dart version 2.0.0-dev.54.0.flutter-46ab040e58

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at H:\Android_SDK
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = H:\Android_SDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[√] Android Studio (version 3.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 24.2.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[!] IntelliJ IDEA Community Edition (version 2017.2)
    • IntelliJ at H:\IntelliJ IDEA Community Edition 2017.2.5
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[√] Connected devices (1 available)
    • STF L09 • 7BKDU17829005670 • android-arm64 • Android 8.0.0 (API 26)

! Doctor found issues in 1 category.

Issue still exist on
flutter doctor -v
[✓] Flutter (Channel dev, v1.16.4-pre.50, on Mac OS X 10.15.4 19E266, locale
    en-GB)
    • Flutter version 1.16.4-pre.50 at /Users/taha/Code/flutter_dev
    • Framework revision d14a301e41 (3 days ago), 2020-03-31 19:14:22 -0400
    • Engine revision 8166a91bca
    • Dart version 2.8.0 (build 2.8.0-dev.19.0 fae35fca47)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.43.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[✓] Connected device (4 available)
    • SM M305F   • 32003c30dc19668f • android-arm64  • Android 10 (API 29)
    • macOS      • macOS            • darwin-x64     • Mac OS X 10.15.4 19E266
    • Chrome     • chrome           • web-javascript • Google Chrome
      80.0.3987.149
    • Web Server • web-server       • web-javascript • Flutter Tools

• No issues found!

Hi @ScholliYT
This seems to be fixed on the latest master, couldn't reproduce on stable due to gallery sdk conflict

multiple flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-2.0.pre.64, on macOS 11.1 20C69 darwin-x64,
    locale en-GB)
    • Flutter version 1.26.0-2.0.pre.64 at /Users/tahatesser/Code/flutter_master
    • Framework revision 9ff4326e1f (5 hours ago), 2020-12-17 06:19:05 +0000
    • Engine revision 6edb402ee4
    • Dart version 2.12.0 (build 2.12.0-157.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[!] Android Studio
    • Android Studio at /Applications/Android/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Android Studio not found at /Applications/Android/Contents
    • Try updating or re-installing Android Studio.

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.17.0

[✓] Connected device (3 available)
    • iPhone 12 (mobile) • 01685E98-F396-4EB9-9C58-8B92677E24D5 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64
      • macOS 11.1 20C69 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript
      • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.

Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


login failure using certificate without a password

Which version of the AzCopy was used?
10.16.1
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
From a Windows command prompt, run the following commands
set AZCOPY_AUTO_LOGIN_TYPE=SPN
set AZCOPY_SPA_APPLICATION_ID=<clientId>
set AZCOPY_SPA_CERT_PATH=<path to my .pfx certificate>
set AZCOPY_TENANT_ID=<tenantId>
azcopy list https://<accountName>.blob.core.windows.net/<containerName>

What problem was encountered?
AzCopy fails with failed to obtain credential info: Login Credentials missing. No SAS token or OAuth token
The certificate has a private key but no password. According to https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/storage/common/storage-use-azcopy-authorize-azure-active-directory.md#authorize-a-service-principal-by-using-a-certificate-1 the certificate should have a password, not must have a password.
The same tenant ID, client ID and certificate work fine when using C# and the Azure.Storage.Blobs package v12.8.0 to list blobs in a container.
How can we reproduce the problem in the simplest way?
Run the commands mentioned above
Have you found a mitigation/solution?
No. I originally raised this bug in https://github.com/Azure/azure-storage-azcopy/issues/1755 and it was incorrectly closed. This bug is not the same as https://github.com/Azure/azure-storage-azcopy/issues/1753 or https://github.com/Azure/azure-storage-azcopy/issues/1805. This bug is not being able to use a certificate that doesn't have a password.

Apologies about the accidental closing.
Could you attempt to log in with AzCopy login rather than the auto-login? This will output useful information about why authorization is failing.
In the meantime, I'm going to go fix the issue with auto-login not providing details of failure.

I am using azcopy in a corporate environment, attempting to access company's Storage Account. Using azcopy login, after browsing to https://microsoft.com/devicelogin and entering the code shown by azcopy, I provided my username/password and the login page returns this warning:
Your sign-in was successful, but your admin requires the device that's requesting access to be managed by {admin} to access this resource.

When I then run azcopy list https://<accountName>.blob.core.windows.net/<containerName> I get this error:
INFO: Authenticating to source using Azure AD

failed to obtain credential info: no cached token found, please log in with azcopy's login command

We have added additional logging for such failures. This will be part of next release (10.17.0). Feel free to reopen if issue persists.


Synthesis failed for iot

Hello! Autosynth couldn't regenerate iot. :broken_heart:
Here's the output from running synth.py:
5c9ecb47da0f2e054f5f1845f7cf7c95fa625
Note: checking out 'e935c9ecb47da0f2e054f5f1845f7cf7c95fa625'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e935c9e build(java): run linkage monitor as GitHub action (#933)
2021-02-03 03:09:19,853 autosynth [DEBUG] > Running: git checkout f694606e3e34d0e2a289d655864e225cab9ecb88
Note: checking out 'f694606e3e34d0e2a289d655864e225cab9ecb88'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f694606e chore(profiler): Set proto namespace to google.cloud
2021-02-03 03:09:19,869 autosynth [DEBUG] > Running: git branch -f autosynth-iot-43
2021-02-03 03:09:19,873 autosynth [DEBUG] > Running: git checkout autosynth-iot-43
Switched to branch 'autosynth-iot-43'
2021-02-03 03:09:19,899 autosynth [INFO] > Running synthtool
2021-02-03 03:09:19,899 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-02-03 03:09:19,899 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/Iot/43/sponge_log.log
2021-02-03 03:09:19,902 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-02-03 03:09:20,137 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-cloud-php/Iot/synth.py.
On branch autosynth-iot-43
nothing to commit, working tree clean
2021-02-03 03:09:20,307 synthtool [DEBUG] > Ensuring dependencies.
DEBUG:synthtool:Ensuring dependencies.
2021-02-03 03:09:20,319 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-03 03:09:20,324 synthtool [DEBUG] > Cloning googleapis.
DEBUG:synthtool:Cloning googleapis.
2021-02-03 03:09:20,324 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-02-03 03:09:20,328 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-03 03:09:20,331 synthtool [DEBUG] > Generating code for: //google/cloud/iot/v1:google-cloud-iot-v1-php.
DEBUG:synthtool:Generating code for: //google/cloud/iot/v1:google-cloud-iot-v1-php.
2021-02-03 03:09:20,431 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/cloud/iot/v1:google-cloud-iot-v1-php:

Loading:
Loading: 0 packages loaded
INFO: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:77:1
WARNING: Download from https://github.com/googleapis/gapic-generator/archive/v2.10.4.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
ERROR: An error occurred during the fetch of repository 'com_google_api_codegen':
   java.io.IOException: Error downloading [https://github.com/googleapis/gapic-generator/archive/v2.10.4.zip] to /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_codegen/v2.10.4.zip: GET returned 404 Not Found
ERROR: no such package '@com_google_api_codegen//': java.io.IOException: Error downloading [https://github.com/googleapis/gapic-generator/archive/v2.10.4.zip] to /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_codegen/v2.10.4.zip: GET returned 404 Not Found
INFO: Elapsed time: 0.088s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

ERROR:synthtool:Failed executing bazel --max_idle_secs=240 build //google/cloud/iot/v1:google-cloud-iot-v1-php:

Loading:
Loading: 0 packages loaded
INFO: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:77:1
WARNING: Download from https://github.com/googleapis/gapic-generator/archive/v2.10.4.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
ERROR: An error occurred during the fetch of repository 'com_google_api_codegen':
   java.io.IOException: Error downloading [https://github.com/googleapis/gapic-generator/archive/v2.10.4.zip] to /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_codegen/v2.10.4.zip: GET returned 404 Not Found
ERROR: no such package '@com_google_api_codegen//': java.io.IOException: Error downloading [https://github.com/googleapis/gapic-generator/archive/v2.10.4.zip] to /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_codegen/v2.10.4.zip: GET returned 404 Not Found
INFO: Elapsed time: 0.088s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/google-cloud-php/Iot/synth.py", line 29, in <module>
    bazel_target='//google/cloud/iot/v1:google-cloud-iot-v1-php',
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 64, in php_library
    return self._generate_code(service, version, "php", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 197, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/cloud/iot/v1:google-cloud-iot-v1-php']' returned non-zero exit status 1.
2021-02-03 03:09:20,485 autosynth [ERROR] > Synthesis failed
2021-02-03 03:09:20,485 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at f7702e01 chore: update with latest version of protobuf (#3710)
2021-02-03 03:09:20,529 autosynth [DEBUG] > Running: git checkout autosynth-iot
Switched to branch 'autosynth-iot'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Can you provide a docker image to ease the use of this code?

Installing the prerequisites is somewhat complicated. Not all researchers are able to run on a server with all privileges. Will the community provide a  docker image of the prerequisites?

Hey @ai-porter, thank you for being interesting in our project.
We will consider this suggestion and support the docker image as soon as possible.

Dockerfile is provided. Close this issue.


When any of my spec fails It displays npm errors?How to resolve them?

When any of my spec fails, the protracor displays npm errors, What is the reason behind this and how to resolve this?
1) App Component Check for the browser
  Temporarily disabled with xit

2) App Component navigates to the next page on click
  Temporarily disabled with xit

Executed 1 of 3 specs (1 FAILED) (2 PENDING) in 2 secs.
[17:00:46] I/launcher - 0 instance(s) of WebDriver still running
[17:00:46] I/launcher - chrome #01 failed 1 test(s)
[17:00:46] I/launcher - overall: 1 failed spec(s)
[17:00:46] E/launcher - Process exited with error code 1

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "e2e-test"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>e2e-test: `protractor ./test-config/protractor.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>e2e-test script 'protractor ./test-config/protractor.conf.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ionic-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     protractor ./test-config/protractor.conf.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ionic-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Lenovo\testing\npm-debug.log

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "e2e"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>e2e: `npm run e2e-update && npm run e2e-test`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>e2e script 'npm run e2e-update && npm run e2e-test'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ionic-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run e2e-update && npm run e2e-test
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ionic-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Lenovo\testing\npm-debug.log

Hi @jainAdijain
Can you please use the issue template and provide us with the correct info? Keep in mind that this issue list should only be used for bugs / issues in Protractor, questions should be asked SO or on Gitter
From the getting help section of the README.

Please ask usage and debugging questions on StackOverflow (use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)

Thanks!

okay


Missing feature : binding constraint marginal cost

This feature has been available since Antares Simulator 8.4.0, but these new outputs are not visible in the "Results" tab in Antares Web.
Only outputs associated to links & areas are available.

Indeed, the files exist in the "Debug" tab but are not visible in the "Results" one. As the API to get these files already exist, i think there is nothing to do on the back office, therefore i add the label "front-end"


account homepage design

start thinking about / designing what the homepage looks like for someone who's logged in


How to handle MySQL CREATE SCHEMA syntax

Currently, we only support CREATE SCHEMA and CREATE DATABASE with IF NOT EXISTS, which is quite small. However, to expand that, we need to keep one thing in mind: MySQL handles both the same (1) and, therefore, handling them as one or another would lead to parsing problems.
However, we can't assume that they're the same, as they aren't at all. (2).
My proposal is to handle the create schema following the standard, and CREATE DATABASE based on the dialects that have it (since it's not standard), such as Snowflake (3), Postgresql (4), and Oracle (5). For MySQL, I propose to handle CREATE SCHEMA as if it was a CREATE DATABASE, to avoid conflicts with the standard and duplicated implementations.
[1] : https://dev.mysql.com/doc/refman/8.0/en/create-database.html
[2] : https://jakewheat.github.io/sql-overview/sql-2016-foundation-grammar.html#schema-definition
[3] : https://docs.snowflake.com/en/sql-reference/sql/create-database.html
[4] : https://www.postgresql.org/docs/current/sql-createdatabase.html
[5] : https://docs.oracle.com/database/121/SQLRF/statements_5005.htm#SQLRF01204

@alamb any thoughts?

My basic thought / guideline is that that sqlparser crate should, as much as possible, parse SQL syntax but not apply semantic interpretation; Specifically, I think it should attempt to parse all SQL variants but avoid applying dialect specific semantic meaning
So for example Ideally I would expect CREATE SCHEMA and CREATE TABLE to parse to different enum variants like Statement::CreateSchema and Statement::CreateTable and then downstream crates can decide if they want to treat them the same
In terms of different dialects supporting different subsets of syntax the general pattern is emerging is that Dialect::Generic should basically be a union of all possible syntaxes, as much as possible, and then restrict syntax in the other dialects.
Does this make sense @AugustoFKL ? If so, I think I will try and document this goal in the README so other future contributors aren't confused (I don't think it is obvious)


Search bar and category

Great code. Real pleasure to check and work with it, but there are some issues: search bar doesn't not work, also can't see category after saving them (they are present but are not readable/visible).

Hello @mossojn
Which theme you use? Currently i am making a test and the both features works

Hello,
Thank you for your response. I use redlabel template currently. I'm also
trying to add a messenger system (buyer's can send messages to sellers to
get information about the products they sell) and a promotion system
(seller can activate it to promote their products).
On Thu, 16 Mar 2023, 11:45 Kiril Kirkov, @.***> wrote:

Hello @mossojn https://github.com/mossojn
Which theme you use? Currently i am making a test and the both features
works
—
Reply to this email directly, view it on GitHub
https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/issues/249#issuecomment-1471405378,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APZPCVM4QT37SRJRF7NICX3W4KZHJANCNFSM6AAAAAAV4N7ROU
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

@mossojn
This commit should fix the issue - https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/commit/d23c9ed530d48ff62e8a2ed030064b6f29594c7d
Currently should click the search icon to submit the form, i have made it to works with Enter button


no hotkey scrolling if //#region is collapsed

Issue Type: Bug
if I have a collapsed  region in my .ts file
        //#region some region
        if(true){
            void 0
        }
        //#endregion

then when I try to scroll with my keyboard ctrl+down I'm unable to scroll lower than first line of my collapsed region. So when region becomes the first line I'm unable to scroll any lower.
ctrl+up works fine
if the region is not collapsed then scrolling works correctly
VS Code version: Code 1.43.2 (0ba0ca52957102ca3527cf479571617f0de6ed50, 2020-03-24T07:38:38.248Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz (8 x 3611)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.98GB (4.84GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (40)

Extension
Author (truncated)
Version

numbered-bookmarks
ale
7.0.0

vscode-color
ans
0.4.5

vscode-intelephense-client
bme
1.3.11

vscode-css-modules
cli
0.2.3

jsrefactor
cms
2.20.5

vscode-simpler-icons
dav
1.6.5

vscode-eslint
dba
2.1.2

vscode-style-formatter
dwe
1.0.0

vscode-great-icons
emm
2.1.47

vsc-material-theme
Equ
32.5.0

vsc-material-theme-icons
equ
1.1.4

prettier-vscode
esb
4.0.0

vscode-commands
fab
1.3.0

php-intellisense
fel
2.3.14

file-icons
fil
1.0.23

vscode-svelte-snippets
fiv
0.3.0

auto-rename-tag
for
0.1.1

gc-excelviewer
Gra
2.1.34

path-autocomplete
ion
1.13.6

easy-icons
jam
0.3.1

vscode-icon-theme
jtl
1.6.6

vscode-colorize
kam
0.8.16

Lua
key
0.0.9

vscode-simple-icons
Lau
1.13.2

vscode-deploy-reloaded
mkl
0.89.0

theme-monokai-pro-vscode
mon
1.1.15

vscode-scss
mrm
0.9.0

debugger-for-chrome
msj
4.12.6

material-icon-theme
PKi
4.0.1

seti-icons
qin
0.1.3

sass-indented
rob
1.5.1

code-settings-sync
Sha
3.4.3

lua
sum
0.16.2

ayu
tea
0.18.0

vscode-lua
tri
0.12.4

vscode-counter
uct
1.3.4

es-quotes
vil
0.2.6

vscode-todo-highlight
way
1.0.4

change-case
wma
1.0.0

material-theme
zhu
3.2.5

(27 theme extensions excluded)

We have written the needed data into your clipboard because it was too large to send. Please paste.

@LexRiver Does this reproduce when disabling all extensions? (I am asking because extensions can override keybindings).

@alexdima yes, just checked
also maybe you could fix this small bug with //#region autocompletion
if I type //#re and then press Tab to autocomplete I'm getting ////#region instead of //#region

@LexRiver Please keep each issue focused on one issue. If you have another issue with Tab autocomplete, then please create a separate issue.
By default, ctrl+down is bound to scrollLineDown on Windows. When I try the command around a folded region, it works fine for me:

Do you have additional steps to help us reproduce the problem?

@alexdima please read my first post. I was talking about .ts file and //#region ... //#endregion
here are the exact steps to reproduce:

create file test.ts
paste this content to test.ts

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

//#region some region
if(true){
    undefined
}
//#endregion

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

collapse //#region

try to scroll with the keyboard ctrl+down (scrollLineDown)

I can record video for you if you can't still reproduce it
..
ok, I will create another bug report for tab autocompletion

@LexRiver Thanks for following up. A workaround would be to use:
{
    "key": "ctrl+up",
    "command": "editorScroll",
    "args": {"to":"up", "by":"wrappedLine", "value": 3, "revealCursor": true},
    "when": "textInputFocus"
},
{
    "key": "ctrl+down",
    "command": "editorScroll",
    "args": {"to": "down", "by":"wrappedLine", "value": 3, "revealCursor": true},
    "when": "textInputFocus"
}

@alexdima that works, thanks

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


ancestral annotation on low confidence ancestral positions is always derived

There is currently a problem with the ancestral annotation script where positions in the ancestral fasta file that are lower case (low confidence) are not being compared correctly leading to the position being converted to be entirely the derived state
this bug affects all versions of aa_annotate.py
working to get this fixed asap

this bug is now fixed and you should at a minimum update aa_annotate.py
I have incremented both the master branch version number to 1.1.1 from 1.1.0 to indicate this for installed versions

This bug should only have affected the ihh/ihs results from the pipeline


Question: what is the strategy of keeping this fork repo in sync with the forked repo?

Currently it appears this repo is based on the 16.2.0 version of Puppeteer. Puppeteer has seen changes since, and is currently at version: 18.2.1
Is there a strategy to keep the Node and Deno versions in sync? Or was this fork just meant as a kind of experiment?

I see the author is not active on this repo recently, there is open PRs that are not reviewed. Hope he still take care the repo.

+1 on this question!
@lucacasonato With some guidance, I could invest some time to update it from time to time.

If anyone is open to collaborating, I'm considering forking this repo as it seems to be unmaintained.


Build the HTTPS TLS config betterer to allow using cipher lists

This'll make the testssl.sh test happier
rustls::ServerConfig::build() ..

this is actually just a weird side quest, the defaults are good.


virus in light table?

Hello,
I have downloaded the last version from Windows.
I unpacked it without any problem.
But as soon as I run it and see the lightable editor AVG says there is a IDG.Ares virus in the .exe.
Roelof

@rwobben The executable is actually node-webkit. For the pending release, and all future versions, the executable will be Electron. You could try running the latest source version instead.
I'll look into this today hopefully.

@rwobben I can't find any info about a virus named "IDG.Ares" virus. Please provide a link to more info.

Sorry I made a typo , For more info : http://www.avgthreatlabs.com/ww-en/virus-and-malware-information/content/generic-virus/?name=IDP.ARES.Generic&utm_source=TDPU&utm_medium=IDP&PRTYPE=AVF

@rwobben Based on my Google search results for "IDP ARES Generic" [your results may vary], this looks like a false positive affecting several completely unrelated executable files on Windows. I think the odds that LT, Counterstrike (a game), and memcached.exe all being infected with the same virus is pretty low.
I just downloaded the ZIP file from Windows from the website and the executable in the ZIP matches my much older copy of the same file.
I'm confident AVG reporting the presence of a virus is a false positive.

Op 7-10-2015 om 16:33 schreef
  kenny-evitt:

  @rwobben Based on my
      Google search results for "IDP ARES Generic" [your results
    may vary], this looks like a false positive affecting several
    completely unrelated executable files on Windows. I think the
    odds that LT, Counterstrike (a game), and memcached.exe
    all being infected with the same virus is pretty low.
  I just downloaded the ZIP file from Windows from the website
    and the executable in the ZIP matches my much older copy of the
    same file.
  I'm confident AVG reporting the presence of a virus is a false
    positive.
  —
    Reply to this email directly or view
      it on GitHub.

  Geen virus
    gevonden in dit bericht.
    Gecontroleerd door AVG - www.avg.com
    Versie: 2015.0.6140 / Virusdatabase: 4435/10773 - datum van
    uitgifte: 10/07/15

Thanks,

I also uploaded lighttable.exe to virustotal and found nothing.
Or is there another file which runs when I see the IDE ?

Roelof

@rwobben There's no other executable.


Domain Register UI Refinements

Domain Register UI Refinements
Description
We need to refine the Domain Registration UI to enhance user experience and ensure alignment with the design specifications. The following tasks need to be completed:

Align Name Registration with Design Specs:

Ensure that the Name Registration step in the Domain Register process fully matches the provided design specifications.
Verify all UI elements, fonts, colors, and spacing are consistent with the design.

Enable “Next Step” CTA Rules:

Implement rules for enabling the “Next Step” Call-to-Action (CTA) button.
The “Next Step” CTA should only be clickable when all required fields are correctly filled out and valid.
Provide visual feedback or error messages for incomplete or invalid inputs.

Remove “Back” CTA from the First Step:

Remove the “Back” button from the first step of the Domain Registration process.
Ensure the navigation flow is clear without the “Back” option on the initial step.

Acceptance Criteria

[ ] The Name Registration step is visually aligned with the design specs.
[x] The “Next Step” CTA is only active when all required fields are valid.
[x] Clear error messages are displayed for invalid inputs.
[x] The “Back” button is removed from the first step of the registration process.
[x] User navigation through the Domain Registration steps is smooth and intuitive.

@eduramme PR approved with change requests 👍🏼🚀


Editable boundaries

done with open layers.
Layer needs edit.geometry flag enabled in order to edit boundaries/geometry.


[otp_ctrl/top] Initial instantiation of OTP in top_earlgrey

This instantiates the OTP controller in the toplevel. The PR is dependent on #3720 and #3722, and only the last 3 commits are relevant.

Rebased onto newest master (the dependent PRs have been merged).


Cannot connect Electrum to EPS - Error with localhost:<IP_ADDRESS>:50002

When I run electrum after staring up the node, and EPS i simply cannot get electrum to connect to EPS over <IP_ADDRESS>:50002
I am running Bitcoin Core version v24.0.1, Electrum v4.4.2,  and EPS v0.2.4
This is being run through tor
EPS connects to Bitcoin Core without any issues.  Bitcoin Core is fully up to date and synced to current block:
INFO:2023-05-09 10:58:37,711: Found 47749 mempool entries. Synchronized mempool in 11.534810543060303sec
INFO:2023-05-09 10:58:37,712: Listening for Electrum Wallet on ('<IP_ADDRESS>', 50002)

When I run electrum -v I am getting an error about certificate expired:
0.53 | I | i/interface.[<IP_ADDRESS>:50002] | certificate has expired: Certificate (unknown) has expired (at 2023-03-12 08:07:58 UTC).
  0.54 | I | storage.WalletStorage | wallet path /home/username/.electrum/wallets/public ledger
  0.65 | I | i/interface.[<IP_ADDRESS>:50002] | succeeded in getting cert
  0.86 | W | i/interface.[<IP_ADDRESS>:50002] | Cannot connect to main server due to SSL error (maybe cert changed compared to "/home/username/.electrum/certs/<IP_ADDRESS>"). Exc: ConnectError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)'))
  0.86 | I | n/network | couldn't launch iface <IP_ADDRESS>:50002:s -- CancelledError()

So then if I run electrum -v --oneserver --server localhost:50002:s.    I get the following:
 0.44 | I | n/network | starting network
  0.44 | W | n/network | failed to parse server-string ('localhost:50002:s.'); falling back to localhost:1:s.
  0.44 | I | n/network | setting proxy {'mode': 'socks5', 'host': '<IP_ADDRESS>', 'port': '9050', 'user': '', 'password': ''}
  0.44 | I | storage.WalletStorage | wallet path /home/username/.electrum/wallets/public ledger
  0.44 | I | n/network | Proxy is TOR
  0.44 | I | n/network | connecting to localhost:1:s as new interface
  0.44 | I | i/interface.[localhost:1] | looks like localhost: not using proxy for this server
  0.44 | I | n/network | starting taskgroup (0x7f19c899c3a0).
  0.44 | D | util.profiler | Daemon._load_wallet 0.0013 sec
  0.52 | I | i/interface.[localhost:1] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(ConnectionRefusedError(111, "Connect call failed ('<IP_ADDRESS>', 1)")))
  0.52 | I | n/network | couldn't launch iface localhost:1:s -- CancelledError()

What am I doing wrong here?

I tried to create my own SSL cert following this guide: https://github.com/spesmilo/electrum-server/blob/ce1b11d7f5f7a70a3b6cc7ec1d3e552436e54ffe/HOWTO.md#step-8-create-a-self-signed-ssl-cert
then I updated the cert files for EPS (cert.crt and cert.key) with the output of the previous step.
then I deleted the cert file from electrum (<IP_ADDRESS>)
When trying again to run electrum it just recreates a cert files <IP_ADDRESS> with the old certificate.  Where is it updating from?

I overwrote the cert and keys here and it solved the issue:
/home/username/.local/lib/python3.10/site-packages/electrumpersonalserver/certs


AdonisJs version

Thank you for all your work on Adonis - After comparing to other frameworks, I'm liking it more and wanted to give it a try but had a question on the AdonisJs version.
Documentation at http://adonisjs.com/docs/3.2/adonis-blog-part1 refers to version 3.2
But the versions here (at least the tags in github) only go as far as 3.0.9
How can I get version 3.2 of Adonis?

Hey @imranhou !
The documentation version refer to the adonis-app package.
You can have the latest stable release by using the adonis-cli tool.

Hey !
That answers my question, thanks for a quick reply.


Removing meta package

This removes the meta package files for ROS2.

Please don't remove this package but change it into a "normal" package in ROS 2.

Closing in favor of #146 per Dirk's request.


0.7.1h won't compile properly

Describe your problem here.
When I go to do the "lime test windows", I'm given these errors
source/psychlua/CallbackHandler.hx:48: characters 18-33 : Class<llua.Lua_helper> has no field sendErrorsToLua
source/psychlua/CallbackHandler.hx:48: characters 41-46 : Class<llua.LuaL> has no field error
source/psychlua/FunkinLua.hx:273: lines 273-276 : Int should be Bool
source/psychlua/FunkinLua.hx:273: lines 273-276 : ... For function argument 'f'

I haven't modified any of the source code in any way, I just needed a base build to work with.
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x86/x32
Did you edit anything in this build? If so, mention or summarize your changes.
One extremely minor thing, that being the tracklist color in StoryMenuState.hx on line 169

haxelib git linc_luajit https://github.com/superpowers04/linc_luajit master


Can't install rancher-monitoring 102.0.0+up40.1.2 with Fleet

Rancher Server Setup

Rancher version: 2.7..we the same issue with 2.7.*
Installation option (Docker install/Helm Chart):

RKE1

Information about the Cluster

Kubernetes version: 1.24 and 1.25
Cluster Type (Local/Downstream):

downstream, RKE1:

Describe the bug
Chart version "100.1.3+up19.0.3" is the last version that can be installed with Fleet. The problem is: chart becomes too big.
Fleet produces an error: "etcdserver: request is too large"
I tried this with 102.0.0+up40.1.2.
We can say that this is a "bug" in fleet: https://github.com/rancher/fleet/issues/205, but this does not solve the problem :)
To Reproduce
defaultNamespace: cattle-monitoring-system
helm:
  releaseName: rancher-monitoring
  chart: rancher-monitoring
  repo: https://charts.rancher.io
  version: 102.0.0+up40.1.2

Actual Result
Fleet job fails with:
Error (time="2023-06-13T13:39:46Z" level=fatal msg="etcdserver: request is too large" )
Expected Result
Rancher monitoring is installed on a downstream cluster
Proposed solution
Split the chart in some way.

Today I faced the same issue with etcd. I solved it by copying the bundle files to a temporary location, removing the branch these files were in both remote and local and recreating the branch with the original name.
Finally I copied the files back from the temp location and watched the deployments rolling again.
A git gc prune reduced the size of .git  significant, but it was not enough.

We're investigating OCI registries as storage. https://github.com/rancher/fleet/issues/2114

Closing as duplicate


Support importing QIF files

Parser seems to be simple. Here is someone who has done some work.
https://github.com/kalafut/qif

Yeah, I expect it won't be difficult, and that it'll just take a little time to figure out which QIF fields need to translate to which MoneyGo fields.


Redis no data

We're trying to connect to a vanilla redis-windows instance, but it doesn't look like any data shows up in the Key list for Redis(#132) connections using version 3.8.5. We've verified that there is in fact data in the DB, but DBeaver never shows anything.

It is a bug in keys extraction.
If there are too few keys (and all of them can be read with one SCAN call) in a database then you will see empty list.
Will be fixed in 4.0. Thanks for report.
(you can see key list by executing KEYS * command).

@serge-rider, I tried DBeaver EE 4.1 and cannot see any keys even If I execute KEYS *. Only one DB (db1) exists. Is there anything that I missed?

Note: Redis v3.2.x used on server side. Other GUIs can see the databases and keys properly.

Maybe this is a different issue. DBeaver uses Jedis 2.8.1 to work with Redis.
I'll test it with Redis 3.2 and Redis 4.0 in #1957.
Thanks for report

Support of all databases will be added in 4.2.


Update the default 1Password CLI version to 2.21.0

Update the default version of the 1Password CLI being installed in the orb from 2.7.1 to 2.21.0 (i.e. the latest stable version) so that 1Password service accounts can be used more easily and with less configuration changes (i.e. having to manually configure the .yaml file to use a more recent version).

This is a great quick win to make this orb up-to-date.
Ideally we'd do something similar to what we did for our GitHub Action integrations: automatically fetch the latest version. In this way, we no longer need to regularly update the default version.

This is a great quick win to make this orb up-to-date. Ideally we'd do something similar to what we did for our GitHub Action integrations: automatically fetch the latest version. In this way, we no longer need to regularly update the default version.

Thanks for the approval and good callout - I wasn't sure if/how we would go about automatically fetching the latest CLI version in the install-cli.yml file, so I went with the quick win of just updating the version number instead. But yes, definitely something that we could look to revisit in the future 👍


created PrintAsciiValueOfAString.cs

📑 Description

Added PrintAsciiValueOfAString.cs file in print-ascii-value-of-a-string folder.
Created the C# program to print string user input ASCII values.

Type of change:
New feature (non-breaking change which adds functionality)
What is the solution?
The solution is a C# application that takes a user input from the input stream, and with its value calls a method that iterates
through all characters and converts them into an integer; then this is printed to the screen.

Closes #480

copilot:all

Hi this issue was originally #580, and was assigned to me. Recently that was archived.

Hey @g-s-eire
Please Allow edits from maintainers
Reference: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork#enabling-repository-maintainer-permissions-on-existing-pull-requests

Hi @harshraj8843 , I created the pull request from an organization owned fork, and it seems only personally owned forks can allow maintainers to edit. GitHub Issue reference: https://github.com/orgs/community/discussions/5634
Please advise, how to proceed.

Hey @g-s-eire, in this case, please update the code as
using System;

namespace CSharpStringToASCII {
    public class PrintAsciiValueOfAString {
        // method to convert string and prints ASCII values
        public static void PrintAsciiValues(string userInput) {
            // error handling for invalid inputs
            try{
                // iterating through user input
                foreach(char c in userInput){
                    // converting char to int
                    int asciiValue = (int)c;
                    // printing relevant char and its ASCII value
                    Console.WriteLine($"Char: {c}, ASCII value: {asciiValue}");
                }
            }
            catch{
                Console.WriteLine("Invalid input");
            }
        }
        // main method
        public static void Main(string[] args) {
            // prompting user for input
            Console.Write("Enter a string: ");
            // read user input from input stream
            string userInput = Console.ReadLine();
            // calling method to print ASCII values of the input
            PrintAsciiValues(userInput);
        }
    }
}

Hi @harshraj8843 , The suggested changes have been implemented. Please let me know if any additional changes needed. Thanks.


Parser: Ignore and recover marked parse position during on-demand member parsing.

New construction of a parser instance will reset the marked parser
position in PersistentParserState. We should recover the marked parser
position during on-demand parsing in case the marked position will be
later used to create another parser instance to continue parsing
linearly.
This patch fixes an infinite loop error found by @DougGregor .

@swift-ci please smoke test


Dev build stuck on 0% syncing initial data

Havent figured this out on my own yet so Ill just post.
After launch Im stuck on 0% syncing initial data.
Dev tools shows error every second
/Users/jacobrosenthal/Downloads/sciencefair/app/node_modules/raven-js/src/raven.js:325 Uncaught TypeError: Cannot read property 'finished' of undefined
    at ds (/Users/jacobrosenthal/Downloads/sciencefair/app/client/models/datasources.js:156)
    at arraySome (/Users/jacobrosenthal/Downloads/sciencefair/app/node_modules/lodash/_arraySome.js:16)
    at some (/Users/jacobrosenthal/Downloads/sciencefair/app/node_modules/lodash/some.js:48)
    at poll (/Users/jacobrosenthal/Downloads/sciencefair/app/client/models/datasources.js:156)
    at wrapped (/Users/jacobrosenthal/Downloads/sciencefair/app/node_modules/raven-js/src/raven.js:321)

I think here but havent figured out what to do yet.
https://github.com/codeforscience/sciencefair/blob/master/app/client/models/datasources.js#L156

@jacobrosenthal sorry for the trouble and thanks for the report! I think this should do it:
    const anyfinished = any(news, ds => ds.stats.get('metadataSync').value().finished)

I must have left that call over from a time when Datasource.stats was a simple object - now it's a lowdb

I was wrong - the datasources code is correct, but lowdb's behaviour changed in a way I didn't realise between versions. Fix incoming.

I appear to sync all data now, but I have 0 data sources, and searching for crispr, as in the last published release I still have on my computer, I get 0 results so I have a feeling there may still be something wrong with datasets?
20:31:59 ✨ choo results:count Object {count: 0, source: "collection"}
/Users/jacobrosenthal/Downloads/sciencefair/app/node_modules/raven-js/src/console.js:26 20:31:59 🐛 choo [model:results] 0 results in collection for 'crispr' undefined
/Users/jacobrosenthal/Downloads/sciencefair/app/node_modules/raven-js/src/console.js:26 20:31:59 ✨ choo render 60fps 3ms```

If you click on datasources, it will be there I think but turned off - it should of course be on by default, fixing that now. Turning it on should make search work

fix pushed to master, but will only apply to clean runs (after deleting ~/.sciencefair) or newly added datasources
clicking on the circle to the left of the datasource entry will toggle it on and off:


Copy To Clipboard" button double-HTML-encodes ampersands

The "Copy To Clipboard" button double-HTML-encodes entities (certainly the ampersand &).
http://foundation.zurb.com/emails/inliner-v2.html
Easily reproduced - just type '&' into the left side, hit "INLINE" then hit "Copy To Clipboard".
Paste your clipboard into notepad and see the & -> & -> &

Weird - It might be the clipboard.js plugin causing it but I'm not seeing any open issues on their end.
@kball Can you take a look on this?

I can't believe I opened this bug 9 months ago, and it's still not fixed. Especially since the provided template CSS files include   (&) in the spacer table!

Yep this bug is still alive 😺

Duplicate of #841, can be closed.


How to overwrite the Adapter

Hi, do you have an interface that can overwrite the adapter? I wanna insert a new adapter layer based on my task.

We are planning to add an instruction on how to add custom adapters. What kind of adapter do you want to insert? We can investigate if it is possible to integrate into our framework.

it would be great if you can help us, could you please give me an email address, then we can talk more details.

<EMAIL_ADDRESS>


osg,qt5,libpng build failed(win10 + vs2015u3)

PS D:\Develop\GitOthers\vcpkg> ./vcpkg install libpng
The following packages will be built and installed:
libpng:x64-windows
Building package libpng:x64-windows...
-- CURRENT_INSTALLED_DIR=D:/Develop/GitOthers/vcpkg/installed/x64-windows
-- DOWNLOADS=D:/Develop/GitOthers/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=D:/Develop/GitOthers/vcpkg/packages/libpng_x64-windows
-- CURRENT_BUILDTREES_DIR=D:/Develop/GitOthers/vcpkg/buildtrees/libpng
-- CURRENT_PORT_DIR=D:/Develop/GitOthers/vcpkg/ports/libpng/.
-- Using cached D:/Develop/GitOthers/vcpkg/downloads/libpng-1.6.30.tar.xz
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Extracting done
-- Applying patch D:/Develop/GitOthers/vcpkg/ports/libpng/use-abort-on-all-platforms.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch D:/Develop/GitOthers/vcpkg/ports/libpng/use-abort-on-all-platforms.patch done
-- Configuring x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:43 (message):
Command failed: D:/Develop/GitOthers/vcpkg/downloads/cmake-3.9.0-win32-x86/bin/cmake.exe;D:/Develop/GitOthers/vcpkg/
buildtrees/libpng/src/libpng-1.6.30;-DPNG_STATIC=OFF;-DPNG_SHARED=ON;-DPNG_TESTS=OFF;-DSKIP_INSTALL_PROGRAMS=ON;-DSKIP_I
NSTALL_EXECUTABLES=ON;-DSKIP_INSTALL_FILES=ON;-DCMAKE_SYSTEM_PROCESSOR=AMD64;-DBUILD_SHARED_LIBS=ON;-DVCPKG_TARGET_TRIPL
ET=x64-windows;-DCMAKE_CXX_FLAGS= /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ;-DCMAKE_C_FLAGS= /DWIN32 /D_WINDOWS /W3 /
utf-8 /MP ;-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON;-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON;-DCMAKE_FIND_PACKAGE_NO_SYS
TEM_PACKAGE_REGISTRY=ON;-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE;-DCMAKE_VERBOSE_MAKEFILE=ON;-DVCPKG_APPLOCAL_DEPS=
OFF;-DCMAKE_TOOLCHAIN_FILE=D:/Develop/GitOthers/vcpkg/scripts/buildsystems/vcpkg.cmake;-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL
_DESTINATION=ON;-DCMAKE_CXX_FLAGS_RELEASE=/MD /O2 /Oi /Gy /DNDEBUG /Zi ;-DCMAKE_C_FLAGS_RELEASE=/MD /O2 /Oi /Gy /DNDEBUG
/Zi ;-DCMAKE_SHARED_LINKER_FLAGS_RELEASE=/DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ;-DCMAKE_EXE_LINKER_FLAGS_RELEASE=/DE
BUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ;-G;Ninja;-DCMAKE_BUILD_TYPE=Release;-DCMAKE_INSTALL_PREFIX=D:/Develop/GitOthers/v
cpkg/packages/libpng_x64-windows
Working Directory: D:/Develop/GitOthers/vcpkg/buildtrees/libpng/x64-windows-rel
See logs for more information:
D:\Develop\GitOthers\vcpkg\buildtrees\libpng\config-x64-windows-rel-out.log
D:\Develop\GitOthers\vcpkg\buildtrees\libpng\config-x64-windows-rel-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:170 (vcpkg_execute_required_process)
ports/libpng/portfile.cmake:32 (vcpkg_configure_cmake)
scripts/ports.cmake:73 (include)
Error: Building package libpng:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: libpng:x64-windows
Vcpkg version: 0.0.81-4ae13d4031654ea19005da0557d262778e11939c
Additionally, attach any relevant sections from the log files above.

CMake Error at D:/Develop/GitOthers/vcpkg/downloads/cmake-3.9.0-win32-x86/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
14.0/VC/bin/amd64/cl.exe" is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/Develop/GitOthers/vcpkg/buildtrees/openjpeg/x64-windows-rel/CMakeFiles/CMakeTmp
Run Build
Command:"D:/Develop/GitOthers/vcpkg/downloads/tools/ninja/ninja-1.7.2/ninja.exe"
"cmTC_1b230"
ninja: error: build.ninja:30: loading 'rules.ninja':
系统找不到指定的文件。
include rules.ninja
                 ^ near here

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:27 (project)

cmake-3.9.0 + ninja = fail
https://github.com/Microsoft/vcpkg/pull/1526
3.8.2 ok

Using latest vcpkg version:
Building package libpng:x64-windows... done
Installing package libpng:x64-windows...
Installing package libpng:x64-windows... done

As I said in linked issue, there is issue with environment CMake works at.

@zabulus все что нас окружает и есть среда, но от этого проблема не уходит и каждый будет сталкиваться с ней. есть решение? я лично не нашел

all that surrounds us and there Wednesday, but this problem is not going away and everyone will face it. is there a solution? I personally have not found

I'm not able to reproduce this issue; CMake 3.9.0 and Ninja are building libpng fine on my machine.
Perhaps it is an issue with CMake 3.9.0 + Ninja + VS 2015? Could you try installing VS 2017 community and confirm that you still hit this issue?

@ras0219-msft у меня стоит 2015 и 2017, через env консоли пробыал, ошибки те же. у меня догадки на счет /UNICODE

I have 2015 and 2017, through the console, probyal env error the same. I have my guesses on the account/Unicode

Aha! So perhaps CMake 3.9 has moved where it puts some temporary files and they now end up on paths that contain Unicode (which didn't happen under 3.8)?
Can you get the contents of the failing build.ninja file and check if it contains Unicode?

@ras0219-msft gflags
cmake --version
cmake version 3.9.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).

msbuild

cmake . -L
Re-run cmake no build system arguments
-- Building for: Visual Studio 15 2017
-- The CXX compiler identification is MSVC 19.10.25019.0
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is MSVC 19.10.25019.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check size of __int32
-- Check size of __int32 - done
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: E:/tools/vcpkg/buildtrees/folly2/third/gflags
-- Cache values
BUILD_PACKAGING:BOOL=OFF
BUILD_SHARED_LIBS:BOOL=OFF
BUILD_TESTING:BOOL=OFF
BUILD_gflags_LIB:BOOL=ON
BUILD_gflags_nothreads_LIB:BOOL=ON
REGISTER_BUILD_DIR:BOOL=OFF
REGISTER_INSTALL_PREFIX:BOOL=ON

del CMakeCache.txt

Ninja

cmake . -L -GNinja
Re-run cmake no build system arguments
-- The CXX compiler identification is MSVC 19.0.24218.1
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- broken
CMake Error at C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake:44 (message):
  The C++ compiler "C:/Program Files (x86)/Microsoft Visual Studio
  14.0/VC/bin/amd64/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: E:/tools/vcpkg/buildtrees/folly2/third/gflags/CMakeFiles/CMakeTmp

  Run Build Command:"E:/tools/Bin/ninja.exe" "cmTC_e8463"

  ninja: error: build.ninja:30: loading 'rules.ninja': ═х єфрхЄё
  эрщЄш єърчрээ√щ Їрщы.

  include rules.ninja

                     ^ near here

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:94 (project)

-- Configuring incomplete, errors occurred!
See also "E:/tools/vcpkg/buildtrees/folly2/third/gflags/CMakeFiles/CMakeOutput.log".
See also "E:/tools/vcpkg/buildtrees/folly2/third/gflags/CMakeFiles/CMakeError.log".
-- Cache values
CMAKE_BUILD_TYPE:STRING=Debug
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files/gflags

del CMakeCache.txt
cmake --version
cmake version 3.8.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

cmake . -L -GNinja
Re-run cmake no build system arguments
-- The CXX compiler identification is MSVC 19.0.24218.1
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is MSVC 19.0.24218.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check size of __int32
-- Check size of __int32 - done
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: E:/tools/vcpkg/buildtrees/folly2/third/gflags
-- Cache values
BUILD_PACKAGING:BOOL=OFF
BUILD_SHARED_LIBS:BOOL=OFF
BUILD_TESTING:BOOL=OFF
BUILD_gflags_LIB:BOOL=ON
BUILD_gflags_nothreads_LIB:BOOL=ON
CMAKE_BUILD_TYPE:STRING=Debug
REGISTER_BUILD_DIR:BOOL=OFF
REGISTER_INSTALL_PREFIX:BOOL=ON

--trace or --trace-expand
cmake . -L -GNinja --trace -Wno-dev
....

C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeCXXInformation.cmake(254):  if(NOT CMAKE_CXX_CREATE_SHARED_LIBRARY )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeCXXInformation.cmake(260):  if(NOT CMAKE_CXX_CREATE_SHARED_MODULE )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeCXXInformation.cmake(267):  if(NOT DEFINED CMAKE_CXX_ARCHIVE_CREATE )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeCXXInformation.cmake(268):  set(CMAKE_CXX_ARCHIVE_CREATE <CMAKE_AR> qc <TARGET> <LINK_FLAGS> <OBJECTS> )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeCXXInformation.cmake(270):  if(NOT DEFINED CMAKE_CXX_ARCHIVE_APPEND )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeCXXInformation.cmake(271):  set(CMAKE_CXX_ARCHIVE_APPEND <CMAKE_AR> q  <TARGET> <LINK_FLAGS> <OBJECTS> )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeCXXInformation.cmake(273):  if(NOT DEFINED CMAKE_CXX_ARCHIVE_FINISH )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeCXXInformation.cmake(274):  set(CMAKE_CXX_ARCHIVE_FINISH <CMAKE_RANLIB> <TARGET> )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeCXXInformation.cmake(278):  if(NOT CMAKE_CXX_COMPILE_OBJECT )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeCXXInformation.cmake(283):  if(NOT CMAKE_CXX_LINK_EXECUTABLE )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeCXXInformation.cmake(288):  mark_as_advanced(CMAKE_VERBOSE_MAKEFILE CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_DEBUG )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeCXXInformation.cmake(296):  set(CMAKE_CXX_INFORMATION_LOADED 1 )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(5):  if(CMAKE_CXX_COMPILER_FORCED )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(12):  include(CMakeTestCompilerCommon )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCompilerCommon.cmake(5):  function(PrintTestCompilerStatus LANG MSG )

C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(16):  unset(CMAKE_CXX_COMPILER_WORKS CACHE )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(23):  if(NOT CMAKE_CXX_COMPILER_WORKS )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(24):  PrintTestCompilerStatus(CXX  )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCompilerCommon.cmake(6):  message(STATUS Check for working ${LANG} compiler: ${CMAKE_${LANG}_COMPILER}${MSG} )
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/Preview/Enterprise/VC/Tools/MSVC/14.11.25503/bin/HostX64/x64/cl.exe
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(25):  file(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testCXXCompiler.cxx #ifndef __cplusplus\n # error \"The CMAKE_CXX_COMPILER is set to a C compiler\"\n #endif\n int main(){return 0;}\n )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(30):  try_compile(CMAKE_CXX_COMPILER_WORKS ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testCXXCompiler.cxx OUTPUT_VARIABLE __CMAKE_CXX_COMPILER_OUTPUT )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(34):  set(CMAKE_CXX_COMPILER_WORKS ${CMAKE_CXX_COMPILER_WORKS} )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(35):  unset(CMAKE_CXX_COMPILER_WORKS CACHE )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(36):  set(CXX_TEST_WAS_RUN 1 )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(39):  if(NOT CMAKE_CXX_COMPILER_WORKS )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(40):  PrintTestCompilerStatus(CXX  -- broken )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCompilerCommon.cmake(6):  message(STATUS Check for working ${LANG} compiler: ${CMAKE_${LANG}_COMPILER}${MSG} )
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/Preview/Enterprise/VC/Tools/MSVC/14.11.25503/bin/HostX64/x64/cl.exe -- broken
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(41):  file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log Determining if the CXX compiler works failed with  the following output:\n${__CMAKE_CXX_COMPILER_OUTPUT}\n\n )
C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake(44):  message(FATAL_ERROR The C++ compiler \"${CMAKE_CXX_COMPILER}\"  is not able to compile a simple test program.\nIt fails  with the following output:\n ${__CMAKE_CXX_COMPILER_OUTPUT}\n\n CMake will not be able to correctly generate this project. )
CMake Error at C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake:44 (message):
  The C++ compiler "C:/Program Files (x86)/Microsoft Visual
  Studio/Preview/Enterprise/VC/Tools/MSVC/14.11.25503/bin/HostX64/x64/cl.exe"
  is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: E:/tools/vcpkg/buildtrees/folly2/third/gflags/CMakeFiles/CMakeTmp

  Run Build Command:"E:/tools/Bin/ninja.exe" "cmTC_d07e4"

  ninja: error: build.ninja:30: loading 'rules.ninja': ═х єфрхЄё

@ras0219-msft build.ninja не смогу проверить, он не формируется из за выше указанной ошибки ))

I won't be able to check it is not formed due to above errors))

@ras0219-msft  оказывается можно принудительно использовать якобы не поддерживаемый компилятор

-DCMAKE_C_COMPILER_FORCED=ON -DCMAKE_CXX_COMPILER_FORCED=ON

cmake . -L -GNinja --trace -Wno-dev -DCMAKE_CL_64=1 -DMSVC14=1 -DC_TEST_WAS_RUN=0 -DCMAKE_C_COMPILER_FORCED=ON -DCMAKE_CXX_COMPILER_FORCED=ON
в этом случае конфигурация создается

error
[GFLAGS_]INTTYPES_FORMAT to either C99, BSD, or VC7 and try again.
CMake Error at CMakeLists.txt:273 (message):
  Do not know how to define a 32-bit integer quantity on your system! Neither
  uint32_t, u_int32_t, nor __int32 seem to be available.  Set
  [GFLAGS_]INTTYPES_FORMAT to either C99, BSD, or VC7 and try again.

-- Configuring incomplete, errors occurred!
See also "E:/tools/vcpkg/buildtrees/folly2/third/gflags/CMakeFiles/CMakeOutput.log".
See also "E:/tools/vcpkg/buildtrees/folly2/third/gflags/CMakeFiles/CMakeError.log".
-- Cache values
BUILD_PACKAGING:BOOL=OFF
BUILD_SHARED_LIBS:BOOL=OFF
BUILD_TESTING:BOOL=OFF
BUILD_gflags_LIB:BOOL=ON
BUILD_gflags_nothreads_LIB:BOOL=ON
CMAKE_BUILD_TYPE:STRING=Debug
REGISTER_BUILD_DIR:BOOL=OFF
REGISTER_INSTALL_PREFIX:BOOL=ON

@ras0219-msft во как, проблема старая оказывается и известная, только вот почему вылезла на cmake 3.9 - https://github.com/ninja-build/ninja/issues/613
в общем если по умолчанию язык консоли не chcp 65001 = UTF-8 ... ?, а возможно другой, то .... ? ninja не правильно или ему подают в неправильном формате заголовки
chcp 866; chcp 1251 - fail
chcp 65001 - work

On my computer, I replace CMake3.9 with CMake3.8.2, it works fine!

Hi @yaoyu, thanks for posting this issue. I can't reproduce it on my machine with VS2015 + CMake 3.14.0.
Please feel free to reopen it if this is still a problem for you.


Ios pods

IOS setup for AudioSwift,
PodsFile
add pod 'SwiftAudio'
before
use_native_modules!
in Xcode, you may need to add a bypass.swift file to your IOS React-Native project to add the SWIFT bridge headers to your project for compiling.
This removes the Audio Shift as a submodule to be included from Cocoa PODs.

does this address #703 ?

@curiousdustin  It does address that issue.
No need to do git submodule.
The Podfile will download SwiftAudio and link it within .xcworkspace.
You do need to make a Swift bridge for your main project but after that, I have been getting consistent compiling and running Audio from URL MP3 sources.

@Daimyo7 thanks for your work on this! I referenced it while creating and merging https://github.com/react-native-kit/react-native-track-player/pull/904.


The entity type'X' requires a primary key to be defined.

Issue description
I am creating a sample application according to the tutorial,
The title error is displayed at the time of the following command.
dotnet-aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries -sqlite

If there is an "Id", it is automatically determined as a Primary Key,
so the error "The entity type'X' requires a primary key to be defined" should not occur.
Error details
Building project ...
Finding the generator 'controller'...
Running the generator 'controller'...
Generating a new DbContext class 'MvcMovieContext'
Attempting to compile the application in memory with the added DbContext.
Attempting to figure out the EntityFramework metadata for the model and DbContext: 'Movie'
The entity type 'Movie' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943. StackTrace:

"HasNoKey" should be called in "OnModelCreating" for the error content. Is it okay to call it as "MvcMovieContext"?
However, it is inconsistent that "MvcMovieContext" is a class created when scaffolding is successful.
Since "DBContext Class to use" is also required when scaffolding from the right-click menu of the controller folder, I think that it is necessary to create "MvcMovieContext" first.
However, creating the "MvcMovieContext" first did not solve the problem.
・Models/Movie.cs
using System;
using System.ComponentModel.DataAnnotations;

namespace MvcMovie.Models
{
    public class Movie
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Genre { get; set; }
        public decimal Price { get; set; }

        [DataType(DataType.Date)]
        public DateTime ReleaseDate { get; set; }
    }
}

・Data/MvcMovieContext
using Microsoft.EntityFrameworkCore;
using MvcMovie.Models;

namespace MvcMovie.Data
{
    public class MvcMovieContext : DbContext
    {
        public MvcMovieContext(DbContextOptions<MvcMovieContext> options)
            : base(options)
        {
        }
        public DbSet<Movie> Movie { get; set; }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            //modelBuilder.Entity<Movie().HasKey(m => new { m.Id });
        }
    }
}

Software versions
Check the .NET target framework(s) being used, and include the version number(s).

[x] .NET Core
[x] .NET 5.0 or later
[x] .NET Framework
[x] .NET Standard

If using the .NET Core SDK, include dotnet --info output. If using .NET Framework without the .NET Core SDK, include info from Visual Studio's Help > About Microsoft Visual Studio dialog.

dotnet --info output or About VS info
.NET SDK (global.json を反映):
 Version:   5.0.401
 Commit:    4bef5f3dbf

ランタイム環境:
 OS Name:     Mac OS X
 OS Version:  11.0
 OS Platform: Darwin
 RID:         osx.11.0-x64
 Base Path:   /usr/local/share/dotnet/sdk/5.0.401/

Host (useful for support):
  Version: 5.0.10
  Commit:  e1825b4928

.NET SDKs installed:
  3.1.412 [/usr/local/share/dotnet/sdk]
  3.1.413 [/usr/local/share/dotnet/sdk]
  5.0.400 [/usr/local/share/dotnet/sdk]
  5.0.401 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 3.1.18 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.19 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.18 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.19 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

Hello @guardrex  I have one request.
Please delete only the mention name.thanks!

Hello @guardrex !
Please delete only the mention name「＠HirumaRyuzo」


Update DistributedLockService.cs

Fixes #8399

As said i would need to focus more on it and try it, but i trust you and you will be able to try it ;)
First, in the context of the related issue where it is called by the audit trail bg task we have maxValidFor = 1 hour, timeout = TimeSpan.Zero, and as it is done trhough TryAcquireLock(), we have throwOnTimeout = false.
I don't think that doing Monitor.Exit() in the context of the RepeatUntilTimeout() (here executed once as timeout = TimeSpan.Zero) is the right place, i think it needs to be fixed after in the if (!success) { block. If throwOnTimeout is true we throw an exception so we go to the enclosing catch that does a Monitor.Exit() so that's okay, but if throwOnTimeout is false, as in your case and i think this is the path that we missed, we still need to do explicitly a Monitor.Exit().
Could you try it?
Note: Maybe an little issue with the record ValidUntilUtc (here 1 hour),  as i can see it may expire while it is still in use ...

So maybe we only need to add the 2 lines below
if (!success) {
    Logger.Debug("Record for lock '{0}' could not be created for current machine within the specified timeout ({1}).", internalName, timeout);

    if (throwOnTimeout)
        throw new TimeoutException(String.Format("Failed to acquire lock '{0}' within the specified timeout ({1}).", internalName, timeout));
    else // here the 2 added lines
        Monitor.Exit(monitorObj);

    return null;
}

Haha @jtkech thank you for having faith in me! :-) I wasn't happy with my proposed fix as I knew something was off about it. Your suggestion works a treat! And I can confirm the lock is now released! I test it albeit manually.

When the task ran I had a break point that hit like https://github.com/OrchardCMS/Orchard/blob/5b5eda6ae36dc2d7906599882165ef1e985cdc8c/src/Orchard/Tasks/Locking/Services/DistributedLockService.cs#L144

I inserted the following record:

  INSERT INTO  [Orchard_Framework_DistributedLockRecord] (
      [Name]
      ,[MachineName]
      ,[CreatedUtc]
      ,[ValidUntilUtc]
	  ) VALUES ('DistributedLock:Default:Orchard.AuditTrail.Services.AuditTrailTrimmingBackgroundTask', 'IMT-000', '2001-03-20 18:45:12.000', '2020-07-01 21:55:12.000')

I think continued execution from the break point which led to line which returns false https://github.com/OrchardCMS/Orchard/blob/5b5eda6ae36dc2d7906599882165ef1e985cdc8c/src/Orchard/Tasks/Locking/Services/DistributedLockService.cs#L177

I then continued execution until it hit the new else statement to exit: https://github.com/OrchardCMS/Orchard/pull/8398/files#diff-f5d641271fe12d6f2c0f9373dc2c7786R123

I then waited for the task to run again and then hit a break point on this line to ensure and verify the lock enters successfully and that the previous lock was indeed exited: https://github.com/OrchardCMS/Orchard/blob/5b5eda6ae36dc2d7906599882165ef1e985cdc8c/src/Orchard/Tasks/Locking/Services/DistributedLockService.cs#L77

One additional change I have made is to change the log level from warning to debug for this line otherwise despite the fix this error will keep being logged as the lock will still return null where another machine has acquired a lock on the same task: https://github.com/OrchardCMS/Orchard/pull/8398/files#diff-f5d641271fe12d6f2c0f9373dc2c7786L49
Please do let me know your thoughts. If you're happy with the changes can you please do the honours of a code review and approve them and then I'll ask @sebastienros if he is happy to merge in as we are keen to get this change released for our live systems as we're being inundated with these log messages.
Many thanks

@imranazad okay cool
So, as a reminder, the issue was that if we can't acquire a lock in a given timeout, if throwOnTimeout is true the lock is freed by a Monitor.Exit() called by the enclosing catch, but if throwOnTimeout is false the lock was not freed. So subsequent Monitor.TryEnter() were always returning false.
So with this fix, normally you will have a lot less logged warnings, but when used in the context of TryAcquireLock() and, as with the audit trail bg task, with a timeout = TimeSpan.Zero you will still have some warnings messages, in fact each time the lock is doing its job.
So i agree, in the context of TryAcquireLock() we can use Logger.Debug() in place of Logger.Warning().

@imranazad okay cool
So, as a reminder, the issue was that if we can't acquire a lock in a given timeout, if throwOnTimeout is true the lock is freed by a Monitor.Exit() called by the enclosing catch, but if throwOnTimeout is false the lock was not freed. So subsequent Monitor.TryEnter() were always returning false.
So with this fix, normally you will have a lot less logged warnings, but when used in the context of TryAcquireLock() and, as with the audit trail bg task, with a timeout = TimeSpan.Zero you will still have some warnings messages, in fact each time the lock is doing its job.
So i agree, in the context of TryAcquireLock() we can use Logger.Debug() in place of Logger.Warning().

@jtkech  yep that is spot on.
Regarding

Maybe an little issue with the record ValidUntilUtc (here 1 hour), as i can see it may expire while it is still in use

That's a good point, I didn't get a chance to test this - I've acknowledged it here maybe someone else reading this can volunteer to take a look at it as a separate issue.
@sebastienros could you please take a look at merging this in?