Portal Download fails because file exist. No overwrite option available

Missing overwrite option on portal download

[ 'Microsoft PowerPlatform CLI' ]
[ 'Version: 1.17.5+gcbb58e8' ]
[ '' ]
[ 'Error: File \\?\D:\a\1\s\portalSrc\*******\website.yml already exist. provide -o true argument to overwrite the content' ]
[ '' ]

--overwrite                 Portal website content to overwrite (alias: -o)

@craig-lund I'm looking for opinions:

when designing the pac paportal download verb, the feature team was adamant to not overwrite by default in the inner-dev-loop when a dev directly uses the pac CLI.
I do propose that in the CI/CD scenario like here, the intent is to ALWAYS overwrite, so my hypothesis is, pretty much anyone using the Power Pages Download task will always want to overwrite,

CC: @kkanakas @ameyaapte1 @ashishchoudhary001
There is a related issue in our VSCode extension's issue tracker, which is about the inner-dev-loop scenario: microsoft/powerplatforms-vscode#264

@davidjenni I agree that default action should be to NOT overwrite.

As you suggest I am using this in enterprise CI/CD scenarios. As development is made to a portal each iteration would need to be added to source for promotion to the next environments.
Now on the other hand, the portal download is additive only. If you remove a record, it will not be removed from source until you delete the source portal folder and then re-download. Same as removing Solution components.

Ultimately, it should be an option. Using PowerShell in-between tasks can check if components are removed and chose to delete the source or not. For me, I would want the choice rather than have it made for me. Because when you delete the source there is other considerations. Such as the deployment-profiles folder would need to be added back after the download.
I am working through my list of issues first and then I will start adding suggested enhancements. I use these tools hundreds of times a day so...
Hope that helps.

We will be supporting the overwrite flag in the upcoming release I'm working on the required changes, we still don't plan to make overwrite true by default although this can be discussed one more time in context of CI/CD

@ameyaapte1 that is great to hear. I agree that it should be false by default but have the option. I have not seen where deletions don' happen with portals but made the assumption it was working just as the solution unpack was. I will keep an eye out for any errors.
Thanks!

As #264 is indicating the delete in not working. I will look into testing when I can but seems like it's not working as expected.


Add "show on osm" to all POIs

Maybe all is a bit much? Having this on HERE POIs is a bit weird.

An argument for it: each mapping app out there has its advantages and disadvantages for specific use cases. The more possibilities in this case, the better – maybe we also learn something about which use case works better in which mapping app. Would try it live before restricting it intentionally :)


Permissions: the max file size limit doesn't work with the profile pictures upload

The initial thread https://una.io/d/upload-limit-for-profile-pics
The profile pictures from the profile edit area can exceed the maximum size of the uploaded files setup in the Permissions app without any warnings / blocks.

Can't reproduce, it works, but error message isn't properly shown - https://github.com/unaio/una/issues/4324


Executed transactions are displayed in queued

Describe the bug
Couple of users have reported that after executing transaction using the web interface it still displayed in the queued list.
Expected behavior
After executing transaction is should displayed in History
Environment

Production
Mainnet
macOS
Chrome

Additional context
Here is one of the affected safe:
Intercom: https://app.intercom.com/a/apps/km54f6ih/inbox/inbox/5304360/conversations/36000013113
Safe: https://gnosis-safe.io/app/eth:0x67F60b0891EBD842Ebe55E4CCcA1098d7Aac1A55/transactions/queue
Tx hash: https://etherscan.io/tx/0xe592c244d7fd5fcf40f86388f991efaee3b56f31ace8e91f01909d194b632168
Also this two safes had the same issue but the problem was solved after waiting for some time:
First safe:
Intercom: https://app.intercom.com/a/apps/km54f6ih/inbox/inbox/5304360/conversations/36000013115
Safe: https://gnosis-safe.io/app/eth:0x9e6c1174a341f95Cd4F1c7d4eedfFE9Fb2F3Db2A/transactions/queue
Second safe:
Intercom: https://app.intercom.com/a/apps/km54f6ih/inbox/inbox/unassigned/conversations/36000013123
Safe:https://gnosis-safe.io/app/eth:0xdc08c0d582894214ec704108b6750b58b241A5D1/transactions/queue

Another user reported the same issue afterward but on BSC
intercom: https://app.intercom.com/a/apps/km54f6ih/inbox/inbox/unassigned/conversations/36000013159
Safe: https://gnosis-safe.io/app/bnb:0x085d8724A16E874eCd8033bE6B7e7E3755Ea1725/transactions/queue

Another user reported the same issue afterward but on BSC intercom: https://app.intercom.com/a/apps/km54f6ih/inbox/inbox/unassigned/conversations/36000013159
Safe: https://gnosis-safe.io/app/bnb:0x085d8724A16E874eCd8033bE6B7e7E3755Ea1725/transactions/queue

This is not an L2 Safe (master copy of this proxy is: 0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552 which we currently do not support.
The only master copy that we support on Binance is 0x3E5c63644E683549055b9Be8653de26E0B4CD36E


Export formats

In the old version of learnosm there was a pdf, what about making a section with ready to download exports?
I was thinking to pdf and also epub ( http://lincolnmullen.com/blog/epub-generator-for-jekyll/ )

epub :+1:
For pdf, a very quick search "markdown pdf jekyll" give:

plantheric/jekyll-plugins
mre/karban

But I suggested to tidy the code/structure of learnOSM before adding theses converters (See #306)

I see this one fauno/jekyll-pandoc-multiple-formats.
It use pandoc and produce pdf, epub…
To see it in action, look at En Defensa del Software Libre (an online/paper book build with jekyll and pandoc)
Note: direct conversion to pdf seem to produced low quality documents. See: Generating publication-quality documents from the same website source

wow, very helpful @pyrog

Closing. I've been adding these as .odt's and .pdf's for some time. The exceptions are the HOT-tips section (mainly images), those modules waiting for review or those I've missed!


feat: clarify (or remove) apiCheckDefaults and browserCheckDefaults in CheckGroup

What problem does this feature solve?
Currently it's unclear how to use apiCheckDefaults and browserCheckDefaults in CheckGroup. The types are still any and we don't have much documentation for them (relevant docs).
How would you implement this feature?
From what I can see, both fields are stored in our backend and applied there, rather than being applied to constructs from the CLI. I suspect that browserCheckDefaults is never actually used - from a quick look, I don't see a way to set any browser check defaults in the Check Group page in the UI.
I propose that we:

Remove browserCheckDefaults from the CheckGroup construct
Either also remove apiCheckDefaults from the CheckGroup construct, or add better documentation and a more clear TS type.

@nahuelon can we close this one?


Expose "select" in server URL?

I've been tinkering with zotero-better-bibtex and the zotxt / zotxt-emacs combination and have run up against a problem with easy citekeys that are not unique. I'd like to use the BBT key in my text instead, since they are unique and easily converted for use with LaTeX as well.
From what I can tell, zotxt can be made to output the BBT key (with some additional work) but there is no obvious way to go back to the item back in Zotero, ie: use zotxt to select the item for editing/review/opening the PDF/etc. Would it make sense for BBT to offer "select" via the server? Or maybe I've missed something.

I think I could add this, but I'm not sure how useful you'll actually find
it; zotero does allow highlighting an entry by calling an url (the zotero
reports use this to highlight attachments for example) , so I'd just have
to add the citekey as an recognized identifier, but the highlight us so
faint I can never find it.

I agree it's a pain to see, but using the 'select' URL is the only way I know of to jump from a citation in emacs to the item in Zotero.

Here's an idea that might be simpler: could you create a translator similar to the Pandoc citation and LaTeX citation translators, but writes an org-mode link?  More or less the same as what zotxt-org-insert-reference-link creates. As in:
[[zotero://select/items/libraryid_itemid][@betterbibtexkey]]
It looks like it would only be an extra two or three simple lines to modify either translator (see https://gist.github.com/nschneid/3134386 for an example). I tried, but Zotero threw an error I couldn't decipher quickly.

Can you give https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.45-circle-2204.xpi a go? zotero://select/items/@citationkey should work.
For group libraries, it's a little awkward, but I see no other way: zotero://select/items/@libraryID@citationkey, but finding out the library ID is rather odd -- right-click any collection in the group library, select 'BibLaTeX URL', and in the resulting URL, which will look like http://localhost:23119/better-bibtex/collection?/<number>/CVHZ2S6F.biblatex, <number> is your library ID.
I'd rather not add to the proliferation of BBT translators. I could perhaps add an option to pandoc citation to generate those links, if org-mode is largely pandoc compatible, but in either case I don't know what URL to generate when you select more than one reference.

Forget about that previous version, I didn't check in everything. I'm trying to get a new version built, but Mozilla extension signing is currently broken, so I have to wait until that gets fixed.

That's why it didn't work. Thanks for the update.
I can understand the reluctance to add more translators, but an option for org-mode would be very handy for quick copying. For multiple references, I think the best option is multiple org links. As in:
[[zotero://select/item/id1][@betterbibtexkey1]] [[zotero://select/item/id2][@betterbibtexkey2]]
I'm not sure why my efforts to modify yours failed--I just added two lines to create and write the zotero id in the org-mode link, renamed the translator and gave it a new guid.

The translators in that gist don't look like mine.
Getting a copy of my translator and modifying the guid should work as long as BBT is installed. What error were you getting?
What does zotxt-org-insert-reference-link do? And what doesn't it do that you want it to?

The translator error was generic--"An error occured tried to export selected file". I'm tried to figure out the debug log.
In the mean time, zotxt-insert-reference-link creates a link like this:
[[zotero://select/items/libraryID_itemID][key]]
By default, the key is the Easy Citekey, but it's possible to change the key to a better bibtex key. This works great from within emacs, but I'd like to be able to quick copy or drag from zotero, which needs an export translator.

Try https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.45-circle-2220.xpi ; in the preferences, set Quick Cite to org mode, and choose BBT Quick Copy as the Quick Copy translator.

I tried it, and while the  both pandoc and LaTeX work, org mode doesn't copy anything to the clipboard (or export anything to a file).  There is an error in the debug log that seems relevant:
(5)(+0000000): Translate: [better-bibtex:Better BibTeX Quick Copy] Zotero doesn't support getting the group ID inside a translator, sorry http://zotero.org/users/[numbers]/items/APGUKV4E {"libraryID":"[numbers]","key":"APGUKV4E"}
(3)(+0000001): Translate: Translation successful
(5)(+0000000): Translate: Running handler 0 for done
It's not a group item I'm trying to export. Thanks for your help with this, by the way.

Sorry: https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.45-circle-2221.xpi

Well, that worked (perfectly) but now zotxt isn't with an error REQUEST [error] Error (error) while connecting to http://<IP_ADDRESS>:23119/zotxt/items.
I went back to the last release 1.6.45 and zotxt started working again.

That must mean zotxt is requesting one of the translators I bundled into
quick copy. I think I can emulate that fairly easily.

That is, if I knew what it was calling. There will be an error in the logs which will tell me more.

Ah wait you already included an error message earlier. Really don't know what breaks if there is nothing else in the logs. I've asked the Zotxt author to help out: https://gitlab.com/egh/zotxt/issues/38

No, wait again, that must be an emacs error rather than a Zotero error. Can you get me a zotero error for when that happens?

Try this version: https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.45-circle-2225.xpi with export mode set to org-mode (can be any, but zotxt expects pandoc mode, and I'm curious if my workaround is effective)

Here's the debug. Zotxt-emacs is able to search for records (I cut that part of the log) but I think that when it tries to grab the bbt key, zotxt (the actual firefox extension) can't find the translator. Does that make sense?

(5)(+0002862): GET /zotxt/items?key=0_7888P8HK&format=betterbibtexkey HTTP/1.1
Host: <IP_ADDRESS>:23119
User-Agent: curl/7.43.0
Accept: /
Accept-Encoding: deflate, gzip
(5)(+0000001): SELECT ROWID FROM items WHERE libraryID IS NULL AND key=?
(5)(+0000000): Binding parameter 1 of type string: "7888P8HK"
(4)(+0000000): Translate: Binding sandbox to http://www.example.com/
(4)(+0000006): Translate: Parsing code for undefined (9b85ff96-ceb3-4ca2-87a9-154c18ab38b1, undefined)
(1)(+0000001): Error: Translator undefined is unsupported within this environment
===== Stack Trace =====
Zotero.Translate.Base.prototype._translateTranslatorLoaded@chrome://zotero/content/xpcom/translation/translate.js:1206:1
Zotero.Translate.Base.prototype.translate/<@chrome://zotero/content/xpcom/translation/translate.js:1189:58
Zotero.Translate.Base.prototype._loadTranslator@chrome://zotero/content/xpcom/translation/translate.js:1574:16
Zotero.Translate.Base.prototype.translate@chrome://zotero/content/xpcom/translation/translate.js:1189:4
Zotero.Translate.Export.prototype.translate@chrome://zotero/content/xpcom/translation/translate.js:2265:3
Zotero.BetterBibTeX.init/Zotero.Translate.Export.prototype.translate@chrome://zotero-better-bibtex/content/zotero-better-bibtex.js:1241:1
myExport@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/scott/.mozilla/firefox/otwupv7d.default/extensions/zotxt@e6h.org/bootstrap.js:275:5
handleResponseFormat@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/scott/.mozilla/firefox/otwupv7d.default/extensions/zotxt@e6h.org/bootstrap.js:386:13
itemsEndpoint@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/scott/.mozilla/firefox/otwupv7d.default/extensions/zotxt@e6h.org/bootstrap.js:502:5
Zotero.Server.DataListener.prototype._processEndpoint@chrome://zotero/content/xpcom/server.js:412:4
Zotero.Server.DataListener.prototype._headerFinished@chrome://zotero/content/xpcom/server.js:274:3
Zotero.Server.DataListener.prototype.onDataAvailable@chrome://zotero/content/xpcom/server.js:197:4
=======================
(2)(+0000000): Translate: Translation using no translator failed:
string => Error: Translator undefined is unsupported within this environment
stack => Zotero.Translate.Base.prototype._translateTranslatorLoaded@chrome://zotero/content/xpcom/translation/translate.js:1206:1
Zotero.Translate.Base.prototype.translate/<@chrome://zotero/content/xpcom/translation/translate.js:1189:58
Zotero.Translate.Base.prototype._loadTranslator@chrome://zotero/content/xpcom/translation/translate.js:1574:16
Zotero.Translate.Base.prototype.translate@chrome://zotero/content/xpcom/translation/translate.js:1189:4
Zotero.Translate.Export.prototype.translate@chrome://zotero/content/xpcom/translation/translate.js:2265:3
Zotero.BetterBibTeX.init/Zotero.Translate.Export.prototype.translate@chrome://zotero-better-bibtex/content/zotero-better-bibtex.js:1241:1
myExport@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/scott/.mozilla/firefox/otwupv7d.default/extensions/zotxt@e6h.org/bootstrap.js:275:5
handleResponseFormat@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/scott/.mozilla/firefox/otwupv7d.default/extensions/zotxt@e6h.org/bootstrap.js:386:13
itemsEndpoint@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/scott/.mozilla/firefox/otwupv7d.default/extensions/zotxt@e6h.org/bootstrap.js:502:5
Zotero.Server.DataListener.prototype._processEndpoint@chrome://zotero/content/xpcom/server.js:412:4
Zotero.Server.DataListener.prototype._headerFinished@chrome://zotero/content/xpcom/server.js:274:3
Zotero.Server.DataListener.prototype.onDataAvailable@chrome://zotero/content/xpcom/server.js:197:4
url => undefined
downloadAssociatedFiles => true
automaticSnapshots => false
(5)(+0000000): Translate: Running handler 0 for done
(5)(+0000000): HTTP/1.0 400 Bad Request
X-Zotero-Version: <IP_ADDRESS>
X-Zotero-Connector-API-Version: 2
Content-Length: 0

This is with the last version I put up above?

Yes. I guess the new translator GUID is the problem, based on your comment over here (https://gitlab.com/egh/zotxt/issues/38) and the log.

That last version modified Zotero behavior to pick the new translator when the old one is requested. Can you try https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.45-circle-2242.xp ? It'll fail, but there's additional logging, so if you send me a debug report after the failure, I'll know what's happening.

Forget that last version, I found at least one cause of it failing, new build is preparing.

Try https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.45-circle-2245.xpi

This has more debug info. JSON syntax error?
(5)(+0003491): GET /zotxt/items?key=38275_ZGQTP2CT&format=betterbibtexkey HTTP/1.1
Host: <IP_ADDRESS>:23119
User-Agent: curl/7.43.0
Accept: /
Accept-Encoding: deflate, gzip
(5)(+0000001): SELECT ROWID FROM items WHERE libraryID=? AND key=?
(5)(+0000000): Binding parameter 1 of type int: 38275
(5)(+0000000): Binding parameter 2 of type string: "ZGQTP2CT"
(3)(+0000000): SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
===== Stack Trace =====
Zotero.BetterBibTeX.init/Zotero.Translate.Export.prototype.setTranslator@chrome://zotero-better-bibtex/content/zotero-better-bibtex.js:1071:1
myExport@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/scott/.mozilla/firefox/otwupv7d.default/extensions/zotxt@e6h.org/bootstrap.js:267:5
handleResponseFormat@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/scott/.mozilla/firefox/otwupv7d.default/extensions/zotxt@e6h.org/bootstrap.js:386:13
itemsEndpoint@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/scott/.mozilla/firefox/otwupv7d.default/extensions/zotxt@e6h.org/bootstrap.js:502:5
Zotero.Server.DataListener.prototype._processEndpoint@chrome://zotero/content/xpcom/server.js:412:4
Zotero.Server.DataListener.prototype._headerFinished@chrome://zotero/content/xpcom/server.js:274:3
Zotero.Server.DataListener.prototype.onDataAvailable@chrome://zotero/content/xpcom/server.js:197:4
=======================
(5)(+0000001): HTTP/1.0 500 Internal Server Error
X-Zotero-Version: <IP_ADDRESS>
X-Zotero-Connector-API-Version: 2
Content-Length: 0

https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.45-circle-2255.xpi

Please let me know if this version does better.

Still not working.
(5)(+0000450): GET /zotxt/items?key=38275_RKEXCTEZ&format=betterbibtexkey HTTP/1.1
Host: <IP_ADDRESS>:23119
User-Agent: curl/7.43.0
Accept: /
Accept-Encoding: deflate, gzip
(5)(+0000000): SELECT ROWID FROM items WHERE libraryID=? AND key=?
(5)(+0000000): Binding parameter 1 of type int: 38275
(5)(+0000000): Binding parameter 2 of type string: "RKEXCTEZ"
(3)(+0000001): TypeError: Zotero.BetterBibTeX.translators.BetterBibTeXQuickCopy is undefined
===== Stack Trace =====
Zotero.BetterBibTeX.init/Zotero.Translate.Export.prototype.setTranslator@chrome://zotero-better-bibtex/content/zotero-better-bibtex.js:1071:9
myExport@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/scott/.mozilla/firefox/otwupv7d.default/extensions/zotxt@e6h.org/bootstrap.js:267:5
handleResponseFormat@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/scott/.mozilla/firefox/otwupv7d.default/extensions/zotxt@e6h.org/bootstrap.js:386:13
itemsEndpoint@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/scott/.mozilla/firefox/otwupv7d.default/extensions/zotxt@e6h.org/bootstrap.js:502:5
Zotero.Server.DataListener.prototype._processEndpoint@chrome://zotero/content/xpcom/server.js:412:4
Zotero.Server.DataListener.prototype._headerFinished@chrome://zotero/content/xpcom/server.js:274:3
Zotero.Server.DataListener.prototype.onDataAvailable@chrome://zotero/content/xpcom/server.js:197:4
=======================
(5)(+0000000): HTTP/1.0 500 Internal Server Error
X-Zotero-Version: <IP_ADDRESS>
X-Zotero-Connector-API-Version: 2
Content-Length: 0

OK, I think I've got it. I've submitted a change request to zotxt, but in the meantime, this should do it: https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.45-circle-2262.xpi

Hooray. That did it.  Thanks so much. This will help my workflow enormously.

OK, once I close #466 and #475 I'm going to cut a new release

I see you've reopened the issue, is something still amiss?

s

Hi again. Sorry to be a bother. I was just testing this with group libraries, and quick copy failed, popping up: "An error occurred while trying to export the selected file.". This is the debug log:
(3)(+0053031): copySelectedItemsToClipboard
(4)(+0000001): Translate: Binding sandbox to http://www.example.com/
(4)(+0000005): Translate: Parsing code for Better BibTeX Quick Copy (9b85ff96-ceb3-4ca2-87a9-154c18ab38b1, 2016-04-17 10:48:18)
(3)(+0000004): Translate: Beginning translation with Better BibTeX Quick Copy
(1)(+0000007): ReferenceError: local is not defined
===== Stack Trace =====
Mode.orgmode@/home/???/zotero/translators/Better BibTeX Quick Copy.js:1597:11
doExport@/home/???/zotero/translators/Better BibTeX Quick Copy.js:1612:12
=======================
(2)(+0000000): Translate: Translation using Better BibTeX Quick Copy failed:
string => ReferenceError: local is not defined
stack => Mode.orgmode@/home/???/zotero/translators/Better BibTeX Quick Copy.js:1597:11
doExport@/home/???/zotero/translators/Better BibTeX Quick Copy.js:1612:12
url => undefined
downloadAssociatedFiles => true
automaticSnapshots => false
(5)(+0000000): Translate: Running handler 0 for done
(5)(+0001230): SELECT collectionID FROM collections WHERE collectionID IN (SELECT collectionID FROM collectionItems WHERE itemID=?)
(5)(+0000000): Binding parameter 1 of type int: 44

Oops.

A new build is up at https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.45-circle-2289.xpi. Group libraries ought to work now.

Something isn't quite right.

I think the select URL has a typo. I think it should be zotero://select/items (with an 's').

The library ID isn't right. I can get the right ID by right-clicking the group collection and using "Biblatex URL". That ID works.

Damn, you're right. Sorry about that.

OK, then I misunderstood the Zotero devs... the translators get the group ID, and the select URL expects the library ID, which annoyingly enough are not the same. I've tried to work around it with https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.45-circle-2290.xpi

Well, it was mostly working; I only noticed when debugging the actual link. I don't know what difference it makes.

That works. Thanks. However, there is something odd going on zotxt-emacs and org-zotxt-mode. For a short period of time, it won't return the zotoro://select link, just the BBT key. It went away, so I can't quite reproduce it yet. I'll keep trying.

OK, you want me to hold off a release?

I can't figure out the pattern. And if it does happen, BBT org-mode quick copy still works, and then the zotxt-emacs problem seems to go away. So I'll close for now and you can release if you're okay with that. If I can uncover a pattern I let you know.

No idea what could be the cause of that. In some sense it would have to mean the value of the preference fluctuates.
I just heard back from the zotero devs, and my solution for group libraries works, but only locally. The library id for the same group will differ per synced client.

Wait, are there any messages in the light when you get only the key?

(in the log I meant).
Reopening this issue because the links are a point of concern. The translator doesn't have easy access to the relevant data.

I have figured out problem with zotxt-emacs inserting links. It was an emacs configuration problem and some inconsistency on my part in testing it. All is working reliably now.
As for the problem with local group IDs and synced computers, I hadn't tested that yet with your translator or zotxt-emacs, so I don't know what to expect. I should have a chance later today to try that.

It's more a question of what is desirable. The links generated will only work for the PC they were created on. The links are now of two kinds:

For references in your personal library, the links will have an ID like 0_<key>. These are globally unique
For references in group libraries, the links will have an ID like <number>, which are the local identifiers of the reference

The zotero://select protocol doesn't support links with ID <group ID>_<key>, which would be valid wherever you called them, only <library ID>_<key> or <item ID>. Library ID and item ID are only valid on a single PC -- it just happens to be the case that 0 is an alias for this PCs local library. If you sync your PC to another through the Zotero servers, the group libraries you have get a single identifying group ID (which you cannot use in the select URL) and on each PC you sync to a local library ID (but there's no way to map one to the other in a translator).
I'm going to try something else. I think I know a way.

Could you try https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.45-circle-2294.xpi ?

That didn't work.
When I quick copied from a group library, the URL generated was:
[[zotero://select/items/@{groupID}~VEZCXQKD][@bell1996_University]]
Then, when I tried to quick copy from my library, there was an error and the following in the debug log:
(3)(+0020188): copySelectedItemsToClipboard
(4)(+0000001): Translate: Binding sandbox to http://www.example.com/
(4)(+0000005): Translate: Parsing code for Better BibTeX Quick Copy (9b85ff96-ceb3-4ca2-87a9-154c18ab38b1, 2016-04-19 15:29:16)
(3)(+0000004): Translate: Beginning translation with Better BibTeX Quick Copy
(5)(+0000006): SELECT linkedItemID FROM itemSeeAlso WHERE itemID=?
(5)(+0000000): Binding parameter 1 of type int: 658
(5)(+0000000): SELECT tagID, name FROM tags WHERE tagID IN (SELECT tagID FROM itemTags WHERE itemID=?)
(5)(+0000000): Binding parameter 1 of type int: 658
(5)(+0000001): SELECT collectionID FROM collectionItems WHERE itemID=?
(5)(+0000000): Binding parameter 1 of type int: 658
(5)(+0000000): SELECT ROWID FROM relations WHERE 1 AND subject=?
(5)(+0000000): Binding parameter 1 of type string: "http://zotero.org/users/35159/items/7Z9TGCKK"
(5)(+0000000): SELECT itemID FROM itemSeeAlso WHERE linkedItemID=?
(5)(+0000000): Binding parameter 1 of type int: 658
(5)(+0000000): SELECT COUNT(*) FROM deletedItems WHERE itemID=?
(5)(+0000001): Binding parameter 1 of type int: 658
(5)(+0000000): SELECT A.itemID, value AS title FROM itemAttachments A NATURAL JOIN items I LEFT JOIN itemData ID ON (fieldID=110 AND A.itemID=ID.itemID) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE sourceItemID=? AND A.itemID NOT IN (SELECT itemID FROM deletedItems)
(5)(+0000000): Binding parameter 1 of type int: 658
(5)(+0000000): SELECT N.itemID, title FROM itemNotes N NATURAL JOIN items WHERE sourceItemID=? AND N.itemID NOT IN (SELECT itemID FROM deletedItems)
(5)(+0000000): Binding parameter 1 of type int: 658
(1)(+0000003): TypeError: groupID.startswith is not a function
===== Stack Trace =====
Mode.orgmode@/home/???/zotero/translators/Better BibTeX Quick Copy.js:1599:16
doExport@/home/???/zotero/translators/Better BibTeX Quick Copy.js:1620:12
=======================

So sorry about that. This should fix both.

Yes, that's working again. Thanks!

Super -- thanks!


Update eval-defender-promote-to-production.md

Fixed broken links in the MDE section

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/5701


Move table-to-dicts utilities from Runner-Engine to VbaMisc

This module's generic function should move to VbaMisc:
https://github.com/AutoActuary/runner-engine/blob/master/RunnerModule/Modules/normalize_tables.bas
And then used in runner-enige
So we can create the lists in the inputs workbook...

Functions to live in runner-engine as they are too specific to Runner-Engine:
Function getMatchingTables(baseName As String, WB As Workbook) As Collection
    If WB Is Nothing Then Set WB = ThisWorkbook

    Set getMatchingTables = New Collection
    Dim TableName As Variant
    For Each TableName In getAllTables(WB)
        If matchBaseNameAndUnderscoreNumeric(CStr(TableName), baseName) Then
            getMatchingTables.Add TableName
        End If
    Next TableName

End Function

Private Sub testMatchBaseName()
    Debug.Print matchBaseNameAndUnderscoreNumeric("variables", "Variables"), True
    Debug.Print matchBaseNameAndUnderscoreNumeric("variables_", "Variables"), False
    Debug.Print matchBaseNameAndUnderscoreNumeric("variables_1", "Variables"), True
    Debug.Print matchBaseNameAndUnderscoreNumeric("variables_2", "Variables"), True
    Debug.Print matchBaseNameAndUnderscoreNumeric("variables_100", "Variables"), True
    Debug.Print matchBaseNameAndUnderscoreNumeric("variables_100e", "Variables"), False
End Sub

Function matchBaseNameAndUnderscoreNumeric(Name As String, baseName As String) As Boolean

    matchBaseNameAndUnderscoreNumeric = LCase(Name) = LCase(baseName) Or _
           (startsWith(LCase(Name), LCase(baseName)) And _
                Mid(Name, Len(baseName) + 1, 1) = "_" And _
                IsNumeric(Mid(Name, Len(baseName) + 2)))
End Function

Sub allocateTableColumnToArray(TableDicts As Collection, ColumnName As String, arrToAllocate As Variant)
    Dim arr() As Variant
    arr = tableColumnToArray(TableDicts, ColumnName)
    ReDim arrToAllocate(UBound(arr))
    Dim I As Long
    For I = LBound(arr) To UBound(arr)
        arrToAllocate(I) = arr(I)
    Next I
End Sub


GS1-128 images are cut-off

We're losing some pixels on the left and some pixels on the right. The payload and image are correct and match, but the number [superficially] looks off.
We're using 0.15.1 (the latest version).
We're using ImageWriter to render. There doesn't seem to be a quick solution to mitigate this given the supported parameters. Any suggestions?

GS1-128, sorry. This seems like the simplest possible payload that i have seen for this mode/class, so maybe the extra parentheticals usually result in freeing up more space at the bottom.

Also, what are "guards" and what does packed() do and/or how to use it?


"Start with Slide/Scroll off" does not work

I have checked "Start with Slide/Scroll off" and verified it is set in the profile XML
<StartTouchpadOff>True</StartTouchpadOff>

However, the touch pad always starts on.
I have 3 profiles, each set like this. I disable the touchpad with PS+Touchpad hotkey and switch profile - the touchpad works again.

So it doesn't I'll look into why that is.


Anomaly detection of road segments

Example:
https://anyway-newsflash-infographics.web.app/newsflash/15305

Zscore method, used for cities, seems to work here as well, and with a lower threshold.
Committed to
https://github.com/asyaf/anyway-data-science/blob/master/learning_notebooks/filter_road_segment_outliers.ipynb


Update swagger.yaml

What is the problem this PR solves?
Typo at the end of the file
Checklist:

[x] The swagger.yaml doc has been updated with any required changes
[x] The openapi.yaml doc has been updated with any required changes

Signing did work for https://github.com/openservicebrokerapi/servicebroker/pull/754, though, so not sure what's going on

/easycla

Thanks @DerrickLFX!
Bypassing 3 approving reviews requirement as this PR just fixes a mispelling.


预加载preload如何只获取关联表的记录条数count,而不是所有记录

Your issue may already be reported! Please search on the issue track before creating one.
What version of Go are you using (go version)?
1.13
Which database and its version are you using?
mysql8
Please provide a complete runnable program to reproduce your issue. IMPORTANT
现在预加载只能获取关联表的所有记录，如何只获取关联表的记录条数
Need to runnable with GORM's docker compose config or please provides your config.
package main

import (
	"github.com/jinzhu/gorm"
	_ "github.com/jinzhu/gorm/dialects/mssql"
	_ "github.com/jinzhu/gorm/dialects/mysql"
	_ "github.com/jinzhu/gorm/dialects/postgres"
	_ "github.com/jinzhu/gorm/dialects/sqlite"
)

var db *gorm.DB

func init() {
	var err error
	db, err = gorm.Open("sqlite3", "test.db")
	// db, err = gorm.Open("postgres", "user=gorm password=gorm DB.name=gorm port=9920 sslmode=disable")
	// db, err = gorm.Open("mysql", "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True")
	// db, err = gorm.Open("mssql", "sqlserver://gorm:LoremIpsum86@localhost:9930?database=gorm")
	if err != nil {
		panic(err)
	}
	db.LogMode(true)
}

func main() {
	if /* failure condition */ {
		fmt.Println("failed")
	} else {
		fmt.Println("success")
	}
}

Maybe you can read the documentation

I know this, this will cause problem n+1

@crusj 请问你是怎么解决的？


Custom Server Version Selection

While the majority of the server options are available to be picked by the customer using custom fields, there doesn't seem to be a way to offer the option for customers to choose their preferred server version.

Is this not what variables are for?

From testing, no environment variables have worked.  Any chance you could explain how I would go about this?

You would need a custom image and a start script that uses the variable if you want them to be able to change versions on start.

This is already possible with overwriting the variables/egg_id the server deploys with as mentioned above. Configuration issues should also go to the Pterodactyl Discord mentioned in the README over GitHub issues.


How to avoid fork bombs?

hello, is it possible to prevent fork bombs gracefully without affecting other user sessions?

I believe resource-limiting preferences in the docker config itself is the way to do this. Right, @rgbkrk?

This can be set with some of the Docker daemon configuration (--default-ulimit=[] , see https://docs.docker.com/reference/commandline/daemon/). As for per container limits on the number of processes, tmpnb would need some ulimits in the container config.

@minrk @rgbkrk Thanks. Will let you know.


Set minimum supported PHP version

From https://github.com/laravel/framework/blob/v6.0.0/composer.json#L18

Is this needed when illuminate/database (a dependency) has a PHP version specified?
https://github.com/laravel/framework/blob/v6.0.0/src/Illuminate/Database/composer.json#L18

Not, but informs the user.

That's reasonable.


Add setup.py installer

Installing as a Python package will allow:

Distributing production builds (concat & minified) of the JS/CSS files and any production optimizations for the other static assets.
Allow salt-api to programmatically detect salt-ui installation, location, and to verify on the version number.
Give flexibility to override salt-ui assets by placing files in the normal /src/salt directory.

This repo is deprecated and archived. Therefore, this issue is now closed. Thank you.


swift run maskrcnn convert model_name fails with input shapes mismatch error

ValueError: Dimension 0 in both shapes must be equal, but are 7 and 64. Shapes are [7,7,1,64] and [64,3,7,7]. for 'Assign' (op: 'Assign') with input shapes: [7,7,1,64], [64,3,7,7]
Model trained with the following settings:
Configurations:
BACKBONE                       resnet101
BACKBONE_STRIDES               [4, 8, 16, 32, 64]
BATCH_SIZE                     1
BBOX_STD_DEV                   [0.1 0.1 0.2 0.2]
COMPUTE_BACKBONE_SHAPE         None
DETECTION_MAX_INSTANCES        100
DETECTION_MIN_CONFIDENCE       0.9
DETECTION_NMS_THRESHOLD        0.3
FPN_CLASSIF_FC_LAYERS_SIZE     1024
GPU_COUNT                      1
GRADIENT_CLIP_NORM             5.0
IMAGES_PER_GPU                 1
IMAGE_CHANNEL_COUNT            3
IMAGE_MAX_DIM                  1024
IMAGE_META_SIZE                14
IMAGE_MIN_DIM                  800
IMAGE_MIN_SCALE                0
IMAGE_RESIZE_MODE              square
IMAGE_SHAPE                    [1024 1024    3]
LEARNING_MOMENTUM              0.9
LEARNING_RATE                  0.001
LOSS_WEIGHTS                   {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0}
MASK_POOL_SIZE                 14
MASK_SHAPE                     [28, 28]
MAX_GT_INSTANCES               100
MEAN_PIXEL                     [123.7 116.8 103.9]
MINI_MASK_SHAPE                (56, 56)
NAME                           model_name
NUM_CLASSES                    2
POOL_SIZE                      7
POST_NMS_ROIS_INFERENCE        1000
POST_NMS_ROIS_TRAINING         2000
PRE_NMS_LIMIT                  6000
ROI_POSITIVE_RATIO             0.33
RPN_ANCHOR_RATIOS              [0.5, 1, 2]
RPN_ANCHOR_SCALES              (32, 64, 128, 256, 512)
RPN_ANCHOR_STRIDE              1
RPN_BBOX_STD_DEV               [0.1 0.1 0.2 0.2]
RPN_NMS_THRESHOLD              0.7
RPN_TRAIN_ANCHORS_PER_IMAGE    256
STEPS_PER_EPOCH                100
TOP_DOWN_PYRAMID_SIZE          256
TRAIN_BN                       False
TRAIN_ROIS_PER_IMAGE           200
USE_MINI_MASK                  True
USE_RPN_ROIS                   True
VALIDATION_STEPS               50
WEIGHT_DECAY                   0.0001

config.json content
{
    "architecture": "resnet101",
    "input_image_shape": [1024,1024,3],
    "num_classes": 2,
    "pre_nms_max_proposals": 6000,
    "max_proposals": 1000
}

traceback
% swift run maskrcnn convert model_name
Converting 'model_name' model to CoreML.
/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:493: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:494: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:495: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:496: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:497: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:502: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/common_shapes.py", line 686, in _call_cpp_shape_fn_impl
    input_tensors_as_shapes, status)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 473, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: Dimension 0 in both shapes must be equal, but are 7 and 64. Shapes are [7,7,1,64] and [64,3,7,7]. for 'Assign' (op: 'Assign') with input shapes: [7,7,1,64], [64,3,7,7].

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./task.py", line 173, in <module>
    mask_rcnn_model, classifier_model, mask_model, anchors = model.get_trained_keras_models()
  File "/usr/local/lib/python3.6/site-packages/maskrcnn/model.py", line 211, in get_trained_keras_models
    mask_rcnn_model.load_weights(self.initial_keras_weights, by_name=True)
  File "/usr/local/lib/python3.6/site-packages/keras/engine/topology.py", line 2664, in load_weights
    reshape=reshape)
  File "/usr/local/lib/python3.6/site-packages/keras/engine/topology.py", line 3479, in load_weights_from_hdf5_group_by_name
    K.batch_set_value(weight_value_tuples)
  File "/usr/local/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 2372, in batch_set_value
    assign_op = x.assign(assign_placeholder)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 594, in assign
    return state_ops.assign(self._variable, value, use_locking=use_locking)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/ops/state_ops.py", line 276, in assign
    validate_shape=validate_shape)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/ops/gen_state_ops.py", line 59, in assign
    use_locking=use_locking, name=name)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3162, in create_op
    compute_device=compute_device)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3208, in _create_op_helper
    set_shapes_for_outputs(op)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2427, in set_shapes_for_outputs
    return _set_shapes_for_outputs(op)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2400, in _set_shapes_for_outputs
    shapes = shape_func(op)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2330, in call_with_requiring
    return call_cpp_shape_fn(op, require_shape_fn=True)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/common_shapes.py", line 627, in call_cpp_shape_fn
    require_shape_fn)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/common_shapes.py", line 691, in _call_cpp_shape_fn_impl
    raise ValueError(err.message)
ValueError: Dimension 0 in both shapes must be equal, but are 7 and 64. Shapes are [7,7,1,64] and [64,3,7,7]. for 'Assign' (op: 'Assign') with input shapes: [7,7,1,64], [64,3,7,7].

Any hints to what's wrong? At the first glance it would seem that the columns of the input shape are reversed. It would also seem that a 1-channel label image I trained the model with is mismatched with the 3-channel expectation.


Fix clippy issues

Signed-off-by: Breezewish<EMAIL_ADDRESS>
What have you changed?
Previously the lint in our CI is not run because commands are ended with || true for reasons I don't know, which simply ignores these errors. Now the lint error is totally reported and we have to fix these lint errors.
What is the type of the changes?

Engineering (engineering change which doesn't change any feature or fix any issue)

How is the PR tested?

Unit test

/test

/test

Failed because of unstable test test_replica_read::test_read_after_cleanup_range_for_snap

/test


Update all images so tzdata is up to date

Right now the tz database is out of date, which is providing incorrect values when the images run. Using the TZ env var or informing the capability to the driver ends up starting the browser in a correct time zone, but an incorrect time.
An update to the tz package works, I've tested it against the Chrome 76 image, so I guess the base image needs an update, and then the leaf images need to update too.

This is the output after running the update. The command was ran at ~12:18 São Paulo time. The images are up to date.
$:/docker/selenoid$ docker run --rm -ti -e TZ=America/Sao_Paulo --entrypoint date temp
Wed Nov  6 12:18:57 -03 2019
$:/docker/selenoid$ docker run --rm -ti -e TZ=America/Sao_Paulo --entrypoint date selenoid/vnc:chrome_78.0
Wed Nov  6 13:19:06 -02 2019
$:/docker/selenoid$ docker run --rm -ti -e TZ=America/Sao_Paulo --entrypoint date selenoid/vnc:chrome_76.0
Wed Nov  6 13:19:10 -02 2019

This is the Dockefile for the temp image:
FROM selenoid/vnc:chrome_76.0
USER root
RUN apt update
RUN apt upgrade -y tzdata


Unable to build the Ionide project locally

Hi @ionide team
I've been trying to get this plugin built locally but I run into the following error on running Fake build in VsCode.
Cannot open assembly '.paket/paket.bootstrapper.exe': No such file or directory.

I've made sure to run Paket install before I tried building this.
I've raised this issue since the DEVGUIDE wasn't really informative.

Well, .paket/paket.bootstraper.exe file is clearly in repo - https://github.com/ionide/ionide-vscode-fsharp/tree/master/.paket. Make sure it was not removed by any anti-virus software or something like that.

Oh, silly of me using the downloaded zip from master. This time I cloned it and ran the ./build.sh Build but it runs into the following error.
./build.sh Build
Checking Paket version (downloading latest stable)...
Paket.exe 3.35.1 is up to date.
Paket version 3.35.1
3 seconds - ready.
Building project with version: LocalBuild
Shortened DependencyGraph for Target Build:
<== Build
   <== CopySchemas
      <== CopyGrammar
         <== CopyForge
            <== CopyFSAC
               <== RunScript
                  <== Clean

The resulting target order is:
 - Clean
 - RunScript
 - CopyFSAC
 - CopyForge
 - CopyGrammar
 - CopySchemas
 - Build
Starting Target: Clean
Deleting contents of ./temp
Finished Target: Clean
Starting Target: RunScript (==> Clean, Clean)
npm install
npm run build

><EMAIL_ADDRESS>prebuild /Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/release
> npm update

><EMAIL_ADDRESS>build /Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/release
> fable ../src/Ionide.FSharp.fsproj -s -o ../release -m commonjs --verbose

Fable F# to JS compiler version 0.6.15

PROJECT FILE: /Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Ionide.FSharp.fsproj
OUTPUT DIR: /Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/release
WORKING DIR: /Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src

FABLE COMMAND: mono /Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/release/node_modules/fable-compiler/bin/Fable.Client.Node.exe --projFile Ionide.FSharp.fsproj --copyExt true

fable-compiler 0.6.15: Start compilation...

F# COMPILER OPTIONS:
--define:FABLE_COMPILER
--simpleresolution
--noframework
--out:/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/bin/Debug/Ionide.FSharp.dll
--fullpaths
--flaterrors
--target:library
--define:DEBUG
--debug+
--optimize-
--tailcalls-
--debug:full
--platform:anycpu
-r:../release/node_modules/fable-core/Fable.Core.dll
-r:/Library/Frameworks/Mono.framework/Versions/4.6.2/lib/mono/4.5-api/mscorlib.dll
-r:/Library/Frameworks/Mono.framework/Versions/4.6.2/lib/mono/gac/FSharp.Core/<IP_ADDRESS>__b03f5f7f11d50a3a/FSharp.Core.dll
-r:/Library/Frameworks/Mono.framework/Versions/4.6.2/lib/mono/4.5-api/System.dll
-r:/Library/Frameworks/Mono.framework/Versions/4.6.2/lib/mono/4.5-api/System.Numerics.dll
-r:/Library/Frameworks/Mono.framework/Versions/4.6.2/lib/mono/4.5-api/System.Core.dll
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/../paket-files/Ionide/ionide-vscode-helpers/Fable.Import.VSCode.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/../paket-files/Ionide/ionide-vscode-helpers/Helpers.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/../paket-files/Ionide/ionide-vscode-helpers/Fable.Import.Axios.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/../paket-files/Ionide/ionide-vscode-helpers/Fable.Import.ws.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Core/Logging.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Core/DTO.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Core/Utils.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Core/LanguageService.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Core/Project.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Errors.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Tooltip.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Autocomplete.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/ParameterHints.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Definition.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/References.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Highlights.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Symbols.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Rename.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/WorkspaceSymbols.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Environment.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Fsi.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/LegacyFsi.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/QuickInfo.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/WebPreview.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Forge.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Linter.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/CodeLens.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/QuickFix.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/ResolveNamespaces.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/UnionCaseGenerator.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Expecto.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/MSBuild.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/Components/Help.fs
/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/src/fsharp.fs

Compiled Helpers-114701263.fs at 4:21:27 PM
Compiled Logging.fs at 4:21:27 PM
Compiled DTO.fs at 4:21:28 PM
Compiled Utils.fs at 4:21:28 PM
Compiled LanguageService.fs at 4:21:29 PM
Compiled Project.fs at 4:21:29 PM
Compiled Errors.fs at 4:21:29 PM
Compiled Tooltip.fs at 4:21:30 PM
Compiled Autocomplete.fs at 4:21:30 PM
Compiled ParameterHints.fs at 4:21:30 PM
Compiled Definition.fs at 4:21:30 PM
Compiled References.fs at 4:21:30 PM
Compiled Highlights.fs at 4:21:30 PM
Compiled Symbols.fs at 4:21:30 PM
Compiled Rename.fs at 4:21:30 PM
Compiled WorkspaceSymbols.fs at 4:21:30 PM
Compiled Environment.fs at 4:21:31 PM
Compiled Fsi.fs at 4:21:31 PM
Compiled LegacyFsi.fs at 4:21:31 PM
Compiled QuickInfo.fs at 4:21:31 PM
Compiled WebPreview.fs at 4:21:32 PM
Compiled Forge.fs at 4:21:33 PM
Compiled Linter.fs at 4:21:33 PM
Compiled CodeLens.fs at 4:21:33 PM
Compiled QuickFix.fs at 4:21:33 PM
Compiled ResolveNamespaces.fs at 4:21:33 PM
Compiled UnionCaseGenerator.fs at 4:21:33 PM
Compiled Expecto.fs at 4:21:35 PM
Compiled MSBuild.fs at 4:21:35 PM
Compiled Help.fs at 4:21:35 PM
Compiled fsharp.fs at 4:21:35 PM
Finished Target: RunScript
Starting Target: CopyFSAC (==> RunScript)
Deleting contents of release/bin
Finished Target: CopyFSAC
Starting Target: CopyForge (==> CopyFSAC)
Deleting contents of release/bin_forge
Running build failed.
Error:
System.IO.FileNotFoundException: File paket-files/github.com/fsharp-editing/Forge/temp/bin/Forge.exe does not exist.
  at Fake.FileSystemHelper.checkFileExists (System.String fileName) [0x00029] in <587e3770ccf1c534a745038370377e58>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Core.Unit _arg1) [0x0003d] in <05e642d3303041b7a65d24857a637d26>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Core.Unit unitVar0) [0x00001] in <587e3770ccf1c534a745038370377e58>:0
  at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x00040] in <587e3770ccf1c534a745038370377e58>:0

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target      Duration
------      --------
Clean       00:00:00.0051336
RunScript   00:00:34.3931133
CopyFSAC    00:00:00.0055806
Total:      00:00:34.4536623
Status:     Failure
---------------------------------------------------------------------
  1) System.IO.FileNotFoundException: File paket-files/github.com/fsharp-editing/Forge/temp/bin/Forge.exe does not exist.
  at Fake.FileSystemHelper.checkFileExists (System.String fileName) [0x00029] in <587e3770ccf1c534a745038370377e58>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Core.Unit _arg1) [0x0003d] in <05e642d3303041b7a65d24857a637d26>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Core.Unit unitVar0) [0x00001] in <587e3770ccf1c534a745038370377e58>:0
  at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x00040] in <587e3770ccf1c534a745038370377e58>:0
---------------------------------------------------------------------

ionide-vscode-fsharp git/develop  57s
❯

Looks like for some reason Forge was not built by Paket... Hmmm....
Try removing packages and paket-files folders and running ./build.sh Build again

There's an issue with the build, it's not responsive at all.
ionide-vscode-fsharp git/develop
❯ ./build.sh Build
Checking Paket version (downloading latest stable)...
Paket.exe 3.35.1 is up to date.
Paket version 3.35.1
Setting /Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/paket-files/github.com/fsharp-editing/Forge to 9f1c283712e6864589dae07a3ce91ce8982283dc
Running "/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/paket-files/github.com/fsharp-editing/Forge/build.sh Build"
Setting /Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/paket-files/github.com/ionide/FsAutoComplete to 0aac468dabb0797ac3ae81d1cec75ba135e2c076
Running "/Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/paket-files/github.com/ionide/FsAutoComplete/build.sh LocalRelease"
Setting /Users/eklavya/Projects/Amsterdam/ForMAL-VSCode/ionide-vscode-fsharp/paket-files/github.com/ionide/ionide-fsgrammar to 16d4cc8cb0224d8861a7b48107ac102e3f51579a

It's not supposed to take long is it?

I think it may take quite a while ( but definitely less than 5 minutes)

Let me try it out again during the evening,  when the net is up high.
As an aside,  could you tell me how much is F# hard baked into the plug in or could I use Ionide to write generic plug-ins instead of TypeScript.

As an aside, could you tell me how much is F# hard baked into the plug in or could I use Ionide to write generic plug-ins instead of TypeScript.

You can use Fable (F# -> JS compiler) to create VSCode plugins just like Ionide does.
I have written blog post about it (It's bit outdated) - http://kcieslak.io/Creating-VS-Code-plugins-with-F-and-Fable
Hello world demo of VSCode plugin written in F# - https://github.com/Krzysztof-Cieslak/vscode-fable-demo

A helpful starting point -  Thanks!
Will report back later,  regarding the local setup for Ionide.


Convert default projectors to list

resolves #2016

This depends on https://github.com/OpenSlides/openslides-backend/pull/1619


Cannot create an application that builds using vue-cli

Version
2.9.6
Node and OS info
Node v8.11.3 / npm 5.6.0 / vue-cli 2.9.6 / Windows 10 x64
Steps to reproduce
Note: this issue happens with v2.9.6 but that wasn't an option in the version list.
To recreate I ran "vue create ui-vue". I select the standard features (babel, eslint). The issue also happens if I select manual options, no matter what manual options I select.
One the process finishes, I enter the directory ("cd ui-vue") and then run the build ("npm run build")
What is expected?
Build should complete successfully
What is actually happening?
Error:
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
TypeError: this[NS] is not a function
    at childCompiler.runAsChild (C:\users\SeanK\Repositories\BDEasy\src\ui-vue\node_modules\mini-css-extract-plugin\dist\loader.js:148:15)

The old vue-cli package (version2.x) doesn't have the create command, but the new @vue/cli package (version 3.0) does. So I don't really understand what you are doing.

@Akyrum I'm trying to get started with a vue app from the CLI following what I think is the recommended wizard.
Running npm view vue-cli version returns 2.9.6. are you saying that vue-cli does not have the create command until 3.0? If so, I'm pretty confused too.

Ah I see -- I may be referencing the wrong package version above. Also possible that I have vue-cli and @vue/cli conflicting. I'll spin up a fresh node install and see if I can recreate with only @vud/cli installed.

I figured out what that particular issue was, but the problem still exists.
Ihad competing versions of node installed on my system and one was incorrectly taking precedence, thus using an old/incorrect package for the vue command.
Steps to resolve the conflicting versions of node:

Run nvm list and uninstall all versions
Run vue. Notice that it was still apparently installed.
Check my chocolatey packages via choco list -lo
Notice that nodejs and yarn were apparently installed that way, not sure why
Uninstall them via chocolatey.
Verify that node will not run and appears to be uninstalled.
Reinstall node v8.11.3 via nvm and select it via 'nvm use 8.11.3`
Verify that the vue command is not available

So, at that point, I have a fresh install of node 8.11.3 via nvm, with npm 5.6.0.

Run npm install -g @vue/cli
Run vue create ui-vue
Select manual options (I also then tried with standard options, etc.)
Select all options except ui tests

My output is below:
Please pick a preset: Manually select features
? Check the features needed for your project: Babel, TS, PWA, Router, Vuex, CSS Pre-processors, Linter, Unit
? Use class-style component syntax? Yes
? Use Babel alongside TypeScript for auto-detected polyfills? Yes
? Use history mode for router? (Requires proper server setup for index fallback in production) No
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default): SCSS/SASS
? Pick a linter / formatter config: TSLint
? Pick additional lint features: Lint on save
? Pick a unit testing solution: Mocha
? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In dedicated config files
? Save this as a preset for future projects? No

The folder is created and things complete.
I run npm install. It completes.
I run npm run build .

I see:

error  in ./src/App.vue?vue&type=style&index=0&lang=scss&
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
TypeError: this[NS] is not a function

I then also tried explicitly installing the services, just to be sure:

npm install -g @vue/cli-service-global

I then repeated the process. Still no luck.
I also attempted to select the "standard" option (babel, eslint). I also received the same result.
I will record my screen to ensure I'm not missing anything in my reproduction.

Here is an animated gif of me going through the whole process, so that you can see all the version numbers, what I select, and anything else I do throughout the whole process. Hoping I'm doing something silly.

@SeanKilleen I had the same situation. Using cmd instead of powershell solved it.

@vpeti you appear to be correct -- using cmd.exe, I am able to run npm run build without error.
I'm not sure what the difference is here. I consider it a viable workaround, but given that all my consoles default to powershell in Win10, I'd love to know if there's anything that can be done to fix this piece for those using a powershell console on Windows.

So according to https://github.com/vuejs/vue-cli/issues/1775#issuecomment-416644185
It seems to be an upstream issue in mini-css-extract-plugin: https://github.com/webpack-contrib/mini-css-extract-plugin/issues/73

Hi, I resolved it, I deleted "node_modules" and wrote "npm install" again. That works for me.

Hi, i find another solved about this problem:
1- remove vue-cli from terminal:
npm uninstall vue-cli -g   or  yarn global remove vue-cli
2- add owner  in local (write in terminal) :
whoami ,look ...the name now shows like this john note: john name is fake , don't forget that ;)
3-  write in terminal:
sudo chown -R john /usr/local/
4-You are asked password Password: now you don't see password ..  don't worry  ;)
go ahead write password
5- write in teminal: ls -la /usr/local/lib/node_modules/
now .. added owner new in local (like this): drwxr-xr-x   5 john  wheel  160 Jul 22 20:29
6- now can you add vue cli in terminal: npm install -g @vue/cli
7- in final, can you create project like this: vue create hello-world

This seems to be outdated and resolved upstream


Upgrade Winston to 1.0.0

@bithavoc, I finally got around to trying this out (re #74), and everything passes - so either we're cool, or we're missing some tests.
I don't really have time to poke and prod, so maybe we should just call this 0.4.0 and wait for people to start yelling if there's a problem...?

No other way to do it

Is that a question or a statement?

No, this is what major versions are for, we follow semver.org and everybody who is smart enough to use this library should have added minor or patch revisions wildcards in package.json
What we should do is branch and keep maintaining both 0.3 and 1.0 branches.
How does that sounds?

Sounds great.

Allright, let's add instructions to the readme explaining 1.0 and 0.3 requirements and merge this 1.0 branch into master

This make sense?

should be: 0.3.x which is our current stable.
newcomers should use our latest 1.0 as this: 1.x

Sooooooo...

Newcomers should start with the latest branch which makes use of winston v1.x.x:
npm install express-winston

If you're already using express-winston, and want to stick with the stable version based on winston 0.9.x, you should instead do:
npm install<EMAIL_ADDRESS>

...?

yep, like this:
npm install<EMAIL_ADDRESS>--save

Anything blocking this merge? :) If so, I'd be happy to help! Thanks.

I can't honestly remember.  I'll try to find a moment in the next little while to double-check and get back to you.

Thanks, no hurry! I just integrated it and since I'm using my own winstonInstance this isn't a showstopper as I thought it would be. Works great, good job! :+1:

I remember what the issues were:

need to create 0.x and 1.x branches so we can keep going on both
small children take up a lot of time

I'll try to get this done in the next couple of days.

@floatingLomas, any chance you could get this done this week? Otherwise let me know, I'm needing this now.

Done.  Sorry for the delay, folks.
@bithavoc, can you change the default Github branch to 1.x instead of master?


New Example of using Angular 2 with API Pokemon

Hello,
Here I resubmit the PR with the changes indicated by Vessa.
Excuse me previously did not read the documentation Guidance Contribution
Regards

Hi @AdrianDiaz81, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Sorry Adrian for the delay, we'll start processing these more detailed next week (24th of Oct forward)

Hi Adrian,
this is great sample. We do like the simplicity and the polished look and feel for the presentation. We are however working currently with Angular team on getting the Angular2 guidance up to date and verified related on the SPFx. That's where the angular2-prototype is coming - https://github.com/SharePoint/sp-dev-fx-webparts/tree/dev/samples/angular2-prototype.
Due the on-going work on making this supported property (multiple instances on one page), we won't be however merging this one in for now. This is a great sample and provides value with release candidate libraries, but we try get first our story built with Angular team members for Angular2 and then we can start including more and more samples around that.
Hoping to however see additional contributions in the future as well, which would be using official Angular2 version when the needed work on our side is finished. Alternative could be that we keep this open until we get the discussion ended, but would rather close this now and then you can resubmit the sample with updated setup when we get our guidance available.
Absolutely open for comments and feedback around this decision, since obviously we don't want to decline submissions from active community members for nothing. I'll close this one now, but happy to continue discussion and keep you up to date on the Angular2 progress on our side.

It seems perfect Vesa.
Once this list continuously Style Guide and contributing adapting the examples implemented


Something wrong caused by missing 'secret.js'

@unamelcs You should create a file which names 'secret.js' in the root directory of this project. Thank you for your feedback.😄

@unamelcs You should create a file which names 'secret.js' in the root directory of this project. Thank you for your feedback.😄
Got it . I'd assumed you forgot to submit it .

@unamelcs You should create a file which names 'secret.js' in the root directory of this project. Thank you for your feedback.😄
Got it . I'd assumed you forgot to submit it .

👍


Prepare docs for runtime 2.x

Changes should only be merged once openlayers base components have been released with support for @open-pioneer/runtime 2.x

Openlayers base components have been released with support for @open-pioneer/runtime 2.x and the starter repository is updated to use the newly released base components with this PR.


[Bug] SDK Python tests fails when running using cli.sh

Describe the bug
When running the SDK python tests using cli.sh the test raises a Value error ValueError: Level 'PYTHON_TEST' does not exist . This is observed using test harness version v2.10+spring2024.
Steps to reproduce the behavior
The error can be observed be running the following command on the test harness (version v2.10+spring2024)

Make the DUT in commissioning mode Eg. Run all-cluster-app, lighting app or any other application.
./cli.sh run-tests --project-id 1 -s '{"SDK Python Tests":{"Python Testing Suite":{"TC_ACE_1_3":1}}}'

Expected behavior
Creating new test run with title: 2024-06-13-13:13:28
Starting Test run: Title: 2024-06-13-13:13:28, id: 18
Test Run [EXECUTING]
  - Python Testing Suite [EXECUTING]
=======================================
Make sure the DUT is in Commissioning Mode
  1: DONE
  2: FAILED
Please enter a number for an option above:
1
=======================================
      - TC-ACE-1.3 [EXECUTING]
            - Start Python test [EXECUTING]
Traceback (most recent call last):
  File "/home/ubuntu/certification-tool/cli/app/main.py", line 47, in <module>
    root()
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/certification-tool-cli-Bd4yKGBQ-py3.10/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/certification-tool-cli-Bd4yKGBQ-py3.10/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/certification-tool-cli-Bd4yKGBQ-py3.10/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/certification-tool-cli-Bd4yKGBQ-py3.10/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/certification-tool-cli-Bd4yKGBQ-py3.10/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/ubuntu/certification-tool/cli/app/async_cmd.py", line 28, in wrapper
    return asyncio.run(f(*args, **kwargs))
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/ubuntu/certification-tool/cli/app/commands/run_tests.py", line 65, in run_tests
    await socket_task
  File "/home/ubuntu/certification-tool/cli/app/test_run/websocket.py", line 71, in connect_websocket
    await self.__handle_incoming_socket_message(socket=socket, message=message_obj)
  File "/home/ubuntu/certification-tool/cli/app/test_run/websocket.py", line 82, in __handle_incoming_socket_message
    self.__handle_log_record(message.payload)
  File "/home/ubuntu/certification-tool/cli/app/test_run/websocket.py", line 128, in __handle_log_record
    logger.log(record.level, record.message)
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/certification-tool-cli-Bd4yKGBQ-py3.10/lib/python3.10/site-packages/loguru/_logger.py", line 1997, in log
    __self._log(level_id, static_level_no, False, __self._options, __message, args, kwargs)
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/certification-tool-cli-Bd4yKGBQ-py3.10/lib/python3.10/site-packages/loguru/_logger.py", line 1886, in _log
    raise ValueError("Level '%s' does not exist" % level_id) from None
ValueError: Level 'PYTHON_TEST' does not exist

Log files
No response
PICS file
No response
Screenshots
No response
Environment
No response
Additional Information
The fix is to add the following lines in cli/app/test_run/logging.py
# Add custom logger for python tests
PYTHON_TEST_LEVEL = "PYTHON_TEST"
logger.level(PYTHON_TEST_LEVEL, no=22, icon="🐍", color="<cyan>")

Happy to create a PR for this. Just want to confirm that are the steps to contribute to this repo same as steps mention in the Matter SDK ?

@Kshitijjain21 is this solved?

from what I can tell, issue is fixed and merged via https://github.com/project-chip/certification-tool/issues/492


chore(samples): add custom machine type samples

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

JavaScript implementation of samples from there: https://github.com/GoogleCloudPlatform/golang-samples/tree/main/compute/instances/custom-machine-type

@sofisl updated, could you please take a look once more?


HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/models/runwayml/stable-diffusion-v1-5

Repository Not Found for url: https://huggingface.co/api/models/runwayml/stable-diffusion-v1-5.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password..
Will try to load from local cache.

RunwayML has deleted their models, you can search for other SD 1.5 models on Hugging Face.

Thanks, I'll check that :slightly_smiling_face:

Found wyyadd/sd-1.5 :shrug:


Make list of plots -> subplots

Use Plotly's add_trace instead of Plotly express to plot the timeseries while converting it from a list of plots to one figure with subplots. Plots now share X axis, so zooming in one will also zoom in the others. Fixes #30

@keenanjohnson not sure if you had a look!

@sriki18 @keenanjohnson What do you think about adding a second y-axis to the temperature and pressure plots, so we can see the measurements in different units?
So we would retain the current "scientific/metric" units on the left, then add another axis with alternate units on the right (old-fashioned US/Imperial units).

Temperature: degrees C on the left, and degrees F on the right
Pressure: mbar on the left, and "inches of Hg" on the right

(@keenanjohnson I can help review this PR if I had the permissions to assign myself as reviewer)

Oh sure thing @spestana ! I can add you! Seems like this PR has gone a bit stale if you want to help push it along :)

I can do that, should it be a branch once this branch has been merged? @keenanjohnson @spestana

@sriki18 can you see my comment in the review previously about the read-ability?

@spestana done. Have a look!


enforce usage of RFC3986 predicate types

Summary

Enforce the usage of RFC3986 predicate types when verifying an attestation.
Release Note

Use RFC3986 predicate types
Documentation

ping @vaikas

@ltagliaferri please, help us to review this PR. Thanks :).


Change RBAC management policy to Basic by default

Summary

Change RBAC management policy to Basic by default
Remove the CRD upgrade job (not needed anymore since 1.7)
This is a breaking change

Fixes #39
Checklist

[X] PR contains a single logical change (to build a better changelog).
[X] Update the documentation.
[X] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog.
[X] Link this PR to related issues or PRs.

LGTM overall.
However, this is technically a breaking change. Not sure if we really want to release v3 for this though as I don't know if anyone is actually using the All RBAC management policy..

Yes, that's a good point. What do you think @Kidswiss ?

Yes, that's a good point. What do you think @Kidswiss ?

Not quite sure what the question is here... If we should keep 2.x or go to v3?

Yes, that's a good point. What do you think @Kidswiss ?

Not quite sure what the question is here... If we should keep 2.x or go to v3?

Yes, sorry, that's the question. This PR solves issue #39 and it's a breaking change. There is suggested to create a new version 3, but as no one seems to be using this component yet, doesn't really matter. But for consistency, it might be a good idea to create a new version v3.

Yes, that's a good point. What do you think @Kidswiss ?

Not quite sure what the question is here... If we should keep 2.x or go to v3?

Yes, sorry, that's the question. This PR solves issue #39 and it's a breaking change. There is suggested to create a new version 3, but as no one seems to be using this component yet, doesn't really matter. But for consistency, it might be a good idea to create a new version v3.

Ah I see... I'd still go for consistency, though.

Yes, that's a good point. What do you think @Kidswiss ?

Not quite sure what the question is here... If we should keep 2.x or go to v3?

Yes, sorry, that's the question. This PR solves issue #39 and it's a breaking change. There is suggested to create a new version 3, but as no one seems to be using this RBAC yet, doesn't really matter. But for consistency, it might be a good idea to create a new version v3.

Ah I see... I'd still go for consistency, though.

ok, thank you 👍


Drag + wheel scroll feature

I want to scroll page while dragging element. But while dragging mouse wheel not firing 'scroll' event. How to recreate that feature like in jQuery?
https://jqueryui.com/draggable/#scroll

Confirm. This feature is available in JQuery sortable and very useful when you have large page based on drag and drop interface (like Trello or page builder) and you need to drag elements across the page.

I had the same issue and it seems the dragula library did as well. This may help: https://www.npmjs.com/package/dom-autoscroller.

any updates about that? It's very important in my projects :-(

@TheHollidayInn can you please share your set up code, how exactly you have used this library?

yes, the example given for scroll doesn't work in Chrome :cry:
http://jsbin.com/tutuzeh/edit?html,js,output

Also it is being used in VueDraggable library and there we have the same issue: https://github.com/SortableJS/Vue.Draggable/issues/181

Any news on this issue ? or at least a workaround ?

cant find any workaround too =(

Is this really necessary with the Autoscroll feature?

@Flame2057 i have like 1000 rows that i cant sort, and when I need to drag last item to the top its really a nightmare, scroll and drag will make it super easy

+1 - any news?
This is seems like a pretty logical and mandatory feature ... I'm very happy with this library over jQuery UI - but this might be a deal breaker as we have big draggable/sortable components on a long page that we're using this for, so it's a bit counter-intuitive at the moment.

@wernerbarnard @sergeevpasha @Ikaer @geoidesic It seems that the scroll wheel does work if forceFallback: true is specified in the options. If this option is set to false, as is by default, the browser's native drag and drop will be used, and this is what is preventing the scrollwheel from it's normal functionality.

thanks, that works now =)

Multi-drag feature is a bit buggy if you set forceFallback:true, it randomly deselects item, sometimes you have to do double click, on page load your first try to select will fail 90%.
I have 2 large container and I need to transfer data from each other, so I need both multi-drag and mouse wheel scroll.

@Amir-Ravnjak Try increasing fallbackTolerance a bit.

Increasing fallbackTolerance makes text being selected when you start dragging.

@Amir-Ravnjak I thought on most mobile devices that text is selected after a long touch hold, not by moving the touch. What device are you testing on?

I am testing it on PC and laptop, trying to use it with mousewheel

@Amir-Ravnjak All I can think of now is for you to set user-select: none on the items. This can maybe be solved in a future update.

Hello, is the drag problem with mouse wheel solved? I use native drag html5 but I can't get it to work with mouse wheel

Past 5 years, but it doesn`t work yet :(

for standard DnD I found it's better to introduce a "move seleted items here" menu on right click

On a demo page http://sortablejs.github.io/Sortable/ I'm able to drag and automatically scroll down the page. Closing the issue

Just tested it again in Brave, Opera, Edge, Chromium and Firefox, and is not working. Tested on Windows 11, last versions of these browsers.
Steps to reproduce:

Start dragging an element
while still dragging try to scroll the page
the page will not scroll

Facing the same issue. Any work-a-rounds?

If this plugin is working with native HTML5 Drag I don't think it's possible to do Scroll when dragging an element. This drag must be changed to one executed by Javascript and is not native to HTML5

I am facing the same issue, please reopen the issue.

This feature is not even working in demo reopen please

I managed to allow browser scrolling while dragging and also solved the problem with text selection by creating a simple workaroud.
Setting forceFallback to true is the key part, although it can mess with some scroll behaviour on edges of the screen - but it's a minor issue.
I defined a class that will prevent users from selecting the text - and then dynamically add and remove this class from the <body> tag inside onStart and onEnd callbacks.
Example with working browser scroll and no text selection while dragging:
<style>
      .no-select {
          user-select: none;
          -moz-user-select: none;
          -webkit-user-select: none;
          -ms-user-select: none;
      }
</style>
<script>
    new Sortable(container, {
        animation: 150,
        forceFallback: true,
        onStart: function () {
            document.body.classList.add('no-select');
        },
        onEnd: function () {
            document.body.classList.remove('no-select');
        }
    });
</script>

+1 facing the same issue... reopening this ticket would be appreciated


Feature/Add example notebook

The implementations used in this notebook are also used in the paper as figures.
Additionally, I refactored the outputs of the carla package to the main classes.

Hmm is this .py version of a notebook displayed as a notebook in github?
While my research for recourse methods on their repositories, such examples where always .ipynb and could be visualized by Github as notebooks.


Updated README.md

Add description, installation guide, screenshots and contribution info

Can #1 be closed then ?

I think we can still add a Thanks to all contributors section like this one

Okay, will look into it and try to implement when I am free

Alright! Whenever you get time.


Titles captions -- minor edits and updates.

this PR builds upon #44

this pr also addresses issue #52 where the pytest too many plots are open pops up. this is because plots aren't closed after each test and thus build up in memory!
also addresses #44

important: plottester doesn't seem to work as i would expect on subplots. how should we handle subplots? i may create a new issue as this does open up a can of worms potentially.


Puts checks in place where values might be missing

Resolves #17 - apparently for some municipalities the biome value might be missing (applied the same check to state)

@tiagojsag looks good to merge?

looks like it, yes


Fix/issue 380 Type is not a subtype of type

Description

Checklist

[ x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ x] I have followed the Contributor Guide when preparing my PR.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples or docs.

Breaking Change?

[ ] Yes, this PR is a breaking change.
[ x] No, this PR is not a breaking change.

Related Issues

Closes #380

@AlexisDRAUD  there seems to be formatting issue in file _internal_week_view_page.
can you please check and make sure the github checks are passed successfully.

Closing this as it will be merged with #407


feat: html panel for description view

Description

Added Html Webview.
Deleted old description views.
CSS Styles are loaded from env colors.

Dark:

Blue:

Light:

Checklist

[ ] Tests added and all succeed
[ ] Linted
[ ] CHANGELOG.md updated
[ ] README.md updated, if user-facing

Screenshots / GIFs
Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!

Looks great!


[Elasticsearch] Certificate rotation

I have an elasticsearch cluster, with kubedb generated TLS certificates, which expired.
Is there a way rotate them (preferably without creating them manually)?

This issue has been resolved in KubeDB release v2021.03.17 . Please open a new bug if you still see this issue.


Get or refresh token from /.auth/ require a setting

@jhauray commented on Mon Mar 02 2020
It could be interesting to precise that using /.auth/me and /.auth/refresh endpoints, require to enable Token store option, in Web App>Authentication settings.

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

ID: d4518495-4e07-ce2e-4045-5a50b7922b55
Version Independent ID: 034d1ba0-a737-21ab-3717-ed8798ac5fe1
Content: Advanced usage of AuthN/AuthO - Azure App Service
Content Source: articles/app-service/app-service-authentication-how-to.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@srvbpigh commented on Mon Mar 02 2020
Hello, @jhauray
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

@CeciAc , Thank you for your feedback. We will investigate and get back to you shortly.

@cephalin Could you please review this thread and see if we can add the detail in the article that  using /.auth/me and /.auth/refresh endpoints, require to enable Token store option, in Web App>Authentication settings as shown below.

Thank you.

Updated. #please-close


Question: Should I do it the Redux style or not?

Hi,
I am working on a very big swift project and use ReSwift heavily in it. I always ask myself questions regarding: should I do it the redux style or not and I will explain:
In one of my screens I have a more options button which located on my navigation bar. When I press it the app present an action sheet (UIAlertController) to the user. The list of options which are available inside this action sheet are being calculated inside the reducer and my state contains an array of the list of more options (I use enum). I decided to it this way because this list can be changed according to the item status. So my state look like this:
struct ItemDetailState : StateType {
    ...
    var moreOptions : [ItemDetailsMoreOptions] // more options that can be taken on an item
}

And when the user click on the more options button I build the UIAlertController dynamically from this list. Everything works as expected without any issues.
Now my indecision is what to do with presenting this action sheet. I have 2 options:

When the user click on the more options button I simply present it inside my @IBAction function (the "classic way")

    @IBAction func onMoreOptionsItemButtonItemClicked(_ sender: UIBarButtonItem) {

        itemTransactionMapPopOver?.hide()

        presentMoreOptionsActionSheet()
    }

The second option is to dispatch an action inside this function of PresentMoreOptionsActionSheet with the value of true or something like that and handle it inside the view controller newState listener

    func newState(state: ItemDetailsState) {

       ....

        if state.displayMoreOptionsActionSheet {
            self.presentMoreOptionsActionSheet()
        }
    }

    @IBAction func onMoreOptionsItemButtonItemClicked(_ sender: UIBarButtonItem) {
        store.dispatch(ItemDetailsActions.SetDisplayMoreOptionsActionSheet(display: true))
    }

and in order to avoid presenting the action sheet multiple times inside the presentMoreOptionsActionSheet function I dispatch the same action but this time with the value of false so it will not be displayed again
store.dispatch(ItemDetailsActions.SetDisplayMoreOptionsActionSheet(display: false))
I would like  to hear your thoughts about it? What do you think should I go with the redux style or not and this question is true for all other scenarios that I may face during the app development.
Thanks in advance.

Here's my 2 cents:

I don't see any benefit but lots of overhead with option (1)
iOS @IBAction handling is what the framework suggests, so it comes easiest (unless you rid yourself of most of UIKit, using functional view controllers or whatever), which is why I suggest starting with that
presentMoreOptionsActionSheet() sounds like a UI-internal concern: show the sheet. I don't see any benefit in putting this into the state unless you want to restore the view hierarchy from your state somehow
assuming presentMoreOptionsActionSheet() creates a MoreOptionsViewController or whatever, this object may subscribe itself to your store and obtain the option set from there, so you don't really exit the ReSwift flow in my point of view

Hi , thanks for your quick response.
Actually the presentMoreOptionsActionSheet() create a UIAlertViewController inside the same class and simply present and because it’s located in the same class it has access to the moreOptions enum array. Consider these facts what do you think I should do?
Thanks.

Hi @Dimillian thanks for your response.
I wanted to know where exactly you integrate this UIState? it's a sub state of the current view controller state that you run into?
Thanks.

It's a substate of my AppState:
struct AppState: StateType, Equatable {
    var usersState: UsersState
    var booksState: BooksState
    ...
    var uiState: UIState
    ...
}

Then I can connect on it if I want to be specific
        store.subscribe(self) {
            $0.select { $0 }.skipRepeats({ (oldState, newState) -> Bool in
                oldState.uiState == newState.uiState
            })
        }

Hi @Dimillian I know that a lot of time pass since I your last response on this thread but I have only one questions about the Main View Controller that you mentioned above who's responsible to present the modals. The main view controller is the view controller which contains all the tabs of your app? If not where exactly you are initiate it?
Thanks.
Ran.


Bordered Button

Added bordered option to secondary button, for both current and theme next
Keep backwards compatibility (variant), add new prop

~type: "filled" | "bordered" | "transparent"~ check new names
color: "accent" | "neutral"  (to be extended in #3326)

variant
new type
new color

cta
filled
accent

primary
filled
neutral

secondary
transparent
neutral

Initial design exploration: https://www.figma.com/design/DWClNw9QaYIRU9GzIdmOpQ/Salt-%26-MB-Theme-Palette-Unified-(r8)-alt-4?node-id=7526-49989&t=iSG2xTZ8enJXj5OH-1

Nomenclature
Agreement to use the following terms for the new props appearance and color. The former will have the options solid, outline, and transparent. The latter will have accent and neutral.

variant
new appearance
new color

cta
solid
accent

outline
accent

transparent
accent

primary
solid
neutral

outline
neutral

secondary
transparent
neutral

The default setting for Button will be appearance: solid, colour: neutral
Tokens/Variables

Agreement to deprecate the current "cat" | "primary" | "secondary" actionable tokens to be replaced with a more efficient reduced set of tokens.
-- content-bold-foreground
-- content-bold-foreground-disabled
-- actionable-background
-- actionable-background-hover
-- actionable-background-active
-- actionable-background-disabled
-- actionable-background-readonly
-- actionable-border
-- actionable-border-disabled
-- actionable-accent-background
-- actionable-accent-background-hover
-- actionable-accent-background-active
-- actionable-accent-background-disabled
-- actionable-accent-border
-- actionable-accent-border-disabled
-- actionable-subtle-background
-- actionable-subtle-border

This token structure will be used and extended in https://github.com/jpmorganchase/salt-ds/issues/3326

Figma variables in the Salt (Next) Styles library have been updated and published

All instances of button have been updated in the Salt (Next) Components & Patterns library. The branch has been merged and is ready to publish.

We've run into an issue where the foreground colour in legacy variables cta|primary|secondary don't meet the required contrast ratios for AA compliance. I've recommended an alternative solution that maps for both current and next – awaiting agreement from the team before proceeding further.

My feedback from token naming meeting:

I don't think we had an agreement on "restricting" our user to theme the components on characteristics layer

Our system principle has been (IMO), we made it easy for the users to do things and best practises via documentation, however, we try not to restrict user to do different things if necessary
Reducing number of tokens is the purpose of newly designed palette layer, so they can use minimal token to achieve maximum impact
On the other hand, characteristics existed to "fine tune" each variant of components / similar components
The proposed change make a consumer hard to reason about how to customizing tokens (by reading the token names), without deep association with each component deesign / variants

Naming convention changed between actionable and other existing characteristics

some color / appearance uses state suffix approach ( actionable-subtle-background actionable-accent-background-hover ), some doesn't ( actionable-subtle-border vs actionable-accent-border)
foreground color flipping between content-primary-foreground content-bold-foreground, v.s. selectable-foreground selectable-foreground-hover
Proposed change makes it hard for others to follow token naming convention, to create tokens for any components

I'm happy to proceed with new token proposal to avoid delay, i still have concerns around foreground tokens

content-* switching between states means we're baking design decision of specific components to theme tokens, meaning that we'll lose the capability for users to customize them individually. This is a semi-breaking change for the commitment we're making towards "stable" characteristics last time we did the big theme token deprecation and update. We'll need to clearly communicate this.
some foreground using actionable-*, some using content , even this is a "compromise" for backwards compatibility, it will be hard to communicate how to do this. Personally i prefer using old naming convention across the board now, then reconcile when old button is completely gone. With above approach, we're setting ourselves us with outliner in naming convention for a while. That's more trouble than maintaining more tokens (which is used only by button and unlikely to change).

Currently blocked pending theme agreement @pseys @origami-z

Goal: unblock and get to a known state

Leads to review doc, re-group on Wednesday 10th July

Proposed token structures for Next and Legacy completed and agreed. Documentation provided for dev.

Goal: feedback to Pepper and styles into Figma, requires work for both Legacy and Next
By EOS, close out

Will be released in #3880

Aug 15 - Meeting tomorrow about this

Will be released by 13th September

Examples from @dplsek : https://www.figma.com/design/uQkaSNPxTxrIdkLhZ4UJnf/Button?m=auto&node-id=2340-7914&t=C7HI985KfdLUxQlK-1

All supporting Figma files and libraries have been updated now and are ready to publish.


List Product Component Design

Task title
Designing the ListProduct component
Task description
Build the UI for the Sign-In that is just like the image below.
Subtasks

[x] Start by creating a branch from here
[x] Create a new component called ListProduct
[x] Implement the necessary HTML and CSS for it
[x] Add the necessary layout elements, images/icons, buttons/inputs ...etc
[x] Make it completely responsive (review responsiveness behavior in Figma, link below)
[x] Test the ListProduct component to ensure that it works correctly
[x] Integrate the ListProduct component into the homepage of the website
[x] Commit and push the changes
[x] Pat yourself on the back, you did a great job. Thanks 🙏

Screenshot-1

Screenshot-2

Screenshot-3

Link to the component on Figma
Here

Completed. There is a ready pull reuest for it


Dragging the volume control does not change the volume until released

Not sure if this is an enhancement or a bug. Assuming the latter. Safari 8.0.3, OS X 10.10.2.
Keep up the good work!

Hey @slapresta , I'll put a fix in for this now. Cheers for letting me know!

Fixed in v1.0.20!


improve release to enable hotfixes

Issues
These are the changes i needed to make to allow a hotfix to be made from a given branch.
Changelog

[ ] List your changes here
[ ] Make a changie entry

Tophatting

This doesn't work because the version bump considers all tags and no just the ones in the branch to date.