Dependencies Between Extensions don't work when "parent" field is referenced (2018 CU3)

I know we are describing issue regarding NAV 2018 CU3, but it is very important for us to have it working for NAV we can deliver on-prem.
When we have two extensions with dependency - let's name them "parent" and "child" extension. When we reference any "parent" field anywhere in "child" tableextension or pageextension objects (whether it is a part of a FlowField added to "parent" table or page link used in action added to "parent" page), we can't deploy the "child" extension.
VS Code doesn't flag any issues, symbols are all nicely visible, but when we try to deploy the "child" extension, that's what we get:
[2018-04-11 14:55:10.68] The request for path ... failed with code 422. Reason: Extension compilation failed
error AL0999: Internal error: 'One or more errors occurred.', Stack trace=unknown
When we remove offending property (making our "child" extension incomplete), everything works.
FlowField formulas and page links not using "parent" extension fields work fine.

Are you using the same version of the compiler in VS Code and on the server? See: https://github.com/Microsoft/AL/wiki/Frequently-Asked-Questions#which-version-of-the-al-language-extension-should-i-use
If you do and still hitting this issue could you give a short AL sample of what triggers the issue?

We have tried the same scenario with AL add-in version 0.12.17720 (from NAV 2018 CU3 installation package) and the result was, unfortunately, exactly the same:
Microsoft (R) AL Compiler version 0.12.17720
error AL0999: Internal error: 'One or more errors occurred.', Stack trace=unknown
Error: The package could not be created.
Two add-ins code attached: "Item Class" is the "parent" one to be installed first and the "Item Sub-Class" is the "child" one referencing the "parent". The former installs and works perfectly, the latter - doesn't. We've marked crucial lines with //!!! comment (file "nHISC Item Class Extension.al" line 10 and "nHISC Item Classes Extension.al" line 23).
Item Sub-Class.zip
Item Class.zip

I have a similar issue:
A Parent extension has the table "ArtCasting Generic Type" which has Code and Type field. Type being an option.
The issue is when publishing the child extension who extends a table with a field related to a field in the parent extension:

This can be fixed by a small workaround by using the option id's instead of the actual value

Only big problem I have with this is that for some reason he does not find the '0' option...
Hope this helps.

I get the same error when I try to subscribe to my Parent Publisher.
Parent Publisher:
[IntegrationEvent(false, false)]
local procedure OnAfterCreateItem(var Item: Record Item);
begin
end;
Child Subscriber
[EventSubscriber(ObjectType::Codeunit, 50000, 'OnAfterCreateItem', '', true, true)]
local procedure Sub_OnAfterCreateItem_C50000(var Item: Record Item);
begin
message('test');
end;

I can confirm my scenario - "parent" table in extension 1 and "child" table in extension 2 - works fine with Dynamics NAV 2018 CU4, but only when using VS Code AL extension from 365 (version 0.15.18771). AL extension delivered with CU4 installation package (version 0.12.17720) still doesn't work.
Can we, please, sort it out 100%? It is almost done; thank you for your had work so far.

We know now where the problem was. Basically:

It has been fixed in 2018 CU5, so - please - use this version if you want it to work.
It works only with matching Visual Studio Code AL extension (0.12.20065).
Please, note,t he AL extension in the store is the Business Central one. You must install 0.12.20065 from a file you can find on the installation DVD or in "Modern Development Environment" subfolder of your NAV installation if you've installed the environment.
The extension may have a problem stating a "Newtonsoft.Json" DLL file can't be found. If that's the case, please, have a look at issue 2165 - there is a workaround described there.


Generate downloadable CSV for the returns/results in optimization of an asset vs indicator

Generate trade results/returns in CSV format for the user to understand more how the analysis went.
Initial format Below

@ddiazsouto - would you like to try this issue? Add a function that user can call to output a CSV to local storage with allocation and returns details etc.
Main requirement is a function that calls this function with detailed_output = True followed by use of Pandas built in export function.

So maybe user would call:
Api.export_to_csv(df, rule_name, kwarg_or_dict_parameter_settings)
...or similar and then have a CSV file appear in their local directory.

Working on it. Should the function also be in infertrade/utilities?

Yes, that's a good location.


Rendering Issues on Modelviewer Editor

Some models stopped working if they are turned, it seems that the rendering engines has troubles showing the GLB. They disappear after some movements.
https://github.com/google/model-viewer/assets/6854862/d00b0e1d-056a-4d79-955f-69de4f66c6eb
Live Demo
https://modelviewer.dev/editor/
Version

model-viewer: v LATEST

Browser Affected

[x ] Chrome, version: xx.x.xxxx.xx
[ ] Edge
[ ] Firefox
[ ] IE
[ ] Safari

OS

[x] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[x] Windows

https://drive.google.com/file/d/1KXACTYyPKMsvw2EeI0NqDdVEmFWkcNGU/view?usp=sharing
Here is the GLB

Wow, that's crazy! I can repro, and weirder yet, it does not repro in the three.js editor, which should be using the same shaders. It sort of looks like z-fighting - you don't have coplanar triangles or anything weird like that, right?
Is this a regression? Was there ever a time when this model worked properly in our editor?

Hi,
yes, this model worked before. There is nothing special to it, as you said it works with ThreeJS. Thanks for having a look. @elalish

I thought someone is crazy, after reading the first report :D

Would you mind checking different MV versions to let us know where the regression started? Just change the version string in https://ajax.googleapis.com/ajax/libs/model-viewer/3.5.0/model-viewer.min.js

Hi  @elalish
I'm sorry we are using it "self built", it's not so easy to downgrade here.
We have another GLB where the issue occurs now.
https://drive.google.com/file/d/1qJrURF1M7nGDtAfdV-lZEXd7LP6uKcY9/view?usp=sharing

@elalish  do you already now what is the problem here?

No, I haven't gotten a chance to look at this yet, and right now I'm prepping for a SIGGRAPH talk. You'll see when there's a PR. However, if you'd like to dig in and show what you find, that's always appreciated!

No, I haven't gotten a chance to look at this yet, and right now I'm prepping for a SIGGRAPH talk. You'll see when there's a PR. However, if you'd like to dig in and show what you find, that's always appreciated!

I have the same issue here, and the only thing I found is that the glitch seems to appear when using at least one alpha blend material with the double sided turned on

Possibly - thanks for the ping, I'll take another look.

Lucky us, you were right!

Perfect :) Thanks for the update.


[Suggestion]: delete file while viewing / playing

At the moment, the software only support viewing images/videos. Sometimes I only need to keep a few images or videos in a whole downloaded albums / collections to save space on my server.
I'd love to be able to delete an image / video (or a folder) while browsing.

Hi,
Thank you for the suggestion. The aim of this app is to provide a directory-first photo gallery website (i.e., the phosoes should be rendered as they are, without modification). I would like to keep this approach.
Unfortunately deleting photos does not fit into this approach, so I do not plan to add such a feature. Sorry.
Best,
Patrik

I'm closing this due to inactivity

I really like the read-only and directory-first approach of PiGallery2, which is what makes it much better suited for light-weight installations than e.g. Lychee (which seems to use its own cryptic directory structure, making it hard to work with the images from outside the app).
My personal use case for PiGallery2 is an installation on a Raspi Zero W, which I use to backup my Camera's SD card while travelling (and syncing them back home to my Nextcloud server whenever there's free Wifi available).
With PiGallery2, I can comfortably watch the pictures from the Pi's SD card in my smartphone browser.
However, I also would like some option to delete photos before syncing.
One solution I could imagine -- while keeping PiGallery2's read-only approach -- would be to support flagging Images for deletion only in PiGallery2's database. Or more generally: allow some kind of tagging/flagging (#38).
Another script in the background (not part of PiGallery2) could then access the database and e.g. delete all images that are tagged/flagged in a certain way.
In that way, PiGallery2 core could keep its approach of not altering the images themselves while still allowing more advanced (admin) users to have some kind of image deletion/altering/whatevering options based on user input from the browser.

Hi
In the (distant) future I'll probably make some plug-in feature to the app that would allow adding small features without touching the core of the app. I can see such a deletion feature possible then.
Currently I would not like to add such a feature to the app, as it is not in alignment with the main 'vision' of the app.
Also, it is an open source project, feel free to alter for your taste :)

Here's my Work in Progress (and mostly quick&dirty) fork with support for trashing images/videos while playing, similar to what the OP @knguyen0105 asked for:
https://github.com/flesser/pigallery2/tree/trashsupport
Basically, once you enable the feature in config.json (Client.Trash.enabled), it shows an additional "Trash" button in the Lightbox (also listening to the Del key).
Trashing files is implemented server-side by moving them into a new subdirectory (Client.Trash.trashFolderName, defaults to _pigallery2_trash) inside each album, which can then be deleted manually on the server. (No Gui support for that yet).
Images can be restored by "trashing" them from the trash folder. In that case, they just get moved back one dir up into the original album.
It's all not really field-tested yet, use at your own risk!

Hi.
Thank you!
As I mentioned, I don't feel this to be in the path of the app, but I'll keep this in mind, when I prepare the plug-in method for the app.
Patrik

I think that this is something that i would like.  I'll tell you how i use PIG.
I dump ALL myp hotos into {YEAR} / {xx MONTH} directories.  It is from my camera, or our phones.  It doesn't matter.  They all go into those folders.  From there, i use DigiKam to add tags/captions to the photos.
This allows me to generate "logical albums" using tags (which PIG does a good job of displaying) as well as view all the photos that have been taken by the month.
There is a lot of crap in my bulk uploads, and it would be good to be able to delete them where ever i am, whether i am using DigiKam, or on the net at work.  Same goes for adding tags to photos.
I would love a limited set of functionality that would allow me to edit the files via PIG.  Also a list of tags from the DB would be awesome too!

Any change that the delete function will be implemented ? (even @flesser  approach is enough).
PiGallery is running on mobile Rpi. I have similar use case that all my pic from DSLR and phones are auto sync to "yy.mm.dd - event" structure and for first, quick preview I use pigallery. On bigger screen (often TV in hotel) I'd like to be able to remove bad shots.

No really. I was thinking about putting this to some kind of addon, but the more I think of that the less I see the solution for creating addons.
Generally I do not want so see any gallery modifying feature on my personal instance. Making #310 would it make possible to separate it.
Not sure if I will have time for this in the near future.

Closing this as it goes against he current philosophy of the app:
😥 Its simple. Shows what you have that's it. No gallery changes (photo delete, rotate, enhance, tag, organize, etc), your gallery folder is read-only.

Here's my Work in Progress (and mostly quick&dirty) fork with support for trashing images/videos while playing, similar to what the OP @knguyen0105 asked for: https://github.com/flesser/pigallery2/tree/trashsupport
Basically, once you enable the feature in config.json (Client.Trash.enabled), it shows an additional "Trash" button in the Lightbox (also listening to the Del key).
Trashing files is implemented server-side by moving them into a new subdirectory (Client.Trash.trashFolderName, defaults to _pigallery2_trash) inside each album, which can then be deleted manually on the server. (No Gui support for that yet).
Images can be restored by "trashing" them from the trash folder. In that case, they just get moved back one dir up into the original album.
It's all not really field-tested yet, use at your own risk!

Does this still work 4.5 years later?!?


Dock Trash doesn't show all Trash files

Hey,
so I am running into an issue with the Pock Dock Trash vs the macOS Dock Trash.
Using Pock to open the trash won't show me all the files that are actually in the trash but rather only a small amount. https://imgur.com/a/oifRkMa
I can empty the whole trash though from the pock trash shortcut.
How can this be fixed?

The problem was the trash from iCloud folders not showing up when using the trash icon from pock dock. However it is fixed with the newest release of the dock extension.


install on Swift Cocoa App

How to install Shout on an existing Swift Cocoa App, i'm trying for days now...

Shout can only be installed with Swift package manager for now, directions can be found at https://github.com/jakeheis/Shout#swift-package-manager


training time and hardware configuration

thank you for your codes,  could you give the training time and your machine hardware configuration? I am also training a ssd300 net on my own dataset, but I found  the training process is very slow, so I want to know your training time for 60k steps on pascal voc datasets, that is useful for me, maybe. Thank you!

Hi, I use batch size of 32 on single GTX 1080Ti, the image size is 300*300, it took me ~1s for each step which includes both forward and backward. Hope helpful.

Thank you! that is useful. Can I add your WeChat?  I am also a master degree candidate from Hunan University.

@codegaj sure thing. Looking forward to learn together. Here is my wechat Id TCMangost


fix(hosted): Bump boost coroutine version

A change to the boost coroutine library forced us to conditionally
modify some of our code. This also applies to Boost 1.55.

Is this required for foreseeable changes to the code, or just a nice-to-have?

This is a bug fix. Without this change, boost 1.55 won't work

@BetsyRT r+

:pushpin: Commit 089fb70 has been approved by jmcadden

:hourglass: Testing commit 089fb70 with merge 079056d...

:sunny: Test successful - runtests
Approved by=jmcadden
Pushing 079056dea6182f4373e951ed4ad707b7885aaa4c to master...


enry treats Protobuf as PureBasic

Any *.pb file in protobuf format is detected as PureBasic in the most recent release 1.4.

So does linguist, if I'm not mistaken.

Nopes.
linguist .
100.00% Python

Weird, considering that, for example, libuast is considered 86.9% PureBasic... and I can reproduce it with cli linguist:
$ linguist .
86.87%  PureBasic
6.68%   Python
5.47%   Java
0.48%   C
0.35%   C++
0.12%   CMake
0.02%   Go
0.01%   Shell

What repo and pb files are you testing?

I can reproduce it on libuast repo too. I used the local version of src-d/ast2vec with a committed pb file.

https://github.com/github/linguist/issues/3816

@abeaumont As noted in the linked issue, there are override files. Does enry support them?

@vmarkovtsev No, it doesn't. There's an issue and a PR for that feature, but it requires some non-trivial changes and it's not expected to be done anytime soon.

It seems to be working properly now:
> enry
79.31%	Python
10.34%	Protocol Buffer
3.45%	C
3.45%	Text
3.45%	Makefile

Cool! But what has changed?

I guess linguist got fixed: https://github.com/src-d/enry/pull/118/files#diff-2dd48c23213b4dde1b5c99ba45fc9086L321


Fixes boot

this bit of code was preventing boot as it was waiting for serial, by removing it the device is now able to properly boot!
while (!Serial)
{
  delay(10);
}

things to note: removing this loop means we won't see the startup logs unless we directly restart it while its connected to serial
Update
added a 500ms wait to check if there is serial, if so connect to that if not start as normal
  unsigned long startMillis = millis();
  while (!Serial && millis() - startMillis < 500)
  {
    delay(10); // Short delay to prevent hanging in a tight loop
  }

Looks Good @Bentlybro, let’s merge this

nice


ValueError: numpy.ndarray size changed with numpy 1.19.5

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

Windows 10
TensorFlow installed from package: python-tensorflow
TensorFlow version: 2.5.0
Python version: 3.7
Numpy: 1.19.5
Installed using virtualenv? pip? conda?: Conda

When I try to train my model I get the error
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
The solutions I found online all tell me to upgrade numpy to 1.20; however, as far as I am aware that has compatibility issues with Tensorflow.
I run the command
python model_main_tf2.py --pipeline_config_path=training/ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8.config --model_dir=training --alsologtostderr
*Logs

2021-06-11 19:10:57.108835: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2021-06-11 19:10:57.110211: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "model_main_tf2.py", line 32, in
from object_detection import model_lib_v2
File "C:\Users\Mohidul Efaz\anaconda3\envs\trash\lib\site-packages\object_detection\model_lib_v2.py", line 29, in
from object_detection import eval_util
File "C:\Users\Mohidul Efaz\anaconda3\envs\trash\lib\site-packages\object_detection\eval_util.py", line 35, in
from object_detection.metrics import coco_evaluation
File "C:\Users\Mohidul Efaz\anaconda3\envs\trash\lib\site-packages\object_detection\metrics\coco_evaluation.py", line 25, in
from object_detection.metrics import coco_tools
File "C:\Users\Mohidul Efaz\anaconda3\envs\trash\lib\site-packages\object_detection\metrics\coco_tools.py", line 51, in
from pycocotools import coco
File "C:\Users\Mohidul Efaz\anaconda3\envs\trash\lib\site-packages\pycocotools\coco.py", line 55, in
from . import mask as maskUtils
File "C:\Users\Mohidul Efaz\anaconda3\envs\trash\lib\site-packages\pycocotools\mask.py", line 3, in
import pycocotools._mask as _mask
File "pycocotools_mask.pyx", line 1, in init pycocotools._mask
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

@Mabedin00
please confirm if you followed as per this link and restarted your system. [pip install pycocotools==2.0.0]
For the error logs shared please follow:link

Is Tensorflow 2.6.0 compatible with numpy 1.20?

@Zethson
Please follow this pr for numpy 1.20 compatibility


⚠ ClamAV has degraded performance

In 49fbcd5, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in 88a97c1.


tiago_robot: 4.0.1-1 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository tiago_robot to 4.0.1-1:

upstream repository: https://github.com/pal-robotics/tiago_robot
release repository: https://github.com/pal-gbp/tiago_robot-release.git
distro file: humble/distribution.yaml
bloom version: 0.11.2
previous version for package: 4.0.0-1

tiago_bringup
* Merge branch 'update_license' into 'humble-devel'
  Update license
  See merge request robots/tiago_robot!180
* update license
* Contributors: Jordan Palacios, Noel Jimenez

tiago_controller_configuration
* Merge branch 'update_license' into 'humble-devel'
  Update license
  See merge request robots/tiago_robot!180
* update license
* Merge branch 'fix_dependency' into 'humble-devel'
  fix buildtool dependency
  See merge request robots/tiago_robot!179
* fix buildtool dependency
* Contributors: Jordan Palacios, Noel Jimenez

tiago_description

No changes

tiago_robot
* Merge branch 'update_license' into 'humble-devel'
  Update license
  See merge request robots/tiago_robot!180
* update license
* Contributors: Jordan Palacios, Noel Jimenez

Held for sync: https://discourse.ros.org/t/preparing-for-humble-sync-and-patch-release-2022-11-21/28234


Add treemap component

Looks great!  Thanks, @yang-wei
One small update: if you could please just change the default palette from d3.scale.category20b() to d3.scale.category20c() (which is what all the other charts that use d3's palettes are using), I'll go ahead and merge your PR immediately after that you push that update.
One possible additional feature would be to pass down the textColor and fontSize from the top-level component, thus allowing users to easily customize these values without changing the library code, but that's a minor change that we can always add later.
Thanks again!

@esbullington You're welcome ! I just changed the color and thinking to implement zoomable treemap next =)
Also, would like to make more component for this repo because I really find this is a good way to learn d3.js fast.

Perfect, thanks!  I'm going ahead and merging it now.  I plan on publishing another release to NPM in the next day or two, so your treemap will soon be available via NPM as well.
Also, feel free to propose another chart types! It would be great if we could eventually reach feature parity with nvd3.js or even Highcharts, so any of the charts types from those libraries would be welcome.
Regarding animation, I'm still thinking about how to handle that with React.  I'm thinking about making an animation mixin to hold state for animated components, but haven't decided 100%.  Could I ask you to please hold off on any pull requests with animation for the moment?  I'll add info to the CONTRIBUTING.md file as soon as I settle on an approach.


MacosTextField expand with ResizablePane crashes

Description

A MacosTextField wrapped with Resizable Pane with expand, no maxlines crashes with the error '''FlutterError (The Scrollbar's ScrollController has no ScrollPosition attached.
A Scrollbar cannot be painted without a ScrollPosition.
The Scrollbar attempted to use the provided ScrollController. This ScrollController should be associated with the ScrollView that the Scrollbar is being applied to.When providing your own ScrollController, ensure both the Scrollbar and the Scrollable widget use the same one.)'''
Use textfield with generic code like this:
'''
ResizablePane(
minSize: 50,
startSize: 60,
resizableSide: ResizableSide.top,
maxSize: MediaQuery.of(context).size.height / 2.5,
builder: (_, __) {
return MacosTextField(
prefix: MacosIcon(CupertinoIcons.money_dollar),
placeholder: 'Type some text here',
expands: true,
maxLines: null,
showCursor: true,
clearButtonMode: OverlayVisibilityMode.always,
),);
},
)
'''

Hey @robaolana, I can actually reproduce the issue.
ResizablePane has an internal Scrollable so making any widget a child of  ResisablePane is some way wrapping it with Scrollable.  You are supposed to give  the scrollController of the ResizablePane.builder to the main widget which has a scroll behaviour in your widget tree. Since the MacosTextField like material TextField , its content can be scrolled when it overflows the view port so it has a scroll behaviour.
Also this should not crash the app, you should just have the error stack trace in your console when scrolling the content of the MacosTextField but visually everything should seem to be working fine.
Poposal
Try this...
ResizablePane(
minSize: 50,
startSize: 60,
resizableSide: ResizableSide.top,
maxSize: MediaQuery.of(context).size.height / 2.5,
builder: (_, scrollController) {
   return MacosTextField(
       //Passing the  builder scrollController  to the [MacosTextField]
       scrollController: scrollController,
       prefix: MacosIcon(CupertinoIcons.money_dollar),
       placeholder: 'Type some text here',
       expands: true,
       maxLines: null,
       showCursor: true,
       clearButtonMode: OverlayVisibilityMode.always,
),);
},
)

@GroovinChip, It would be nice to add Constructor that would allow the disabling of the scroll behavior of the Resizablepane ?
Some times I use scrollable widgets which don't expose their controller, so the only to avoid this error is to wrap the widget inside of another which expose his controller.


How to create a bot using tourmaline that reads any messages from the chat and responds to them?

Actually the question I asked. I can't figure out how to create such a bot

Pretty simple. If you want to make a method that responds to any incoming message you just need to use the On annotation. For example:
@[On(:message)]
def on_message(update)
  if message = update.message
    # do stuff here
  end
end

For now the method decorated with the On annotation always has to accept an Update object, which has an optional message property. So to make crystal happy you'd either have to do message = update.message.not_nil! (since we know that in this case the message will not be nil) or do a simple guard clause like I did in the example above.

thank you for your answer


Create new release based on latest commit?

Would love to see a new release made so that i can use pypi to update my lib's :)
reason is because the last commit added support for my board :D

Done - v4.3.3


KAFKA-5554 doc config common

This is more a request for review than it is a request to merge, as I don't think this is complete yet. However, this illustrates the idea of drawing attention to those settings which pertain to common use cases.
It would work even better with the merge of https://github.com/apache/kafka/pull/3436, since then I could link directly to the doc for each setting.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5880/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5895/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5883/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5898/
Test PASSed (JDK 7 and Scala 2.11).


Feature/rise set approver views

Adds Approver Sunrise/Sunset Views

Resolves #354
DCO 1.1 Signed-off-by: Sam Richard<EMAIL_ADDRESS>

@Snugug done with comments up to c3e3190

@scottnath I've split the schedule view out to #373, that will need to be done later


Fix malformed HTML issues identified with jinjalint. Fix #5258

Fixes #5258. I have tried all of these in Chrome only, there wasn't any difference that I could see in the rendered page before/after making the changes.
Here are the errors broken down into categories:
Real issues
Missing closing </p> tag
admin/templates/wagtailadmin/collection_privacy/ancestor_privacy.html:8:2:  expected 'p' at 7:2
admin/templates/wagtailadmin/page_privacy/ancestor_privacy.html:8:2:  expected 'p' at 7:2

admin/templates/wagtailadmin/pages/listing/_list_explore.html:69:271:  expected 'p' at 68:271

documents/templates/wagtaildocs/multiple/add.html:40:10:  expected 'p' at 39:10
images/templates/wagtailimages/multiple/add.html:41:10:  expected 'p' at 40:10

contrib/redirects/templates/wagtailredirects/results.html:19:8:  expected one of 'autoescape', 'block', 'blocktrans', 'comment', 'filter', 'for', 'if', 'ifchanged', 'ifequal', 'ifnotequal', 'not an intermediate Jinja tag name', 'spaceless', 'verbatim', 'with' at 18:8

Missing closing </ul> tag only:
admin/templates/wagtailadmin/pages/listing/_button_with_dropdown.html:15:6:  expected 'ul' at 14:6

Extra closing </div> tag:
documents/templates/wagtaildocs/documents/edit.html:66:5:  expected one of '[:a-z]', 'area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'keygen', 'link', 'meta', 'param', 'script', 'source', 'style', 'track', 'wbr', '{#', '{%', '{{' at 65:5

Invalid table tbody closing tag:
admin/templates/wagtailadmin/permissions/includes/collection_member_permissions_formset.html:43:2:  expected 'tbody' at 42:2
users/templates/wagtailusers/groups/includes/page_permissions_formset.html:43:2:  expected 'tbody' at 42:2

Extra td opening tag:
contrib/forms/templates/wagtailforms/list_submissions.html:34:14:  expected 'td' at 33:14

Mismatched start and end tags:
users/templates/wagtailusers/groups/list.html:18:14:  expected 'tr' at 17:14

Real issues but no real impact
Missing bracket in a deprecated template
admin/templates/wagtailadmin/edit_handlers/chooser_panel.html:26:150:  expected '>' at 25:150

Invalid code sample in the styleguide
contrib/styleguide/templates/wagtailstyleguide/base.html:434:205:  expected one of 'autoescape', 'block', 'blocktrans', 'comment', 'filter', 'for', 'if', 'ifchanged', 'ifequal', 'ifnotequal', 'not an intermediate Jinja tag name', 'spaceless', 'verbatim', 'with' at 433:205

False positives
Mismatched start and end tags because of conditional
snippets/templates/wagtailsnippets/snippets/edit.html:13:11:  expected one of 'autoescape', 'block', 'blocktrans', 'comment', 'endif', 'filter', 'for', 'if', 'ifchanged', 'ifequal', 'ifnotequal', 'not an intermediate Jinja tag name', 'spaceless', 'verbatim', 'with' at 12:11

This was a really simple refactoring to make the false positive disappear, but this shouldn't be a problem so I’ve opened https://github.com/motet-a/jinjalint/issues/19 to hopefully get this fixed in the linter/parser.
False positive for SVG attributes casing:
project_template/home/templates/home/welcome_page.html:6:70:  expected one of '=', '>', '[0-9-_.]', '[:a-z]', '\\s+', '{#', '{%', '{{' at 5:70

There is no way to refactor this, the code is valid as-is, it's just that jinjalint has no awareness of SVG embedded in HTML. I have opened https://github.com/motet-a/jinjalint/issues/18, and in the meantime have added filtering logic where the linter is integrated so this isn't reported. It's a bit of a shame that this is necessary and that there is no built-in way to ignore individual errors, but the linter still feels valuable nonetheless.

Thanks for the review @ababic, I've removed the file. Merging now.
(that file was related to #5271, testing whether we could use the existing test suite & fixtures for this purpose)


pipelines/ruby: remove signing_key by default

If it exist, remove the signing_key from gemspec by default since it leads to build failures as the key is not available in the build environment and is not needed.

as its default: https://guides.rubygems.org/specification-reference/#signing_key


Scheduled GitHub Actions fail

Describe the bug
Github actions - running pytests - fails
To Reproduce
Steps to reproduce the behavior:
no repro needed
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

I assume this issue is fixed…


reload.extensions doesn't automatically close in Chrome 55

Kind of seems like the extension is doing what it's supposed to be doing, but it doesn't seem to be working anymore. I tried to fix on my own but had no luck.
Seems kind of like two things are going on.
First, redirectUrl doesn't seem to respect chrome-extension:// URLs anymore. I was able to make a data-url work as the redirect, and I was able to make a normal HTTP URL work as the redirect, but no love from chrome extension URLs.
The second thing I tried was to just self-host the close page and redirect to it. This kind of works in that at least the redirect is respected, but the tab doesn't close in this fashion. The console offers some clue as to why: "Scripts may close only the windows that were opened by it."
Here's the HTML file I self hosted if you want to give it a try: http://static.tdg5.com.s3.amazonaws.com/close.html
I tried to look in the changelog for Chromium for reference to any of these changes, but didn't see anything, though I was mostly looking for references to onBeforeRequest.
I haven't dug into this much further and am not familiar with the extension, but if you have any other suggestions for getting the tab to auto-close, please let me know.
Thanks!

If you end up looking at this, please reach out with any questions. As I've dug into this issue more, it seems likely that the reason that tab wasn't being closed was because it was the selected tab. Not sure why that would have changed or how that would be different, but it is something to consider when looking into this issue.
I made an aggressive tab closer branch here if it's of any interest to you or anyone else who wants more aggressive tab closing: https://github.com/tdg5/chrome-extensions-reloader/commit/da2eec0ede2158fc69b2e9a21151fa703c9fb9bc

@tdg5 have you considered submitting a pull request for this?

Please reopen if issue still occurs


Open Date / Closed date for feature points

Add timestamp for open and close. IF feature point is closed do not show on map but leave in database.

@IanJakus Starting this now.

@IanJakus Just want to confirm that this is correct. Please see commit message in this thread. Thanks.

Hey Matt, I cannot save a point currently while leaving open and close dates Null. Can you address this?
Also when adding a feature point the icon comes up first as an investment type icon. This is not critical but something to be addressed if possible.
Thanks,
Ian

@IanJakus Got it. Thanks for the feedback. Reopening this.

[ ] Allow saving points when open and close dates are null.
[ ] Make sure new points use the correct icons.


Add recover delete operation in OneFlow

Description
Add the option --delete to recover operation in OneFlow.
Use case
Some times the current recover might no be enough and it might be useful to delete the current service and its VMs.
Interface Changes
OneFlow server, CLI and Sunstone.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

PRs to merge in master:

code: https://github.com/OpenNebula/one/pull/4472
docs: https://github.com/OpenNebula/docs/pull/1028
tests: https://github.com/OpenNebula/development/pull/911


Username disallows using "-"

Why is it not allowed to use a dash "-" in the username?
   var user = new Models.ApplicationUser(userEmail);
   var result = await UserManager.CreateAsync(user, password);

Exception
Creating user Failed. User name<EMAIL_ADDRESS>is invalid, can only contain letters or digits.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Creating user Failed. User<EMAIL_ADDRESS>is invalid, can only contain letters or digits.

When I go into RavenDB management panel, I can change the Key manually to include the "-" and the username is just a string.

I checked the source code.. its not your fault.
It is the ASP UserManger causing hell. Use this line when adding a new user then will work as normal throughout the project. (You can get that username without setting the validitor, I mean.)
UserManager.UserValidator = new UserValidator<Models.ApplicationUser>(UserManager) { AllowOnlyAlphanumericUserNames = false };


Automated transformation pipeline

Description
Transformation scripts have been created manually for various datasets. We want to start automating the transformation process and pushing the data to a specified target bucket on S3. This was started in a previous ticket mentioned here.
Since the ODIAC dataset is an exception (to date) with respect to the data size, we will focus on a dataset with smaller file sizes allowing us to work within the resource constraints.
In this sprint, I will be focusing on running the transformation pipeline for the CMS flux dataset. The transformation is already done and we do have the COGs for the dataset. Because the file size for this dataset is quite small, I am using this to test-run the pipeline.
Acceptance Criteria

[x] Run the DAG for an entire pipeline which consists of fetching the data from a bucket, transforming them, and pushing them back to a target bucket.
[x] Check the COGs created.

Stretch criteria

[ ] Calculate the statistics of data (efficiently).

PR for the transformation DAG.
The next steps will be proceeded in the same DAG configuration so the PR will be continued.


disable analyze linux

See https://github.com/flutter/flutter/issues/87517

Landing on red to fix the tree


[Question]: Batch file parsing is blocked.

Batch file parsing is blocked
Version: v0.15.0 full
When I enable batch parsing, if there is one task_executor running, only one file can be parsed at a time; similarly, if there are two task_executors, only two files can be parsed at a time. The parsing of the remaining files will not make any progress, even if the previous files have been successfully parsed：
one task_executor:

tow task_executors:

There are no error messages in the console, and there are no logs about the parsing tasks:

The system status is normal：

I clicked the parse button from here：

The task executor should be like this:

The task executor should be like this:

May I ask what could be the possible reasons for this situation? Because parsing them one by one works fine.

The task executor should be like this:

May I ask what could be the possible reasons for this situation? Because parsing them one by one works fine.

The host possiblly can't handle so many executor process since lack of RAM.

The host possiblly can't handle so many executor process since lack of RAM.

OK, Thank you for your reply!


Support for autocomplete of inbuild functions for a DB server

Currently Dbeaver doesn't support autocomplete for inbuild function for db server.

I second that!

Generally DBeaver supports autocomplete for functions.
What is your database?

MS SQL server 2014

PostgreSQL 9.4. Autocomplete popup (after typing schema name and dot) shows only tables and views, but no functions.

This is similar to what I mentioned at https://github.com/serge-rider/dbeaver/issues/500. As well as user-created functions, it should work for functions in extensions and/or enable the user to create their own list of autocomplete keywords. It would also be nice if the user could add a description for each keyword that shows up as a tooltip, although I'm not sure if this is possible.
Here's an example in RStudio, an R IDE:

If the user could hit F1 or other hotkey to go to an associated help page, that would be amazing. I'd be happy to make a spreadsheet with names, descriptions, and links for PostGIS/PostgreSQL..

As described @lacanoid, it will be very useful to me if DBEaver suggest also the stored procedures on a schema! Any forecast for this feature @serge-rider ?
Thank you very much, DBEaver is GREAT!

This feature will be implemented along with #810 (fully functional SQL Server extension)

Implemented here https://github.com/dbeaver/dbeaver/issues/10533
Autocomplete for procedure and functions works after keywords SELECT (if "Show stored procedures in column list" checked, CALL, EXEC/EXECUTE(SQLServer) [schemaname][.] ctrl+space in SQL Editor

This only shows the functions in the column list. However, often functions are used in the relation-part of the query, but this does not show up in DBeaver. Is there another option to show auto-complete for functions here?
CREATE OR REPLACE FUNCTION public.test_f(_val int)
 RETURNS table (a int)
 LANGUAGE sql
 IMMUTABLE PARALLEL SAFE
AS $function$
   SELECT * FROM generate_series(1, _val)
$function$
;

-- here dbeaver does not show autocomplete for test_f
select * from public.test_f(10);

I've opened this issue for it: https://github.com/dbeaver/dbeaver/issues/20261


Other services

Hi,
First, thank you for this great package ! Would it be possible to add Instagram or Youtube ? If so, how can I do that?
Thanks in advance for your help.

Hi @dily86
I never used those networks before, for sharing content ;), but if it's possible feel free to create a PR that implements this for the channels of your choice.
Thanks!


Fixes 235: add /ping for kafka consumer (#133)

and use a single binary for api and consumer

adding this pr back in

https://issues.redhat.com/browse/HMSCONTENT-235


CUDA 11.3

The URL https://download.pytorch.org/libtorch/cu111/libtorch-shared-with-deps-1.11.0%2Bcu111.zip is AccessDenied now.
An upgrade to cu113 is necessary.

Thanks for reporting this issue, indeed cu113 seems to work fine so the build script has been updated to reflect this.

With CUDA 11.6, setting the TORCH_CUDA_VERSION=cu116:
Unexpected response code 403 for https://download.pytorch.org/libtorch/cu116/libtorch-cxx11-abi-shared-with-deps-1.12.0.zip'

@Mec-iS that's odd. I just tried with the latest github tip and TORCH_CUDA_VERSION=cu116 and it worked well. Is it possible that you were using an older version of this crate which did not support cu116? This would have resulted in the error message you saw, anyway I just changed the build script to make understanding the root cause a bit easier.

I was installing version 0.8.0 using crate. I don't think the version is the problem as the link I posted above indeed return "Access Denied" if you try to visit it. The link that worked for me is https://download.pytorch.org/libtorch/cu116/libtorch-cxx11-abi-shared-with-deps-1.12.1%2Bcu116.zip
See the name of the file at the end is different.

Support for cu116 was added after the crate 0.8.0 release so this explains the error you saw, the next version will have a better error message for this.

ok thanks. the latest crate in crates.io is 0.8.0, where I can find the latest ones?

The latest version is 0.8.0, we usually make crate releases only on new versions of libtorch so the next one would be when PyTorch 1.13 is released. Maybe you can point your Cargo.toml at some recent github revision for the time being?

Closing this as the 1.13 version has been released for quite some time now.


[Refactor] 异步启动过程 以及 启动过程取消功能的实现

Wouldn't it be nice to do a launch like this?:

Under Launch button. Cancel Launch - this will also make it easier to cancel a launch.
So that the action window does not open on startup, because. It is not always convenient to manually return to the home screen all the time.
Success (On successful launch, button changes to Close Minecraft):

Crash (In this case, it's better to open action window immediately!):

I apologize for my poor English and lack of knowledge of Chinese!

Originally posted by @vanja-san in #145

I took another look and thought that only status bar would suffice, and button could be left untouched. 🙂

在 <IP_ADDRESS> 版本中已加入启动过程取消功能
UI 部分尚未修改


Added examples for ComboBox, SelectableLabel and Layouts

I added a couple of examples (selection and layout) that cover 3 or 4 of the remaining points from #186 .
The examples are quite simple and contain what I would have needed to get started faster with egui when I first took it up.

The examples are mainly used for eframe-related examples, i.e. things that cannot be demonstrated by egui_demo_lib / <www.egui.rs>.
In fact, a lot of the things demoed in this PR is already present at www.egui.rs. Selection is pretty much covered by the widget gallery. There is also the Layout Test which could use some love though.
Could you consider improving the existing egui_demo_lib instead of adding new demo apps?


write_verilog command and hierarchy in a netlist

Hi,
Does the write_verilog command in openroad have a switch for keeping hierarchy in a netlist? I used the read_verilog command in openroad to read a top level netlist file that instantiates two modules, but when i tried to write it out using write_verilog, a flattened netlist was generated. Is it possible to keep the hierarchy of a netlist in openroad?
Thanks,
Ted

Not currently though we have some work underway that could allow it in the future.

Thanks Matt!! Looking forward to it.

Is there any update on this?

That work stalled with a departure so no progress

Some recent work was added in https://github.com/The-OpenROAD-Project/OpenROAD/pull/4800. I think there's still quite a bit to go before supporting full hierarchy though.

This is a large project and will take a while.  That is a piece of the solution but has no direct user benefit by itself.


[Testing purposes only] Add logs to the tests

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

Approach

Describe how you are implementing the solution.

Check List

[ ] Read the Contributing Guide
[ ] Added necessary tests

[ ] Unit Tests
[ ] Integration Tests

Closing since this PR was only used to test a build failure only reproducible in the workflows.


[EDIT] add “million” to “1.5”

Entry
August 10, 2021
Changes
“around $1.5 in investments” should be “around $1.5 million in investments”
Agreement
By submitting this issue, I irrevocably agree to release my contribution under the CC-BY 3.0 License. I agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
No attribution necessary for this tiny typo correction. Please don’t link to me.

Oop, good catch, thanks!


Random fatalException of Server Manager

Hi,
i feel bad to bother you again but the manager is crashing somehow randomly.
The console shows this message:
Unplanned exit - 1 - Error
    at process.exit (C:\snapshot\dayz-server-manager\dist\util\exit-capture.js:10:101)
    at process.<anonymous> (C:\snapshot\dayz-server-manager\dist\index.js:25:17)
    at process.emit (node:events:527:28)
    at process._fatalException (node:internal/process/execution:167:25)

I've added events before this problem occured. i have removed already a part of it (Locking the server caused some error messages) but it doesn't fix it.
that's the remaining events:
    "events": [
      {
          "name": "Restart every 4 hours",
          "type": "restart",
          "cron": "0 0,4,8,12,16,20 * * *"
      },
      {
          "name": "Restart Notification (30m)",
          "type": "message",
          "cron": "30 3,7,11,15,19,23 * * *",
          "content": [
            "Neustart in 30 Minuten. Bitte in Sicherheit bringen."
          ]
      },
      {
          "name": "Restart Notification (15m)",
          "type": "message",
          "cron": "45 3,7,11,15,19,23 * * *",
          "content": [
            "Neustart in 15 Minuten. Bitte in Sicherheit bringen."
          ]
      },
      {
          "name": "Restart Notification (5m)",
          "type": "message",
          "cron": "55 3,7,11,15,19,23 * * *",
          "content": [
            "Neustart in 5 Minuten. Server wird gesperrt. Kick erfolgt in 4 Minuten!"
          ]
      },
      {
          "name": "Restart / Kick Notification (2m)",
          "type": "message",
          "cron": "58 3,7,11,15,19,23 * * *",
          "content": [
            "Neustart in 2 Minuten. Verbleibende Spieler werden in 60 Sekunden entfernt!"
          ]
      },
      {
          "name": "Restart Kick (1m)",
          "type": "kickAll",
          "cron": "59 3,7,11,15,19,23 * * *"
      }
    ],

Anyone have an idea?

If you dont mind, please join the discord and send me your full server manager logs.
Dont post them here, they could contain sensitive information.
"Unplanned exit" usually means, that a library or dependency caused the program to exit.

Its in the readme, click the chat button

@bruunooh
Found the issue:
{
          "name": "Restart / Kick Notification (2m)",
          "type": "message",
          "cron": "58 3,7,11,15,19,23 * * *",
          "content": [
            "Neustart in 2 Minuten. Verbleibende Spieler werden in 60 Sekunden entfernt!"
          ]
      },

replace "content": [ with "params": [


Python kernel crashing during placefield detection

This is more for reference and not an actual problem with the opexebo code.
Lately I have been running a lot of data through opexebo and noticed seemingly random python crashes (kernel restarts automatically in notebooks or things crash completely).
numpy: 1.16.4
scipy: 1.15.4
skimage: 0.15.0
I finally pinpointed the problem to placeField.py fmap = morphology.reconstruction(Ie, firing_map) . On a ratemap example this line of code failed stochastically (!) and caused python crashes. The stochastic nature of this error is super strange to me and I am struggling to find the cause. If executed in a loop, this statement (with the same input) fails after 1-10 times of execution.

https://github.com/scikit-image/scikit-image/issues/4078

The additional NaN detection and replacement in v0.3.0 should have resolved this

Thanks! I’ll check it.


Only import the required keys in init containers

We can improve this further in time for large scale nodes, specifically, maybe we can just create one bootstrap account on a single node and have bakers create their own accounts as they spawn and then drink from a faucet. This would scale much better as we wouldn't have to create all of the accounts serially in advance but would rather create them in parallel at spawn time.

The issue was that the keys were not imported into the activate-job. I've fixed that.

The issue was that the keys were not imported into the activate-job. I've fixed that.

Only baker0 is baking for me. But the parameters.json seems the same. the only diff is that each node has diff bootstrap_accounts which makes sense

Only baker0 is baking for me. But the parameters.json seems the same. the only diff is that each node has diff bootstrap_accounts which makes sense

Hmmm, all of my bakers appear to be "Injecting block"s.

Hmmm, all of my bakers appear to be "Injecting block"s.

do they say "no slot found at level..." compared to baker-0?

do they say "no slot found at level..." compared to baker-0?


pubsub: set sslCreds when apiEndpoint is used

Closes #2580

Coverage remained the same at 100.0% when pulling be0e81a804dfd509a329a57b02c0f591a87e3087 on callmehiphop:dg--pubsub-emulator-creds into<PHONE_NUMBER>7094fd9253f00e08720f6037e67c6b on GoogleCloudPlatform:master.

Fixed my issue!


Add Fraudulent Transaction Detection Model to the Project

We need to add new models to the project to enhance its capabilities. Please follow the tutorial in the link below for step-by-step guidance on how to properly implement and integrate new models:
Tutorial: How to Add New Models
Tasks:
Review the provided tutorial.
Add new models as per the instructions.
Ensure that all new models are properly integrated with existing functionality.
Update any necessary documentation or comments.

hi @yashasvini121 I would like to contribute in this issue under gssoc'24. I will add new model for fradulent transaction detection.

Sure, go ahead👍

Hi @yashasvini121 I would like to contribute in this issue also , can i also work on that under Gssoc 24 Ext.

Hi @yashasvini121,
I would like to take on the task of adding new models to the project as described in issue #4. Expanding the project's functionality by integrating new models is an exciting opportunity, and I'm eager to contribute!
Here's my plan for tackling this issue:
Review the Tutorial: I will thoroughly review the provided tutorial on adding and integrating new models to ensure I follow the recommended practices.
Implementation: I will implement the new models as per the tutorial's guidelines, ensuring they align with the project's existing framework.
Integration: I will focus on integrating these models seamlessly with the current project features, ensuring they work well together.
Documentation: I will update the relevant documentation and add comments to clarify the implementation process for future maintenance.
Could you please assign this issue to me

@DG492003 updates?

#113


Blog App: validations and model specs

In the Project Milestone -:

Defined validations for models,

For the User model:
Name must not be blank.
PostsCounter must be an integer greater than or equal to zero.

For the Post model:
Title must not be blank.
Title must not exceed 250 characters.
CommentsCounter must be an integer greater than or equal to zero.
LikesCounter must be an integer greater than or equal to zero.

Add unit specs for all models' methods and validations.

@Felix45 Thanks


Does not Run

It looks like this container does not work correctly any more. Attempting to do a make run results in the following:
+ PYTHON=/venv/bin/python
+ /venv/bin/python manage.py syncdb --noinput
/venv/bin/python: can't open file 'manage.py': [Errno 2] No such file or directory
+ /venv/bin/python manage.py migrate
/venv/bin/python: can't open file 'manage.py': [Errno 2] No such file or directory
+ /venv/bin/python manage.py shell
+ echo 'from django.contrib.auth.models import User; User.objects.create_superuser('\''admin'\'', '\''admin@localhost'\'', '\''admin'\'')'
/venv/bin/python: can't open file 'manage.py': [Errno 2] No such file or directory
+ /venv/bin/python manage.py loaddata test_data
/venv/bin/python: can't open file 'manage.py': [Errno 2] No such file or directory
+ /venv/bin/python manage.py makemessages --all
/venv/bin/python: can't open file 'manage.py': [Errno 2] No such file or directory
+ /venv/bin/python manage.py compilemessages
/venv/bin/python: can't open file 'manage.py': [Errno 2] No such file or directory
+ /venv/bin/python manage.py celeryd -l INFO
+ /venv/bin/python manage.py runserver <IP_ADDRESS>:8000
/venv/bin/python: can't open file 'manage.py': [Errno 2] No such file or directory
/venv/bin/python: can't open file 'manage.py': [Errno 2] No such file or directory
make: *** [run] Error 2

Then abruptly stops.

Hi @thedillonb, I need to investigate, I think readthedocs changed its files layout again

Fixed with #7
Can you try again ?


Team 04 SRS Review - Revision History Table

The revision history in the SRS document does not include a lot of information about how the SRS was worked on and contributed to. The revision history table is useful for people external to the project to see the lifetime of the document and how it was built up. Adding more detail to the revision history table will also make it easier for the team later down the line to make revisions and stay organized.
Current revision history table:

Sample revision history table with more detail:

This issue was created by Team 04 as part of SRS Primary Review. Tagging marking TA as recommended @samm82

I do think that you have a point regarding contributions and history however it is not quite a priority update at this moment. We have some traceability via PRs so at this moment, we do have workarounds for this.


UseOpenIdConnectAuthentication fails when updated to 1.1.0

I have an asp.net core application that was running on 1.0.1 that I have updated to 1.1.0.  Once the app was updated and Microsoft.AspNetCore.Authentication.OpenIdConnect was updated from 1.0.0 to 1.1.0, my authentication started hitting the OnAuthenticationFailed event.
The message received is Unable to validate the 'id_token', no suitable ISecurityTokenValidator was found for: ''."
If I revert only Microsoft.AspNetCore.Authentication.OpenIdConnect back to 1.0.0 and leave .net core and all other dependencies updated, the authentication works again.  I'm not aware of any breaking changes int Microsoft.AspNetCore.Authentication.OpenIdConnect from 1.0.0 to 1.1.0.
Other events are hit successfully before OnAuthenticationFailed (OnRedirectToIdentityProvider, OnTokenValidated, OnAuthorizationCodeReceived).
Startup.cs
public class Startup
{
    private readonly ILogger<Startup> logger;

    public Startup(IHostingEnvironment env, ILoggerFactory loggerFactory)
    {
        this.logger = loggerFactory.CreateLogger<Startup>();

        var builder = new ConfigurationBuilder()
            .SetBasePath(env.ContentRootPath)
            .AddJsonFile("appsettings.json", true, true)
            .AddJsonFile($"appsettings.{env.EnvironmentName}.json", true, true)
            .AddEnvironmentVariables();

        this.Configuration = builder.Build();
    }

    public IConfigurationRoot Configuration { get; set; }

    public void ConfigureServices(IServiceCollection services)
    {
        // app insights
        services.AddApplicationInsightsTelemetry(this.Configuration);

        // authentication and authorization
        services.AddAuthentication(ConfigureSharedAuthenticationOptions);
        services.AddAuthorization(ConfigureAuthorizationOptions);

        // options
        services.AddOptions()
            .Configure<ConfigurationOptions>(this.Configuration)
            .AddDataLayerConfigurationOptions(this.Configuration)
            .AddServicesLayerConfigurationOptions(this.Configuration)
            .AddWebAppLayerConfigurationOptions(this.Configuration);

        // caching/session
        services.AddDistributedSqlServerCache(this.ConfigureSqlServerCacheOptions);
        services.AddSession(this.ConfigureSessionOptions);

        // mvc
        services.AddMvc(ConfigureMvcOptions);

        // custom services from layers
        services
            .AddConfigurationLayerServices()
            .AddCommonLayerServices()
            .AddServicesLayerServices(this.Configuration)
            .AddWebLayerServices();
    }

    public void Configure(
        IApplicationBuilder app,
        IHostingEnvironment env,
        IServiceProvider serviceProvider,
        ILoggerFactory loggerFactory,
        ITicketStore distributedCacheTicketStore)
    {
        // setup logging
        loggerFactory.AddDebug((category, logLevel) => category.StartsWith("DeveloperTools."));

        // app insights request telemetry (this must be first)
        app.UseApplicationInsightsRequestTelemetry();

        // exceptions
        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage(new DeveloperExceptionPageOptions { SourceCodeLineCount = 10 });
        }
        else
        {
            app.UseExceptionHandler("/error");
        }

        // app insights exception telemetry (right after exception config)
        app.UseApplicationInsightsExceptionTelemetry();

        // status code pages (redirect to error controller)
        app.UseStatusCodePagesWithRedirects("/error/{0}");

        // static files
        app.UseStaticFiles();

        // auth
        app.UseCookieAuthentication(this.BuildCookieAuthenticationOptions(distributedCacheTicketStore));
        app.UseOpenIdConnectAuthentication(this.BuildOpenIdConnectOptions());

        // session
        app.UseSession();
        app.UseSessionStartupConfiguration();

        // mvc
        app.UseMvc();
    }

    private static void ConfigureAuthorizationOptions(AuthorizationOptions authzOptions)
    {
        // role-based policies
        authzOptions.AddPolicy(AuthorizationPolicies.RequireDevelopersRole, policy => policy.RequireRole(AuthorizationRoles.Developers));
    }

    private static void ConfigureMvcOptions(MvcOptions options)
    {
        var defaultAuthPolicy = new AuthorizationPolicyBuilder().RequireAuthenticatedUser().Build();

        options.Filters.Add(new AuthorizeFilter(defaultAuthPolicy));
        options.Filters.Add(new RequireHttpsAttribute());
    }

    private static void ConfigureSharedAuthenticationOptions(SharedAuthenticationOptions sharedOptions)
    {
        sharedOptions.SignInScheme = CookieAuthenticationDefaults.AuthenticationScheme;
    }

    private CookieAuthenticationOptions BuildCookieAuthenticationOptions(ITicketStore ticketStore)
    {
        var configuration = new ConfigurationOptions();
        this.Configuration.Bind(configuration);

        return new CookieAuthenticationOptions
        {
            CookieSecure = CookieSecurePolicy.SameAsRequest,
            CookieName = configuration.Session.AuthenticationCookieName,
            AccessDeniedPath = "/access-denied",
            SessionStore = ticketStore
        };
    }

    private OpenIdConnectOptions BuildOpenIdConnectOptions()
    {
        var configuration = new ConfigurationOptions();
        this.Configuration.Bind(configuration);

        return new OpenIdConnectOptions
        {
            ClientId = configuration.AzureActiveDirectory.ClientID,
            Authority = configuration.AzureActiveDirectory.Authority,
            PostLogoutRedirectUri = configuration.AzureActiveDirectory.PostLogoutRedirectUri,
            ResponseType = OpenIdConnectResponseType.CodeIdToken,
            RemoteAuthenticationTimeout = TimeSpan.FromMinutes(configuration.Session.TimeoutMinutes),
            TokenValidationParameters = new TokenValidationParameters
            {
                ValidateIssuer = true,
                RoleClaimType = ClaimTypes.Role
            },
            Events = new OpenIdConnectEvents
            {
                OnRedirectToIdentityProvider = this.OnRedirectToIdentityProvider,
                OnRemoteFailure = this.OnRemoteFailure,
                OnTokenValidated = this.OnTokenValidated,
                OnAuthorizationCodeReceived = this.OnAuthorizationCodeReceived,
                OnAuthenticationFailed = this.OnAuthenticationFailed
            }
        };
    }

    private void ConfigureSessionOptions(Microsoft.AspNetCore.Builder.SessionOptions options)
    {
        var configuration = new ConfigurationOptions();
        this.Configuration.Bind(configuration);

        options.CookieName = configuration.Session.SessionCookieName;
        options.IdleTimeout = TimeSpan.FromMinutes(configuration.Session.TimeoutMinutes);
    }

    private void ConfigureSqlServerCacheOptions(SqlServerCacheOptions options)
    {
        var configuration = new ConfigurationOptions();
        this.Configuration.Bind(configuration);

        options.ConnectionString = configuration.Database.ConnectionStrings.DeveloperTools;
        options.SchemaName = configuration.Session.SqlServer.Schema;
        options.TableName = configuration.Session.SqlServer.Table;
    }

    private Task OnAuthenticationFailed(AuthenticationFailedContext context)
    {
        this.logger.AuthenticationFailed(context.Exception);

        context.HandleResponse();
        context.Response.Redirect("/auth-error?message=" + context.Exception.Message);
        return Task.CompletedTask;
    }

    private async Task OnAuthorizationCodeReceived(AuthorizationCodeReceivedContext context)
    {
        var configuration = new ConfigurationOptions();
        this.Configuration.Bind(configuration);

        var request = context.HttpContext.Request;
        var currentUri = UriHelper.BuildAbsolute(request.Scheme, request.Host, request.PathBase, request.Path);
        var clientCredential = new ClientCredential(configuration.AzureActiveDirectory.ClientID, configuration.AzureActiveDirectory.ClientSecret);
        var authContext = new AuthenticationContext(configuration.AzureActiveDirectory.Authority, AuthPropertiesTokenCache.ForCodeRedemption(context.Properties));

        await authContext.AcquireTokenByAuthorizationCodeAsync(context.ProtocolMessage.Code, new Uri(currentUri), clientCredential, configuration.MicrosoftGraphApi.ResourceUri);
        this.logger.AcquiredTokenByAuthorizationCode(configuration.MicrosoftGraphApi.ResourceUri);

        context.HandleCodeRedemption();
    }

    private Task OnRedirectToIdentityProvider(RedirectContext context)
    {
        var configuration = new ConfigurationOptions();
        this.Configuration.Bind(configuration);

        context.ProtocolMessage.DomainHint = configuration.AzureActiveDirectory.DomainHint;

        return Task.CompletedTask;
    }

    private Task OnRemoteFailure(FailureContext context)
    {
        this.logger.RemoteFailure(context.Failure);

        context.HandleResponse();
        context.Response.Redirect("/auth-error?message=" + context.Failure.Message);
        return Task.CompletedTask;
    }

    private Task OnTokenValidated(TokenValidatedContext context)
    {
        var configuration = new ConfigurationOptions();
        this.Configuration.Bind(configuration);

        var claimTenantID = context.Ticket.Principal.FindFirst(AzureActiveDirectoryClaimTypes.TenantId).Value;
        var approvedTenantIds = new List<string> { configuration.AzureActiveDirectory.TenantID };

        if (approvedTenantIds.Contains(claimTenantID) == false)
        {
            this.logger.TenantIdNotApprovedForTokenValidation(claimTenantID);
            throw new SecurityTokenValidationException();
        }

        this.logger.TokenValidatedForTenantID(claimTenantID);

        return Task.CompletedTask;
    }
}

Project.json
{
  "version": "2.0.0-*",

  "dependencies": {
    "DT.Common": "2.*",
    "DT.Configuration": "2.*",
    "DT.Services": "2.*",
    "DT.Web.ViewModels": "2.*",
    "Microsoft.ApplicationInsights.AspNetCore": "1.0.2",
    "Microsoft.AspNetCore.Authentication": "1.1.0",
    "Microsoft.AspNetCore.Authentication.Cookies": "1.1.0",
    "Microsoft.AspNetCore.Authentication.OpenIdConnect": "1.1.0", // WORKS WHEN CHANGED BACK TO "1.0.0"
    "Microsoft.AspNetCore.Diagnostics": "1.1.0",
    "Microsoft.AspNetCore.Mvc": "1.1.0",
    "Microsoft.AspNetCore.Razor.Tools": {
      "version": "1.1.0-preview4-final",
      "type": "build"
    },
    "Microsoft.AspNetCore.Routing": "1.1.0",
    "Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": {
      "version": "1.1.0-preview4-final",
      "type": "build"
    },
    "Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
    "Microsoft.AspNetCore.Server.Kestrel.Https": "1.1.0",
    "Microsoft.AspNetCore.Session": "1.0.0",
    "Microsoft.AspNetCore.StaticFiles": "1.1.0",
    "Microsoft.Extensions.Caching.SqlServer": "1.0.0",
    "Microsoft.Extensions.Configuration.Abstractions": "1.1.0",
    "Microsoft.Extensions.Configuration.FileExtensions": "1.1.0",
    "Microsoft.Extensions.Configuration.Json": "1.1.0",
    "Microsoft.Extensions.Logging.Console": "1.1.0",
    "Microsoft.Extensions.Logging.Debug": "1.1.0",
    "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
    "Microsoft.Graph": "1.1.1",
    "Microsoft.IdentityModel.Clients.ActiveDirectory": "3.13.6"
  },

  "tools": {
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.1.0-preview4-final",
    "Microsoft.AspNetCore.Razor.Tools": {
      "version": "1.1.0-preview4-final",
      "imports": "portable-net45+win8+dotnet5.6"
    },
    "Microsoft.Extensions.Caching.SqlConfig.Tools": "1.1.0-preview4-final"
  },

  "frameworks": {
    "netcoreapp1.1": {
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"
      ],
      "dependencies": {
        "Microsoft.NETCore.App": {
          "version": "1.1.0",
          "type": "platform"
        }
      }
    }
  },

  "buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true
  },

  "runtimeOptions": {
    "configProperties": {
      "System.GC.Server": true
    }
  },

  "publishOptions": {
    "include": [
      "wwwroot",
      "views/**/*.cshtml",
      "appsettings.json",
      "web.config"
    ]
  },

  "scripts": {
    "prepublish": [ "bower install", "gulp buildprod" ],
    "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
  }
}

This may be related to https://github.com/aspnet/Security/commit/415055ebabcee656475e1f22e65045851641701c. In the CodeIdToken scenario additional validation was added for the id_token received from the TokenEndpoint. If you hook up the TokenResponseReceived event and examine the TokenEndpointResponse what do you see?

 Click Submit to continue.",
    "SessionState": null,
    "Sid": null,
    "State": null,
    "TargetLinkUri": null,
    "TokenEndpoint": null,
    "TokenType": null,
    "UiLocales": null,
    "UserId": null,
    "Username": null
}

The protocol message has some of the properties set:
{
    "AccessToken": null,
    "AcrValues": null,
    "AuthorizationEndpoint": null,
    "ClaimsLocales": null,
    "ClientAssertion": null,
    "ClientAssertionType": null,
    "ClientId": null,
    "ClientSecret": null,
    "Code": "AQABAA...",
    "Display": null,
    "DomainHint": null,
    "Error": null,
    "ErrorDescription": null,
    "ErrorUri": null,
    "ExpiresIn": null,
    "GrantType": null,
    "IdToken": "eyJ0eX...",
    "IdTokenHint": null,
    "IdentityProvider": null,
    "Iss": null,
    "IssuerAddress": "",
    "LoginHint": null,
    "MaxAge": null,
    "Nonce": null,
    "Parameters": {
        "code": "AQABAA...",
        "id_token": "eyJ0eX...",
        "session_state": "b8c9fb..."
    },
    "Password": null,
    "PostLogoutRedirectUri": null,
    "PostTitle": "Working...",
    "Prompt": null,
    "RedirectUri": null,
    "RefreshToken": null,
    "RequestType": 0,
    "RequestUri": null,
    "Resource": null,
    "ResponseMode": null,
    "ResponseType": null,
    "Scope": null,
    "ScriptButtonText": "Submit",
    "ScriptDisabledText": "Script is disabled. Click Submit to continue.",
    "SessionState": "b8c9fb...",
    "Sid": null,
    "State": null,
    "TargetLinkUri": null,
    "TokenEndpoint": null,
    "TokenType": null,
    "UiLocales": null,
    "UserId": null,
    "Username": null
}

Seems like something is going wrong here: https://github.com/aspnet/Security/blob/dev/src/Microsoft.AspNetCore.Authentication.OpenIdConnect/OpenIdConnectHandler.cs#L709
Any logs? Or failing that a fiddler trace of the token endpoint response would help.

I was having this same problem since upgrading to 1.1.0.  First thing I had to do was change thre ResponseType from Code to CodeIdToken.
ResponseType = OpenIdConnectResponseType.CodeIdToken

Next i added a call to tell the OIDC middleware that the response was handled.
private async Task OnAuthorizationCodeReceived(AuthorizationCodeReceivedContext context)
{
    ...

    context.HandleCodeRedemption();
    context.HandleResponse();
}

I don't know if there will be any side effects of this, but at least I can login again.

I found another issue when deploying to an Azure Web App after updating to 1.1.0.  The website fails with the error:
HTTP Error 502.3 - Bad Gateway
The specified CGI application encountered an error and the server terminated the process.

And the trace files came up with this warning...
MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName="AspNetCoreModule", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="502", HttpReason="Bad Gateway", HttpSubStatus="3", ErrorCode="2147954430", ConfigExceptionInfo=""

My issues was the home page had an [Authorize] attribute.  This was working fine in 1.0.1 with the redirect to login happening on the first page request.  So with 1.1.0 this appears to be broken.
The work around for me was to allow anonymous on the home page and redirect to another action that has the [Authorize] attribute and that seems to be working.  It would be good to know what's going on so I can remove the hack.

Sounds like an unhandled exception in the app. Turning on logging would be a good start.

I'll do a bit more digging into the logs.

@Tratcher
There is nothing being logged that I can see.  I did a fiddler trace and the call to microsoft to receive the token succeeds.  The response has the full token in there.  Right after that call, I see the redirect to my auth-error page.
Note, I tried, just for the heck of it, putting "context.HandleResponse();" at the end of my OnAuthorizationCodeReceived method, and I no longer get that error.  Though, OnTokenResponseReceived is no longer raised when that is in there.  I'm not sure if that line is a band-aid, coincidence, or what I should be doing anyway.

Ah, I see the problem.
    private async Task OnAuthorizationCodeReceived(AuthorizationCodeReceivedContext context)
    {
        var configuration = new ConfigurationOptions();
        this.Configuration.Bind(configuration);

        var request = context.HttpContext.Request;
        var currentUri = UriHelper.BuildAbsolute(request.Scheme, request.Host, request.PathBase, request.Path);
        var clientCredential = new ClientCredential(configuration.AzureActiveDirectory.ClientID, configuration.AzureActiveDirectory.ClientSecret);
        var authContext = new AuthenticationContext(configuration.AzureActiveDirectory.Authority, AuthPropertiesTokenCache.ForCodeRedemption(context.Properties));

        await authContext.AcquireTokenByAuthorizationCodeAsync(context.ProtocolMessage.Code, new Uri(currentUri), clientCredential, configuration.MicrosoftGraphApi.ResourceUri);
        this.logger.AcquiredTokenByAuthorizationCode(configuration.MicrosoftGraphApi.ResourceUri);

        context.HandleCodeRedemption();
    }

You call HandleCodeRedemption but don't give it the results, so when it tries to validate the the response it fails. Either give it the results or call HandleResponse to bypass further processing.

@Tratcher
Thank you for your help on this.  That solved my problem.  Here is the final piece of code:
private async Task OnAuthorizationCodeReceived(AuthorizationCodeReceivedContext context)
{
    var configuration = new ConfigurationOptions();
    this.Configuration.Bind(configuration);

    var request = context.HttpContext.Request;
    var currentUri = UriHelper.BuildAbsolute(request.Scheme, request.Host, request.PathBase, request.Path);
    var clientCredential = new ClientCredential(configuration.AzureActiveDirectory.ClientID, configuration.AzureActiveDirectory.ClientSecret);
    var authContext = new AuthenticationContext(configuration.AzureActiveDirectory.Authority, AuthPropertiesTokenCache.ForCodeRedemption(context.Properties));

    var result = await authContext.AcquireTokenByAuthorizationCodeAsync(context.ProtocolMessage.Code, new Uri(currentUri), clientCredential, configuration.MicrosoftGraphApi.ResourceUri);
    this.logger.AcquiredTokenByAuthorizationCode(configuration.MicrosoftGraphApi.ResourceUri);

    // passed the access/id tokens into HandleCodeRedemption
    context.HandleCodeRedemption(result.AccessToken, result.IdToken);
}


[util] Enforce a maxAvailableMemory limit for Majesty 2

Fixes #1542
While a larger discussion on UMA may be beneficial, the game's VRAM allocation logic is clearly broken in this case. I've bumped the limit to 2048 just to be a bit less restrictive, since the said game pack is known for its mod support, which might complicate things in terms of actual memory usage.

This won't restrict allocations unless you enable memory track test.

Hmmm... yet with this override alone I was able to get past the err:   DxvkMemoryAllocator: Memory allocation failed error and the game starts and plays just fine. Any idea why this works then without memory track test?

Probably because its querying GetAvailableTextureMemory to determine it, but it makes sense to enable track test either way


Session files not uploading

When using session._upload method, HTTPError: Connection error is thrown. This happens because of bug in method _post called from _payload_post called from said method, where "https://www.facebook.com" is added at the end of https://upload.facebook.com/ajax/mercury/upload.php . A quick fix is to change the line in method _post from:
r = self._session.post(prefix_url(url), data=data, files=files)
to:
r = self._session.post(prefix_url(url) if not url.startswith("https://upload.") else url, data=data, files=files)

Thanks for the report, I'll fix it at some point, for now, you should probably just use the supported version on the v1 branch 😉

Fix in 6660fd099d9df665ab58e3ee9cb33ca3a252d298, I've also moved Session._upload to Client.upload


Can this not be done without iphone?

Sorry for the long silence. The answer is yes and no.
Yes, because you can modify the code to accept pose inputs from sources other than iFacialMocap. In fact, other users have modified it so that it can be used with MeowFace, for example: https://gitlab.com/pale_color/talking-head-anime-3-with-switchable-images.
No, because, as far as this repository goes, no support for pose sources other than iFacialMocap will be added unless I have the motivation to do so.


TimePicker crash upon execution

Description of the Bug
The TimePicker widget seems to just automatically crash the entire program when you try to populate/use it (the widget). The app builds, with the button to open the time picker, but as soon as I click the button, the whole thing crashes. Also, "kivymd.uix.picker" for some reason needs to be changed to "kivymd.uix.pickers", else the app won't even fully build before crashing, and the traceback reads that there is no module named "kivymd.uix.picker"
Code and Logs
from kivy.lang import Builder

from kivymd.app import MDApp
from kivymd.uix.pickers import MDTimePicker

KV = '''
FloatLayout:

    MDRaisedButton:
        text: "Open time picker"
        pos_hint: {'center_x': .5, 'center_y': .5}
        on_release: app.show_time_picker()
'''

class Test(MDApp):
    def build(self):
        return Builder.load_string(KV)

    def show_time_picker(self):
        '''Open time picker dialog.'''

        time_dialog = MDTimePicker()
        time_dialog.open()

Test().run()

Last bit of the traceback:
File "D:\kivygui\virt\lib\site-packages\kivy\lang\builder.py", line 710, in _apply_rule
     raise BuilderException(rule.ctx, rule.line,
 kivy.lang.builder.BuilderException: Parser: File "<inline>", line 139:
 ...
     137:        num_type: "minute"
     138:        pos: dp(120), 0
 >>  139:        text_color: root.text_color
     140:        disabled: root.disabled
     141:        on_text: root.dispatch("on_time_input")
 ...
 KeyError: '_current_hint_text_color'
   File "D:\kivygui\virt\lib\site-packages\kivy\lang\builder.py", line 701, in _apply_rule
     setattr(widget_set, key, value)
   File "kivy\weakproxy.pyx", line 35, in kivy.weakproxy.WeakProxy.__setattr__
   File "kivy\properties.pyx", line 498, in kivy.properties.Property.__set__
   File "kivy\properties.pyx", line 545, in kivy.properties.Property.set
   File "kivy\properties.pyx", line 600, in kivy.properties.Property.dispatch
   File "kivy\_event.pyx", line 1248, in kivy._event.EventObservers.dispatch
   File "kivy\_event.pyx", line 1154, in kivy._event.EventObservers._dispatch
   File "kivy\_event.pyx", line 725, in kivy._event.EventDispatcher.__proxy_setter

Versions

OS: Windows 10
Python: 3.9
Kivy: 2.0
KivyMD: 1.0.0.dev0

I could not regenerate your issue. The only thing I modified in is the " kivymd.uix.picker import MDTimePicker" . Your code was pointing to the different file. I have tested this code on my Ubuntu and my Samsung phone all fine. If I can further assist let me know.
    from kivy.lang import Builder

    from kivymd.app import MDApp
    from kivymd.uix.picker import MDTimePicker

    KV = '''
    FloatLayout:

        MDRaisedButton:
            text: "Open time picker"
            pos_hint: {'center_x': .5, 'center_y': .5}
            on_release: app.show_time_picker()
    '''

    class Test(MDApp):
        def build(self):
            return Builder.load_string(KV)

        def show_time_picker(self):
            '''Open time picker dialog.'''

            time_dialog = MDTimePicker()
            time_dialog.open()

    Test().run()

@sollarp Thanks for your analysis!

Looks like it is a problem with the dev build. Uninstalling the dev build and installing using
pip install kivymd
seems to have resolved the issue, though this is how I had first installed when I had the issue originally. The dev install was an attempt to see if that would fix it, but seems like now the dev build is the only one with the issue.

Fix un master branch.


Issues trying to compile in VS2022 Professional for Windows without ROS

I am attempting to build the SDK to get the necessary files that are required to get the example working.
I have followed the instructions in the 'Build on Windows'; as well as the  'Build the shared library on Windows' sections.
Currently the project remains unbuildable.
The following error is preventing the full-build of sick_scan_xd :
cannot open source file "json/json.h"
The 'minimum_sick_scan_api_client' returns the following error
_**## WARNING SickScanApiLoadLibrary: LoadLibrary("sick_scan_xd_shared_lib.dll") failed
ERROR SickScanApiCreate: library not loaded
ERROR SickScanApi, cacheFunctionPtr(SickScanApiInitByCli): library not initialized
ERROR SickScanApi, cacheFunctionPtr(SickScanApiInitByCli): GetProcAddress failed
ERROR SickScanApiInitByCli: library call SickScanApiInitByCli() failed, error code 3
ERROR SickScanApi, cacheFunctionPtr(SickScanApiRegisterCartesianPointCloudMsg): library not initialized
ERROR SickScanApi, cacheFunctionPtr(SickScanApiRegisterCartesianPointCloudMsg): GetProcAddress failed
ERROR SickScanApiRegisterCartesianPointCloudMsg: library call SickScanApiRegisterCartesianPointCloudMsg() failed, error code 3**_
Likely due to the missing dll.

Thank you for your feedback. File "json.h" is required for an optional dockertests. We updated CMakeLists.txt to avoid this dependency. Please check out the update in branch feature/issue_update_2407xx and rebuild.


feat(certs): add basic MRC validation

Description:

adds BASIC validation of the MRC on add and update to the validating webhook

on add, checks for valid trust domain
on update, verifies trust domain and provider were not updated

moves Intent field to MRC spec
adds enum on the Intent field to limit possible values to active and passive

Part of #4723

Testing done:

[x] CI
[x] manual MRC creation and updates

Affected area:

Functional Area

New Functionality
[ ]

CI System
[ ]

CLI Tool
[ ]

Certificate Management
[x]

Control Plane
[ ]

Demo
[ ]

Documentation
[ ]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[ ]

Sidecar Injection
[ ]

Tests
[ ]

Upgrade
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? No

Did you notify the maintainers and provide attribution?

Is this a breaking change? No

Has documentation corresponding to this change been updated in the osm-docs repo (if applicable)? No

Codecov Report

Merging #5105 (819abc2) into main (926573b) will decrease coverage by 0.29%.
The diff coverage is 84.21%.

@@            Coverage Diff             @@
##             main    #5105      +/-   ##
==========================================
- Coverage   69.76%   69.47%   -0.30%
==========================================
  Files         199      197       -2
  Lines       15497    15493       -4
==========================================
- Hits        10812    10764      -48
- Misses       4629     4674      +45
+ Partials       56       55       -1

Flag
Coverage Δ

unittests
69.47% <84.21%> (-0.30%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/validator/validators.go
79.69% <79.66%> (-0.02%)
:arrow_down:

pkg/certificate/providers/config.go
83.16% <100.00%> (ø)

pkg/validator/patch.go
85.95% <100.00%> (+1.98%)
:arrow_up:

pkg/validator/server.go
82.02% <100.00%> (+0.20%)
:arrow_up:

pkg/envoy/ads/server.go
10.00% <0.00%> (-56.67%)
:arrow_down:

pkg/envoy/ads/cache_stream.go
20.00% <0.00%> (-48.34%)
:arrow_down:

pkg/envoy/ads/profile.go
46.51% <0.00%> (-41.87%)
:arrow_down:

pkg/debugger/mock_debugger_generated.go
28.57% <0.00%> (-39.18%)
:arrow_down:

pkg/envoy/ads/cache_callbacks.go
0.00% <0.00%> (-5.95%)
:arrow_down:

pkg/envoy/sds/response.go
83.87% <0.00%> (-5.42%)
:arrow_down:

... and 25 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


fix: change import UserEmail for Sentry 24.11.0

Due to PR #76134 in Sentry repository, the UserEmail model has been moved to users module and import UserEmail now is broken.
I changed import for UserEmail model and bumped package version to 24.11.0. Tested only for Sentry 24.11.0.

Oh, I'm sorry. It's a duplicate of #20
I close this PR.


setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (750,) + inhomogeneous part.

报错：setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (750,) + inhomogeneous part.

maybe the numpy version is too advanced.
pip install numpy==1.23.0


Add passive mode

Sorry about the huge PR, I tried to break it up into smaller commits to make it easier to review.
Closes #11.
Not sure if you think this implements #15.

Sorry for the delay.
I see right now that if a game is not found today (and today is a tricky thing to get right considering different time zones, that's why there's explicit timezone setting) then the process exits with The game couldn't be autoselected.. Despite that my fav team played ~12 hours ago and I have not yet watched it (as it's hard to do it when basically all the games are being played deep into the night on Europe time).
I see this maybe this way.
There is a log of all fav team's games downloaded. And this --passive mode tries to find earliest not watched game. There are some problems though:

What if you've just added a fav team (so no games were downloaded for it yet). How far into the past should we look for game download?

Or you have not watched games for 3 months (how is that even possible, right? it's hockey! but still). I bet you don't want to auto download a 3 month old game.

Maybe there should be a config setting like passiveModeWeeksToConsider with a default value of like 2 weeks. So that this passive mode will download earliest not watched game within these 2 past weeks.
And also we should consider how to mark game as completely downloaded. So that if there's network outage in the middle of this passively downloaded game then the second passive run would continue downloading that game.
What do you think?

When implementing this, I tried to stand back and see what nhl-tv-geeky-streams was doing: let the user choose the game (and the feed and the stream quality) to download, then download it. So in this pull request, I was trying to get it so that given the config and the start date (nhl-tv-geeky-stream's today), it would be able to auto select everything. FYI, I have since noticed that there's a couple of bugs in the passive selection code which I haven't fixed yet. It currently ignores the disabled status of a game (like if it hasn't started yet). Also, for feeds sometimes there's a feed for the favorite team and a Canada national feed for the other team and it doesn't know which one to select.
I was thinking that if you have a media server and you want it to automatically download the games, then you would schedule nhl-tv-geeky-streams to run once a day at the end of the US day with --passive. If you have multiple favorite teams, I thought we could add an additional command line parameter for the favorite team that would override the config. As you point out, this potentially has problems because of things like network outages. Though we could add a command line parameter for the start date and you could schedule it to run multiple times for the previous day.
I feel like it would be a separate feature from --passive if we want nhl-tv-geeky-streams to be able to look at the download history to figure out how far back to go and then download all the games from that point (--managed? add an option in the UI to select this as well?). If we put it in the UI, then the first time it runs for a fav team we could get the user to pick the starting game. If it's not the first time then we could get the user to confirm the starting game, or choose a new one. And if they didn't use the UI, then we could start at the beginning of the current season (or block and force them to use the UI the first time?).
I have been playing with other features and have already figured out how to know when the download completed successfully.


[Bug] Diaflow can not connect with firebase

I have a fulfillment inline editor code
'use strict';
const functions = require('firebase-functions');
const admin = require('firebase-admin');
admin.initializeApp();
const {
  dialogflow,
  BasicCard,
  BrowseCarousel,
  BrowseCarouselItem,
  Button,
  Carousel,
  Image,
  LinkOutSuggestion,
  List,
  MediaObject,
  Suggestions,
  SimpleResponse,
  Table  } = require('actions-on-google');
const intentSuggestions = [
  'Control',
  'Get Status',
  'light on',
  'light off',
  'light status',
  'fan on',
  'fan off',
  'fan status',
];
const app = dialogflow();
app.intent('Input_Welcome', (conv) => {
  conv.ask(`Welcome, How can I help?`);
  conv.ask(new Suggestions(intentSuggestions));
});

app.intent('device',(conv, { devices, status }) => {
  return admin.database().ref(`/ESP8266/${devices}/value`).set(status)
    .then(snapshot => {
      conv.ask(`OK, switching ${devices} ${status}. Do you want more?`);
      conv.ask(new Suggestions(intentSuggestions));
    })
    .catch(error => console.error(error)); // Added a catch block
});
exports.dialogflowFirebaseFulfillment = functions.https.onRequest(app);

When i deploy it, i have an error in function logs "dialogflowFirebaseFulfillment
Warning, estimating Firebase Config based on GCLOUD_PROJECT. Initializing firebase-admin may fail "(1)
. When i call "light on" in simulator to trigger "device" intent  , i have an error " xxx left the conservation" and function logs " FIREBASE FATAL ERROR: Cannot parse Firebase url. Please use https://.firebaseio.com ...."(2) .
If I remove this code
return admin.database().ref().set()
.then(snapshot => {
});

the simulator is ok ( but still have the error (1)).
About three months ago, I deployed this code and it all okay.
I read the changelogs and docs but cant find how to fix it.
Pls help me what wrong with firebase.
I use realtime database.
This is my pakage.json
{
  "name": "dialogflowFirebaseFulfillment",
  "description": "This is the default fulfillment for a Dialogflow agents using Cloud Functions for Firebase",
  "version": "0.0.1",
  "private": true,
  "license": "Apache Version 2.0",
  "author": "Google Inc.",
  "engines": {
    "node": "8"
  },
  "scripts": {
    "start": "firebase serve --only functions:dialogflowFirebaseFulfillment",
    "deploy": "firebase deploy --only functions:dialogflowFirebaseFulfillment"
  },
  "dependencies": {
    "actions-on-google": "^2.2.0",
    "firebase-admin": "^5.13.1",
    "firebase-functions": "^2.0.2",
    "dialogflow": "^0.6.0",
    "dialogflow-fulfillment": "^0.5.0"
  }
}

I contacted with firebase support and he recommend me open a bug. Sorry for my bad english !!

To make calls to external network requests you need to be on the Flame or Blaze plans of Firebase. You are on the free Spark plan. This may or may not be a cause of your issue.

It seems you may be confusing the Actions on Google client library with the Dialogflow-Fulfillment library, i.e. the latter being the place where you are posting your issue. However, you are building an Action and using the Actions on Google client library. I'd check out the available samples.
The issue is with your package.json file because you are using the Dialogflow-Fulfillment's boilerplate dependencies package file, instead it should be:
{
  "name": "your-action-app",
  "description": "This is your Action's webhook",
  "version": "0.0.1",
  "private": true,
  "license": "Apache Version 2.0",
  "author": "Google Inc.",
  "engines": {
    "node": "8"
  },
  "scripts": {
    "lint": "eslint --fix \"**/*.js\"",
    "start": "firebase serve --only functions",
    "deploy": "firebase deploy --only functions",
    "test": "npm run lint"
  },
  "dependencies": {
    "actions-on-google": "^2.0.0",
    "firebase-admin": "^5.11.0",
    "firebase-functions": "^1.0.0"
  },
  "devDependencies": {
    "eslint": "^4.19.0",
    "eslint-config-google": "^0.9.1"
  }
}

It seems you may be confusing the Actions on Google client library with the Dialogflow-Fulfillment library, i.e. the latter being the place where you are posting your issue. However, you are building an Action and using the Actions on Google client library. I'd check out the available samples.
The issue is with your package.json file because you are using the Dialogflow-Fulfillment's boilerplate dependencies package file, instead it should be:
{
  "name": "your-action-app",
  "description": "This is your Action's webhook",
  "version": "0.0.1",
  "private": true,
  "license": "Apache Version 2.0",
  "author": "Google Inc.",
  "engines": {
    "node": "8"
  },
  "scripts": {
    "lint": "eslint --fix \"**/*.js\"",
    "start": "firebase serve --only functions",
    "deploy": "firebase deploy --only functions",
    "test": "npm run lint"
  },
  "dependencies": {
    "actions-on-google": "^2.0.0",
    "firebase-admin": "^5.11.0",
    "firebase-functions": "^1.0.0"
  },
  "devDependencies": {
    "eslint": "^4.19.0",
    "eslint-config-google": "^0.9.1"
  }
}

Ok i fixed it. That's great. Many thanks for your help !!

I have the same fulfillment inline editor code:
//--------------------------------------------------------------------//
'use strict';
//Khai báo thư viện để kết nối triển khai code lên firebase-functions
const functions = require('firebase-functions');
//Khai báo thư viện để kết nối với Firebase Realtime Database
const admin = require('firebase-admin');
admin.initializeApp({
credential: admin.credential.applicationDefault(),
databaseURL: 'https://nodemculed-d7408.firebaseio.com'
});
// Khai báo các dịch vụ được hỗ trợ bởi actions-on-google
const {
dialogflow,
BasicCard,
BrowseCarousel,
BrowseCarouselItem,
Button,
Carousel,
Image,
LinkOutSuggestion,
List,
MediaObject,
Suggestions,
SimpleResponse,
Table  } = require('actions-on-google');
//Khai báo các gợi ý dành cho người dùng (tối đa 8 gợi ý)
const intentSuggestions = [
'Control',
'Get Status',
'light on',
'light off',
'light status',
'fan on',
'fan off',
'fan status',
];
// Tạo instance đặt tên là "app" để tương tác với dialogflow.
const app = dialogflow();
// Xử lý các Dialogflow intents.
app.intent('Input_Welcome', (conv) => {
conv.ask(Welcome 222, How can I help?);
conv.ask(new Suggestions(intentSuggestions));
});
app.intent('Control_Devices',(conv, { devices, status }) => {
return admin.database().ref(/ESP8266/${devices}/value).set(status)
.then(function(snapshot) {
conv.ask(OK, switching ${devices} ${status}. Do you want more?);
conv.ask(new Suggestions(intentSuggestions));
});
});
app.intent('Get_Status_Devices',(conv, { devices }) => {
return admin.database().ref(/ESP8266/${devices}).once("value")
.then(function(snapshot) {
var sta = snapshot.child("value").val();
//var sta = "on";
conv.ask(${devices} status is  + sta + . Do you want more?);
conv.ask(new Suggestions(intentSuggestions));
});
});
exports.dialogflowFirebaseFulfillment = functions.https.onRequest(app);
//-----------------------------------------------------------------------------------------//
But i have a problem when I test in Actions on Google:
"MalformedResponse
Failed to parse Dialogflow response into AppResponse because of invalid platform response: Could not find a RichResponse or SystemIntent in the platform response for agentId: 4cbca294-9872-4dbc-86ee-daf947e3962e and intentId: 6974f665-acb9-4a8f-934a-e540bce4eab4. WebhookStatus: code: 4 message: "Webhook call failed. Error: DEADLINE_EXCEEDED." .."
How can i fix this problem ? Please help me!

It seems you may be confusing the Actions on Google client library with the Dialogflow-Fulfillment library, i.e. the latter being the place where you are posting your issue. However, you are building an Action and using the Actions on Google client library. I'd check out the available samples.
The issue is with your package.json file because you are using the Dialogflow-Fulfillment's boilerplate dependencies package file, instead it should be:
{
  "name": "your-action-app",
  "description": "This is your Action's webhook",
  "version": "0.0.1",
  "private": true,
  "license": "Apache Version 2.0",
  "author": "Google Inc.",
  "engines": {
    "node": "8"
  },
  "scripts": {
    "lint": "eslint --fix \"**/*.js\"",
    "start": "firebase serve --only functions",
    "deploy": "firebase deploy --only functions",
    "test": "npm run lint"
  },
  "dependencies": {
    "actions-on-google": "^2.0.0",
    "firebase-admin": "^5.11.0",
    "firebase-functions": "^1.0.0"
  },
  "devDependencies": {
    "eslint": "^4.19.0",
    "eslint-config-google": "^0.9.1"
  }
}

Ok i fixed it. That's great. Many thanks for your help !!

Sorry, Can you tell more details? I followed the lines, it did not work. Thanks.


Compiling for one platform from another

What is your question?
Windows user. I'm using Psych to make a sort of joke mod to distribute to a friend group, but we're all on different platforms. A few of us daily drive windows, a few of us daily drive mac, and a one of us daily drives linux(debian based, I believe?). The others don't know anything about compiling or how any of this works, and for the sake of their simplicity, I was wondering if it was possible to compile for other platforms off one. As far as I'm aware, "lime test " is for building FROM said platform, not for. If need be, I suppose I could just compile each version inside an emulator, I just didn't want to, install and troubleshoot everything thrice haha.

not possible, if you wanna compile to a specific platform, you have to be using that platform, that is a limitation within haxe and lime itself

Yeahh, that's what I thought, lol. I was just wondering if anyone more experienced with the programs knew otherwise. Emulator it is, then. Thanks for the clarification, though!