Fix rmi by ID untagging image on error

Do not untag image if it would later get a hard conflict because of running containers.
Fixes #18873
Signed-off-by: Tonis Tiigi<EMAIL_ADDRESS>

Should this be allowed with -f? Not sure that would make sense, but just checking.
Also, it's probably worth factoring these few lines into a function, since they are duplicated from above.

@aaronlehmann So you would want to untag when force is specified (as the deletion will fail anyway because running containers is a hard conflict)? Seems unlikely that any use would expect this to happen.

I agree it probably isn't intuitive, just checking to see if that would match previous behavior. I noticed that if you rmi a tag with -f, it will remove the tag even if there's a hard conflict.

LGTM
I wasn't thrilled about adding another flag to the conflict checking functions, so @tonistiigi is going to open a followup PR to clean up these functions by unifying them into a single function that takes a bitmask controlling its behavior. We decided that it would be easiest for this PR to only include the bug fix, and then for the cleanup to come separately.

LGTM

LGTM


cv2 importing fail OpenCV

tried compiling with venv and without python3.10 multi mode
for now gonna try to remove the func where it uses

yeah fixed by removing the import cv2, the size is still 100mb tho

try pip uninstall opencv-python inside venv and compile again. Please let me know if this will fix the size issue

I will take a closer look into this Issue, you are not the first person complaining about that. But, just curious, you are testing it on Windows 10 or 11?

I have python 3.10 on windows 11. This issue happened for me as well.

hmm, so it could be fault of windows 11? I'm testing everything on win10, but now, at least I know what to fix

@mategol
compiling on win11, testing on win10 virtual box

I think that this is happening because of compiling on Windows 11. I will take a closer look into this


Increase Usability and Consistency of Nord Light

Update Nord Light theme to improve usability and make the black and grey colors a dark blue.
Prior to this change, it was extremely difficult to read green text with Nord Light because the green was such a light color that the text was hard to discern against the background.
Green text is common in the output of commands like git diff, and many zsh themes use green text to indicate the existence of a command. This commit  updates Nord Light to use a darker green that's still in line with the theme.
This PR also updates Black to be dark blue, and Grey to be blue-grey. Using dark blue and blue-grey colors for Black and Grey respectively is more in line with the style choices made by the Nord theme. I've provided relevant before and after shots below, with the previous version being on the left.
Before vs After:

I think that would be a good thing to do some day!
Thank you so much for creating this project - having a consistent and portable source of terminal themes has been really nice, and the install process is really easy!


update wsdls

Codecov Report

Merging #98 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #98   +/-   ##
=======================================
  Coverage   98.98%   98.98%
=======================================
  Files          11       11
  Lines        1572     1572
=======================================
  Hits         1556     1556
  Misses         16       16

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b2fff3d...ad4948d. Read the comment docs.

@jairhenrique Esta alteração é nova na API dos correios ? Vi que entrou bastante coisa

@rhenter só rodei o comando que bate da api dos correios e atualiza o payload. make update-wsdl

We'll need do run this update periodically? I was thinking that we need to run it only when Correios update their APIs (never? :D).
Maybe it's a good idea to keep this feature (load local wsdls) disabled by default and/or enable to configure the location of these files (enable users to update only wsdl files keeping library version unchanged)

@osantana this files are outdated 😞

I will update it before release. Next release will be a major version and I will make changes in several places. I'll send these changes as PRs for all contributors take a look into it.


⚠ Bofrost.de has degraded performance

In faf667e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1952 ms

Resolved: Bofrost.de performance has improved in dba8dfb.


feat: support i128 and u128

As title.
(seems the default is merge rather than squash)

(seems the default is merge rather than squash)

Just updated the PR settings.


Classification High, Medium and Low alerts

Can you add a description what are the criteria for low, medium and High alerts?

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

ID: bc36355e-92cf-4f93-9d3e-ef6b167e7566
Version Independent ID: 54c401ad-cacf-bc5f-f5ea-4ce07157f4fa
Content: Manage security incidents in Azure Security Center
Content Source: articles/security-center/security-center-incident.md
Service: security-center
GitHub Login: @memildin
Microsoft Alias: memildin

Hey @cstainie thanks for your feedback, we're looking into this and will respond accordingly as soon as possible thanks!

We've now added the classification system to the alerts overview page:
https://docs.microsoft.com/azure/security-center/security-center-alerts-overview
Thanks for the feedback!
#please-close


Audit for missing #[inline]s

I realized in my previous PRs, I hadn't been inlining code that probably
should be, so I went back and audited all of the code for missing
#[inline]s.

Nice! Thanks!


Makes ChromaDB telemetry default to opt out

https://docs.trychroma.com/telemetry
#default opt out of chromadb telemetry
from chromadb.config import Settings
client = chromadb.Client(Settings(anonymized_telemetry=False))
Thanks for the extension. Works great.

I duct taped this into gh pr checkout 2 and it throws an error because that PR deosn't import chroma.


Added suport for Headers

With these changes it is possible to set headers.

#4

Is this going to be merged and released ever?

FTR, Graphiql just merged support for this 8 days ago https://github.com/graphql/graphiql/pull/1543

So lame, at least pass the torch onto someone willing to maintain it


Might there be some way to comment metadata.json?

I don't know what license to use... Would be nice to be able to add a comment regarding that uncertainty in my metadata.json file
I like laktak's little video comment in favor of Human json (Hjson)
https://stackoverflow.com/questions/244777/can-comments-be-used-in-json
Hmmm... one of the commenters there said comments are allowed in yaml... so that's a good argument for yaml.
Anyhow, just came to mind, and thought I'd mention it here. Looks like https://hjson.github.io/ has the details.

One issue I could see with adding first class support for metadata in hjson format is that this would require adding an additional dependency to handle this, for a feature that would be unused by many users. I wonder if this could fit in as a plugin instead; if a hook existed for loading metadata (maybe as part of https://github.com/simonw/datasette/issues/860) the metadata could then come from any source, as specified by plugins, e.g. hjson, toml, XML, a database table etc.
Until/unless this exists, a few ideas for how you could add comments:

Using YAML as you suggest.
A common pattern is adding a "comment" key for comments to any object in JSON - I don't think including an unnecessary key like this would break anything in Datasette, but not certain.
You could use another tool as a preprocessor for your JSON metadata - e.g. hjson or Jsonnet. You'd write the metadata in that format, and then convert that into JSON to actually use as your final metadata.

Yes this is one of the main reasons I'm planning to switch to encouraging YAML be default instead of JSON (while still supporting JSON) - YAML supports comments and multi-line strings.
See #1153 for YAML by default in the documentation.


Deployment thru Flux failing

I followed directions exactly as they existed. Deployment failed as a capacitor was created and immediately deleted. Do you have any thoughts?
1s	Normal	Progressing	Kustomization/capacitor	Kustomization/flux-system/capacitor configured
OCIRepository/flux-system/capacitor created
0s	Normal	ReconciliationSucceeded	Kustomization/capacitor	Reconciliation finished in 563.060082ms, next run in 10m0s
0s	Normal	NewArtifact	OCIRepository/capacitor	stored artifact with revision 'v0.4.2@sha256:1e72940be8383cd5054e3efcff8ec36f27e33959a4b940fc4b956c932083578b' from 'oci://ghcr.io/gimlet-io/capacitor-manifests', origin source 'git://github.com/gimlet-io/capacitor.git', origin revision 'capacitor-v0.4.2@sha1:d8c8bc95c5af71ddf8baabc71da744dde9dcbc0c'
0s	Normal	Progressing	Kustomization/capacitor	ServiceAccount/flux-system/capacitor created
ClusterRole/capacitor created
ClusterRoleBinding/capacitor created
Service/flux-system/capacitor created
Deployment/flux-system/capacitor created
0s	Normal	GarbageCollectionSucceeded	OCIRepository/capacitor	garbage collected artifacts for deleted resource
0s	Normal	Progressing	Kustomization/capacitor	OCIRepository/flux-system/capacitor deleted
Kustomization/flux-system/capacitor deleted
0s	Normal	Progressing	Kustomization/capacitor	Health check passed in 5.221377515s
0s	Normal	ReconciliationSucceeded	Kustomization/capacitor	Reconciliation finished in 5.579574302s, next run in 30m0s
0s	Normal	ReconciliationSucceeded	Kustomization/capacitor	Deployment/flux-system/capacitor deleted
Service/flux-system/capacitor deleted
ClusterRoleBinding/capacitor deleted
ClusterRole/capacitor deleted
ServiceAccount/flux-system/capacitor deleted
0s	Normal	ReconciliationSucceeded	Kustomization/capacitor	Reconciliation finished in 517.575176ms, next run in 30m0s

Wow, maybe you have a race condition between kustomizations?
One has it, the other does not, and it deletes it immediately?

Found the health check is failing

Set prune to false and was able to describe the pod and found the following:
Events:
Type     Reason     Age    From               Message

Normal   Scheduled  2m48s  default-scheduler  Successfully assigned flux-system/capacitor-XXXXX-XXXXX to ip-10-X-X-53.X-west-2.compute.internal
Normal   Pulled     2m47s  kubelet            Container image "ghcr.io/gimlet-io/capacitor:v0.4.2" already present on machine
Normal   Created    2m47s  kubelet            Created container capacitor
Normal   Started    2m47s  kubelet            Started container capacitor
Warning  Unhealthy  2m47s  kubelet            Readiness probe failed: Get "http://10.X.X.134:9000/": dial tcp 10.X.X.134:9000: connect: connection refused
And this from the pod:
/capacitor $ netstat -tulp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
TCP        0      0 :::9000                 :::*                    LISTEN      1/capacitor
/capacitor $
/capacitor $ ifconfig
eth0      Link encap: Ethernet  HWaddr XX:XX:XX:XX: XX:67
init addr:10.X.X.134  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
UP BROADCAST RUNNING MULTICAST  MTU:9001  Metric:1
RX packets:45908 errors:0 dropped:0 overruns:0 frame:0
TX packets:55434 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:156511699 (149.2 MiB)  TX bytes:5370200 (5.1 MiB)
lo        Link encap: Local Loopback
inet addr:<IP_ADDRESS>  Mask:<IP_ADDRESS>
inet6 add: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:65536  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
/capacitor $


Docs: document turbo.* generator variables

What is the improvement or update you wish to see?
Code generator comes with built-in variables, e.g. {{ turbo.paths.root }}, but they are not documented anywhere.
Is there any context that might help us understand?
https://turbo.build/repo/docs/guides/generating-code
Does the docs page already exist? Please link to it.
https://turbo.build/repo/docs/guides/generating-code

Dumping turbo object, it seems to have the following shape, but not sure what is public there:
{
  "paths": {
    "cwd": "/Users/foo/my-project/apps/dir",
    "root": "/Users/foo/my-project",
    "workspace": "/Users/foo/my-project"
  },
  "configs": [
    {
      "config": {},
      "turboConfigPath": "/Users/foo/my-project/turbo.json",
      "workspacePath": "/Users/foo/my-project",
      "isRootConfig": true
    }
  ]
}

Hi, I stumbled across this feature and was also wondering about this. I did some digging and I'm just going to leave this for anyone else that is currently looking:
My turbo object dump looks like this:
{
  paths: {
    cwd: 'C:\\Development\\monorepo\\libs\\core',
    root: 'C:\\Development\\monorepo',
    workspace: 'C:\\Development\\monorepo\\libs\\core\\turbo\\generators'
  },
  configs: [
    {
      config: [Object],
      turboConfigPath: 'C:\\Development\\monorepo\\turbo.json',
      workspacePath: 'C:\\Development\\monorepo',
      isRootConfig: true
    },
    {
      config: [Object],
      turboConfigPath: 'C:\\Development\\monorepo\\apps\\dev-storybook\\turbo.json',
      workspacePath: 'C:\\Development\\monorepo\\apps\\dev-storybook',
      isRootConfig: false
    },
    {
      config: [Object],
      turboConfigPath: 'C:\\Development\\monorepo\\apps\\docs\\turbo.json',
      workspacePath: 'C:\\Development\\monorepo\\apps\\docs',
      isRootConfig: false
    }
  ]
}

paths:

cwd: I assume "current workspace directory", the path of the workspace that turbo gen was executed in (not the actual location inside that workspace)
root: Monorepo/Project root path
workspace: Path of the workspace that the selected generator config is in (For a generator that is in a workspace folder it was "C:\Development\monorepo\libs\core\turbo\generators", though the path ended at the project root for @moltar for some reason)

configs is an array of every config that turbo knows about.
By the way, it would be awesome if paths could list every known workspace so that you can do something in all of them or select one of them. I was originally looking at this feature to automatically generate TS types in a library workspace, based on its src/components contents.

Hey all, a little details here - these are intended to be public, so you can use them without fear that we'll break it without notice. We'll add it to the list to document!


add sql checks to avoid breaking nosql databases

Other than that, very clean PR - well done @pxpm , thank you 🙏


Add small tutorial

A small tutorial on what are the important things to build in the first place would be great.
Frankly speaking, I got stuck after 1 minute.

I think having the players to figure out some stuff on their own is ok. But nothing speaks against writing a tutorial.

Started writing up some documentation. The tutorial could go there, too: https://github.com/mlange-42/tiny-world/tree/main/docs


Add fee token information to Ecosystem API

Overview
It would be helpful to know information about the base fee currency token for display purposes.
Let's say I am building a display app  / plugin using ape I want to show balances of accounts. Right now, hard to know what "balance" means (from an abstract perspective). Also want the correct symbol when it is not paid in ETH.
Specification
class FeeTokenAPI:
   symbol: str
   decimals: int
   name: str

class EcosystemAPI:
   fee_token: Optional[FeeTokenAPI] = None

optional in case it is some alpha chain with no fees yet.
Dependencies
Include links to any open issues that must be resolved before this feature can be implemented.

maybe it should be called native_token

maybe it should be called native_token

It is not always native though. In the case of Starknet, it is an ERC20 at the moment

maybe it should be called native_token

It could be fee_token: Optional[AddressType] = None where None means "use native Ether-like balances", and having one means that it should download and reference the contract address for balance information

It could be fee_token: Optional[AddressType] = None where None means "use native Ether-like balances"

What if the native token is not Ether like?

I would say this semantic would mean "fee token is an ERC-like token" at a specific address, or if it is blank it means "the fee token is the native token, using whatever API the chain has natively for working with it's native tokens"

Even if it is a native token, how can I know how many decimals it uses?
Like say I am building a command that outputs balances in a nicer way, and all I have is a EcosystemAPI, how do I know the symbol and decimal amount?

this got done!


Consider movement from outputing code to outputting ast.

Back when Elchemy started a year ago producing an output as a binary was an obvious choice because of readability. Right now, however, with an Elixir formatter being built-in and generally much nicer tools to produce readable code out of AST it's worth considering if overhauling the compiler from
Elchemy Code -> Ast -> Elixir Code

to
Elchemy Code -> Ast -> Elixir Ast -> Elixir Code

Pros:

Better (hopefully) readability
A lot less unnecessary parens
Much better support of line ordering (it might even be possible to do 1 to 1 line representation)
Smaller chance of making a mistake in output code
Much more universal and easier to reason about
!!! FREE MACROS !!!

Cons

Time taking
Additional layer of abstraction
Might be harder to manage
Removes the possibility of doing dirty tricks with the code (double edged sword though)
A lot of work for (almost) no added functionality for the end user

I'd definitely output AST, feed that through Macro.to_string then feed that through Code.format_strring!.

Removes the possibility of doing dirty tricks with the code (double edged sword though)

Actually this is entirely incorrect.  Elixir itself is a reduced syntax, the AST can actually represent a lot of code that is just entirely invalid in Elixir's syntax itself (obviously you'd want to make sure to put in appropriate unquote's and such in the AST to allow the syntax itself to properly represent it if you want to format it).  :-)

Since this card requires Elixir parts that'd mean it first needs Elchemy to be run in its self-hosted version or we'd need to store the AST in intermediate files.
Either way it's a too low in terms bang for buck ratio for right now.
It should stick around here until it's time for it though


Create CDEF test Sequence with correct EncoderConfig

The tests were using a Sequence initialized with a default EncoderConfig, and the parameters did not correspond with the configuration passed to FrameInvariants.

Coverage remained the same at 81.222% when pulling 4f2e1b6a30605650b78cb431db196956a664e598 on rzumer:cdef_test_coherence into cced3ac3626e281b221155c0542b65f6e4e41ed3 on xiph:master.


Change module & package name

As mentioned in my PR review, I would suggest that you choose a module and package name that fulfil these requirements:

use a reverse domain name package name for a domain that is under your control ✔
use a root package name that will never be used by any other module ✖
[bonus: use a module name that matches the begin of your root package] ✖

https://github.com/purejava/libappindicator-gtk3-java/blob/9fef3b1976c03eb0040556b7f62ac98098ea165a/src/main/java/module-info.java#L1-L4
Should you ever want to publish another module for some linux lib binding, you can not use org.purejava.linux.* any longer. This name is now forever taken by this library. Otherwise library consumers would run into a split package problem, preventing them from using your libs in a modular app.
Therefore I suggest to change the names to e.g.
module org.purejava.libappindicator.full {
    requires org.slf4j;
    exports org.purejava.libappindicator; // technically still a problem if you include "full" and "minimal" jars at the same time!
}

On second thought I would use the same module name for all build variants. It is the dependency manager's job to make sure you don't include full and minimal at the same time.
Either use a version suffix (1.2.0-minimal) or a <classifier>.

Hey @overheadhunter, thank you very much for bringing this up again!
As you might have noticed, this is the first time I defined Java module and package names and so do not have any experience in this.
Thanks for the hints and the example on how to do it right. I'll change the names as suggested.

Fixed by https://github.com/purejava/appindicator-gtk3-java/commit/d49a25372d025c6fffd8b96fea74f55ef42922a3, https://github.com/purejava/appindicator-gtk3-java/commit/a39040c57faadd1ef2af6fa9e244fb1ad12c8e92 and https://github.com/purejava/appindicator-gtk3-java/commit/8207b706d6449ddafbcc562bd3ee8243c33a5c87.


chore: Add an explanation about Azure Workliad Identity federations during overrides

Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)

@tomkerkhove PTAL


show the sqlite version in output of describe

Preliminary checklist

[X] I am using the latest stable version of DDEV (see upgrade guide)
[X] I have searched existing issues
[X] I have checked the troubleshooting guide
[X] I have run ddev debug test to include output below

Output of ddev debug test
Expand `ddev debug test` diagnostic information
[COPY-PASTE HERE THE OUTPUT OF `ddev debug test`]

Expected Behavior
The ddev describe status gives the versions of things in the web container, such as PHP and NodeJS.
Since sqlite is included in this, it could be useful to show that too.
Actual Behavior
├──────────┼──────┼─────────────────────────────────────────────────────────────────┼────────────────────┤
│ web      │ OK   │ https://drupal-core-development-project.ddev.site               │ drupal PHP8.3      │
│          │      │ InDocker: web:443,80,8025                                       │ nginx-fpm          │
│          │      │ Host: <IP_ADDRESS>:32802,32803                                     │ docroot:'web'      │
│          │      │                                                                 │ Perf mode: mutagen │
│          │      │                                                                 │ NodeJS:18          │
├──────────┼──────┼─────────────────────────────────────────────────────────────────┼────────────────────┤

Steps To Reproduce

do ddev describe

Anything else?
No response

DDEV does not have explicit support for the sqlite type (even though it has all the capabilities obviously.)
This is a duplicate of

https://github.com/ddev/ddev/issues/6147

Sure, but it's listed as one of the developer tools in the web image on https://ddev.readthedocs.io/en/stable/users/usage/developer-tools/

sqlite is there in the web container and fully usable. But it's not an explicit database type. That's why the other issue is the relevant one.

but as it is part of the web container i think it might make sense to list sqlite in the info section. (at least for drupal users it might be an information of interest to a certain degree) but i also agree that the cleaner approach in the long run might be a dedicated database type. both make sense to me tbh

Sorry, I don't know how to do it without making sqlite a first-class database type. I understand that it sounds trivial to you. But it means handling settings, adding it to configuration options (database option in config.yaml) and much more. Contributions are welcome, but this is never used anywhere except Drupal, and there only for core dev. It's pretty much an oddball.

Thanks for the explanation @rfay. Given that, I can see makes sense to only do this if #6147 is done.


Error in Test Case II: Problem #13

In Problem 13 Test Case II, I believe output should be 0.
Explanation:
For Client 0:

Diamond 0 has purity greater than required but is out of budget.
Diamond 1 has purity lesser than required.
So, Client 0 purchases neither.

For Client 1:

Neither diamonds have purity greater than required.
So, Client 1 purchases neither.

Hence, sales should be 0

Yes @DSAghicha is right.


Fixed #35156 -- Removed outdated note about not supporting foreign keys by SQLite.

@bcail Thanks :+1: I corrected wrapping in #17804.

@felixxm thanks. Is there a check I can run next time for verifying the wrapping?

@felixxm thanks. Is there a check I can run next time for verifying the wrapping?

Unfortunately not, normally we wrap at 79 chars.

Merged in b3dc80682e678b20c89fb2a430c0bc77960a29ac.


[Bug] Postgres plugin returns JSON representation of "citext" columns instead of string representation

Columns of type citext are essentially the same as the text type, but are case insensitive. It's a Postgres plugin that provides a case-insensitive text type. Ref: https://www.postgresql.org/docs/current/citext.html.
Currently, columns of this type look like this:

Marking Critical since there is no workaround to access the data inside citext columns currently. If there is indeed a workaround, please feel free to change to High.

A workaround is to use ::text on the column, like so:
select a_citext_column::text from my_table;

This will cast the column's value to being plain text type, which Appsmith handle nicely.

Looks related to #4226

I'm curious if this is an straight forward fix as it seemed closely related to issue #4226
Thanks a bunch

Wondering if it is ok to bump this bug again?   Every text column in all our postgres databases is citext (it's great as it takes care of case-sensitivity).    It takes so much time to manually json.parse or cast as ::text.    Now that #4226 is solved can that fix be applied to this bug?
Thank you,


nixos/tests/installer: switch ZFS root test to UEFI Boot

Description of changes
Legacy BIOS is increasingly rare thankfully, we switch to UEFI Boot as our baseline.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux

[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Also see #223412.


Update porting guide to reflect new repo structure

The porting guide needs to be updated to support:

separate repo for platform
cmake/ninja build system

@jwhui, @lmnotran is working on this.  However, there are some things which we believe your team will need to fill in so he's going to create a PR with some sections with TBD.


bug: Cody asks for file contents despite @-mention

Version
The latest?
Describe the bug
When using the @ symbol to give the file reference, Cody routinely still asks for the code via copy and paste as if nothing was provided, and even if something is listed in the Context.  But no reply is provided.
Expected behavior
Cody to review the file provided via @filename

Additional context
No response

@slaughters85j Are you still experiencing this issue in the latest Cody?

Apologies, I accidentally closed this out due to some automation we have.


Various Fixes & 0.6.0 Release

0.6.0 version bump
Update mypy
Sanic is installed as an extra
Remove ability to eval JSX via importSource
doc fixes (closes #123, closes #93, closes #122)
remove duped license (closes #130)

https://idom.readthedocs.io/en/latest/examples.html#import-javascript
Needs to be updated to use Import


WorldGuardExtraFlags using depreciated behavior

On Minecraft 1.19.4
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'TeleportOnEntryFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.TeleportOnExitFlagHandler
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'TeleportOnExitFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.CommandOnEntryFlagHandler
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'CommandOnEntryFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.CommandOnExitFlagHandler
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'CommandOnExitFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.ConsoleCommandOnEntryFlagHandler
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'ConsoleCommandOnEntryFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.ConsoleCommandOnExitFlagHandler
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'ConsoleCommandOnExitFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.WalkSpeedFlagHandler
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'WalkSpeedFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.BlockedEffectsFlagHandler
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'BlockedEffectsFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.GodmodeFlagHandler
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'GodmodeFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.GiveEffectsFlagHandler
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'GiveEffectsFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.FlyFlagHandler
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'FlyFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.FlySpeedFlagHandler
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'FlySpeedFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.PlaySoundsFlagHandler
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3
[18:46:36] [Server thread/WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'PlaySoundsFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3

Dupe of #236

facepalm sorry didn't search well enough. My bad!


Fix projection queries for compatibility with Mongo DB 4.4

st2 execution list CLI command is failing out of the box when using MongoDB.
See two comments here for more info - https://github.com/StackStorm/st2/pull/5177#issuecomment-825200761, https://github.com/StackStorm/st2/pull/5177#issuecomment-825214833.

@Kami Is this issue now resolved, given the #5251 merge?

Yep, sorry, forgot that the issue didn't auto close (forgot to reference it in the PR description).


adding @paulczar to root OWNERS

cc @helm/charts-maintainers @davidkarlsen @paulczar

This is conflicting because #7050 just got in 😄

/lgtm


[WIP] Cleaning the core of ChameleonForms

This PR is the start of possible support for .NET Core / MVC 6 and Nancy etc.
It's an experiment at this stage since I'm not sure what the end result will look like.

[x] Remove System.Web.Mvc from ChameleonForms
[x] Create a ChameleonForms.Mvc5 wrapper
[x] Get the example project working
[x] Get the tests passing
[ ] Add code to change the page base type when installing the NuGet package
[ ] Update nuspecs to use latest package versions for dependencies
[ ] Remove System.Web from ChameleonForms
[ ] Address the todos and clean up
[ ] Check for missing test coverage
[ ] Document breaking changes
[ ] Create a .NET Core / MVC 6 wrapper (using taghelpers)
[ ] Create a Nancy wrapper

Abandoning this - #162 supercedes the original work. There is still some merit in this PR as it was creating a clean core that was divorced from ASP.NET MVC framework - something that isn't there in #162.


Upgrade to Python 3.8+

similar to #2266
This issue tracks all roadblocks we need to overcome to make use of Python 3.8-exclusive features. There's not immediate need to upgrade right away, but it's useful to have an overview of what's left nonetheless.
Windows
✔ Windows users can just install Python 3.8
✔ Windows Subsystem for Linux currently contains Ubuntu 20.04
macOS
✔ Homebrew and the mitmproxy formulae will work just fine with Python 3.8 or 3.9
✔ macOS Catalina ships with Python 3.8.2
Ubuntu
✔ Groovy 20.10 has Python 3.8.6
✔ Focal 20.04 LTS has Python 3.8.5
❌ Eoan 19.10 has Python 3.7.5
❌ Disco 19.04 has Python 3.7.3
❌ Cosmic 18.10 has Python 3.6.7
❌ Bionic 18.04 LTS has Python 3.6.9
❌ Artful 17.10 has Python 3.6.3
❌ Zesty 17.04 has Python 3.5.3
❌ Xenial 16.04 LTS has 3.5.1
Debian
✔ Debian bullseye has Python 3.8.6 - unreleased as of 2020-11-21
❌ Debian 10 (buster) has Python 3.7.3
❌ Debian 9 (stretch) has Python 3.5.3
Arch Linux
✔ rolling release: has Python 3.8.6 as python package in Extra
Fedora
✔ Fedora 32 has Python 3.8.6 (released 2020-10)
✔ Fedora 32 has Python 3.8.6 (released 2020-04)
❌ Fedora 31 has Python 3.7.9
...
❌ Fedora 27 has Python 3.6.3
❌ Fedora 26 has Python 3.6.3
❌ Fedora 25 has Python 3.5.4
Kali Linux
✔ kali-rolling has Python 3.8.6 (as of 2020-11-21) - rolling release since January 2016
PyInstaller
✔ PyInstaller supports Python 3.8 since PyInstaller 4.1.

This looks good enough to me, no? :)

[ ] Update PyInstaller
[ ] Drop old Python versions from CI


Plugin code overrides native activity result callback

The code, which handles the activity result on Android incorrectly overrides the base NativeScript result callback. This means that any other code in the app that launches an activity will not be able to receive its result. The place where this happens is https://github.com/jibon57/nativescript-mediafilepicker/blob/607d824ac5e615593cc444ed290ea1146219984e/src/mediafilepicker.android.ts#L58
For the correct way to handle results from activities, you can refer to the documentation https://docs.nativescript.org/core-concepts/application-lifecycle#android-activity-events

@lini thanks for pointing out it. I will resolve it.


Data recording enhancements

This PR implements a couple of changes to the way we're recording data files.
Currently, you can only start a data recording when all the devices whose data will be used are connected (viz. the ST10, the hot BB's TC4820 and the DP9800). The problem is that @jonemurray reports he may want to record data without some of these devices present. Additionally, if the USB connection drops, currently the data recording stops, but it would be better if it carried on in some form. I've changed things to write NaNs for any sensor values that we don't have, which has required a bit of refactoring.
Secondly, @jonemurray asked that timestamps be included in the CSV file names, so I've reworked the GUI side a bit to accommodate this. Now instead of choosing the destination filename directly, the user chooses the destination folder and the filename prefix and the timestamp is appended.
Closes #281. Closes #282. Closes #249.

Yeah, I know :disappointed:. Essentially the reason the coverage is poor is because we didn't write tests as we went along and although I went back and added some, we ran out of time and so prioritised getting new features in, even if that meant not including tests for them. The hardware integration itself isn't too hard to test: you just mock your Serial object or whatever. We just haven't done it consistently :stuck_out_tongue:
There is a follow-up project to work on this code base (UNIRAS) and I'll add the missing tests at that point.


proxy rewrite function to contain server

Description
as a dev testing my FE with multiple backend envs, i want to be able to have conditional rewrite based on server domain.
Suggested solution
maybe a few possibilities

add a 2nd param to the rewrite fn which is equal to the target
change path: string to be url: URL with url.hostname matching target. instead of rewrite this could be seen as beforeReroute hook, sort of

Alternative
what we do so far is:
const BACKEND_URL = process.env.BACKEND_URL ?? 'https://our-staging-env'

then
proxy: {
  '/api': {
    target: BACKEND_URL,
      changeOrigin: true,
        rewrite: (path) => {
          const hasOldUrlScheme = ['https://some-old-env-v1'].includes(BACKEND_URL)
          return !hasOldUrlScheme ? path.replace(some-rule) : path
        },
    },
}

but we need to define the BACKEND_URL outside of the vite config and reuse it in 2 separate (potentially unsynced) places
Additional context
i'm well aware this is an edge case only for the convenience of a few and that the alternative provided is good enough as it is even tho it feels playing against the tool.
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

proxy: {
  '/api': {
    target: BACKEND_URL,
      changeOrigin: true,
        rewrite: (path) => {
          const hasOldUrlScheme = ['https://some-old-env-v1'].includes(BACKEND_URL)
          return !hasOldUrlScheme ? path.replace(some-rule) : path
        },
    },


table of contents: toc = true - please add support

hi,
please add support for this.
mbana-mb:cv mbana$ ll
total 24K
drwxr-xr-x 2 mbana staff  170 Aug 22 15:07 .
drwxr-xr-x 5 mbana staff  204 Aug 22 15:01 ..
-rw-r--r-- 1 mbana staff  577 Aug 22 15:07 _index.md
-rw-r--r-- 1 mbana staff 1020 Aug 22 15:11 cover-letter.md
-rw-r--r-- 1 mbana staff  13K Aug 22 15:10 resume.md

in resume.md i want all the headings to show up on the right-hand side of the page. currently it only lists the other pages in the same directory.
Thanks a lot,

Good idea. I'll try to look soon, and if you want to accomplish this now, you could duplicate this template into your root folder and overwrite it there: https://github.com/budparr/gohugo-theme-ananke/blob/master/layouts/partials/menu-contextual.html
So, in your site, it would be making a copy from:
themes/gohugo-theme-ananke/layouts/partials/menu-contextual.html
to here:
layouts/partials/menu-contextual.html

@mbana I recently dealt with this - if you want to take a look, here's the simple toc.html file I'm using at my website zzamboni.org: https://github.com/zzamboni/zzamboni.org/blob/master/layouts/partials/toc.html. I'm using the builtin .TableOfContents, processing it to show up on the right-hand on a similar style to the "other posts" box.

I think this is a good idea, and a good opportunity to use some Hugo native functionality. I'm working on a new version of the theme and will include a provision for this. Thanks for your patience, I've been swamped lately.

This is now added. Thanks!


[Tempest Weatherflow] When station offline: 1) history repeats last measurement forever, 2) one warning per minute in log

My Tempest Weatherflow local weather station has been down for a few weeks now. Root cause: dead battery due to gloomy Belgian winter skies, that are so densely gray you'd believe the sun has been replaced by a single shitty TL-light 🤣😭
The WiFi-connected base station is still live though, so this Homebridge plugin still continues to communicate with it just fine.
Two bugs occur:

the Eve "fakegato" history views continue to show the last measurement in perpetuity. Whereas in reality, they should report "no data".
a JS error occurs for the RainBool characteristic, despite no new data being available:

[12/6/2023, 2:22:11 AM] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Rain': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.
[12/6/2023, 2:23:12 AM] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Rain': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.
[12/6/2023, 2:24:12 AM] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Rain': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.
[12/6/2023, 2:25:12 AM] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Rain': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.
[12/6/2023, 2:26:12 AM] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Rain': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.

Seems like a trivial edge case to fix 😊
If I enable Homebridge's debug mode, I get this:
[12/7/2023, 9:26:44 AM] [homebridge-weather-plus] Updating weather from Weatherflow Tempest
[12/7/2023, 9:26:44 AM] [homebridge-weather-plus] Current Conditions for station 'Now': {
  AirPressure: 1009.2,
  Condition: 'Unknown',
  ConditionCategory: 0,
  Humidity: 87.9,
  ObservationStation: 'ST-00109058',
  ObservationTime: '04:35:52',
  Rain1h: 0,
  RainDay: 0,
  SolarRadiation: 0,
  Temperature: 11.41,
  TemperatureApparent: 11.260000000000048,
  TemperatureMin: 11.41,
  DewPoint: 9.480000000000018,
  UVIndex: 0,
  WindDirection: 'N',
  WindSpeed: 0,
  WindSpeedMax: 0,
  BatteryLevel: 0.5797101449275033,
  BatteryIsCharging: false,
  WindSpeedLull: 0,
  LightningStrikes: 0,
  LightningAvgDistance: 0,
  LightLevel: 0,
  TemperatureWetBulb: 10.091900266983295,
  SkySensorBatteryLevel: 100,
  SkySerialNumber: 'SK-',
  SkyFirmware: '1.0',
  AirSensorBatteryLevel: 100,
  AirSerialNumber: 'AR-',
  AirFirmware: '1.0',
  LightLevelSensorFail: 0,
  HumiditySensorFail: 0,
  TemperatureSensorFail: 0
}
[12/7/2023, 9:26:44 AM] [homebridge-weather-plus] Setting AirPressure to 1009.2
[12/7/2023, 9:26:44 AM] [homebridge-weather-plus] Setting ConditionCategory to 0
[12/7/2023, 9:26:44 AM] [homebridge-weather-plus] Setting Humidity to 87.9
[12/7/2023, 9:26:44 AM] [homebridge-weather-plus] Setting ObservationStation to ST-00109058
[12/7/2023, 9:26:44 AM] [homebridge-weather-plus] Setting ObservationTime to 04:35:52
[12/7/2023, 9:26:44 AM] [homebridge-weather-plus] Setting Rain1h to 0
[12/7/2023, 9:26:44 AM] [homebridge-weather-plus] Setting RainBool to undefined
[12/7/2023, 9:26:44 AM] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Rain': characteristic value expected boolean and received undefined.  So that is sort of accurate.)

Looking at https://github.com/naofireblade/homebridge-weather-plus/blob/master/apis/weatherflow.js, I don't understand how it could ever get set to undefined by the actual Weatherflow plugin though:

line 311: 			that.currentReport.RainBool = true;
line 378: 			that.currentReport.RainBool = message.obs[0][3] > 0 ? true : false;
line 431:             that.currentReport.RainBool = message.obs[0][12] > 0 ? true : false;

These are the only 3 lines modifying RainBool. So that suggests the bug lies in the overarching infrastructure? 🤔

/cc @dacarson

Looking at the debug information above, all the values are set to their defaults, so it seems that we have not received an initial set of data from the weather station. Which makes sense from your description - the battery is dead.
Looking through the set of initialization data in Weaatherflow.js, I see that RainBool is never set to a default value. A value is only set when a set of data is received. There is an easy fix, to initialize it.
I have the simple fix on my branch, as well as a number of other fixes. Can you remind me how to get the changes onto the main branch?
https://github.com/naofireblade/homebridge-weather-plus/compare/master...dacarson:homebridge-weather-plus:master

I have the simple fix on my branch, as well as a number of other fixes. Can you remind me how to get the changes onto the main branch?

Sure thing!
Here you go: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork ← this is AFAICT the exact thing you need.
General docs are at https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request 😊

Thanks!
Pull request created

Testing this locally (git clone … followed by npm link and a Homebridge restart), yields the following result:
[12/29/2023, 10:20:57 PM] ERROR LOADING PLUGIN homebridge-weather-plus:
[12/29/2023, 10:20:57 PM] Error: Cannot find module 'request'
Require stack:
- /Users/admin/Desktop/homebridge-weather-plus/apis/weatherunderground.js
- /Users/admin/Desktop/homebridge-weather-plus/index.js
- /usr/local/lib/node_modules/homebridge/lib/plugin.js
- /usr/local/lib/node_modules/homebridge/lib/pluginManager.js
- /usr/local/lib/node_modules/homebridge/lib/server.js
- /usr/local/lib/node_modules/homebridge/lib/cli.js
- /usr/local/lib/node_modules/homebridge/bin/homebridge
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Function.Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:121:18)
    at Object.<anonymous> (/Users/admin/Desktop/homebridge-weather-plus/apis/weatherunderground.js:3:17)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Function.Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)

Found 2 bugs in the changed code, fixes proposed at #276! 👍

Fixed and landed in #276

Now we just need a new release — could you tag one, @naofireblade? 🙏

Done

Maybe we can close this one now?

+1!


⚠ Bofrost.fr has degraded performance

In fea2dab, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1911 ms

Resolved: Bofrost.fr performance has improved in 682ec18 after 9 minutes.


Error in `python': double free or corruption (!prev)

I'm consistently getting this error when stopping training (CTRL+C) on version built from head on Jan17. On other hand, running on version from Jan5 head does not exhibit this behavior
tf.__git__version = '0.12.1-1934-g27fca7d-dirty'
session.run completed in 0.01 sec with .0.500000 acc
session.run completed in 0.02 sec with .0.000000 acc
^CTraceback (most recent call last):
  File "train.py", line 247, in <module>
    a,_ = sess.run([train_acc,optimizer], feed_dict)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 767, in run
    run_metadata_ptr)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 965, in _run
    feed_dict_string, options, run_metadata)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1015, in _do_run
    target_list, options, run_metadata)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1022, in _do_call
    return fn(*args)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1004, in _run_fn
    status, run_metadata)
KeyboardInterrupt
*** Error in `python': double free or corruption (!prev): 0x00000000016c55d0 ***
Aborted (core dumped)

Looking at core, it looks like dictionary deletion.
#0  0x00007fe9cbf8a01f in _int_free (av=0x7fe9cc2c9760 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:3996
#1  0x00007fe9cceb500a in dict_dealloc (mp=0x7fe9558073c8) at Objects/dictobject.c:1596
#2  0x00007fe9cced121f in subtype_dealloc (self=0x7fe95580a080) at Objects/typeobject.c:1193
#3  0x00007fe9cceb023f in free_keys_object (keys=0x24f9620) at Objects/dictobject.c:354
#4  0x00007fe9cced3936 in type_clear (type=0x24f9c68) at Objects/typeobject.c:3270
#5  0x00007fe9ccf8a97c in delete_garbage (old=<optimized out>, collectable=<optimized out>) at Modules/gcmodule.c:866
#6  collect (generation=2, n_collected=0x0, n_uncollectable=0x0, nofail=1) at Modules/gcmodule.c:1014
#7  0x00007fe9ccf8aedd in _PyGC_CollectNoFail () at Modules/gcmodule.c:1605
#8  0x00007fe9ccf5e6d5 in PyImport_Cleanup () at Python/import.c:428
#9  0x00007fe9ccf6a90e in Py_Finalize () at Python/pylifecycle.c:576
#10 0x00007fe9ccf891b9 in Py_Main (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:789
#11 0x0000000000400add in main (argc=2, argv=0x7ffde1cf3f98) at ./Programs/python.c:65

I suspect this error is connected to jemalloc since that got added recently. Turning on tcmalloc through export LD_PRELOAD="/usr/lib/libtcmalloc.so.4" gets rid of the error

It's possible that the malloc changes are responsible... @jhseu would know best, since he made those changes.

I haven't been able to reproduce it yet. Do you happen to have a script that I can use?
It seems unlikely to be related to the jemalloc change. We don't (and technically can't) override Python's malloc/free. My guess is that setting tcmalloc is just hiding the error and that the issue is in the script itself.
If you have time, mind disabling jemalloc in ./configure and trying again?

I think I'll close this for now as unreproducible and reopen when someone can provide more info

Not sure if this is related but I am unable to build with jemalloc on a cluster with gcc 4.8.2 and an older version of libc.so.6 (old enough that I have to build tensor flow from source). The build fails with a message:
ERROR:~/.cache/bazel/bazel/e924d9c3ba75314415252c6f4f93bb86/external/jemalloc/BUILD:10:1: C++ compilation of rule '@jemalloc//:jemalloc' failed: gcc failed: error executing command /opt/apps/compilers/gcc/4.8.2/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -B/opt/apps/compilers/gcc/4.8.2/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object ... (remaining 38 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
Disabling jemalloc at the configure stage means I can finish the tensor flow build and install. I can then train my models (i.e. model.fit()) on the cluster but when I try to  run model.predict_prob() I am getting this error:
*** glibc detected *** python: double free or corruption (!prev): 0x00000000013fcda0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3e22e75e66]
/lib64/libc.so.6[0x3e22e789b3]
/lib64/ld-linux-x86-64.so.2(_dl_deallocate_tls+0x67)[0x3e226112f7]
/lib64/libpthread.so.0[0x3e2320675d]
/lib64/libpthread.so.0[0x3e232078ea]
/lib64/libpthread.so.0(pthread_join+0xd4)[0x3e232081f4]
/opt/apps/compilers/gcc/4.8.2/lib64/libstdc++.so.6(_ZNSt6thread4joinEv+0x27)[0x7f657b6263c7]
/users/k1511981/.pyenv/versions/t2/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so(+0x2567e60)[0x7f657dde2e60]
/users/k1511981/.pyenv/versions/t2/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so(_ZN10tensorflow6thread10ThreadPool4ImplD0Ev+0xb3)[0x7f657ddbf5b3]
/users/k1511981/.pyenv/versions/t2/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so(_ZN10tensorflow6thread10ThreadPoolD1Ev+0x1a)[0x7f657ddbfc1a]
/users/k1511981/.pyenv/versions/t2/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so(_ZN10tensorflow10FileSystem16GetMatchingPathsERKSsPSt6vectorISsSaISsEE+0x592)[0x7f657dddf8a2]
/users/k1511981/.pyenv/versions/t2/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so(_ZN10tensorflow3Env16GetMatchingPathsERKSsPSt6vectorISsSaISsEE+0x9b)[0x7f657dddbc1b]
/users/k1511981/.pyenv/versions/t2/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so(+0xadc66b)[0x7f657c35766b]
/users/k1511981/.pyenv/versions/t2/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so(+0xade610)[0x7f657c359610]
So just wondering if there is some conflict with compiler/glibc libraries that is causing these issues?

Strangely, I'm getting the exact same stack trace for https://github.com/tensorflow/tensorflow/pull/7338 (and it happens even with jemalloc disabled). Pretty hard to track down the root cause...

Can confirm this. I ran into this on my CI server and the the following fixed it:
sudo apt-get install libtcmalloc-minimal4
export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"

What Linux distribution and version were you running?
In https://github.com/tensorflow/tensorflow/pull/7338, it seemed to be an issue with pypi's numpy on Ubuntu 14.04. Compiling from source fixed it.

Using Ubuntu 14.04 - https://circleci.com/docs/build-image-trusty/. I was using the tf1.0-rc2 pip package.

So I think this is some interaction between pypi's numpy and Ubuntu 14.04. Either upgrading to Ubuntu 16.04 or building numpy from source (pip install --no-binary) fixes it in every case I've tried (GPU/no GPU, jemalloc disabled/enabled, Python 2.7/3.4/3.5)

Hi, I got a similar Error in "python": double free or corruption (!prev) error. Using tf 0.12, built from source, today with Ubuntu 14.04.
This was solved with @dennybritz 's fix, four posts above. Thank you very much @dennybritz
Will try upgrading to 16.04 as @jhseu recommends

Would it be possible to rebuild the Docker images on gcr.io? The underlying nvidia/cuda:8.0-cudnn5-devel uses Ubuntu 16.04 now, but the gcr.io/tensorflow/tensorflow:1.0.0-rc2-devel-gpu image still uses Ubuntu 14.04.

I'm updating all the Docker images, but the gcr.io ones won't be updated until after 1.0. In the meantime, you can start from nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04 and just add RUN pip install tensorflow_gpu

Sorry, I mean the Docker images for the 1.0.0 RCs specifically – or at least any upcoming ones?
This is actually a bit weird to me, because the nvidia/cuda:8.0-cudnn5-devel (with no OS suffix) image on Docker Hub has been pointing at Ubuntu 16.04 since at least 24 days ago, which predates all the TensorFlow 1.0.0 RC releases.

Yeah, Docker caches image versions and we had 14.04 cached. @caisq is planning to upgrade those.

To narrow down the issue: someone internally noticed that this crash only happens when numpy is installed with OpenBLAS support on Ubuntu 14.04. I haven't tested whether upgrading libopenblas fixes it.
So, if you're on Ubuntu, the workaround is to make sure you don't have libopenblas-dev installed and pip install --no-binary=:all: numpy
If someone encounters this bug and has time to test out newer versions of libopenblas-dev, that'd be useful.

I found this problem when using 1.0.0 docker image gcr.io/tensorflow/tensorflow:1.0.0-devel-py3. Is this the source of the problem? Do I need to do anything to my containers/images/dockerfile to remove this issue?

The nightly docker images are on Ubuntu 16.04, which should make the problem go away.  For now, I'd recommend using the nightly.
The official builds will be on Ubuntu 16.04 when TensorFlow 1.1 is out.

nightly docker?

@brando90: Nightly TF docker images are pushed to Docker Hub. Example command line to use them:
docker run -it --rm tensorflow/tensorflow:nightly /bin/bash

ah ok, thanks. I will try nightly.
When is 1.1 out?

Sometime in March

I am getting segmentation fault at exit on Ubuntu 14.04, Tensorflow 1.0.0 from pip. Using tcmalloc makes things worse: it crashes on session creation.

@crimsonlander stack traces might be useful, as well as possible ideas of what could be special about your configuration, since I've tcmalloc with TensorFlow from 0.9 on Ubuntu 14.04 with no crashes

@yaroslavvb I have changed LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4" to LD_PRELOAD="/usr/lib/libtcmalloc.so.4", and it helped. Both from standard 14.04 repository.

@crimsonlander Try the numpy/disabling OpenBLAS workaround above? Upgrading to Ubuntu 16.04 is the most reliable fix, though.

@jhseu is internal testing done on 16.04 now? We've been holding off on upgrading from 14.04 partly because TF testing was on 14.04

@yaroslavvb Yep, Jenkins and all our Docker images use 16.04 now.

I have met the same problem when I ran the tutorial python script in mnist : fully_connected_feed.py...
After executing 2 episodes it stopped and printed "*** Error in 'usr/bin/python3.4': double free or corruption(!prev) 0x000000000242efa0***"
Then I ran it again ( python fully_connected_feed.py), it still stopped after 2 episodes and print "Error in '/usr/bin/python3.4':invalid pointer : 0x0000000002960900***"
Does it matter? and how to fixed it? What should I do?

As of march 9, i get this error on all docker images up to 1.0.1, but the error is not in latest-devel

I am facing this issue regardless of Ubuntu version used (Xenial vs Trusty) or Docker image (Devel or Nightly or 1.0). If numpy is installed via apt-get python-numpy or gets installed while installing say OpenCV . A simple
import numpy  import tensorflow
is sometimes sufficient to cause a segmentation fault. I also think that this happened due to changes in the upstream Dockerfile, rather than tensorflow itself. since even when I had pinned dockerfile to a specific version of Tensorflow it stopped working few weeks ago.

@AKSHAYUBHAT Your error is unrelated.
Looking at the stack trace, it's pulling a symbol from torch when it shouldn't be:
/usr/local/lib/python2.7/dist-packages/torch/lib/libshm.so(_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l+0x1c5)[0x7f3edd107235]
No guesses as to why that's happening without understanding your environment.

A quick glance at pytorch code: it's exporting some libstdc++ symbols with RTLD_GLOBAL when it shouldn't be. The bug is likely in pytorch.

@jhseu Thanks a lot!

I checked and it started working after removing pytorch, so pytorch was the likely culprit.

I got the same error when I just import cv2, I installed opencv3 after installing opencv2
and this caused the below error:
The code that causes this error is just
import cv2
print m
NameError: name 'm' is not defined
*** Error in `python': double free or corruption (out): 0x0000000000d74fd0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fdecbba67e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7fdecbbaee0a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fdecbbb298c]
/usr/lib/x86_64-linux-gnu/libprotobuf.so.9(_ZN6google8protobuf8internal28DestroyDefaultRepeatedFieldsEv+0x1f)[0x7fdebc49c8af]
/usr/lib/x86_64-linux-gnu/libprotobuf.so.9(_ZN6google8protobuf23ShutdownProtobufLibraryEv+0x8b)[0x7fdebc49bb3b]
/usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3(+0x20329)[0x7fde6fd4f329]
/lib64/ld-linux-x86-64.so.2(+0x10c17)[0x7fdecc125c17]
/lib/x86_64-linux-gnu/libc.so.6(+0x39ff8)[0x7fdecbb68ff8]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a045)[0x7fdecbb69045]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0x7fdecbb4f837]
python(_start+0x29)[0x49d9d9]

For people who run into this type of issue on Arch Linux:
*** glibc detected *** python: double free or corruption (!prev): 0x00000000013fcda0 *** ======= Backtrace: ========= /lib64/libc.so.6[0x3e22e75e66] /lib64/libc.so.6[0x3e22e789b3] /lib64/ld-linux-x86-64.so.2(_dl_deallocate_tls+0x67)[0x3e226112f7] /lib64/libpthread.so.0[0x3e2320675d] /lib64/libpthread.so.0[0x3e232078ea] /lib64/libpthread.so.0(pthread_join+0xd4)[0x3e232081f4]
..... and so on
Install the gperftools package
sudo pacman -S gperftools
It will most likely solve the issue.

I got this same issue trying to run real data benchmark with Horovod on TF 1.4.0rc1, with Open MPI OpenIB transport (which installs memory hooks). TCP transport is unaffected.
Generating model                                                                                [992/9693]
*** Error in `python': double free or corruption (!prev): 0x0000000001f721f0 ***
[opusgpu39-wbu2:32804] *** Process received signal ***
[opusgpu39-wbu2:32804] Signal: Aborted (6)
[opusgpu39-wbu2:32804] Signal code:  (-6)
[opusgpu39-wbu2:32804] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xf890)[0x7f0c06bba890]
[opusgpu39-wbu2:32804] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f0c05f12067]
[opusgpu39-wbu2:32804] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f0c05f13448]
[opusgpu39-wbu2:32804] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x731b4)[0x7f0c05f501b4]
[opusgpu39-wbu2:32804] [ 4] /lib/x86_64-linux-gnu/libc.so.6(+0x7898e)[0x7f0c05f5598e]
[opusgpu39-wbu2:32804] [ 5] /lib/x86_64-linux-gnu/libc.so.6(+0x79696)[0x7f0c05f56696]
[opusgpu39-wbu2:32804] [ 6] /lib64/ld-linux-x86-64.so.2(_dl_deallocate_tls+0x58)[0x7f0c06dd9958]
[opusgpu39-wbu2:32804] [ 7] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7107)[0x7f0c06bb2107]
[opusgpu39-wbu2:32804] [ 8] /lib/x86_64-linux-gnu/libpthread.so.0(+0x721f)[0x7f0c06bb221f]
[opusgpu39-wbu2:32804] [ 9] /lib/x86_64-linux-gnu/libpthread.so.0(pthread_join+0xe4)[0x7f0c06bb44d4]
[opusgpu39-wbu2:32804] [10] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt6thread4joinEv+0x27)[0x7f0b69baa837]
[opusgpu39-wbu2:32804] [11] /home/asergeev/mpi/venv-nccl/local/lib/python2.7/site-packages/tensorflow/python/../libtensorflow_framework.so(+0x5131d0)[0x7f0b708b61d0]
[opusgpu39-wbu2:32804] [12] /home/asergeev/mpi/venv-nccl/local/lib/python2.7/site-packages/tensorflow/python/../libtensorflow_framework.so(_ZN10tensorflow6thread10ThreadP$
ol4ImplD0Ev+0xbb)[0x7f0b7088d43b]
[opusgpu39-wbu2:32804] [13] /home/asergeev/mpi/venv-nccl/local/lib/python2.7/site-packages/tensorflow/python/../libtensorflow_framework.so(_ZN10tensorflow6thread10ThreadP$
olD1Ev+0x1a)[0x7f0b7088d73a]
[opusgpu39-wbu2:32804] [14] /home/asergeev/mpi/venv-nccl/local/lib/python2.7/site-packages/tensorflow/python/../libtensorflow_framework.so(_ZN10tensorflow10FileSystem16Ge$
MatchingPathsERKSsPSt6vectorISsSaISsEE+0x56c)[0x7f0b708b2aec]
[opusgpu39-wbu2:32804] [15] /home/asergeev/mpi/venv-nccl/local/lib/python2.7/site-packages/tensorflow/python/../libtensorflow_framework.so(_ZN10tensorflow3Env16GetMatchin$
PathsERKSsPSt6vectorISsSaISsEE+0xa3)[0x7f0b708aca43]
[opusgpu39-wbu2:32804] [16] /home/asergeev/mpi/venv-nccl/local/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so(_Z16GetMatchingFilesRKSsP9TF_S$
atus+0x4b)[0x7f0b7227090b]
[opusgpu39-wbu2:32804] [17] /home/asergeev/mpi/venv-nccl/local/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so(+0x1080604)[0x7f0b72273604]
[opusgpu39-wbu2:32804] [18] python(PyEval_EvalFrameEx+0x614)[0x4cddf4]
[opusgpu39-wbu2:32804] [19] python(PyEval_EvalCodeEx+0x401)[0x4cc4f1]
[opusgpu39-wbu2:32804] [20] python(PyEval_EvalFrameEx+0x6500)[0x4d3ce0]
[opusgpu39-wbu2:32804] [21] python(PyEval_EvalCodeEx+0x401)[0x4cc4f1]
[opusgpu39-wbu2:32804] [22] python(PyEval_EvalFrameEx+0x5e0a)[0x4d35ea]
[opusgpu39-wbu2:32804] [23] python(PyEval_EvalCodeEx+0x401)[0x4cc4f1]
[opusgpu39-wbu2:32804] [24] python(PyEval_EvalFrameEx+0x5e0a)[0x4d35ea]
[opusgpu39-wbu2:32804] [25] python(PyEval_EvalCodeEx+0x401)[0x4cc4f1]
[opusgpu39-wbu2:32804] [26] python(PyEval_EvalFrameEx+0x6500)[0x4d3ce0]
[opusgpu39-wbu2:32804] [27] python(PyEval_EvalCodeEx+0x401)[0x4cc4f1]
[opusgpu39-wbu2:32804] [28] python(PyEval_EvalFrameEx+0x6500)[0x4d3ce0]
[opusgpu39-wbu2:32804] [29] python(PyEval_EvalCodeEx+0x401)[0x4cc4f1]
[opusgpu39-wbu2:32804] *** End of error message ***

I was able to make it work by adding -x LD_PRELOAD=/usr/local/lib/libtcmalloc.so.4.4.5.
Seems other folks are still hitting this issue in other use cases, too.  Any ideas or plans for the fix?

We still don't think there's a bug in TensorFlow here. Any Python module that messes with memory allocation can cause this, so perhaps trying importing those last?

I ran into this and other "Error in `python'" issues using the module mayavi.mlab with TensorFlow when creating multiple mlab figures. @jhseu 's suggestion to import the module after TF fixed it instantly. Thank you.

I don't know why I send the command:
bazel-bin/im2txt/train --input_file_pattern="${MSCOCO_DIR}/train-?????-of-00256" --inception_checkpoint_file="${INCEPTION_CHECKPOINT}" --train_dir="${MODEL_DIR}/train" --train_inception=false --number_of_steps=1000000
there have a error:
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcudnn.so.5 locally
I tensorflow/stream_executor/dso_loader.cc:126] Couldn't open CUDA library libcufft.so.8.0. LD_LIBRARY_PATH:
I tensorflow/stream_executor/cuda/cuda_fft.cc:344] Unable to load cuFFT DSO.
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.so.8.0 locally
*** Error in `/usr/bin/python': double free or corruption (!prev): 0x000000000231f8e0 ***
I don't know the error

I was facing the same issue and later I found that I wrote a Destructor of the class which was clearing the memory but I had already cleared it in another function which i was calling before the Destructor and then repeated the same which caused same error when I removed the Destructor  Problem Solved. (I was loading my preTrained Model)

I am experiencing this issue while restoring partial weights/biases thru the method: tensorflow.contrib.framework.python.ops.assign_from_checkpoint. Currently working on CUDA 8/9, tf r1.4 w/ native source build, and horovod 0.11.2. I am also planning to upgrade tf to very recent version or successor (r1.5), and then I'll leave some progress about error.
Below is an example of process backtrace. (automatically generated)
process_dead_backtrace.txt

I used jemalloc instead of tcmalloc and the problem was also solved on CentOS 6.
Just install jemalloc and run with LD_PRELOAD=/usr/local/lib/libjemalloc.so
(follow this post: https://zapier.com/engineering/celery-python-jemalloc/)

Can confirm this. I ran into this on my CI server and the the following fixed it:
sudo apt-get install libtcmalloc-minimal4
export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"

I am at Ubuntu16.04 machine. After following the above steps, it still gave the same error.

I use pip install --no-binary=:all: --force-reinstall numpy,
solve the problem

Can confirm this. I ran into this on my CI server and the the following fixed it:
sudo apt-get install libtcmalloc-minimal4
export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"

I am at Ubuntu16.04 machine. After following the above steps, it still gave the same error.

yes,me too

The malloc trick did not work for me:
sudo apt-get install libtcmalloc-minimal4
export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"

And neither did the numpy trick:
pip3 install --user --no-binary=:all: --force-reinstall numpy

I use pip install --no-binary=:all: --force-reinstall numpy,
solve the problem

This fixed the issue for me when running TF Object Detection. Numpy was updated to 1.17.3 from 1.14.6.

export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"

thanks a lot , it worked for me


file pattern for namespace objects wrong

in ZCL_ABAPGIT_OBJECTS_FILES filename, the slashes of the SAP namespace will be replaced by #. So far so good, but later on in SET_FILES the files will not be found, because of the pattern "#namespace#objectname*".
The # is an escape character in CP operations.
I suggest the following change:
  METHOD get_file_pattern.
    rv_pattern = filename( iv_ext = '*' ).

  ENDMETHOD.

That has been fixed already:
https://github.com/abapGit/abapGit/blob/master/src/objects/core/zcl_abapgit_objects_files.clas.abap#L279

That has been fixed already:
https://github.com/abapGit/abapGit/blob/master/src/objects/core/zcl_abapgit_objects_files.clas.abap#L279

Argh... Always forget to update to latest version before opening issues...
Thanks
Enno

Argh... Always forget to update to latest version before opening issues...
Thanks
Enno


Confirmation token invalid shown if used twice misleading

I just had a new user tell me that it wasn't letting him confirm his email.
When I checked, the email was already confirmed. Perhaps the page was loaded twice or something, and after the first use, the token is no longer valid.
I suggest that after confirming, the token is left in the database, so that the page can tell the user that it has already been confirmed.
I believe no extra DB columns are required, because the confirmed_at field is used to check whether an account is confirmed, and unconfirmed_email is used for whether any reconfirmation is required.

I believe this has been fixed in latest Devise versions. Which Devise version are you using?

devise (3.2.2)

Ok, I was wrong, it seems we do not have this feature. Its addition is probably welcome!

Just read some of the code. Would taking out the line setting the token to nil make it work? Once set to nil, the token cannot be looked up anymore. So you never check "pending_any_confirmation" again.
      def confirm!(args={})
        pending_any_confirmation do
          ...
          self.confirmation_token = nil // take this line out???
          ...
        end
      end

        def pending_any_confirmation
          if (!confirmed? || pending_reconfirmation?)
            yield
          else
            self.errors.add(:email, :already_confirmed)
            false
          end
        end

That sounds like it! And a test case too. :)


Generate absolute URL for images with ImagineHelper

might be useful to allow absolute URL generating since UrlGeneratorInterface::generate allows it.

feel free to submit your PR to the more general purpose https://github.com/liip/LiipImagineBundle ... though you should also update the ImagineExtension

I will, thanks

this is now implemented in LiipImagineBundle


Updated URL usage to be Django 1.5+ compatible

Thanks for the pull request! These changes (and those for Django 1.6 and 1.7) have been handled in another branch, so I'm going to close this.


Powertoys runner process keeps disappearing

ℹ Computer information

Windows Enterprise 2004 (19041.388)
PowerToys version: 0.20
Microsoft Corp - Azure Domain joined
Set to Run as Administrator

📝 Provide detailed reproduction steps (if any)

Install application from MSIX.  After reboot, System Tray appears, but as soon as mouse hover or attempt to right-click - it disappears.  No sign of the app in process viewer
1/10 times, running the app actually works and it remains in the process viewer

✔ Expected result

App runs first time

❌ Actual result

1/10 times - App just terminates on startup

betting this is the fancyzone bug.  @enricogior, thoughts?

@dacowan
open the Event Viewer and check if under Windows Logs -> Application there is an error that reference PowerToys.exe or fancyzones.dll.
Thanks.

Is this what you need?
Faulting application name: PowerToys.exe, version: <IP_ADDRESS>, time stamp: 0x5f24295b
Faulting module name: fancyzones.dll, version: <IP_ADDRESS>, time stamp: 0x5f24245d
Exception code: 0xc0000005
Fault offset: 0x0000000000049f80
Faulting process id: 0x18d4
Faulting application start time: 0x01d66ab300ea9246
Faulting application path: C:\Program Files\PowerToys\PowerToys.exe
Faulting module path: C:\Program Files\PowerToys\modules\FancyZones\fancyzones.dll
Report Id: 75c924bd-20c8-44f2-b531-9de0602e4fa2
Faulting package full name:
Faulting package-relative application ID:

Fault bucket<PHONE_NUMBER>522569254, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: PowerToys.exe
P2: <IP_ADDRESS>
P3: 5f24295b
P4: fancyzones.dll
P5: <IP_ADDRESS>
P6: 5f24245d
P7: c0000005
P8:<PHONE_NUMBER>049f80
P9:
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER64D8.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6537.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6548.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6557.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6577.tmp.txt

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_PowerToys.exe_70c89a9d86636c17e47cefe528634462831f3d_5d6c46e5_ac890c32-576e-432c-955a-5365a532ff3b

Analysis symbol:
Rechecking for solution: 0
Report Id: 8cbdc3e1-a74d-47f8-96ab-294272285a5a
Report Status: 268435456
Hashed bucket: cdfb3a9999c4467e47424d5bafd4d426
Cab Guid: 0

@dacowan
yes, thank you.
We are in the process of releasing 0.20.1, when it will be available please verify if the problem is still happening.
Thanks.

Tested 0.20.1 -- sorry guys, same thing.
Faulting application name: PowerToys.exe, version: <IP_ADDRESS>, time stamp: 0x5f2ad542
Faulting module name: fancyzones.dll, version: <IP_ADDRESS>, time stamp: 0x5f2acfd2
Exception code: 0xc0000005
Fault offset: 0x0000000000049fb0
Faulting process id: 0xa054
Faulting application start time: 0x01d66bc9f4c28c9c
Faulting application path: C:\Program Files\PowerToys\PowerToys.exe
Faulting module path: C:\Program Files\PowerToys\modules\FancyZones\fancyzones.dll
Report Id: 851f131e-c858-4959-9bd9-86a4ec1d7489
Faulting package full name:
Faulting package-relative application ID:

Fault bucket<PHONE_NUMBER>030438370, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: PowerToys.exe
P2: <IP_ADDRESS>
P3: 5f2ad542
P4: fancyzones.dll
P5: <IP_ADDRESS>
P6: 5f2acfd2
P7: c0000005
P8:<PHONE_NUMBER>049fb0
P9:
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4FE2.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER5060.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER5080.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER5080.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER50B0.tmp.txt

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_PowerToys.exe_6c42a24c477968bab5477f2a494228eacf1e46_abb9280c_fde7ab14-b772-4e4f-8c88-ee899601a51b

Analysis symbol:
Rechecking for solution: 0
Report Id: 851f131e-c858-4959-9bd9-86a4ec1d7489
Report Status: 268435456
Hashed bucket: 0dde4cfc96eb64742b05c4f8293d83e2
Cab Guid: 0

@dacowan
can you enable the crash dumps installing the registry key I've attached? Extract the zip file and then double click on the .reg file.
I will generate the crash dump in C:\crashdumps`, reproduce the crash and then zip the crashdumps folder and posted here.
Thanks.
EnableCrashDumps.zip

PowerToys.exe.19400.dmp.zip

Well, you're lucky you got the crashdump... after a couple of reboots, it's not happening now :/
It seems to be running OK now.

I lied.  It's not.  I reverted back to 0.18

Hi @dacowan
the crash dump helped, we have possible fix, would you mind installing this private build? (it's not signed)
PowerToysSetup-0.20.1-x64.zip

Sorry - no success.
Faulting application name: PowerToys.exe, version: <IP_ADDRESS>, time stamp: 0x5f314a8a
Faulting module name: fancyzones.dll, version: <IP_ADDRESS>, time stamp: 0x5f314a23
Exception code: 0xc0000005
Fault offset: 0x0000000000047f10
Faulting process id: 0x4bc8
Faulting application start time: 0x01d66f33fef1b897
Faulting application path: C:\Program Files\PowerToys\PowerToys.exe
Faulting module path: C:\Program Files\PowerToys\modules\FancyZones\fancyzones.dll
Report Id: 7642e82a-fc64-4d11-93fd-61094c98c6e5
Faulting package full name:
Faulting package-relative application ID:

PowerToys.exe.19400.dmp.zip

@dacowan
still the same crash, thanks.

It seems to be timing dependent, I think.
If I reboot the system, and log in immediately (while Windows is still spinning up in the background) - it loads successfully.
If I leave the system to warm up and then log in, it crashes.

@dacowan
does it only happen when you reboot the machine?
If you restart PT after the crash does it run fine until the next reboot?

No, it crashes on manual restart.
crashdumps.zip

@enricogior did your team have a chance to look at the dump?

I don't know if this is still necessary... I haven't had this issue since upgrading to 0.21.1

@crutkas
yes we did, but it was misleading, it's the same problem that is effecting the Watson reports for FZ and SG, the call stack is missing or bogus.

Closing the issue since @dacowan didn't have this problem in the new releases. Please reopen if it happens again. Thanks.


SSR not working

Problem: If trying to use this crate in a ssr enviroment at the top of the tree, you get the following error
Error Message:
cannot call wasm-bindgen imported functions on non-wasm targets
Nice work with the crate, looks awesome. Hope to use it in my webapp. Cheers

i'm also encountering this issue

#28 Should now fix this Issue. Also it was an Issue on my side because I forgot to set the feature flags in my own project. I found by doing it correctly another issue that is also adressed in the pull request


Added updateExisting checkbox, and send event if box is checked

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1786  👈
#1785
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite


Add ginkgo to ubuntu 2204 ci image

... in order to test at least the reference (and potentially the OpenMP) executor.
Note that I try to install ginkgo in the build directory on purpose, as the shortcoming of the CMake handling here needs access to the CMake modules of ginkgo itself.

The environment file is missing :wink:


[BUG] "Import detection rule" raise error

Describe the bug
It raises "Error: Only yaml files are accepted" when I upload yaml file at the "Import detection rule".
To Reproduce
Steps to reproduce the behavior:
0. I used latest docker to start the opensearch service

Go to 'http://localhost:5601/app/opensearch_security_analytics_dashboards#/import-rule'
Click on 'Import rule'
Upload Sigma yaml file
See error

BTW, I use this function at the playground , it all goes fine.
Expected behavior
Screenshots

@Martin2877 Is it possible for you to share the file you are uploading?

@Martin2877 Is it possible for you to share the file you are uploading?
Yep, I tried yaml files from this project : sigmalhq


[fix] cms page_search private permission

Coverage decreased (-3.04%) to 79.161% when pulling 8ffb33c7525e5b7a5214ff70b15000d18d8e6a0a on itowtips:fix-cms-page_search into 18df71e7165d71f8b8ce7771e11c49ec75e9bf7f on shirasagi:master.

Coverage decreased (-3.04%) to 79.161% when pulling 8ffb33c7525e5b7a5214ff70b15000d18d8e6a0a on itowtips:fix-cms-page_search into 18df71e7165d71f8b8ce7771e11c49ec75e9bf7f on shirasagi:master.

Coverage decreased (-3.04%) to 79.161% when pulling 8ffb33c7525e5b7a5214ff70b15000d18d8e6a0a on itowtips:fix-cms-page_search into 18df71e7165d71f8b8ce7771e11c49ec75e9bf7f on shirasagi:master.


Superset installation on macos catalina with docker compose fails

My steps
git clone https://github.com/apache/incubator-superset/
cd incubator-superset
docker-compose up

This is the error in step 5/37
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
Full details below.
Step 5/37 : RUN cd /app         && pip install --no-cache -r requirements.txt
 ---> Running in e8253105a001
Collecting alembic==1.3.2
  Downloading https://files.pythonhosted.org/packages/dc/6d/3c1411dfdcf089ec89ce5e2222deb2292f39b6b1a5911222e15af9fe5a92/alembic-1.3.2.tar.gz (1.1MB)
Collecting amqp==2.5.2
  Downloading https://files.pythonhosted.org/packages/fc/a0/6aa2a7923d4e82dda23db27711d565f0c4abf1570859f168e3d0975f1eb6/amqp-2.5.2-py2.py3-none-any.whl (49kB)
Collecting apispec[yaml]==1.3.3
  Downloading https://files.pythonhosted.org/packages/38/7a/20500edb2e77b8a6f6b677ed6a7b6d97b696fcc477374d36d83883462863/apispec-1.3.3-py2.py3-none-any.whl
Collecting attrs==19.3.0
  Downloading https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl
Collecting babel==2.8.0
  Downloading https://files.pythonhosted.org/packages/15/a1/522dccd23e5d2e47aed4b6a16795b8213e3272c7506e625f2425ad025a19/Babel-2.8.0-py2.py3-none-any.whl (8.6MB)
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 425, in _error_catcher
    yield
  File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 507, in read
    data = self._fp.read(amt) if not fp_closed else b""
  File "/usr/local/lib/python3.6/http/client.py", line 459, in read
    n = self.readinto(b)
  File "/usr/local/lib/python3.6/http/client.py", line 503, in readinto
    n = self.fp.readinto(b)
  File "/usr/local/lib/python3.6/socket.py", line 586, in readinto
    return self._sock.recv_into(b)
  File "/usr/local/lib/python3.6/ssl.py", line 1012, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/local/lib/python3.6/ssl.py", line 874, in read
    return self._sslobj.read(len, buffer)
  File "/usr/local/lib/python3.6/ssl.py", line 631, in read
    v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 153, in _main
    status = self.run(options, args)
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 382, in run
    resolver.resolve(requirement_set)
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/legacy_resolve.py", line 201, in resolve
    self._resolve_one(requirement_set, req)
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/legacy_resolve.py", line 365, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/legacy_resolve.py", line 313, in _get_abstract_dist_for
    req, self.session, self.finder, self.require_hashes
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 194, in prepare_linked_requirement
    progress_bar=self.progress_bar
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/download.py", line 465, in unpack_url
    progress_bar=progress_bar
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/download.py", line 316, in unpack_http_url
    progress_bar)
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/download.py", line 551, in _download_http_url
    _download_url(resp, link, content_file, hashes, progress_bar)
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/download.py", line 253, in _download_url
    hashes.check_against_chunks(downloaded_chunks)
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/utils/hashes.py", line 80, in check_against_chunks
    for chunk in chunks:
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/download.py", line 223, in written_chunks
    for chunk in chunks:
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/utils/ui.py", line 160, in iter
    for x in it:
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/download.py", line 212, in resp_read
    decode_content=False):
  File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 564, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 529, in read
    raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
  File "/usr/local/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 430, in _error_catcher
    raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
ERROR: Service 'superset' failed to build: The command '/bin/sh -c cd /app         && pip install --no-cache -r requirements.txt' returned a non-zero code: 2

@aguspina this looks like a temporary failure. The system is timing out when attempting to download dependencies from pypi.org. Are you perhaps on an internet connection that's not super reliable? Maybe pypi ran into issues?

You're right. Thanks!


aws rds compatability: make the need for sudo redundant

As I was trying to get the gateway running on aws rds, I hit into the caveat of the copy mechanism with postgresql on amazon aws. Which is that copy works as long as you don't copy from file to file. Only prompt copy or stream is allowed. By streaming the text trough nodejs we can bypass this requirement and will open the door to aws support.

This functionality will actually be fully deprecated.
As mentioned, can chat, regroup strategize implementations later.

@TheLoneRonin glad to hear from you!
forgot about this PR, and with what you say, I think it's best to close it for now :)


Setup connection pooling for the authorization postgres database

Description
We have seen some postgres connection failing on high loads surface in application insights.
As both access management and resource registry, in addition to the existing use from authorization, now have started to use the authorization postgres database
The currently configured connection pooling will need to be adjusted to support the higher loads.
Suggested connection pool distribution between resource-registry, access-management and authorization (ruffly 20/40/40):
AT (cur. 50 max_connections):
Ad/hoc og drift: 2
50 - 2 = 48 connections igjen for runtime
RR (18.75%):		9  / 3 = 3 max_connections pr. pod runtime connection string
AM (43.75%):		21 / 3 = 7 max_connections pr. pod runtime connection string
Auth (37.50%):	18 / 3 = 6 max_connections pr. pod runtime connection string
AT (m/ønsket bump til B2 for 100 max_connections):
Ad/hoc og drift: 10
100 - 10 = 90 connections igjen for runtime
RR (20%):		18 / 3 = 6 max_connections pr. pod runtime connection string
AM (40%):		36 / 3 = 12 max_connections pr. pod runtime connection string
Auth (40%): 		36 / 3 = 12 max_connections pr. pod runtime connection string
YT/TT/Prod (cur. 856 max_connections):
Ad/hoc og drift: 10
856 - 10 = 846 connections igjen for runtime
RR (20.21%):		171 / 3 = 57 max_connections pr. pod runtime connection string
AM (42.55%):		360	/ 3 = 120 max_connections pr. pod runtime connection string
Auth (37.23%): 	315	/ 3 = 105 max_connections pr. pod runtime connection string
Additional Information
Current limits in pgflex skus:
https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-limits
npgsql connection string param doc:
https://www.npgsql.org/doc/connection-string-parameters.html
Tasks

[x] Update connection strings in values.yaml to set appropriate connection pool distribution

Acceptance Criterias
Should not get error on too many connection strings

PR 666 created in altinn-studio-ops repo


security issue: Plexus archiver gives a critical error on the image in AWS ecs security hub please upgrade to 4.8.0 or higher

Can somebody please take a look at this dependency in line 37: https://github.com/coursier/coursier/blob/main/project/deps.sc#L37 this needs to be upgraded to 4.8.0 minimum as this provides a critial error in the docker images in AWS when you spin up a selenium grid in chrome node docker images, firefox etc.

Plexis Archiver is a collection of Plexus components to create archives or extract archives to a directory with a unified Archiver/UnArchiver API. Prior to version 4.8.0, using AbstractUnArchiver for extracting an archive might lead to an arbitrary file creation and possibly remote code execution. When extracting an archive with an entry that already exists in the destination directory as a symbolic link whose target does not exist - the resolveFile() function will return the symlink's source instead of its target, which will pass the verification that ensures the file will not be extracted outside of the destination directory. Later Files.newOutputStream(), that follows symlinks by default, will actually write the entry's content to the symlink's target. Whoever uses plexus archiver to extract an untrusted archive is vulnerable to an arbitrary file creation and possibly remote code execution. Version 4.8.0 contains a patch for this issue.

Thanks for the report! It seems that's CVE-2023-37460. Having a look…

https://github.com/coursier/coursier/pull/2814 should fix that. Will cut a release in a moment.

thanks for solving it


ActionView::Template::Error in admin/communication/blocks#edit

Error in Osuny
ActionView::Template::Error in admin/communication/blocks#edit
wrong number of arguments (given 0, expected 1)
View on Bugsnag
Stacktrace
app/models/concerns/localizable_order_by_name_scope.rb:6 - block (2 levels) in <module:LocalizableOrderByNameScope>
app/views/admin/communication/blocks/components/location/_edit.html.erb:4 - _app_views_admin_communication_blocks_components_location__edit_html_erb___4200070605029485391_366620
app/views/admin/communication/blocks/components/_edit.html.erb:37 - _app_views_admin_communication_blocks_components__edit_html_erb__2674094037495635737_366560
app/helpers/admin/blocks_helper.rb:4 - block_component_edit
app/views/admin/communication/blocks/templates/locations/_edit.html.erb:18 - _app_views_admin_communication_blocks_templates_locations__edit_html_erb__2712408642114165089_366540
app/views/admin/communication/blocks/edit.html.erb:33 - block in _app_views_admin_communication_blocks_edit_html_erb___1492713462457486719_226320
app/views/admin/communication/blocks/edit.html.erb:14 - _app_views_admin_communication_blocks_edit_html_erb___1492713462457486719_226320
app/controllers/admin/communication/blocks_controller.rb:40 - edit
app/controllers/application_controller/with_locale.rb:19 - switch_locale

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
ArgumentError in api/osuny/communication/websites#index

An error linked to this issue has been reopened in Bugsnag
ArgumentError in api/osuny/communication/websites#index

An error linked to this issue has been reopened in Bugsnag
ArgumentError in Communication::Website::IndirectObject::ConnectAndSyncDirectSourcesJob@mice

An error linked to this issue has been marked as fixed in Bugsnag
ArgumentError in Communication::Website::IndirectObject::ConnectAndSyncDirectSourcesJob@mice


[Feature] inside label of pie can support overlap

What problem does this feature solve?

What does the proposed API look like?
no new api

will be supported in v1.13.0


Update Azure lite docs with new default machineType

Description
Changes proposed in this pull request:

Change default Azure lite machineType from Standard_D4s_v5 to Standard_D2s_v5 in docs

Related issue(s)

/kind enhancement


Update flutter.groovy to catch unknown task exception when finding api task

see #147122 for context
and this for more
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@reidbaker this needs a test exemption. Would you be able to request one for this PR?

test-exemption: Writing unit tests for this change is not possible until we deprecrate the script apply and migrate build code to kotlin. Writing an integration test is not the right level of abstraction.


Can't get working with anything bus BASIC IR data type.

So when running the demo, I can get Basic to work but Extended and Full don't work.
When running Extended i don't see all the IR dots. I only see one dot. (is this meant to happen?)
When running in Full mode it doesn't display anything and gives the following error in the console.

NullReferenceException: Object reference not set to an instance of an object UnityEngine.UI.MaskUtilities.GetStencilDepth (UnityEngine.Transform transform, UnityEngine.Transform stopAfter) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/MaskUtilities.cs:73) UnityEngine.UI.MaskableGraphic.GetModifiedMaterial (UnityEngine.Material baseMaterial) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/MaskableGraphic.cs:71) UnityEngine.UI.Graphic.get_materialForRendering () (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:245) UnityEngine.UI.Graphic.UpdateMaterial () (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:351) UnityEngine.UI.Graphic.Rebuild (CanvasUpdate update) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:329) UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs:149) UnityEngine.Canvas:SendWillRenderCanvases()

Do you have any ideas what is going on here? Is there anything i need to set/enable for Full mode?
I'm more interested in getting Full mode to work than Extended as i need the intensity of the IR dots.
Thanks for your help!

I see this line in the docs under the FULL mode information:

Works with interleaved report InputDataType::REPORT_INTERLEAVED / InputDataType::REPORT_INTERLEAVED_ALT only.

Will try to modify the demo code and see if this helps.

So i got something working will FULL when i change the sensitivity settings in SetupIRCamera.  But this was very bad and I could only see 1 blob from the IR bar rather than the normal 2.
With regards to the Intensity of the IR dots. I seem to be getting the value of zero for everything.
http://wiibrew.org/wiki/Wiimote#Full_Mode seems to suggest getting the 8th byte. I think here you are getting the 7th instead?
In IRData.cs
int inten = data[7];