Multiline Attribute Support - Haml v5.2.1

Well it looks like Haml now has proper multiline attributes support. https://github.com/haml/haml/releases/tag/5.2.1
Just giving you a heads up as it would be great to get support for these into the extension. Thanks!
What we will now be able to write:
.messages-overflow-container{"data-simplebar": true}
    .messages{
      data: { controller: "chat-messages" }
   }
  .like-notification{
    data: { controller: "reaction-notification" } }
  - unless video.finished?
    .message-write{
      data: {
        "controller": "chat",
        "show-when-logged-in": true
      }
    }
      .chat-controls
        .write-area{
          placeholder: 'Send a message',
          contenteditable: true,
          role: "textbox",
          data: {
            action: "keydown->chat#chatBoxKeyDown",
            target: "chat.messageInput"
          }
        }
        = render "shared/reaction_button"
    .message-login-prompt{data: { "show-when-logged-out": true }}
      %button{
        data: {
          action: "authentication#showModal"
        }
      } Login To Chat

Hey! I opened #19 to try and add multiline support. Hope it helps!

Thanks @karuna!


Update lastver

Hey guys,
don't bother with the current master branch of mine. The development branch is around 200 commits ahead, so anything that you would merge now is already kind of obsolete.
I'm currently merging the heim-SmartR:dev and the SmartR:devel (without eAE for now) codebases, leaving your framework intact and updating the frontend with changes I've done recently.
As soon as we decide where to put the Hackathon code I will upload this new codebase there or create a branch in this repo, if someone gives me access.

Ah okay, that's good to hear.


Feature/only check visible

This PR is to fix #717
The basic idea is that when checking a node, if there are hidden or disabled descendants, they will not be modified by the parent action.
Basically, this means that in a three-state tree, if a user is checking a parent of a hidden node (such as one that has been filtered out by the search), they will not inadvertently check this node.
Perhaps an undesirable consequence of this is that when a user checks a parent of hidden or disabled node, that parent never gets selected (just goes to undetermined in a three-state tree) but I think this is better than having the users do something they didn't mean to and never know the difference.

I have now added two options to the checkbox plugin:
cascade_to_disabled
cascade_to_hidden
which are true by default. With these options enabled, the tree behaves as before (where disabled and hidden nodes are checked by checking the parent). However, if these options are disabled, then they are not checked when checking the parent.

@istrau3 - thank you - the PR looks great, I will merge and test ASAP. Btw - have you tried checking / unchecking in a large tree - are there any performance issues I should be aware of?

@vakata I actually have not tried in a large tree. Will try that today. Maybe hold off on merging until I report back?

@vakata Sorry, I got caught up today. I plan on testing these changes on a large tree tomorrow.
Btw, how large is large? I am planning on testing it out on a tree with 1000+ nodes (we have some like that in out application), is that large enough?

A thousand nodes should be OK, I will test this as well - I will create two copies of the same tree - one with your code, the other - with the current stable 3.3.3 and check to see if there is any significant impact - if not - I will merge.

@vakata Ok, I tested with 1500 nodes using the PR code and it looks to be working fine.

Great, I will have a look as soon as possible and merge.

@vakata Any update on this?

@vakata Thanks for merging. Can you please publish a new version to npm?

@vakata ping for npm version

I will push a new version as soon as I can - probably at the end of this week.

@vakata bower update would be awesome

Good job guys! I appreciate the effort @istrau3 @vakata


bug(streaming): memory leaks in HashJoinExecutor

Describe the bug
The memory usage went up gradually even if the memory limit was set to a very small number.

I did some heap profiling and found the cause:

See "Additional context" section for full picture.
To Reproduce
Run NexMark Q4 for a long time (> 1 hour)
Expected behavior
No response
Additional context
-rw-r--r-- 1 ubuntu ubuntu 135K Dec 17 05:12 compute-node.26252.220.i220.heap
-rw-r--r-- 1 ubuntu ubuntu 144K Dec 17 07:29 compute-node.26252.2420.i2420.heap

Heap captured after running for ~10min: flamegraph_220
Heap captured after running for ~2h30min:  flamegraph_2420

I can't reproduce the memory leak in hash join for now. But I noticed another unusual memory increasing in our system.

The above figures shows the jemalloc allocated memory is increasing but the block size size is limited to 256M.
The following figure shows the most memory is taken by a generated sst data (which is extremely unusual)

😅 GitHub 'compressed' the SVG even I uploaded as files...
Sorry for that, please check this: flamegraph.zip

The problem may be here: https://github.com/risingwavelabs/risingwave/blob/064ff7cb99febd9221357445352c75c50ecdcc63/src/stream/src/executor/managed_state/join/join_entry_state.rs#L51
While the new_in use ManuallyDrop inside...
https://doc.rust-lang.org/src/alloc/collections/btree/map.rs.html#634

Even though #7089 worked, the https://github.com/risingwavelabs/risingwave/issues/6942#issuecomment-1365784996 above may be wrong because the allocator is dropped in BTreeMap::drop(), more precisely, in the IntoIterator's drop(): https://doc.rust-lang.org/src/alloc/collections/btree/map.rs.html#406
So the cause still has yet to be investigated 😇

The bug is inside the BTreeMap. Reported to Rust: https://github.com/rust-lang/rust/issues/106203
For now, I will just remove that part of code because we don't rely on Allocator API to get memory usage now.


feat: add source file metadata columns

Closes https://github.com/MeltanoLabs/tap-csv/issues/125
Cleans up meltano.yml

Can you also run poetry run tox -e format to let it reformat your changes and poetry run tox -e lint to make sure it passes?

Done


Declare attrpaths using attrset nesting

This provides a simple method of declaring attrpaths using attrset syntax rather than lists of trings. This is intended to be a less unwieldy alternative that also formats better due to not requiring lists with many elements.
I'll squash and add proper commit messages later.
I've done a bit of testing and it seems to work alright.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
25.05 Release Notes (or backporting 24.11 and 25.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.

Add a :+1: reaction to pull requests you find important.

I like the idea, but not the conversions back and forth between lists and attrsets.
The natural representation for these things is actually attrsets, and I would expect something thoroughly attrset-based to be more efficient than the status quo.
However, this implementation of the idea just adds a layer on top of the existing, not-so-great implementation.
If anything, the list-based interface should be implemented using the attrset-based one, but it's probably more efficient to keep both around, both in terms of human effort, as well as eval performance.

Yeah, I don't like the double conversion either.
I see this a first step towards making this attrset-based representation a viable way to declare attrpaths though. You have to keep in mind that this "standard" I just came up with is, to my knowledge, brand new.
Once this is reasonably established (by way of this PR and simple usage in the most common scenario with doRename), we can think about refactoring the functions that handle attrpaths to make it the default representation instead of the old listOf str which would then only be usable with a transformation step.
I see that as an efficiency optimisation though. I haven't done any benchmarks but this doesn't smell like the sort of thing that would cause significant slowdown. Even if it did, attrpath declarations aren't that common and therefore rarely on the hot path I'd assume.
We could abstract this function I built even further by parameterising the function to "pack" a final value (currently (n: v: [ (lib.nameValuePair n v) ]) aswell as the function to combine multiple packed values (currently concatMap). That would allow you to choose which representation you want the function to construct from the get-go but I feel like that might be over-engineering it.
I could try my hand at it though if you think it'd be worth eliminating the listOf nameValuePair intermediate format.

How about something like https://github.com/NixOS/nixpkgs/pull/360121? I won't have time to work on that, but I feel like that would be neat :)

If the double conversion is the biggest concern (I personally don't think it's significant), that should be solvable in my proposed solution too.

Intuitively I didn't quite see it, but maybe it's possible yeah :)

There you go


local copy of tour does not support generics

creating a local/offline copy of the tour (via go install golang.org/x/website/tour@latest) works, but the local content does not contain anything on generics, and trying to run code that uses generics in the code runner gives an error. this is the console output from a run, showing the content is from 2021 (generics were released in 2022):
C:\Users\USER>tour
2022/10/30 09:20:08 Serving content from<EMAIL_ADDRESS>2022/10/30 09:20:09 A browser window should open. If not, please visit http://<IP_ADDRESS>:3999
2022/10/30 09:20:10 accepting connection from: <IP_ADDRESS>:58947
2022/10/30 09:20:26 accepting connection from: <IP_ADDRESS>:58976

this is from the online tour:

this is from the local copy:

since go.mod is set to Go 1.16, the included code runner doesn't support generics:

I do have the generics unit but the example code does not run:

I do have the generics unit but the example code does not run:


Move source files

This moves source files to src directory to keep root directory clean.

sent this pull request to unintended branch by mistake


Kunaljubce/add decorators for functions

Proposed changes
Took another stab at https://github.com/MrPowers/quinn/issues/140, as an extension to https://github.com/MrPowers/quinn/issues/144.
Types of changes
What types of changes does your code introduce to quinn?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Further comments: Implementation details for validate_schema
So we are implementing a decorator factory here so that our function can be used both as a decorator as well as a callable function. In this implementation:
The validate_schema function acts as both a decorator factory and a decorator. It takes required_schema, ignore_nullable, and an optional _df argument.

If _df is None, it means the function is being used as a decorator factory, and it returns the decorator decorator.
If _df is not None, it means the function is being called directly with a DataFrame, and it applies the decorator to _df immediately.

When validate_schema is called directly with a DataFrame, the validation logic gets executed by wrapping the DataFrame in a lambda function and immediately calling the decorator.

I am looking into the pre-commit failures!


Bootstrap on-network with go-swagger and ginkgo

Signed-off-by: Amanda Alvarez<EMAIL_ADDRESS>

Any plan to introduce the 3rd parties library version dependency management?

@yyscamper yes. We are planning to use glide for dependency management.


rest query language support

Hi,
We are having use case for search API and this search API can take list of inputs with name , operator and value. Could you please let me know if spring-data-cosmosdb supports rest query language?

I don't think it does. I have seen other customers building sql query from REST query and then calling search using the built sql query.

@linux-code - Were you able to use the workaround ?
Or is this something you need support on spring-data-cosmosdb ?


[AutoRelease] t2-servicebus-2022-06-14-80374(Do not merge)

https://github.com/Azure/sdk-release-request/issues/2825
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1031
BuildTargetingString
azure-mgmt-servicebus
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/2825


spec: clarification for the language used in the language specifications

Hi,
I'm not a native English speaker so please bare with me.
While looking at the documentation for https://golang.org/ref/spec#Integer_overflow I've realized that the sentence: Loosely speaking, these unsigned integer operations discard high bits upon overflow, and programs may rely on "wrap around". currently leaves room for interpretation.
I can read this as: for now one can assume the wrap around will happen but it might be changed in the future. Or I can read this as wrap around will always be present (in Go 1.x).
Then based on the discussion I've had on this topic, I've realized that there are other points as well in the language specifications which are ambiguous. For example Implementation restriction: For compatibility with other tools, a compiler may disallow the NUL character (U+0000) in the source text. sounds awful when you think of a limitation, Implementation restriction , and a may, optional, are involved. I've interpreted that as [..] must disallow [..] only because the sentence starts with Implementation restriction but someone else said may is not necessarily equivalent to must (and I can understand where that version comes from).
As there are 144 mays in the document, I think that some better description of what may or must or may not, in the same style that IETF RFCs always define what must, must not, may and so on represent. This would also help people that are used to RFCs but are not necessarily native English speakers. It would also people that write compilers, static analysis tools and end-users.
Thank you for your consideration.

I think "programs may rely on wrap around" is correct.
A program may or may not use the wrap around feature,
and we certainly don't want to say a program have to
(must) use the wrap around.
"may disallow NUL" is also correct. We don't require each
tool to always reject NUL characters, but the fact that
some tools might reject NUL characters means you
shouldn't use NUL characters in programs if you want to
stay compatible with all implementations.

@dlsniper -- "May" doesn't only refer to optional features; the context isn't always "implementations may."
Even the text of RFC 2119 itself uses 'may' to refer to, e.g. how security issues "may be" tricky (and trickiness certainly isn't an optional feature; the sentence is just saying security issues turn out tricky sometimes). In RFCs, you sometimes see the distinction between the RFC 2119 use and others in some uses of the key words being capitalized.
In your example, and most other uses when I search the spec, "may" refers to what your program may do, not something a Go implementer may choose whether or not to do. Your program may rely on integer wraparound, omit most semicolons, use newlines in backtick-delimited raw strings, and so on. When your programs may use a feature, all compilers must implement it, no ambiguity. (If compilers didn't all have it, you couldn't rely on it, right?)
"Implementation restriction" refers to explicitly allowed limitations that a compiler can have, i.e. permitted variations. For example, compilers can choke on NUL bytes in source if they want to. So it's the reverse of how you were parsing it in the comment -- "may" on its own does not mean there can be inter-compiler variation, "implementation restriction" means there can be.
(Implementation restrictions don't take up much of the spec; more commonly, when a topic (the type of garbage collector, say) is implementation-dependent, the spec just doesn't discuss it at all.)
I hope that helps parse the spec. It's hard to say what would clarify it. I don't think capitalizing the few uses that refer to implementation variations would help much, and it just seems inevitable you have to think "what may do X?" when you see the word "may."

@dlsniper Point taken. Implementation restrictions do pose a certain problem because if a compiler (say the default compiler) has those restrictions; effectively it means that programs must fit within those restrictions (it's not like there's a lot of alternative implementations).
For instance, the NUL byte restriction is really not important for Go per se, and in fact it costs an extra test for each source byte read by the compiler. It's there to prevent trouble with other tools which (historically) may have had trouble dealing with NUL bytes.
We will have a fresh look at this when we get to it. This is not urgent.

Hi all.
I agree, this is definitely not a high priority issue. However it would help to better understand some of the aspects of what's defined as an expected behavior are actually mandatory and some aspects can be optional.
Please don't take those two examples only, I've quickly took them to prove a point.
And, to clarify this, it's not about the programs the end-users of the language write but rather what guarantees/expectations the language/compiler/runtime set/provide. To give an example: just because I know that in the current gc uint8(255) + uint8(1) = uint(0) it doesn't mean I'll necessarily use that. But if I rely on that feature and it changes from Go 1.6 to Go 1.7 because the compiler / runtime changed then this will become a problem.
Thank you.

@dlsniper If it helps (for now), I can guarantee you that we are not going to change how 2's complement arithmetic is used in Go.


Tutorial: Azure Active Directory integration with Marketo

[Enter feedback here]
Configure Azure AD SSO Section of the document needs to be updated
4c. In the Relay State text box, type a URL using the following pattern: https://.marketo.com
This should be updated to https://.marketo.com
When updating the Relay State Text Box the value should be the pod URL. Example:  https://app-sj19.marketo.com.
This no longer works with Munchkin ID.

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

ID: 802b3740-1732-e597-b892-8a56f50425eb
Version Independent ID: d28f3206-af80-1294-53da-fdadcee8a409
Content: Tutorial: Azure Active Directory integration with Marketo
Content Source: articles/active-directory/saas-apps/marketo-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@aidowu200
Thanks for your feedback! We will investigate and update as appropriate.

Thanks @aidowu200
I made a pull request to update the example and will leave it open for review by @jeevansd
https://github.com/MicrosoftDocs/azure-docs-pr/pull/185355


Creating Azure AD Group with Service Principal Authentication Encounters Insufficient Privilege Response

Environment summary
Install Method
brew install azure-cli
CLI Version
2.0.29
OS Version
macOS High Sierra 10.13.3
I am trying to use an Azure Service Principal to create an Azure Active Directory group. My process is shown below:
az login --service-principal -u <app id>  -p <client secret> --tenant <tenant id>

az ad group create --display-name example --mail-nickname example

After running these commands, I get the following error:
Insufficient privileges to complete the operation.
Traceback (most recent call last):
  File "/usr/local/Cellar/azure-cli/2.0.29/libexec/lib/python3.6/site-packages/knack/cli.py", line 194, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/local/Cellar/azure-cli/2.0.29/libexec/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 347, in execute
    six.reraise(*sys.exc_info())
  File "/usr/local/Cellar/azure-cli/2.0.29/libexec/lib/python3.6/site-packages/six.py", line 693, in reraise
    raise value
  File "/usr/local/Cellar/azure-cli/2.0.29/libexec/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 319, in execute
    result = cmd(params)
  File "/usr/local/Cellar/azure-cli/2.0.29/libexec/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 180, in __call__
    return super(AzCliCommand, self).__call__(*args, **kwargs)
  File "/usr/local/Cellar/azure-cli/2.0.29/libexec/lib/python3.6/site-packages/knack/commands.py", line 109, in __call__
    return self.handler(*args, **kwargs)
  File "/usr/local/Cellar/azure-cli/2.0.29/libexec/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 418, in default_command_handler
    result = op(**command_args)
  File "/usr/local/Cellar/azure-cli/2.0.29/libexec/lib/python3.6/site-packages/azure/graphrbac/operations/groups_operations.py", line 333, in create
    raise models.GraphErrorException(self._deserialize, response)
azure.graphrbac.models.graph_error.GraphErrorException: Insufficient privileges to complete the operation.

I am assuming this is related to the service principal's permissions, but I can't find any clear documentation on what permissions are needed by a service principal to create an Azure AD Group. Any thoughts on what permissions are needed or if this is a more complex issue would be greatly appreciated.

You can check out https://github.com/Azure/azure-sdk-for-node/issues/2363#issuecomment-354897064 which has the most relevant discussions. Feel free to post any follow-up questions here.
In short, you need to configure the service principal to have the write permission first, before you can let it do anything.

@yugangw-msft Thanks for this.
So, would the permissions most likely be under Windows Azure Active Directory then give Read and write all groups permission to the service principal?

The most relevant one is the Read and write directory data under APPLICATION PERMISSIONS.
Please keep in mind 2 things"

Again, the permission is under APPLICATION PERMISSIONS, not under DELEGATED PERMISSIONS which is a different permission set.
Always click the Grant Permissions button after you save the change.

@yugangw-msft Thanks for the clarification. I'll try this out and close this if everything works.

@yugangw-msft So adding Read and write directory data didn't appear to resolve the issue. Are there additional permissions needed?

This post might be relevant for anyone experiencing this issue. Haven't tried it myself but might look into it.

i have a similar problem and i do not want to click on any button but to automate it with the az tool. i have SET the Read and write directory data via az app permission add, but az app permission grant does not work on command line, only via website ui.

@dkmbw, once CLI gets refreshed following the SDK update, i will let you know to try out, hope that work will close out the whole e2e

this issue is resolved when using legacy view for app registration.
the issue still persists when using the new general availability release on azure.

add to S165.

add to S165.

Closing the issue, since it hasn't been updated for a long time. If the issue persists, please create a new one. Thanks.


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1349 ms

Resolved: Bofrost.de performance has improved in f9cc882 after 6 minutes.


Is definejs stall??

Just wonder if this is stall. @mehranhatami seems to have no activity. Not replying on emails. He is not doing what he promise either. And tasks can take month to complete.
And  he seem to avoid all questions asked him too.

@Kflash DefineJS is not stall, the last example got added just in the last week, and setting up the build process is not that easy bro.

@mehranhatami Any reason you closes this? This is your behaviour, so people
deserve a reply.
On Sun, Jan 18, 2015 at 7:38 AM, Mehran Hatami<EMAIL_ADDRESS>wrote:

Closed #15 https://github.com/fixjs/define.js/issues/15.
—
Reply to this email directly or view it on GitHub
https://github.com/fixjs/define.js/issues/15#event-220574538.

@mehranhatami We are not only talking about setting up a build process
here.. That is not easy agree, but it was more in my questions.
On Sun, Jan 18, 2015 at 8:00 AM, Kenny Flashlight<EMAIL_ADDRESS>wrote:

@mehranhatami Any reason you closes this? This is your behaviour, so
people deserve a reply.
On Sun, Jan 18, 2015 at 7:38 AM, Mehran Hatami<EMAIL_ADDRESS>wrote:

Closed #15 https://github.com/fixjs/define.js/issues/15.
—
Reply to this email directly or view it on GitHub
https://github.com/fixjs/define.js/issues/15#event-220574538.


Stable solution to connect backend and frontend from docker containers.

Found a stable solution to connect the frontend and backend.
Since the containers would recognise "localhost" as their own unique address, I couldn't access them together, only separately. Frontend will simply fail to execute api requests to the backend, this has been fixed by using container names and reverse proxy.
Also I wasn't injecting the custom nginx.conf inj the frontend setup before, but now this has been amended.

Checking...............................................................................OK


[SPARK-10299][ML] word2vec should allow users to specify the window size

Currently word2vec has the window hard coded at 5, some users may want different sizes (for example if using on n-gram input or similar). User request comes from http://stackoverflow.com/questions/32231975/spark-word2vec-window-size .

Merged build triggered.

Merged build started.

Test build #41762 has started for   PR 8513 at commit f0fd13c.

Test build #41762 has finished for   PR 8513 at commit f0fd13c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41762/
Test PASSed.

Merged build finished. Test PASSed.

LGTM, minor doc comments which could be addressed in separate PR

Merged build triggered.

Merged build started.

Test build #41847 has started for   PR 8513 at commit c125c3b.

Test build #41847 has finished for   PR 8513 at commit c125c3b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41847/
Test PASSed.

cc @Ishiihara who I think was maybe the original author of the fixed window size.

ping @mengxr who has some recent commits in this file.

@holdenk LGTM. The reason to make the window size constant is that the window size does not affect the result too much given a large corpus.

@Ishiihara do you think it is worth merging in then or not so much? The documentation I've seen for different word2vec implementations seem to indicate that changing the window size can make a difference (and there is the user request to make it configurable).

ping @mengxr or @jkbradley if this looks ok to you it would be nice to get merged in

Although the window size doesn't matter a lot, yeah, it seems desirable to make it configurable.

@srowen Would you be comfortable merging given the existing review by the original author? Or should I get another set of eyes to take a look?

I'm OK with this but I'm only uncertain about merging for 1.6.0. Eh, 1.7.0? 2.0.0? it just matters because of the version label in @since. I had preferred writing 1.7.0 and change it later to 2.0.0 if needed. Maybe also a good time to check if @rxin is OK with at least tagging things for 1.7 at the moment, which may be revised later.

Feel free to do whatever.

@srowen @marmbrus @rxin since 1.6.0-RC2 will still be cut as there seem to be a few critical bugs, e.g. https://issues.apache.org/jira/browse/SPARK-12155 and https://issues.apache.org/jira/browse/SPARK-12165, and this is a very minor change, can we put in in 1.6.0? If not, I think just target 1.7.0 for now .
LGTM too.

I'm OK with that; it's quite safe and minor. I'd understand if someone objected since it's not a fix. Let me pause for that.

Just had minor comments, but I feel like the SQLContext issue should probably be fixed before merging.  I'm OK with putting it in 1.6

Test build #2182 has started for PR 8513 at commit c125c3b.

Test build #2182 has finished for PR 8513 at commit c125c3b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #47372 has started for PR 8513 at commit 76d7b5b.

Test build #47372 has finished for PR 8513 at commit 76d7b5b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47372/
Test PASSed.

@jkbradley addressed the issues (also cleaned up the rest of the tests in the same file)

Merged to master/1.6


In Grid how do I make an attribute formula only on the client side?

I need to create the Total field that is the formula Balance + Interest - Discounts.
These two fields: Interest and Discount are NotMapped fields in row.

Hi @controllernet ,
although my answer is not the answer how to do grid calculations only on client-side, it is an answer to your current problem :-).

Why don't you do this within the database backend with calculated fields?
E.G. create a SQL view of your table and add calculated/virtual fields for Juros and Desconto and then map them within xyzRow.cs
So you shift the "heavy" work of calculating Juros and Descento to the DB backend and you can use these calculated fields within SF as you would do any other "real" field.
With kind regards,
John

You should simply write a formatter function for that column


Can't attach ceph volume to container in clustered lxd setup

Required information
Distributor ID: Ubuntu
Description:    Ubuntu 18.04 LTS
Release:        18.04
Codename:       bionic
driver: lxc
driver_version: 3.0.1
kernel: Linux
kernel_architecture: x86_64
kernel_version: 4.15.0-23-generic
server: lxd
server_pid: 46966
server_version: "3.2"
storage: zfs
storage_version: 0.7.5-1ubuntu15
server_clustered: true
$> lxc storage list
+---------+-------------+--------+---------+---------+
|  NAME   | DESCRIPTION | DRIVER |  STATE  | USED BY |
+---------+-------------+--------+---------+---------+
| default |             | zfs    | CREATED | 4       |
+---------+-------------+--------+---------+---------+
| lxd     |             | ceph   | CREATED | 1       |
+---------+-------------+--------+---------+---------+

$> lxc storage volume list lxd
+--------+------+-------------+---------+------------+
|  TYPE  | NAME | DESCRIPTION | USED BY |  LOCATION  |
+--------+------+-------------+---------+------------+
| custom | test |             | 0       | host-0001  |
+--------+------+-------------+---------+------------+
| custom | test |             | 0       | host-0002  |
+--------+------+-------------+---------+------------+
| custom | test |             | 0       | host-0003  |
+--------+------+-------------+---------+------------+

Issue description
When creating a new storage volume on a ceph storage pool (even with --target specified), the ceph storage driver creates a 'volume' on every host in the cluster.
When i try to attach this volume to a host, i get the following error:
$> lxc storage volume attach lxd test test test /mnt
Error: more than one node has a volume named test

Steps to reproduce

Setup clustered lxd
Create ceph storage pool

lxc storage create lxd ceph --target host-0001
lxc storage create lxd ceph --target host-0002
lxc storage create lxd ceph --target host-0003
lxc storage create lxd ceph

Create storage volume on the ceph pool

lxc storage volume create lxd test

Try to attach the storage volume to a container (lxc storage volume attach)

lxc storage volume attach lxd test container_name disk_name /path

Am i missing something obvious?

Reproduced the issue here, will work on a fix.
It's on purpose that more than one node has the volume, it'd be a bug if that wasn't the case, so hopefully easy to fix.


much non-utf8 terminal support

Translates doge output to something slightly blockier on non-utf8 terminals. Fixes #55.
Tested under:

uxterm (LANG=fr_FR LC_ALL=fr_FR.utf8) [utf8 output not affected]
xterm (LANG=en_US)

Python 2.7.11
Here it is running on a latin1 terminal:

I like it! It's a blockier Shibe, but it is a working shibe!
Thanks a lot for your work! very wow!


belajar

Steps to Reproduce:1.2.||Version Data||-:|:-||**extensionName**|VSLS||**extensionVersion**|1.0.950||**protocolVersion**|2.2||**applicationName**|VSCode||**applicationVersion**|1.31.1||**platformName**|Linux||**platformVersion**|4.15.0-55-generic|

Thanks for reaching out. Can you give us more details about your scenario? Also, your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

Closing due to inactivity. Please re-open if this you're still encountering the issue and can share more details. Thanks!


node failure handling fails due to spymemcached 2.7.3 to 2.8.12 update

From<EMAIL_ADDRESS>on July 01, 2013 17:17:14
What steps will reproduce the problem?

start tomcat
shutdown couchbase cluster
enter tomcat page
start couchbase cluster
enter tomcat page

Version: 1.6.5

With the change of spymemcached 2.7.3 to 2.8.12 the split of couchbase/memcached library was made. With this change an undetected change was made to the connection factory that is responsible for redistributing requests that are addressed to a dead node (before BinaryConnectionFactory, now CouchbaseConnectionFactoryBuilder). the attribute that is used to determine the failure handling is CouchbaseConnectionFactory.DEFAULT_FAILURE_MODE = FailureMode.Retry (before: DefaultConnectionFactory.DEFAULT_FAILURE_MODE = FailureMode.Redistribute).

this results in continous requests to a dead node that are already canceled and should be switched back

Redistribute: In this failure mode, the failure of a node will cause its current queue and future requests to move to the next logical node in the cluster for a given key.
Retry: This failure mode is appropriate when you have a rare short downtime of a memcached node that will be back quickly, and your app is written to not wait very long for async command completion.

Reconnecting {QA sa=localhost/<IP_ADDRESS>:11210, #Rops=0, #Wops=6, #iq=0, topRop=null, topWop=Cmd: 0 Op
Connection state changed for sun.nio.ch.SelectionKeyImpl@16ab5303
Reconnecting due to exception on {QA sa=localhost/<IP_ADDRESS>:11210, #Rops=7, #Wops=0, #iq=0, topRop=Cm
java.io.IOException: Disconnected unexpected, will reconnect.
at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)
at com.couchbase.client.CouchbaseConnection.run(CouchbaseConnection.java:265)
Closing, and reopening {QA sa=localhost/<IP_ADDRESS>:11210, #Rops=7, #Wops=0, #iq=0, topRop=Cmd: 0 Opaqu
Discarding partially completed op: Cmd: 0 Opaque: 238 Key: 1B3A927693D62D89DFD1595A5
Discarding partially completed op: Cmd: 0 Opaque: 239 Key: 1B3A927693D62D89DFD1595A5
Could not load session with id 1B3A927693D62D89DFD1595A521E6F61 from memcached.
java.util.concurrent.CancellationException: Cancelled
at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:170)
at net.spy.memcached.internal.GetFuture.get(GetFuture.java:62)
at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1026)
at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1051)
at de.javakaffee.web.msm.MemcachedSessionService.loadFromMemcached(MemcachedSessionService.java:1112)

pull request: https://github.com/magro/memcached-session-manager/pull/27

Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=167

From martin.grotzke on July 01, 2013 08:40:22
Ouch, good catch!
For couchbase I agree that FailureMode.Redistribute is the correct choice.
For memcached though I'd say FailureMode.Cancel should be used, so that msm can kick in with its redistribution (I wonder why this was not covered before). What do you think?
Status: Accepted

From<EMAIL_ADDRESS>on July 02, 2013 08:16:51
i'm not using memcached but i think it is not a good idea to cancel the whole operation. if you got multiple memcached instances, on each instance the session is stored. if one instance goes down, i think it is a better idea to redistribute the operation to the running one

From martin.grotzke on August 24, 2013 15:22:56
Fixed, pull request is merged.
I also checked the failure mode for memcached connections and it's in fact set to Cancel already (in msm specific connection factories).
Status: Fixed
Labels: Milestone-1.6.6

From martin.grotzke on December 20, 2013 14:20:35
(No comment was entered for this change.)
Labels: -Milestone-1.6.6 Milestone-1.7.0


fix blur being always visible, but made that an option, actually hide badges, other minor visual improvements

i'm sorry but i should have paid more attention before the first pull request 😬
i made the blur an option too as i think it looks pretty, i'll also take a look at group style 😊

for the third commit:
before:

after:

Thanks for your contribution. Changes have been pushed to repo.co.kr.


Remove forced redirects (no shadowing on IPFS)

https://github.com/ipfs/specs/pull/290 states that we don't support forced redirects because _redirects  is looked up only when requested content path is not present in the DAG.
@justincjohnson mind cleaning this up? :pray:

[x] removing Forced and all its uses in code and README examples, so it is not confusing people who use this library and expect it to work
[x] return human-readable error when a redirect is defined with ! (forced flag), explaining forced redirects (and "shadowing") are not supported by IPFS gateways

Addressed in https://github.com/ipfs-shipyard/go-ipfs-redirects/pull/7.  Added you as reviewer.


AttributeError: 'NoneType' object has no attribute 'shape'

I DON'T KNOW WHY AND HOW TO FIX IT.

I have the same error.

I have the same error, too. I have spent two days solving it. Maybe the format of your  dataset is wrong. My dataset has 9 images whose format is .JPG while others are .jpg, so I correct them to .jpg, and then I overcome this error.

I have the same error, too. I have spent two days solving it. Maybe the format of your dataset is wrong. My dataset has 9 images whose format is .JPG while others are .jpg, so I correct them to .jpg, and then I overcome this error.

Thanks. I'll give it a try. Best regards.

You have to make sure that your images are in the directory structure as VOC.
Check voc0712.py in VOCDetection
self._imgpath = osp.join('%s', 'JPEGImages', '%s.jpg')
You can also change this as per need.

Just change coco.py:
from: img=cv2.imread(osp.join(self.root,path))
to:img=cv2.imread(path)


Don't delay showing the "next" button after testing a server connection

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
6.714
Where did you get the app from?
F-Droid
Android version
14
Steps to reproduce
After testing the settings of an IMAP server, the screen displays "Successfully tested server" and the same "Back" button as during the test. The "Next" button is not visible and only appears with a (about) five second delay, and pressing the "Back" button does not save the credentials.
Probably the "Next" button should always be shown and grayed out while the test is not successful, but otherwise you could also save the credentials (that were already entered on the previous screen) when hitting "Back" after a successful test, or redirect back to the settings screen and automatically save the changes.
It could also be useful to label the "Back" button with "Cancel" to make more clear, that it does not save the new credentials.
Logs
No response

@allo- We changed the bahavior in 6.715 which is available as GitHub release at the time of writing. Google and F-droid releases are still pending.
Have a look and comment if that solves your issue.

@allo- any update on this? The F-Droid release is available


sigstore: Add support for private sigstore instances

Working on adding support for private instances.
We need to think about the ways of configuring private sigstore info as part of this.

I tested this with a private sigstore instance but it does require https://github.com/sigstore/gitsign/pull/571 to be merged to support username type IDPs. I suggest we merge this when the upstream gitsign PR is merged and we can bump up the version in our go.mod.

https://github.com/sigstore/gitsign/pull/571 has been merged, pinning to that commit of gitsign until a release is available.


After installing typescript for visual studio 2015 the paths to typescript still point at older versions from visual studio 2015 dev prompt.

TypeScript Version:
1.8 (From the site)
Code
// A self-contained demonstration of the problem follows...

Expected behavior:
when I open a vs 2015 command prompt and type tsc.exe -v it should say the latest version.
Actual behavior:
It shows an older version.

duplicate of https://github.com/Microsoft/TypeScript/issues/4971
Please see the comment in https://github.com/Microsoft/TypeScript/issues/4971#issuecomment-144184935 for workarounds.


Text changes beneath QR

"A" should be small letter in image below.
Anant's comment: Make the second word of all QR to begin with a small letter.

Verified this issue on dev app v1.9.5(331)


fix(webserver): obtain the cluster from the informer for the/cache/ endpoint

This patch removes the LoadUnsafeCluster from the /cache/ endpoint, ensuring that the returned cluster is always the most recent one.
The cached cluster had no real performance benefits over using the already instantiated client with an informer.
Release Notes
The localwebserver  endpoint /cache/ now obtains the cluster resource from the client informer, ensuring that it is always up to date.

the commit title needs to be improved

/test limit=local


Known as

Resolves #84

It doesn't seem like this PR is needed anymore.  Issue https://github.com/infolab-csail/whoami/issues/84 appears to have been fixed by the recent spaCy update.


API endpoint cleanup

Hi @timabbott--I took a first pass at some of the API endpoint cleanup we discussed so that the existing FE shares code with the API more consistently. I changed to code and tests for adding subscriptions (per your suggestion) and also the message-sending endpoint.
When you have a chance could you take a look at this and let me know if this looks good/is going in the right direction?

Automated message from Dropbox CLA bot
@alliejones, it looks like you've already signed the Dropbox CLA. Thanks!

Looks like this didn't ping: ^ @timabbott

Yeah, this approach looks pretty reasonable.  A few notes:
(1) The second commit seems to not actually remove the old urls.py entry / function, and neither of them remove the function from zerver/views/*.py.  Read the next piece before working on this though :)
(2) It's probably the case that we actually want to do this in staged commits: first removing the usage of the old endpoint, and then removing the (now unused) old endpoint.  This is important because the way we do production deploys, browsers aren't forced to reload immediately -- they have like 30 minutes before being force-reloaded.  So users will get a lot of 500s trying to update subscriptions or send messages if we remove usage of the old routes in the same deploy that deletes the routes.

OK pushed a version of this to this branch: https://github.com/timabbott/zulip/tree/eliminate-old-urls
Other than the comments I posted in review, I made a couple more changes:

Fixed some missing changes identified through e.g. git grep json/send_message and git grep json/subscriptions/add -- next time please do this check when cleaning out an old route!
Fixed the fact that rest_dispatch didn't support our mechanism for having the message_sender works process a request over websockets; I added the 2-line change needed to make this happen.

OK and went ahead and merged this.  Thanks @alliejones for the contribution!


make iterators have less friend classes

I think we don't need many of the friends - the compilation 'test' passed, but maybe it's for interface stuff?

ping

Why are were the friends needed?

Because at the beginning I did not want to expose the default constructor. Like when you removed the friend from mito_iterator you had to move MitoIterator() to public.

Why not allow the default ctor?  Anyways, the fact that these classes are diverging is troublesome.


Remove trailing whitespace

🏷 What kind of change is this?

:book: Documentation (improvements without changing code)

[x] I agree to respect and uphold the Cucumber Community Code of Conduct

🧹 Thanks!


Modify owl:versionInfo in gist ontology declarations

It seems weird to include a local path in the gist ontologies' owl:versionInfo, especially in the public download, but also in the repository files given that it's now a public repo:
<owl:versionInfo rdf:datatype="&xs;string">Created with e6Tools Graphical OWL Editor from S:\_SemanticArts\Offerings\gist\_daveGistGit\gist\gist9.0.0.vsd Page:address</owl:versionInfo>

How about something along the lines of:
<owl:versionInfo rdf:datatype="&xs;string">Version 9.0.0 created with e6Tools Graphical OWL Editor</owl:versionInfo>

Or, given that we will be phasing out e6, just:
<owl:versionInfo rdf:datatype="&xs;string">Version 9.0.0</owl:versionInfo>

Good point. Unfortunately, this a comment generated by e6, we cannot change it.
From: Rebecca Younes<EMAIL_ADDRESS>Sent: Tuesday, August 20, 2019 10:36 AM
To: semanticarts/gist<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [semanticarts/gist] Modify owl:versionInfo in gist ontology declarations (#100)
It seems weird to include a local path in the gist ontologies' owl:versionInfo, especially in the public download, but also in the repository files given that it's now a public repo:
<owl:versionInfo rdf:datatype="&xs;string">Created with e6Tools Graphical OWL Editor from S:_SemanticArts\Offerings\gist_daveGistGit\gist\gist9.0.0.vsd Page:address</owl:versionInfo>
How about something along the lines of:
<owl:versionInfo rdf:datatype="&xs;string">Version 9.0.0 created with e6Tools Graphical OWL Editor</owl:versionInfo>
Or, given that we will be phasing out e6, just:
<owl:versionInfo rdf:datatype="&xs;string">Version 9.0.0</owl:versionInfo>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/semanticarts/gist/issues/100?email_source=notifications&email_token=ACSHHSPE7DV7ORBVNYRF2BLQFQTO7A5CNFSM4IN2PDQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGJ3YEA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACSHHSMGIGGB2EGG6VQWHMLQFQTO7ANCNFSM4IN2PDQA.

Will be resolved once we are no longer generating OWL files in e6.


[Group] Add multicast listening on linux

Problem
Fix issue #11078
Fix issue #3377
Partial fix of #12200
Change overview
Added IPV6 multicast address building in the SessionManager before sending a group message.
Added IPV6 multicast listeners initialization in server.cpp
Testing
Tested with the *.yaml test suite by enabling the remaining step of the TestGroupMessaging.yaml
Disabled the TestGroupMessaging on Darwin CI because of failure to enable IPV6 Multicast listening (out of scope of this PR since CI related)
Todo
Still need to implement listening with LWIP #12327

/rebase

/rebase

/rebase

@jepenven-silabs can you address comments so we can proceed forward with this? Thanks!


Bug: App crashes if the user clicks any button before the sync is completed.

On the home screen if the user clicks either the send or the receive buttons the app crashes. No logs could be found as the app crashes before the logger can connect with Android studio.

The issue can be seen in the GIF.

Seems like the same issue as #139. I thought that using the rootView would have fixed the issue, but seems that I am wrong about that.

Now that I look at the logs again : java.lang.IllegalArgumentException: No suitable parent found from the given view. Please provide a valid view.
Do you think that changing adding if (requireView().parent != null) before calling the snackbar (which is causing the crash) would solve this? Something like :
if (requireView().parent != null)
            fireSnackbar(rootView, SnackbarLevel.INFO, "Wallet successfully synced!")

Yeah I think something like that could work, or just a try/catch statement. It's not yet exactly the behaviour I totally want so we'll keep iterating on it, and because the wallet does sync no matter what (here it's just an issue of UI and snackbars), it's not a big deal if the snackbar doesn't show.
Plus snackbars in Compose are a bit differently handled, so I'm not sure yet how that will come in. For now I think a simple check for the parent view would solve our issue. @masterchief164 how does that sound?

I think it would be better to add a progress bar and disable the all other buttons while the wallet is syncing and remove the progress bar and enable the buttons it once it's done.

I like the idea of some visual to let the user know that the wallet is syncing! I wonder how we might integrate that in the future. A few thoughts on this however:
Disabling everything else while sync is happening is not quite the workflow we want, mostly because the sync call really isn't blocking at all (it's fired in a coroutine in a background thread); the bug comes from navigating to a different view and trying to draw a snackbar on a view that doesn't exist anymore. You can also imagine a sync call to a home bitcoin node over Tor that would be super slow to respond: in this case freezing navigation and buttons isn't as nice, also because whether the wallet is synced or not is not a blocker for doing other things.
Adding the progress bar might be interesting but I do think it would be a fully new feature (we could open a new issue for discussion on that maybe?) whereas for starters it would be great to fix our bug. The other thing about that is that if you want to work on the progress bar you'll have to wait for the Compose stuff to be merged, whereas this bug can probably be fixed immediately with no blockers, so at least we get small wins early on and build on that later..

Masterchief are you interested in writing the PR to fix the bug?

I'll take it up once I complete the previous task of adding the slider for the fees.

Sounds good! But do checkout my comment on the #125 issue though. It's not ready for tackling just yet.

This issue is no longer a problem!


zbee - Read/write access to config folder is not granted

Have problem to get Z-station to work with zigbee in Z-Wave.Me Add-on v4.1.3.
z-wave work like a charm.
Cannot start Zigbee binding: Error: Invalid config
I use serial port /dev/ttyUSB1
When i check log for Z-Wave.Me Add-on in HA i can se following error;
Loading module Zigbee from modules/Zigbee
Executing script: /*** Zigbee Binding module
Instantiating module 15 from class Zigbee
--- Starting module Zigbee Network Access
Removing job: Set controller node information frame
Read/write access to config folder is not granted
Error: Invalid config
Trying to restart Zigbee binding (zbee) in 10 seconds
..
..
..
Restarting Zigbee binding (zbee)
Read/write access to config folder is not granted
Error: Invalid config
Trying to restart Zigbee binding (zbee) in 10 seconds
... and so on
Running on Debian
Core 2024.6.2
Supervisor 2024.06.0
Frontend 20240610.0

Hello!
I'll pass it to our support team, we will check it and get back to you.

Z-Way saves its version on shutdown, so overrides your changes. You should either:

stop Z-Way and edit the file
use Z-Way to alter it and save:

http://localhost:8083/JS/Run/controller.instances.filter(function(i){return i.moduleId=="Zigbee"})[0].params.config="configs/config"
http://localhost:8083/JS/Run/controller.saveConfig(true)```

@PoltoS Your solution worked, so now zigbee works with z station and error messages are gone. Thanks for the help.
This issue is resolved and can be closed.

Thanks for your feed back. A five ⭐ rating is appreciated (if you bought it on Amazon) ;)


feat: back to flat file structure

Returns to the old file structure

BREAKING CHANGE: new import path

:tada: This PR is included in version 5.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Clicking 'X' leaves the runner process in memory

Start the GUI. Click 'X' to exit. Check in Task Manager. The process is still running.
Using 'File | Exit' works correctly. 'X' should do the same thing.

Verified the problem still exists in the latest (dev-00024) build as well as in beta1 where it was initially detected.

This required a series of PRs but is now fixed in the 2.0.0-dev00032 build of the engine and the 2.0.0-dev00302 build of the GUI.

:tada: This issue has been resolved in version 2.0.0-beta2 :tada:
The release is available on:

GitHub Release
NuGet Package


"There was an error processing the signup."

I have been trying to get Angello running using Firebase.  The app brings up the sign up/sign in screen without any errors.
However on trying to create a new account, I get the following error messages from the application serving Angello (Netbeans) -
Failed to load resource: the server responded with a status of 404 (Not Found) (14:27:00:938 | error, network)
at https://www.gravatar.com/avatar/95a900435ca16f23512f418175856480?d=404
'KeyboardEvent.keyLocation' is deprecated. Please use 'KeyboardEvent.location' instead. (14:27:01:222 | warning, deprecation)
at http://cdn.auth0.com/js/lock-6.js:9883
Failed to load resource: the server responded with a status of 400 (Bad Request) (14:27:24:222 | error, network)
at https://angello.auth0.com/dbconnections/signup
XMLHttpRequest cannot load https://angello.auth0.com/dbconnections/signup. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8383' is therefore not allowed access. The response had HTTP status code 400. (14:27:24:223 | error, javascript)
at index.html
Trying to sort out if this an auth0 issue vs Angello code issue vs Firebase issue.  Any and all help would be appreciated.
Thanks,
Neal

I believe this is a auth0 issue. Have you figured it out yet?

Hi forks,
I am getting same issue when trying to use firebase

Hi all,
I managed to solve this issue, what I was doing is that I created my own domain on Auth0, then used my own domain, and clientID.
Second thing I did is to setup callback URLs.

Hope this help.

@anhtv08 how did you do that? I also created my own domain because angello.auth0 is not working. So I copied the client-id and secret-id into the .env file of angello-express. And changed the domain in Angello.js and also the client-id there. But still get the same errors....


Setup test(python setup.py test) fails

My Environment and Prerequisite

OS

Ubuntu 22.04.2 LTS

Python

3.8.2(installed by pyenv)
pip 22.1.1

node

v18.15.0
nvm 0.39.3

How I reproduce
First, I invoke pip install.
$ python -m pip install -r requirements.txt

After that, I try to setup by following Contribute guide description.
Non-Python dependencies does not occur Error/Exception.
$ sudo apt install gettext
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
$ nvm install
$ nvm use

Development setup python setup.py developfailed.

Log(python setup.py develop)
[kumamoto django-hijack]$ python setup.py develop
/home/kumamoto/Documents/gohomequickly/github.com/Kumamoto-Hamachi/django-hijack/.eggs/setuptools_scm-7.1.0-py3.8.egg/setuptools_scm/integration.py:28: RuntimeWarning:
ERROR: setuptools==41.2.0 is used in combination with setuptools_scm>=6.x

Your build configuration is incomplete and previously worked by accident!
setuptools_scm requires setuptools>=45

This happens as setuptools is unable to replace itself when a activated build dependency
requires a more recent setuptools version
(it does not respect "setuptools>X" in setup_requires).

setuptools>=31 is required for setup.cfg metadata support
setuptools>=42 is required for pyproject.toml configuration support

Suggested workarounds if applicable:
 - preinstalling build dependencies like setuptools_scm before running setup.py
 - installing setuptools_scm using the system package manager to ensure consistency
 - migrating from the deprecated setup_requires mechanism to pep517/518
   and using a pyproject.toml to declare build dependencies
   which are reliably pre-installed before running the build tools

  warnings.warn(
running develop
running egg_info
creating django_hijack.egg-info
writing django_hijack.egg-info/PKG-INFO
writing dependency_links to django_hijack.egg-info/dependency_links.txt
writing requirements to django_hijack.egg-info/requires.txt
writing top-level names to django_hijack.egg-info/top_level.txt
writing manifest file 'django_hijack.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'hijack/locale/*/LC_MESSAGES/django.mo'
warning: no files found matching 'hijack/static/hijack/hijack.min.*'
writing manifest file 'django_hijack.egg-info/SOURCES.txt'
running build_ext
Creating /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django-hijack.egg-link (link to .)
Adding django-hijack 0.1.dev787+gea17e79 to easy-install.pth file

Installed /home/kumamoto/Documents/gohomequickly/github.com/Kumamoto-Hamachi/django-hijack
Processing dependencies for django-hijack==0.1.dev787+gea17e79
Searching for Django==3.2.8
Best match: Django 3.2.8
Adding Django 3.2.8 to easy-install.pth file
Installing django-admin script to /home/kumamoto/.pyenv/versions/3.8.2/bin

Using /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages
Searching for sqlparse==0.4.2
Best match: sqlparse 0.4.2
Adding sqlparse 0.4.2 to easy-install.pth file
Installing sqlformat script to /home/kumamoto/.pyenv/versions/3.8.2/bin

Using /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages
Searching for pytz==2021.3
Best match: pytz 2021.3
Adding pytz 2021.3 to easy-install.pth file

Using /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages
Searching for asgiref==3.4.1
Best match: asgiref 3.4.1
Adding asgiref 3.4.1 to easy-install.pth file

Using /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages
Finished processing dependencies for django-hijack==0.1.dev787+gea17e79

After installing latest setuptools, Development setup has completed successfully.

Log(python setup.py develop)
[kumamoto django-hijack]$ pip install --upgrade setuptools
Requirement already satisfied: setuptools in /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages (41.2.0)
Collecting setuptools
  Downloading setuptools-67.6.0-py3-none-any.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 35.9 MB/s eta 0:00:00
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 41.2.0
    Uninstalling setuptools-41.2.0:
      Successfully uninstalled setuptools-41.2.0
Successfully installed setuptools-67.6.0
WARNING: There was an error checking the latest version of pip.
[kumamoto django-hijack]$ python setup.py develop
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
  dist.fetch_build_eggs(dist.setup_requires)
WARNING: The wheel package is not available.
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
running develop
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running egg_info
writing django_hijack.egg-info/PKG-INFO
writing dependency_links to django_hijack.egg-info/dependency_links.txt
writing requirements to django_hijack.egg-info/requires.txt
writing top-level names to django_hijack.egg-info/top_level.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'hijack/locale/*/LC_MESSAGES/django.mo'
warning: no files found matching 'hijack/static/hijack/hijack.min.*'
adding license file 'LICENSE'
writing manifest file 'django_hijack.egg-info/SOURCES.txt'
running build_ext
Creating /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django-hijack.egg-link (link to .)
django-hijack 0.1.dev787+gea17e79 is already the active version in easy-install.pth

Installed /home/kumamoto/Documents/gohomequickly/github.com/Kumamoto-Hamachi/django-hijack
Processing dependencies for django-hijack==0.1.dev787+gea17e79
Searching for Django==3.2.8
Best match: Django 3.2.8
Adding Django 3.2.8 to easy-install.pth file
Installing django-admin script to /home/kumamoto/.pyenv/versions/3.8.2/bin

Using /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages
Searching for sqlparse==0.4.2
Best match: sqlparse 0.4.2
Adding sqlparse 0.4.2 to easy-install.pth file
Installing sqlformat script to /home/kumamoto/.pyenv/versions/3.8.2/bin

Using /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages
Searching for pytz==2021.3
Best match: pytz 2021.3
Adding pytz 2021.3 to easy-install.pth file

Using /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages
Searching for asgiref==3.4.1
Best match: asgiref 3.4.1
Adding asgiref 3.4.1 to easy-install.pth file

Using /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages
Finished processing dependencies for django-hijack==0.1.dev787+gea17e79
[kumamoto django-hijack]$

But, Test python setup.py test causes an Error/Exception(django.core.exceptions.ImproperlyConfigured).

Log(python setup.py test)

[kumamoto django-hijack]$ python setup.py test
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
  dist.fetch_build_eggs(dist.setup_requires)
WARNING: The wheel package is not available.
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
  ir_d = dist.fetch_build_eggs(dist.install_requires)
WARNING: The wheel package is not available.
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
  tr_d = dist.fetch_build_eggs(dist.tests_require or [])
WARNING: The wheel package is not available.
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py:196: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
  er_d = dist.fetch_build_eggs(
WARNING: The wheel package is not available.
running egg_info
writing django_hijack.egg-info/PKG-INFO
writing dependency_links to django_hijack.egg-info/dependency_links.txt
writing requirements to django_hijack.egg-info/requires.txt
writing top-level names to django_hijack.egg-info/top_level.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'hijack/locale/*/LC_MESSAGES/django.mo'
warning: no files found matching 'hijack/static/hijack/hijack.min.*'
adding license file 'LICENSE'
writing manifest file 'django_hijack.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "setup.py", line 74, in <module>
    setup(
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/__init__.py", line 108, in setup
    return distutils.core.setup(**attrs)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/dist.py", line 1221, in run_command
    super().run_command(command)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 224, in run
    self.run_tests()
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 227, in run_tests
    test = unittest.main(
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/main.py", line 100, in __init__
    self.parseArgs(argv)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/main.py", line 124, in parseArgs
    self._do_discovery(argv[2:])
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/main.py", line 244, in _do_discovery
    self.createTests(from_discovery=True, Loader=Loader)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/main.py", line 154, in createTests
    self.test = loader.discover(self.start, self.pattern, self.top)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/loader.py", line 349, in discover
    tests = list(self._find_tests(start_dir, pattern))
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/loader.py", line 405, in _find_tests
    tests, should_recurse = self._find_test_path(
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/loader.py", line 483, in _find_test_path
    tests = self.loadTestsFromModule(package, pattern=pattern)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/loader.py", line 191, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/loader.py", line 191, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/home/kumamoto/Documents/gohomequickly/github.com/Kumamoto-Hamachi/django-hijack/hijack/tests/test_app/urls.py", line 5, in <module>
    from . import views
  File "/home/kumamoto/Documents/gohomequickly/github.com/Kumamoto-Hamachi/django-hijack/hijack/tests/test_app/views.py", line 6, in <module>
    class UserListView(generic.ListView):
  File "/home/kumamoto/Documents/gohomequickly/github.com/Kumamoto-Hamachi/django-hijack/hijack/tests/test_app/views.py", line 7, in UserListView
    model = get_user_model()
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/contrib/auth/__init__.py", line 160, in get_user_model
    return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/conf/__init__.py", line 82, in __getattr__
    self._setup(name)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/conf/__init__.py", line 63, in _setup
    raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Requested setting AUTH_USER_MODEL, but settings are not configured.

But, Tests causes a same Error/Exception message.
Same Exception Log
[kumamoto django-hijack]$ python setup.py develop
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
  dist.fetch_build_eggs(dist.setup_requires)
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
running develop
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running egg_info
writing django_hijack.egg-info/PKG-INFO
writing dependency_links to django_hijack.egg-info/dependency_links.txt
writing requirements to django_hijack.egg-info/requires.txt
writing top-level names to django_hijack.egg-info/top_level.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'hijack/locale/*/LC_MESSAGES/django.mo'
warning: no files found matching 'hijack/static/hijack/hijack.min.*'
adding license file 'LICENSE'
writing manifest file 'django_hijack.egg-info/SOURCES.txt'
running build_ext
Creating /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django-hijack.egg-link (link to .)
django-hijack 0.1.dev787+gea17e79 is already the active version in easy-install.pth

Installed /home/kumamoto/Documents/gohomequickly/github.com/Kumamoto-Hamachi/django-hijack
Processing dependencies for django-hijack==0.1.dev787+gea17e79
Searching for Django==3.2.8
Best match: Django 3.2.8
Adding Django 3.2.8 to easy-install.pth file
Installing django-admin script to /home/kumamoto/.pyenv/versions/3.8.2/bin

Using /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages
Searching for sqlparse==0.4.2
Best match: sqlparse 0.4.2
Adding sqlparse 0.4.2 to easy-install.pth file
Installing sqlformat script to /home/kumamoto/.pyenv/versions/3.8.2/bin

Using /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages
Searching for pytz==2021.3
Best match: pytz 2021.3
Adding pytz 2021.3 to easy-install.pth file

Using /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages
Searching for asgiref==3.4.1
Best match: asgiref 3.4.1
Adding asgiref 3.4.1 to easy-install.pth file

Using /home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages
Finished processing dependencies for django-hijack==0.1.dev787+gea17e79

[kumamoto django-hijack]$ python setup.py test
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
  dist.fetch_build_eggs(dist.setup_requires)
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
  ir_d = dist.fetch_build_eggs(dist.install_requires)
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
  tr_d = dist.fetch_build_eggs(dist.tests_require or [])
/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py:196: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
  er_d = dist.fetch_build_eggs(
running egg_info
writing django_hijack.egg-info/PKG-INFO
writing dependency_links to django_hijack.egg-info/dependency_links.txt
writing requirements to django_hijack.egg-info/requires.txt
writing top-level names to django_hijack.egg-info/top_level.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'hijack/locale/*/LC_MESSAGES/django.mo'
warning: no files found matching 'hijack/static/hijack/hijack.min.*'
adding license file 'LICENSE'
writing manifest file 'django_hijack.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "setup.py", line 74, in <module>
    setup(
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/__init__.py", line 108, in setup
    return distutils.core.setup(**attrs)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/dist.py", line 1221, in run_command
    super().run_command(command)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 224, in run
    self.run_tests()
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 227, in run_tests
    test = unittest.main(
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/main.py", line 100, in __init__
    self.parseArgs(argv)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/main.py", line 124, in parseArgs
    self._do_discovery(argv[2:])
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/main.py", line 244, in _do_discovery
    self.createTests(from_discovery=True, Loader=Loader)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/main.py", line 154, in createTests
    self.test = loader.discover(self.start, self.pattern, self.top)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/loader.py", line 349, in discover
    tests = list(self._find_tests(start_dir, pattern))
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/loader.py", line 405, in _find_tests
    tests, should_recurse = self._find_test_path(
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/loader.py", line 483, in _find_test_path
    tests = self.loadTestsFromModule(package, pattern=pattern)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/loader.py", line 191, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/loader.py", line 191, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/home/kumamoto/Documents/gohomequickly/github.com/Kumamoto-Hamachi/django-hijack/hijack/tests/test_app/urls.py", line 5, in <module>
    from . import views
  File "/home/kumamoto/Documents/gohomequickly/github.com/Kumamoto-Hamachi/django-hijack/hijack/tests/test_app/views.py", line 6, in <module>
    class UserListView(generic.ListView):
  File "/home/kumamoto/Documents/gohomequickly/github.com/Kumamoto-Hamachi/django-hijack/hijack/tests/test_app/views.py", line 7, in UserListView
    model = get_user_model()
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/contrib/auth/__init__.py", line 160, in get_user_model
    return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/conf/__init__.py", line 82, in __getattr__
    self._setup(name)
  File "/home/kumamoto/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/conf/__init__.py", line 63, in _setup
    raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Requested setting AUTH_USER_MODEL, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

By the way, do we need wheel to run setup.py ?
If so, I think  requirements.txt should contain wheel. :cat:
What I have Not Done
I have not done django setup at all in this PJ directory.
Error message is django.core.exceptions.ImproperlyConfigured: Requested setting AUTH_USER_MODEL, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
Do I need some setup about Django ?
Expectations
I expect test successfully done

Hi @Kumamoto-Hamachi, thank you for reaching out. It seems the guide was outdated. I updated the file to properly reflect changes we made in packaging django-hijack. Please notify me if you are still experiencing any troubles. Cheers! Joe


SPDX License id is typo'd

The license id at https://github.com/Open-Federation/json-schema-editor-visual/blob/5e191d91af19ea6f0423aacdd3ae46eacefd57d1/package.json#L6 is incorrectly listed as "MIC" when it should, based on the LICENSE file, be "MIT".

See #86


Unauthorized access on namespaced examples

The examples in #126 do not cover unauthorized access to a Knock controller (basically Knock won't protect your endpoints if you follow the current instructions).
I suggest replacing those with the available API methods. Alternatively, I'm open to other suggestions.
I spent some time figuring out why the readme instructions do not work, it would be great if other developers do not hit the same issue.
Thanks in advance for taking a look.

The CI error is not related to this PR, I'll try to fix it during the review.

Closing this since we switched away from Knock to otp-jwt. Thank you!!! :bow:


Suppress inbound reference events

JIRA Ticket: https://jira.duraspace.org/browse/FCREPO-2803
What does this Pull Request do?
When an inbound reference happens it causes the jcr:lastModified of the JCR node to be changed. This is the only change to that node, so we can suppress them.
What's new?
A new predicate to check for a List of 1 Event with a type of PROPERTY_CHANGED and path that ends in jcr:lastModified
How should this be tested?
Internal tests are in place, but you can also stick a consumer on the activemq topic and check for any events when you POST with a reference to an existing Resource.
Additional Notes:
Any additional information that you think would be helpful when reviewing this PR.
Example:

Does this change require documentation to be updated? Yes
Does this change add any new dependencies? no
Does this change require any other modifications to be made to the repository (ie. Regeneration activity, etc.)? no
Could this change impact execution of existing code? Could affect client workflow, hence the documentation changes.

Interested parties
@fcrepo4/committers

I'm fine with holding off and in fact I said that I didn't think we could alter this event but with some time I now think that we could. We'd have to create a fake Modeshape event that we could map to the Follow (or whatever). But as I have made a definitive enough call to remove these events, I think we can change them. I'll play with tomorrow and see what I can come up with.

I remember why I didn't like ActivityStreams for this work. As I have a single event, I don't know know who is doing the Following or Liking. Which I think means I could generate the event but it would be invalid syntax


AT D878 (868) Multiple Radio IDs

Read/Write multiple Radio IDs into radio/textual config file.

@inkiiin I have a prototype working with https://github.com/xlfe/dmrconfig/commit/a5b07f2e7a13fc00edc99fddb5a0756ba172c4b9
While it read and writes the ids correctly, the radio seems still only to accept the first ID (the others dont show up). I might be missing an index somewhere which sets the number of active radio IDs.
Can you configure your radio with multiple radio IDs and then use dmrconfig to read the codeplug file ? Then remove all but the first radio ID and read the codeplug to another file and show us the binary diff?
I don't have a windows machine to run the official software or I would do that myself.

@xlfe : I created three codeplugs with multiple IDs. See attached package.
id1.img - Factory configuration with id1=1.
id1-7.img - Same configuration with id1=1, id2=2, id3=3 ... id7=7.
id1-7-250.img - Same configuration with id1=1, id2=2, id3=3 ... id7=7, id250=250.
Files id1.hd, id1-7.hd, id1-7-250.hd contain hex dump of the codeplugs.

 *

It can be seen, that the table of 250 IDs is located at addresses 073d00-075c3f. Each entry takes 32 bytes.
Additionally, addresses<PHONE_NUMBER>7f contain a bitmap of active IDs, one bit per ID.
d868uv-dmrid-images.zip

@sergev thanks - very helpful.
This commit https://github.com/xlfe/dmrconfig/commit/edb48315f2b91efcdefb3841fe52879163b0b6cf adds the bitmap for enabling radioids


Add routes when creating a scaffold

it would be useful if when creating a scaffold, the default routes of this scaffold were added to the routes.js file

Hey @fabiojansenbr I just make auto import routes and controllers. It took some time but works. I hope you like.


Unable to deploy to an EKS cluster

I am trying to deploy a relatively simple Spring boot application to an AWS EKS cluster but am running into some issues. Pretty sure there is either some rogue configs or missing configs but when I run
mvn fabric8:deploy
I get the following in the console log:
[WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] F8: Cannot access cluster for detecting mode: Unknown host kubernetes.default.svc [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [ERROR] F8: Could not connect to kubernetes cluster! [ERROR] F8: Have you started a local cluster via mvn fabric8:cluster-startor connected to a remote cluster viakubectl? [INFO] F8: For more help see: http://fabric8.io/guide/getStarted/ [ERROR] F8: Connection error: %s: java.net.UnknownHostException: kubernetes.default.svc [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 34.777 s [INFO] Finished at: 2018-07-17T18:44:10-04:00 [INFO] Final Memory: 62M/297M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.5.33:deploy (default-cli) on project collect-user: Could not connect to kubernetes cluster. Have you started a cluster via mvn fabric8:cluster-startor connected to a remote cluster viakubectl? Error: java.net.UnknownHostException: kubernetes.default.svc: An error has occurred. Unknown host kubernetes.default.svc -> [Help 1] [ERROR]  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR]  [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
kubectl is correctly setup and I can run things such as kubectl get svc which is responding as expected.
Is there a guide to using fabric8 alongside EKS?
Thanks in advance
Andrew

This is likely an issue with the kubernetes-client. Looking into the source code, it the client first tries to read ~/.kube/config which should be present if you can access your cluster with kubectl. @andrewrutter could you please verify that this file exists for you ? And that you dont have kubernetes.auth.tryKubeConfig set as system property or env var ?
Also, running mvn with -X to switch on debug would be very helpful. If you could paste the log with debug around this error this might help as there are quite some info during the login process.

I opened a support ticket with AWS who came back with the following response.
I have checked our internal documentation and you are correct EKS only uses heptio-authenticator-aws for authentication, also there is no third party system integration with kubectl currently available within EKS.
However, I have gone ahead and created a feature request for this on your behalf. Unfortunately, I can't provide an exact ETA by which this feature may be introduced, but you can monitor the locations below for any new EKS releases:
https://aws.amazon.com/new/
https://aws.amazon.com/releasenotes/


Docs.MS CI Updates for Azure.Template

CI Update for release of Azure.Template

Docs Build status updates of commit 3d35af3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

bundlepackages/azure-dotnet-preview.csv
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Use correct kubeconfig when creating secret in e2e

Currently the secret will be created in whatever clusters/namespaces you've configured in your normal kubeconfig.

/ok-to-test

/lgtm, thx!
We should create a var kubectlArgs := []string{"kubectl", fmt.Sprintf("--kubeconfig=%s", kubeConfigPath)} at the top and use that everywhere to prevent this from happening again.
We never want to use kubectl without --kubeconfig.

Changes Unknown when pulling 9692f7fe26e9ebf646f721c69736274db1364487 on glindste:fix-e2e-bug into ** on GoogleCloudPlatform:master**.


question about the config file

I saw the galvatron_config_xxx.json of the example models, the pp_degs and tp_sizes_enc are all "1", are these config files searched optimal parallelism strategy?

Yes, these files contain the optimal parallelism strategies found on an A100 cluster. It's recommended to search for a new parallelism strategy in your own environment, as network and GPU conditions are often different.


Validator ignores base uri path

Given openapi spec with
Server base uri http://localhost:8000/api/v1
POST operation /products.create
I expect POST request http://localhost:8000/api/v1/products.create to be valid
Actual result
OpenAPI spec contains no such operation [/api/v1/products.create,post]

        $yaml = /** @lang yaml */
            <<<YAML
openapi: 3.0.0
info:
  title: Product import API
  version: '1.0'
servers:
  - url: 'http://localhost:8000/api/v1'
paths:
  /products.create:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                test:
                  type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  result:
                    type: string
YAML;

        $validator = new ServerRequestValidator(CebeReader::readFromYaml($yaml));

        $psrRequest = new ServerRequest(
            'POST',
            'http://localhost:8000/api/v1/products.create'
        );

        $validator->validate($psrRequest);

According to https://swagger.io/docs/specification/api-host-and-base-path/ having base url path prefix is totally valid

Good catch! Ill fix it asap. Now focusing on security keyword.

@scaytrase I've completed first iteration over base uri feature.
Your test looks green now: https://github.com/lezhnev74/openapi-psr7-validator/blob/master/tests/FromCommunity/ScayTraseTest.php
I noticed that you did not add type:object before properties. I thought that was a violation of OAS 3.

I noticed that you did not add type:object before properties. I thought that was a violation of OAS 3.

the spec does not mention this explicitly anywhere, but tools tend to assume type object when properties is specified.

assume or require?

I've removed this check. I was applying "defensive programming" and wanted to protect the code from unexpected side effects.

I'll allocate some time for testing different servers values, gonna close this one once confirmed that it works as expected.

Yeah, I've just updated to 0.7 and this looks like fixed at the moment


class ManageRecordForm - Already setAttribute for these 4

Page 94, you already specified these 4 attributes: this->setAttribute('method'...
on page 89

Just removed the extra reference to the setAttribute method. As with the other book-specific changes, this will be available in the next release of the book.


CVE-2024-24790: bump go to 1.22.6

Fixes vulnerability CVE-2024-24790 by updating Go to 1.22.6
Fixes #913

@sysadmind , kindly, when do we expect w release/tag with the fix?

https://github.com/prometheus-community/elasticsearch_exporter/releases/tag/v1.8.0


Funny UI Behaviour with Light Tracker

So I just pulled down the newest code, recompiled via gulp and put it into my systems directory.
When I launch the game world, the Light Tracker pop up is front and center.  Everything looks OK.

When I click "Turn off the lights" it causes the bottom part of the UI to jump up to about half-way down the screen (just below the last button on the left button list), where it remains even after refreshing with F5.  (It seems to be related to the content in the right sidebar - a lengthy chat log will push the lower elements back towards the bottom of the screen, but it will jump back up for tabs that have less content.)

The same issue occurs with a new world.
~I took screenshot but I can't figure out how to upload them.~

I think you can only press Ctrl+V if you have it in clipboard and it will upload the screenshot automatically!

Thanks, that worked for adding screenshots!

Feature was incomplete.  Issue is not there now.


Custom attributes on Hypernova DOM container

Hello.
I am using Hypernova to deprecate simple ERB elements with React components. It's been pretty much a smooth ride except for 1 thing:

Can I add a custom class name to the Hypernova DOM container?

Since I am replacing snippets of ERB, I am introducing a new <div> with each render_react_component invocation. I would prefer to be able to style the Hypernova DIV instead of wrapping it in yet another DIV for the sake of layout.
Let me know if there is already a decision on this or whether I can make a PR or something.

Hello. I am encountering this issue again. However, I think being able to add a style attribute would be more convenient for my current case: I want to use a CSS grid layout where each SSRed component is rendered as a named grid item.


Blinking time indicator on second recording

If you record a video for the second time, the time indicator starts to blink.
Also the recording time is wrong. If the length of the recorded video is 10s the recorder shows 8s. This also happens on the second run.

@alsar is this something you noticed in v1.1.0 or was it already present?

It was already present in 1.0.3

@alsar what browser are you using? It is supposed to blink (but perhaps it only does it the second time in your browser).

Oh you mean the time indicator, not the record indicator of course, my bad. The time indicator starts to blink, can you make a gif or something of this, I'm not seeing this or misunderstanding you. This would also help with figuring out the recording time issue.

Here is a video: https://youtu.be/g_QsgwQRqO4
As already mentioned, this happens only on the second run (and every next).

I'm also having the same problem.

It seems this only happens on slow machines, I can't reproduce it on this early 2015 Macbook Pro.

Tried on multiple i5 machines with 8-16gb ram. Same problem.

There is someting in video.js that resets the current time every x milliseconds when no valid source was found. This is what makes the time indicator 'blink'. Please look through the video.js source (probably for timeupdate event) and figure out how to disable this, I won't have time the next few days.

For example, on https://github.com/videojs/video.js/blob/master/src/js/player.js#L2792:
/**
 * Fired when the current playback position has changed *
 * During playback this is fired every 15-250 milliseconds, depending on the
 * playback technology in use.
 *
 * @event timeupdate
 */

This is the 15-250 ms time indicator reset issue I think.

And then in tech.js there's trackCurrentTime. Can you check if that method is called and resets the time to 0?

When the videojs-record plugin is first intialized, the timeupdate event is disabled. Then during playback it's enabled again. If you then start recording again, the timeupdate handler is disabled again. I suspect this is where something's wrong..

@alsar can you upgrade video.js to 5.8.0 or newer and check if this issue is fixed (related commit: https://github.com/videojs/video.js/commit/04907283216c18fdcb44bebd1253c507b5cede51)?

@thijstriemstra it's still the same with 5.8.3

Got the same issue. Time still updates, but the leading 0 seems to blink. (e.g. 0:12 to 00:12, then to 0:13)

it works fine if I change line 1547 to the following:
m = ((h && m < 10) ? '0' + m : m) + ':';
I am not unsure what's the gm for, so didn't create PR.

@zang feel free to make a PR so I can check it out. videojs-wavesurfer also uses the same code, I'm guessing it's the same problem there? https://collab-project.github.io/videojs-wavesurfer

https://github.com/collab-project/videojs-record/pull/65

This is the original code btw: https://github.com/videojs/video.js/blob/master/src/js/utils/format-time.js
videojs-record adds support for M:SS:MMM.

Thanks for the PR @zang, merged it and will release a new version now.