Incompatiable with OpenApi 3.0.1

Brief Introduction:
We are facing issues while generating the sphinx documentation while using openAPI 3.0.1 yml template files .
But it works successful with the Swagger 2.0 template.
Ask:
Can you please confirm if sphinx supports OpenAPI 3.01 templates for documentation?
Problem Statement :
Specifically, we are facing issues for following parameters in documentation.
a) Request Json Parameters
b) Response Json Parameters
As per below example of Open API 3.01 template  it expects

( schema property is child of content)
where as in Swagger 2.0 the structure looks like this.

if we use the Swagger 2.0 yml to generate the HTML documentation then I successfully generates the Request JSON Parameter and Response JSON Parameters as below.

where as with former with openAPI 3.0.1 template it failed to load these request Json parameter and response Json Parameters

You can refer any sample open API 3.0.1 template from internet to reproduce this issue.
Really appreciate your prompt support.

Any update please?

@kulsingh0 Try switching to new renderer on latest version. Add openapi_default_renderer='httpdomain' to conf.py

@igo95862 that doesn't seem to solve the problem for me:
Sphinx==3.4.3
sphinxcontrib-httpdomain==1.7.0
sphinxcontrib-openapi==0.7.0

It also doesn't work on the test API spec: https://github.com/sphinx-contrib/openapi/blob/master/tests/testspecs/v3.0/petstore-expanded.yaml
Yields:

I recently discovered this issue (xref https://github.com/pangeo-forge/pangeo-forge-orchestrator/pull/28). In that project, we are trying to include API documentation from a fastapi api object directly in a sphinx website. I imagine this is a very common scenario for python devs in 2022. We accomplish this with the following simple code in conf.py.
import yaml
from pangeo_forge_orchestrator.api import api  # created by FastAPI()

api_spec = api.openapi()  # openapi-style dictionary
with open("openapi.yaml", mode='w') as fp:
    yaml.dump(api_spec, fp)

Plus the following RST in our sphinx site
.. openapi:: openapi.yaml

Fastapi exports openapi 3.0.x style metadata. The bug described here means that response and request JSON are not rendered. (See example site.)
We see two possible options to resolve the problem:

Implement a manual translation step, wherein we reformat api_spec to use the swagger-style nesting of response objects
Help resolve this problem upstream, i.e. in sphinxcontrib.openapi

Would the maintainers be willing to sketch out a roadmap of what it would take to fix this bug? We may be able to allocate developer time to such an effort if the path is clear.

I just noticed the same problem.
Sphinx==4.5.0
sphinxcontrib-httpdomain==1.8.0
sphinxcontrib-openapi==0.7.0
Is there a timeline when solution can be expected?

This issue appears to be related to the resolution of references in the schemas.
The line
https://github.com/sphinx-contrib/openapi/blob/ee9e232e19be1e01cc682926e77790a0df300108/sphinxcontrib/openapi/renderers/_httpdomain_old.py#L42
Appears to be missing from the new renderer. Inserting this line at
https://github.com/sphinx-contrib/openapi/blob/ee9e232e19be1e01cc682926e77790a0df300108/sphinxcontrib/openapi/renderers/_httpdomain.py#L236
and updating the includes (plus openapi_default_renderer='httpdomain') resolves the issue for me.

I've made a fork with the update applied at:
https://github.com/david-i-berry/sphinxcontrib-openapi
I've only tested with my use case but it renders as expected (i.e. with the request and response objects now shown).

I just hit this issue with $ref in the responses on openapi 3.0.1.   The fix from @david-i-berry on July 4, 2023 worked perfectly for me with both HTML and PDF.   Any chance we can get this into a build?


Refactor analytics to use canonical @cfpb/cfpb-analytics module

Fixes https://github.com/cfpb/consumerfinance.gov/issues/2361
Changes

Change the analytics to lazy initialize when the sendEvent method is called.
Updates codebase to use @cfpb/cfpb-analytics module.

How to test this PR

Put a console.log(…) statement in the init method of the Analytics.js module and xdescribe the Analytics-spec tests to skip them and run yarn jest test/unit_tests/js/modules/Analytics-spec.js and the console.log should not run. It will run on main, showing that the module calls init() when it it imported.
Add debug-gtm=true to a URL that fires analytics events and check the console.log. For example, http://localhost:8000/about-us/blog/?debug-gtm=true

Coverage failure is N/A. It's just because I touched the files.

Note that the FilterableListControl sends an action to the data layer, but doesn't send an event, so in the debug log when clicking submit on https://www.consumerfinance.gov/about-us/blog/?debug-gtm=true, for example, the event is shown as undefined.


Upgrade cicd for V-Sekai game to have 10 minute builds when fully cached.

Part of a https://martinfowler.com/bliki/PendingHead.html workflow.

That's how jo used to do it at his previous company.  You push to a branch, tests run, if everything passes and it gets approved by two reviews it gets merged.

https://docs.gocd.org/current/faq/dev_understand_why_build_broken.html


add pry, pry-byebug, pry-remote to chef-dk

related to chef/chef#4517

:+1:
I also request that you add pry-stack_explorer to https://github.com/chef/omnibus-software/blob/master/config/software/pry.rb

:+1:

@tyler-ball if you use it, go ahead and submit a PR there...  i only submitted a PR for the ones I had used before and knew other people wanted as well..


Unable to receive callback when trying to subscribe custom yang model using sr_oper_get_subscribe()

Hi
I am trying to read data from a file and send to netconf client whenever a get-config request is sent, instead of reading from default sysrepo data.
I have tried to subscribe my yang data model using sr_oper_get_subscribe() function and I have implemented above functionality in my call back function. I am unable to receive any hit for my subscribed yang data model.
I Want to know if these feature is supported by sysrepo and how to resolve this.
Thankyou.

No, your use-case is not supported. sysrepo is a datastore and there is no reason for it to just take some file contents instead of the data it has stored.


First test failing, code returns correct solution... help or i quit coding and become and artist.. at least paint doesn't fight you when you try to use it..

Challenge Accessing Nested Arrays has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

// Setup
var myPlants = [
  {
    type: "flowers",
    list: [
      "rose",
      "tulip",
      "dandelion"
    ]
  },
  {
    type: "trees",
    list: [
      "fir",
      "pine",
      "birch"
    ]
  }
];

// Only change code below this line

var secondTree = myPlants[1].list[1] + " "; // Change this line

@AndrewScri thanks for reporting this issue.
Unfortunately your code does not return the correct solution:
the test expect pine while your code returns pine  (notice the empty space?).
The reason is that in your code you are attaching an empty space yourself here.
+ " ";   // --> this means add a space after my string

Next time you're having difficulties with a challenge please consider asking for help in chat or on the official forum.
Good luck and happy coding 👍

@AndrewScri Thank you for reporting this issue. You've added an extra space to the return statement as @Marmiz has pointed out. Please ask coding questions in Gitter chat rooms linked below. Hang in there, learning to program takes time and patience.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on freeCodeCamp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding!


Phaser.GameObjects.Grid not rendering in CANVAS mode

Happens in v. 3.16.2 and v.3.17.0, latest Chrome MacOS
Phaser.GameObjects.Grid only seem to render with WEBGL

Looking at it, this was never even coded! It's never worked, ever. Which just goes to show how often people need this Game Object and/or Canvas!

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


Fb test

          2 Warnings

:warning:
Big PR

:warning:
Please provide a summary in the Pull Request description

SwiftLint found issues
Warnings

File
Line
Reason

ViewController.swift
16
Remove overridden functions that don't do anything except call their super (unneeded_override)

Errors

File
Line
Reason

ViewController.swift
12
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)

ViewController.swift
14
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)

ViewController.swift
23
Files should have a single trailing newline (trailing_newline)

ViewController.swift
21
Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)

  Generated by :no_entry_sign: Danger


fixes #62 - uses computed string literal properties instead of identifiers for IIFEs using module config feature

amdclean was generating code like this to support RequireJS' 'module' feature:
some_module = function (module) {
    // ...
}(module.some_module);

For module names that are not valid JavaScript identifiers, we would get code like this:
some_module_with_nested_path = function (module) {
    // ...
}(module.some/module/with/nested/path);

This pull request fixes this problem by forcing the code generator to use computed string literal properties instead of identifiers, so we'll get this instead:
some_module_with_nested_path = function (module) {
    // ...
}(module['some/module/with/nested/path']);

The tests for the module config feature have also been updated to reflect this change.

Thank you so much!  Much appreciated.


Allow schema to be specified for target table in sqla.CopyToTable

Description
When using an RDBMS that supports schemas, this allows target tables to
exist in a non-default schema, specified using the 'schema' attribute of
the task class.
Motivation and Context
See #1984.
Have you tested this? If so, how?
I have been running my jobs with this code for several months and it has worked for me.
The unit tests use SQLite which doesn't support schemas, so I haven't included any unit tests.

Thanks @sd2k!


url validation does not work as expected

import { z } from "zod";
import isUrl from "is-url";

console.log("zod", z.string().url().safeParse("javascript:void();"));
console.log("is-url", isUrl("javascript:void();"));

that gave output like
zod {
  success: true,
  data: "javascript:void();",
}
is-url false

<EMAIL_ADDRESS><EMAIL_ADDRESS>

Zod passes the string into the new URL() constructor and checks for errors. At the moment, that's all it does. The exact implementation of URL is runtime-agnostic, but Zod aims to prioritize language/runtime built-ins when possible.
I suggest passing the isUrl function into .refine() if you want other behavior.
z.string().refine(isUrl)


Polish the logic of change to master

Make sure set the target branch to develop
What is the purpose of the change
Polish the logic of change to master
broker和controller网络分区恢复时，有可能新选的master仍然时以前的，则changeToMaster时可以避免一些操作
Brief changelog
Polish the logic of change to master
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.02%) to 47.474% when pulling 878fde6d0166df3182956d94858d7e80124b251e on RongtongJin:5.0.0-beta-dledger-controller-5 into d9273e70f649af7a13d8e8443e8059c4ac1c530d on apache:5.0.0-beta-dledger-controller.


Add also clients uadventure and conectado into keycloak

They have to be copied from sso.simva.e-ucm.es and added into the automated creation script.

We need to figure it out how to install new clients not to add them by default.
There was an open issue regarding KEYCLOAK-14595, but although there is no movement in the issue, keycloak 11 already updates the library that I mentioned, so I need check if now it's possible to add new clients with the admin client. This way, we can document how to add new clients.

already done with the keycloak upgrade


refactor proxy code to own lib

https://github.com/tafia/hyper-proxy seems not to be maintained anymore and the crate does not support hyper v1. I wonder if it makes sense to refactor such a lib out of the reqwest project?

Yea, as I mentioned recently, I hope to make most of reqwest's features be tower middleware, and that'd include the proxy stuff.


Error when i install the QNN package to my board

When i use
sudo pip3 install git+https://github.com/Xilinx/QNN-MO-PYNQ.git
to install the QNN package to my board PYNQ Z2, the following error exists:
The directory '/home/xilinx/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executi.
The directory '/home/xilinx/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip .
Collecting git+https://github.com/Xilinx/QNN-MO-PYNQ.git
Cloning https://github.com/Xilinx/QNN-MO-PYNQ.git to /tmp/pip-cz7ywm9o-build
Installing collected packages: qnn-loopback
Running setup.py install for qnn-loopback ... error
Complete output from command /opt/python3.6/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-cz7ywm9o-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().repl:
Running pre installation script...
Building hardware library...
Cloning into '/tmp/pip-cz7ywm9o-build/qnn/src/library/rapidjson'...
Note: checking out 'tags/v1.1.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

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

  git checkout -b <new-branch-name>

HEAD is now at f54b0e4... Merge pull request #714 from miloyip/version1.1.0
/usr/bin/ld: cannot find -lcma
collect2: error: ld returned 1 exit status
make[1]: *** [output/lib_hw.so] Error 1
make: *** [lib_hw] Error 2
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-cz7ywm9o-build/setup.py", line 56, in <module>
    subprocess.check_output(["make", "-j2", "-C", my_path + "qnn/src/network/", "lib_hw"])
  File "/opt/python3.6/lib/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/opt/python3.6/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['make', '-j2', '-C', '/tmp/pip-cz7ywm9o-build/qnn/src/network/', 'lib_hw']' returned non-zero exit status 2.

----------------------------------------

Command "/opt/python3.6/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-cz7ywm9o-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.clos/

what is your image version？

v2.2

maybe you can try 2.3


Pre-authorization

@cnunciato: Foremost, this is excellent!
Any ideas on how we’ll handle pre-authorization (e.g. skip_authorization)?

This issue has been moved to https://github.com/chef/chef-server/issues/206 as part of our work to consolidate the components of chef-server into a single repository.


pubsub: add support for low-trust users events

Type: Feature
Fixes: #466
Tested locally using yalc.
/monitor and /unmonitor chat commands trigger PubSubLowTrustUserTreatmentMessage event, and the chat messages from the monitored user trigger PubSubLowTrustUserChatMessage event. Works like a charm.
Notes
I want to point your attention to the following things:

userId, userName, and userDisplayName members of the PubSubLowTrustUserTreatmentMessage and  PubSubLowTrustUserChatMessage point to the moderator user, while the target suspicious user is behind target* and sender* members. Probably it makes sense to change it and make user* members point to the target user, and moderator* (or updatedByUser*) members point to the moderator?
Both PubSubLowTrustUserTreatmentMessage and  PubSubLowTrustUserChatMessage have common types, so I put them into the newly created common directory. Let me know if it is wrong.

Yes, please make the changes regarding the user/moderator property prefixes.

Done. User properties renamed. I also manually tested these events again. Works fine.


coc-settings.json not respected in absence of local prettier config

If a project does not have a prettier configuration file, the settings in coc-settings.json for prettier are not used. Here is my sample coc-settings.json:
{
  "coc.preferences.formatOnSaveFiletypes": [
      "javascript",
      "typescript"
    ],
  "prettier.semi": false
}

In file types javascript and typescript, semicolons are automatically added when formatted with Prettier (unless I create a prettier config file local to the project).

Should be fixed on latest release of coc.nvim.

I'm facing the same problem and it seems that this isn't fixed, at least not in the current version:
## versions

vim version: NVIM v0.4.3
node version: v14.3.0
coc.nvim version: 0.0.78-c250e18604
coc.nvim directory: /home/fhennig/.vim/plugged/coc.nvim
term: xterm-kitty
platform: linux

It seems like coc-prettier's default rules are being enforced when local prettier config is not present

Any update on this?

Workspace configuration resolve should be fixed on coc.nvim, try start vim in workspace directory to see if it helps.

You might have .editorconfig in the parent folder, so that configuration is ignored, make sure check the output.


PT-870 | Fix event query to include target group

Screenshot after the fix

Codecov Report

Merging #89 (ac663d6) into master (3f08cda) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #89   +/-   ##
=======================================
  Coverage   90.72%   90.72%
=======================================
  Files          85       85
  Lines        2167     2167
  Branches      416      416
=======================================
  Hits         1966     1966
  Misses        197      197
  Partials        4        4

Impacted Files
Coverage Δ

src/domain/event/EventPage.tsx
92.00% <ø> (ø)

Continue to review full report at Codecov.

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


Dacpac builder brings in ALL *.sql files which can produce errors

For example if you reference another project that has a SQL artefact generated from it, this SQL file gets copied into the bin folder  of the project and then gets included in the Dacpac.
The work around at the moment is to add a Remove for bin/obj folders.
It would be better perhaps if these folders where ignored by default.

Hmm turns out that some sensible amounts of sql are excluded by default:
  <ItemGroup>
    <Content Include="**/*.sql">
      <Pack>False</Pack>
      <SuppressTSqlWarnings></SuppressTSqlWarnings>
    </Content>
    <Content Remove="Pre-Deployment/**/*.sql" />
    <Content Remove="Post-Deployment/**/*.sql" />
    <Content Remove="bin/**/*.sql" />
    <Content Remove="obj/**/*.sql" />
  </ItemGroup>

https://github.com/rr-wfm/MSBuild.Sdk.SqlProj/blob/d80ce593feb255471cf4b60e46a520e67b52bedb/src/MSBuild.Sdk.SqlProj/Sdk/Sdk.props#L39

Oh man, the git blame says apparently I submitted that change 4 months ago and completely forgot! Sorry about that 🤦

I don't think there's anything more we can do here so I'm going ahead and close this. If you feel there's still more to do here feel free to re-open.


working with selected amplitudes in CCSD

Dear PYSCF developers,
Is it possible for a given set of orbitals to restrict the single and double amplitudes to certain excitations while solving the amplitues and energy in CCSD ?
thanks and best,
Souloke

No, sorry, I don't think this is possible. It would be a welcome
contribution, but the implementation is nontrivial, especially in a
python/numpy-friendly way.
On Thu, Aug 24, 2023 at 10:13 AM SoulokeSen @.***>
wrote:

Dear PYSCF developers,
Is it possible for a given set of orbitals to restrict the single and
double amplitudes to certain excitations while solving the amplitues and
energy in CCSD ?
thanks and best,
Souloke
—
Reply to this email directly, view it on GitHub
https://github.com/pyscf/pyscf/issues/1840, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGAJC73AUMW77XUVCFL2TDXW5OO7ANCNFSM6AAAAAA35DCE74
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

You can freeze specific orbitals for your ccsd calculation. Not sure whether this helps you.

@tberkel OK, it would be nice to have this feature indeed (especially when working with localized orbitals). I will try to get around the code and see how to best implement this. Could you please refer me to any reference (if there is any specificc implementation) which PYSCF uses for computing the T1 and T2 amplitudes ?
@verena-neufeld  this i already do, but wanted a bit more flexibility to also constrain, in addition, the excitation space.

Would it help to set appropriate entries of t1 and t2 to zero before the end of the update loop? That might be easiest. Depending on how spin sensitive this is, maybe starting with the spinorbital code in gccsd.py is best.

Yes, localized orbitals and the associated sparsity is the natural use case for such a feature. The issue is that pyscf stores the T1 and T2 amplitudes as dense numpy arrays, so that it can do einsum's for fast tensor contraction. If you tried to use explicit for loops and if statements to restrict the excitations, then it would be unbearably slow. One possibility could be to use sparse arrays, but I'm not sure.
If all you want to do is test the inclusion/exclusion of certain excitations, then you can indeed zero them out as @verena-neufeld suggested. But you'll of course see no computational savings, you'll just spend time multiplying a lot of zeros ...

@tberkel thanks for your suggestions. I will first try to zero out the necessary amplitudes. But from the point of  computational saving indeed its pointless. One way could be to use slices of the eris, but not sure if that will work

Not saying it’s impossible, just trying to follow: How would you use slices if you say freezing orbitals doesn’t help you and you need to preserve symmetries?

maybe you are right. I might be too premature, but then i guess @tberkel could be a way to use these sparse arrays. But need to think a little


Redirect problem

When searching (MacOS), Safari always first displays "Safari can't open the open" page for about 1-2 seconds and then goes to the normal search results page.

That’s a limitation of Safari’s Manifest v3 implementation.

This should be fixed by this PoC, at least for recent Safari: https://github.com/mhaeuser/Custom-Search/commit/dde8f2798e8c25e6cfc863150913777eb3c88def
However, for some reason, Safari displays an error when redirecting, saying the webpage was reloaded due to an error - the redirection works just fine, though. This has the side effect that multiple queries via the global search bar yield a repetitive error condition state. I haven't found any useful debug information anywhere and even the latest releases of macOS and iOS do not resolve the issue.


Can not get LAPS password for some PCs

Querying some PC does not get LAPS password, but return error in logs:
[09:39:47 ERR] Bad search filter. Result: -7. Method: SearchRequestHandler
I have checked LAPS password in domain for this PC - it exists.
LAPS-Webui version: 1.6.1, installed via Docker

Tried to move problem PCs to different OU fixes the issue.
It seems that error occurs when OU have specific characters - in my case it was brackets '(' and ')'


Exception in metricReceived event handler when stopping multiple instances carbon cache

When stopping carbon cache running multiple instances console.log get flooded of exceptions > 3500 in this case.
17/12/2015 06:54:35 :: Received SIGTERM, shutting down.
17/12/2015 06:54:35 :: Stopping factory CarbonClientFactory(<IP_ADDRESS>:2074:g)
17/12/2015 06:54:35 :: Stopping factory CarbonClientFactory(<IP_ADDRESS>:2084:h)
17/12/2015 06:54:35 :: Stopping factory CarbonClientFactory(<IP_ADDRESS>:2044:d)
17/12/2015 06:54:35 :: Stopping factory CarbonClientFactory(<IP_ADDRESS>:2024:b)
17/12/2015 06:54:35 :: Stopping factory CarbonClientFactory(<IP_ADDRESS>:2054:e)
17/12/2015 06:54:35 :: Stopping factory CarbonClientFactory(<IP_ADDRESS>:2014:a)
17/12/2015 06:54:35 :: Exception in metricReceived event handler: args=('servers.dn4-domain_10102.org_apache_hadoop_hbase_regionserver_metrics_RegionServerDynamicStatistics.tbl_user_feed_entries_region_5
8f6fc5d565af36f9620e1f416629678_delete_MaxTime',<PHONE_NUMBER>.0, 450.0)) kwargs={}
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/twisted/internet/tcp.py", line 221, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/lib64/python2.6/site-packages/twisted/protocols/basic.py", line 454, in dataReceived
self.lineReceived(line)
File "/usr/lib/python2.6/site-packages/carbon/protocols.py", line 78, in lineReceived
self.metricReceived(metric, datapoint)
File "/usr/lib/python2.6/site-packages/carbon/protocols.py", line 64, in metricReceived
events.metricReceived(metric, datapoint)
---  ---
File "/usr/lib/python2.6/site-packages/carbon/events.py", line 20, in call
handler(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/carbon/client.py", line 267, in sendDatapoint
for destination in self.router.getDestinations(metric):
File "/usr/lib/python2.6/site-packages/carbon/routers.py", line 78, in getDestinations
for (count, node) in enumerate(self.ring.get_nodes(key)):
File "/usr/lib/python2.6/site-packages/carbon/hashing.py", line 42, in get_nodes
assert self.ring
exceptions.AssertionError:
17/12/2015 06:54:35 :: Exception in metricReceived event handler: args=('servers.dn4-domain_10102.org_apache_hadoop_hbase_regionserver_metrics_RegionServerDynamicStatistics.tbl_entry_shard-20140811_cf_d_
bt_Data_compactionBlockReadCacheHitCnt',<PHONE_NUMBER>.0, 0.0)) kwargs={}
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/twisted/internet/tcp.py", line 221, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/lib64/python2.6/site-packages/twisted/protocols/basic.py", line 454, in dataReceived
self.lineReceived(line)
File "/usr/lib/python2.6/site-packages/carbon/protocols.py", line 78, in lineReceived
self.metricReceived(metric, datapoint)
File "/usr/lib/python2.6/site-packages/carbon/protocols.py", line 64, in metricReceived
events.metricReceived(metric, datapoint)
---  ---
File "/usr/lib/python2.6/site-packages/carbon/events.py", line 20, in call
handler(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/carbon/client.py", line 267, in sendDatapoint
for destination in self.router.getDestinations(metric):
File "/usr/lib/python2.6/site-packages/carbon/routers.py", line 78, in getDestinations
for (count, node) in enumerate(self.ring.get_nodes(key)):
File "/usr/lib/python2.6/site-packages/carbon/hashing.py", line 42, in get_nodes
assert self.ring
exceptions.AssertionError:
...
17/12/2015 06:54:36 :: (TCP Port 2004 Closed)
17/12/2015 06:54:36 :: Stopping factory <twisted.internet.protocol.ServerFactory instance at 0x19cc6c8>
17/12/2015 06:54:36 :: (TCP Port 2003 Closed)
17/12/2015 06:54:36 :: Stopping factory <twisted.internet.protocol.ServerFactory instance at 0x19c1878>
17/12/2015 06:54:36 :: Stopping factory CarbonClientFactory(<IP_ADDRESS>:2034:c)
17/12/2015 06:54:36 :: Stopping factory CarbonClientFactory(<IP_ADDRESS>:2064:f)
17/12/2015 06:54:36 :: Main loop terminated.
17/12/2015 06:54:36 :: Server Shut Down.

I believe this was fixed in #507.


subschema nested ref in remote ref

The following test scenario is added: The base URI remains unchanged, and multiple layers of nested references are used in the sub-schema.
For details:  601

Thanks @willson-chen! Definitely appreciated.
Before adding this one do we know for sure this isn't already covered by one of the existing tests?
Specifically these are the current $ref-related ones my implementation skips as known bugs. Did you happen to cross reference them against this new one to see whether any of those are testing the same thing the new one is?
(I have not, but definitely we should)

@Julian I've seen this before. It's not the same scene.
The base_uri of bug371 will change. I added the case where the path of subschema changes, instead of the base_uri.

This PR has the same problem as described in #360 -- there are collisions between identifiers of different schemas which require an implementation to clear out its uri index between tests. Preferably #360 should be resolved and then this PR will incorporate the same fixes as well.

@karenetheridge sounds like a good point -- just in case -- if you've looked at this, does this scenario look like something untested currently to you too?

if you've looked at this, does this scenario look like something untested currently to you too?

It appears this scenario (a references within a remotely-referenced subschema) is covered by https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/master/tests/draft2019-09/refRemote.json#L18-L51.

Hm, somehow those can't be the exact same, because my implementation passes those, but fails these.

@Julian interesting!  maybe when you track down the source of your bug you will be able to explain how they differ because the difference is surely quite subtle :)

The important part of the spec to note (that I got wrong in my analysis above, and in my implementation), is at https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.8.2.2:

[I]n accordance with RFC 3986 section 5.1.2 regarding encapsulating entities, if an "$id" in a subschema is a relative URI-reference, the base URI for resolving that reference is the URI of the parent schema resource.

What I have been doing is setting the "current base uri, to be used in future uri resolution" to the uri of the current resource being jumped to via a $ref, but that means if the uri is relative, on seeing the $id at the current root, the uri is resolved again, resulting in the doubling of the path.

Was that meant for this ticket / did you mean to close this? Or was that meant for #424?

yes, sorry, wrong tab :)

OK, I believe I'd broken this test with my forward porting, but now after staring at it for a few hours, I think it's correct now, and have verified both against my implementation and another, so think this is good to go finally...
(To again summarize, the key new thing about this test is it involves a 2 step $ref where the second one isn't just a JSON pointer).


Home Page Random Image Bug

Has this bug been raised before?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Where did you find this bug?
Production
Description
As you can see above, that's how that image is popping up while on desktop mode
Steps to Reproduce
Just simply when I clicked the link form the about section of the repository, I saw it at the very first and thought it would be some UI design, but after seeing the username input behind that image, then realized that's actually a bug that needed to be fixed
Screenshots

Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this
First approach would be to just simply delete the image that is causing the problem
Or Second approach would be to see if that image is being used else where or not, in either cases I can fix that by simply displaying none while on screen mode

Hello:)
I am Adam, a contributor and a part of the team.
I couldn't replicate your bug, but it can be cause of old browser or slow internet.
It is fully working on the main xprofile website.


Reject PoW Blocks After Final PoW Height

#1371  👈
feature/proof-of-stake

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

Join @tholonious and the rest of your teammates on  Graphite


[modify] remove attachments option

Coverage increased (+4.8%) to 79.334% when pulling 00ccfc55644a56e1a3cbd1873df8b4991cfd5354 on itowtips:fix-generate-page into 37f38db607115ef348021cc20b7d4b6db7ef9580 on shirasagi:master.


Argo - The server could not find the requested resource (get workflows.argoproj.io)

Checklist

[x] Double-checked my configuration.
[x] Tested using the latest version.
[ ] Used the Emissary executor.

Summary
What happened/what you expected to happen?
Cluster Configuration:
Eks clusters having 4 spot nodes.
We noticed our workflows are failing due to this error - "Failed to wait for service account secret: timed out waiting for the condition". , this started happening after upgrading k3s to v1.24.3.
Here, we had to perform argoCD CLI version upgrade in order to fix the above [Upgraded it to 2.3.7] [Fix - https://github.com/argoproj/argo-cd/issues/9422#issuecomment-1128135869, PR FIX - https://github.com/argoproj/argo-cd/pull/9546]
Next issue started happeningg after upgrading argoCD CLI version to 2.3.7.
Related ArgoCD ticket - https://github.com/argoproj/argo-cd/issues/10422
The cluster got created successfully but we believe the CRD's did not get applied here. Please Note that  it was getting applied prior to upgrading ARGO CD CLI version..
When I do an "argo list" below is the log that I see.
❯ argo list
FATA[2022-08-29T14:44:59.636Z] rpc error: code = NotFound desc = the server could not find the requested resource (get workflows.argoproj.io)

What version are you running?
Current argo CD CLI version: 2.3.7
k3s version: v1.24.3-k3s1
ARGO workflows CLI : v3.1.3
Diagnostics
We have a sequential workflow that runs one after the other. Hope this much information is sufficient.
Cluster got created but there are no resources find under it. When I do an argo list, I do see this error:
❯ argo list
FATA[2022-08-29T14:44:59.636Z] rpc error: code = NotFound desc = the server could not find the requested resource (get workflows.argoproj.io)

If the workflow's pods have not been created, you can skip the rest of the diagnostics.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@dpadhiar can you do the initial triage?

This may be an error with the CRD installation, could you try reapplying these and reporting back if the error occurs?

This is likely a set-up issue. If you can show othewise, please re-open.

Found that since we are using latest version of k3s i.e v1.24.3+k3s1, it requires latest CRD's updated with the latest apiVersion

Found the issue, since we are using latest version of k3s i.e v1.24.3+k3s1, it requires latest CRD's updated with the latest apiVersion.

What change in apiVersion/CRDs did you make? We are using the most recent CRDs on this github with the same error as you. I can see the v1 CustomResourceDefinition  with an argoproj.io/v1alpha1 apiVersion, but we are on the latest v1.26.1-k3s1 k3s


restamp is not destroying async loaded light dom element

restamp is not destroying async loaded light dom element even If it is wrapped in a container. Is it a bug or normal behavior. If its a bug, is there any workaround? here is my code
  <template is="dom-if" if="{{isAllowed(role)}}" id="page" restamp="true">
        <paper-spinner class="spinner" id="spinner" active="[[isLoading]]" hidden$="[[!isLoading]]"></paper-spinner>

<content></content>

      </template>

We have analyzed this usecase and concluded that this is working as intended. Since the elements are distributed from the light dom in to the <dom-if>, the user of your element is the one managing the node. As such, <dom-if> is not allowed to remove (and thus restamp) this node. If you want <dom-if> to manage the nodes, you will need to directly add the elements in the dom of <dom-if>.
Therefore I am closing this issue as working as intended.


UnhandledPromiseRejection when sail is not running

I'm getting the following error when sail is not running:
Error executing vim.schedule lua callback: UnhandledPromiseRejection with the reason:
Sail is not running.

You may Sail using the following commands: './vendor/bin/sail up' or './vendor/bin/sail up -d'

Which is fine on it's own.
However, the error keeps repeating upon entering any file.
This makes the plugin really annoying when navigating a code-base without the corresponding sail/docker container running.
I think it should just alert once upon entering the first file and leave it at that.
Anything I could configure to solve this issue?

I will look into this, thanks for the suggestion.  Hopefully will solve it soon.

@mimre25 I have pushed a quickfix into the main branch, please update and test it. for now will be ignoring the error for future versions will be smarter to notify only once, I need to think if it should be disable and the ability to re-enable. for now is ignored, once you get sail up it will start working.

Works fine, just like you described it, I don't get any error message.
For me that's also fine, because I will get the error whenever I try to run any Laravel command.
So maybe the quickfix is actually a proper fix? :thinking:
Thanks for the quick reaction :slightly_smiling_face:

Glad to hear that it's working for you. It can stay like this for a longer time, but not exactly how I would like to keep in  the long term, for now I will close the ticket, but will keep it in mind what I would like to change.
Thanks for reporting this.


Update ROOT version while writing

We should probably merge this in(with the then current version of ROOT), once we have the tests for writing.

Okay, I'll take this PR if this ROOT version is exactly equal to the one used to generate the streamers we write into ROOT files. There should be a one-to-one relationship between ROOT version and streamers. We shouldn't say that we're producing files consistent with the latest ROOT version if we're not, and we shouldn't expect to always be completely up-to-date with ROOT releases. (Only if we're updating something else anyway or there's a significant change we want to emulate.)

Ah, I am closing this then as the ROOT version changes should probably come in with the version update-requiring-change as a single pull request.

Okay.


Add 2.x docs to Download

The current docs are not available to Download while older versions are available as PDF or ePUB file. If possible please also add 2.x docs.
https://readthedocs.org/projects/flask/downloads/

I'm no longer building these, you can build by coming and running sphinx if you need it.


Error 901 , very new to python.

Ok so when I tried the test file for an RGB bulb it would only change the color right after i turned the light off and then on again.After that it would not work until i turned it off and then on again.I am using a rasberry pi 4.

well now its saying error 905 not 901.@jasoncox

Both 901 and 905 are network errors (see here) indicate that tinytuya is not able to communicate with the Tuya device.  It could be caused by network issues from the Raspberry PI to the device or it could be caused by another app.  Most Tuya devices can only handle one connection at a time  so if you have SmartLife App, Home Assistant or another app connecting to the Tuya device, tinytuya will throw network errors.
If you do no think it is a network issue and no other apps are connecting to the device, I would look at the debug output:
import tinytuya
import time
import random

tinytuya.set_debug(True)  # use tinytuya.set_debug(True,False) for non-ANSI color terminal

d = tinytuya.BulbDevice(DEVICEID, DEVICEIP, DEVICEKEY)
d.set_version(3.3)

# Show status of device
data = d.status()
print('\nCurrent Status of Bulb: %r' % data)

# Set to full brightness warm white
print('\nWarm White Test')
d.set_white()
time.sleep(1)

# Power Control Test
print('\nPower Control Test')
print('    Turn off lamp')
d.turn_off()
time.sleep(1)
print('    Turn on lamp')
d.turn_on()
time.sleep(1)

# Random Color Test
print('\nRandom Color Test')
for x in range(10):
    r = random.randint(0, 255)
    g = random.randint(0, 255)
    b = random.randint(0, 255)
    print('    RGB (%d,%d,%d)' % (r, g, b))
    d.set_colour(r, g, b)
    time.sleep(1)

d.turn_off()

yes i forgot to put here i had fixed it.For some reason when i connected my light to alexa it would add one to the ip.And I also unsubscribed from uneeded api's.


Use new CLI to generate diagnostics bundle

High-level description
Use new CLI command to fetch bundle after tests
Corresponding DC/OS tickets (required)

DCOS_OSS-5478 Use new CLI command to fetch bundle after tests

Related tickets (optional)

DCOS-ID JIRA title / short description.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot changelog-not-required test only change

@orsenthil It looks like this script is not used by teamcity I can see old bundle in the artifacts https://teamcity.mesosphere.io/viewLog.html?buildId=2342444&tab=artifacts&buildTypeId=DcOs_Open_Test_IntegrationTest_AwsOnpremWStaticBackendGroup1TerraformSpotBlock&showAll=true#!1miu9


connectivity sample project: “Lost connection to device” error after switch network.

Steps to Reproduce

I using https://github.com/flutter/plugins/tree/master/packages/connectivity/example
Change code sign, and run on my iPhone
Switch off/on mobile network.
Xcode will show alert 'Lost connection to my device'.

So that I can't debug this API(connectivity 0.4.3+6)'s stream feature on device.
Logs
[✓] Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.5 18F132, locale en-CN)
    • Flutter version 1.7.8+hotfix.3 at /Users/jerryzhou/Documents/code/flutter/sdk/flutter
    • Framework revision b712a172f9 (11 days ago), 2019-07-09 13:14:38 -0700
    • Engine revision 54ad777fd2
    • Dart version 2.4.0

its's maybe solved by libusbmuxd 6539b02

still have this problem with usbmuxd HEAD-6539b02_1

@jerryzhoujw Is the issue still relevant? Can you please try it with current stable version?

@BondarenkoStas  waiting https://github.com/flutter/flutter/issues/37699 to solved first, so I can't test it on device.

@BondarenkoStas  this error not appear again on v1.9.1+hotfix.3 (Channel beta) version now.  I close it now.
Also I found a issue the Wifi IP is show correct address 192.168.X.X at first time, but show error when close wifi and open wifi again.  I'll create the issue if still exist then it merge into channel stable.


Internal Kubernetes DNS does not work

Rancher versions:
rancher/server: rancher/server:v2.0.0-alpha10
rancher/agent: rancher/agent:v2.0-alpha4
Infrastructure Stack versions:
healthcheck: rancher/healthcheck:v0.3.3
ipsec: rancher/net:v0.12.3
network-services: rancher/net:v0.12.3 / rancher/network-manager:v0.8.6
scheduler: rancher/netes:v1.7.6-netes2-1
kubernetes (if applicable): 1.7.6
Docker version: 17.09.0-ce
Operating system and kernel: OSX 16.3.0
Type/provider of hosts: DOCKER CE FOR MAC
Setup details: Single node, internal db
Environment Template: Kubernetes
Steps to Reproduce:

Access Kubernetes Dashboard at http://localhost:8080/k8s/clusters/1c1/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/
Click "Create" in top right
Create new application

App name: "jenkins"
Container image: "jenkins:latest"
Number of pods: 1
Service: internal

Port: 80
Target port: 8080

Click "Deploy"
Verify all resources are created

Results:
Expected:
$ kubectl --kubeconfig=kube-tmp cluster-info | grep jenkins
jenkins is running at https://localhost:8080/k8s/clusters/1c1/api/v1/namespaces/default/services/jenkins/proxy

$ curl -k https://localhost:8080/k8s/clusters/1c1/api/v1/namespaces/default/services/jenkins/proxy
<meta http-equiv='refresh' content='1;url=/login?from=%2F'/>

Authentication required

$ kubectl --kubeconfig=kube-tmp get svc jenkins -o yaml | grep "name\|clusterIP"
  name: jenkins
  namespace: default
  selfLink: /api/v1/namespaces/default/services/jenkins
  clusterIP: <IP_ADDRESS>
  - name: tcp-80-8080-mvctj

$ jenkins@jenkins-1707346438-6hlhl:/$ curl localhost:8080
<meta http-equiv='refresh' content='1;url=/login?from=%2F'/>

Authentication required

$ jenkins@jenkins-1707346438-6hlhl:/$ curl jenkins
<meta http-equiv='refresh' content='1;url=/login?from=%2F'/>

Authentication required

jenkins@jenkins-1707346438-6hlhl:/$ curl <IP_ADDRESS>
<meta http-equiv='refresh' content='1;url=/login?from=%2F'/>

Authentication required

What I really got:
$ kubectl --kubeconfig=kube-tmp cluster-info | grep jenkins

$ curl -k https://localhost:8080/k8s/clusters/1c1/api/v1/namespaces/default/services/jenkins/proxy
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "no endpoints available for service \"jenkins\"",
  "reason": "ServiceUnavailable",
  "code": 503
}

$ kubectl --kubeconfig=kube-tmp get svc jenkins -o yaml | grep "name\|clusterIP"
  name: jenkins
  namespace: default
  selfLink: /api/v1/namespaces/default/services/jenkins
  clusterIP: <IP_ADDRESS>
  - name: tcp-80-8080-mvctj

$ jenkins@jenkins-1707346438-6hlhl:/$ curl localhost:8080
<meta http-equiv='refresh' content='1;url=/login?from=%2F'/>

Authentication required

$ jenkins@jenkins-1707346438-6hlhl:/$ curl jenkins
curl: (6) Could not resolve host: jenkins

jenkins@jenkins-1707346438-6hlhl:/$ curl <IP_ADDRESS>
<meta http-equiv='refresh' content='1;url=/login?from=%2F'/>

Authentication required

The kube-dns catalog item is not deployed by default.

:head::desk:


v0.17.0: jinja2.exceptions.UndefinedError: 'openapi_python_client.parser.openapi.Endpoint object' has no attribute 'prop'

Describe the bug
Something is wrong with the jinja2 templates in v0.17.0.
OpenAPI Spec File
Seems to happen on any spec :(
Desktop (please complete the following information):

OS: Linux 6.6.8
Python Version: 3.11.6
openapi-python-client Version: 0.17.0

Additional context
Log:
Generating senbax_sentry_client
Traceback (most recent call last):
  File "/home/moritz/dev/senbax/sentry-client/gen.py", line 42, in <module>
    errors = create_new_client(
             ^^^^^^^^^^^^^^^^^^
  File "/home/moritz/.cache/pypoetry/virtualenvs/senbax-sentry-client-xcyVladv-py3.11/lib/python3.11/site-packages/openapi_python_client/__init__.py", line 347, in create_new_client
    return project.build()
           ^^^^^^^^^^^^^^^
  File "/home/moritz/.cache/pypoetry/virtualenvs/senbax-sentry-client-xcyVladv-py3.11/lib/python3.11/site-packages/openapi_python_client/__init__.py", line 121, in build
    self._build_api()
  File "/home/moritz/.cache/pypoetry/virtualenvs/senbax-sentry-client-xcyVladv-py3.11/lib/python3.11/site-packages/openapi_python_client/__init__.py", line 292, in _build_api
    endpoint_template.render(
  File "/home/moritz/.cache/pypoetry/virtualenvs/senbax-sentry-client-xcyVladv-py3.11/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/home/moritz/.cache/pypoetry/virtualenvs/senbax-sentry-client-xcyVladv-py3.11/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "../openapi-python-client-templates/opctemplates/endpoint_module.py.jinja", line 31, in top-level template code
    {{ json_body(endpoint) | indent(4) }}
^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/moritz/.cache/pypoetry/virtualenvs/senbax-sentry-client-xcyVladv-py3.11/lib/python3.11/site-packages/jinja2/runtime.py", line 777, in _invoke
    rv = self._func(*arguments)
         ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/moritz/.cache/pypoetry/virtualenvs/senbax-sentry-client-xcyVladv-py3.11/lib/python3.11/site-packages/openapi_python_client/templates/endpoint_macros.py.jinja", line 75, in template
    {% import "property_templates/" + property.template as prop_template %}
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/moritz/.cache/pypoetry/virtualenvs/senbax-sentry-client-xcyVladv-py3.11/lib/python3.11/site-packages/jinja2/environment.py", line 485, in getattr
    return getattr(obj, attribute)
           ^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'openapi_python_client.parser.openapi.Endpoint object' has no attribute 'prop'

working with @benedikt-bartscher

Looks like you're using custom templates. There was a ton of refactoring to support multiple bodies in 0.17, so it makes sense that those would have broken. Unfortunately we don't have very good custom template tests today, so it's hard to track what breaks 😅. Maybe we can add a test as part of diagnosing this!
First off, it might be that you can check out the new endpoint_module.py.jinja to see how bodies are handled now and adapt your custom template to be similar. It depends on how custom the template is 😁. Hopefully you can swap out the _get_kwargs function entirely without messing up your custom bits.
Some more detail on what's happening:
The Endpoint object used to have a json_body property, and that json_body Jinja macro would look for that specific property. Now, the Endpoint object has a .bodies attribute containing a list of all bodies. There is a new body_to_kwarg macro which checks the type of body and dispatches to the right transformer (so, json_body if body.body_type == "json")
If you're able to send me your custom template, I'll take a look and see if I can add something similar to future tests. Also, if you have any ideas for improving the modularity of custom templates (so you can swap out just the bits that need to be customized), that'd be a big step up for future compatibility.

Hey @dbanty thanks for your quick response. Custom Templates were my first advice as well. We are indeed using custom templates for pydantic v2.
Maybe something went wrong while testing without templates, I just rechecked and with default templates all of our clients are generated fine. I will try to update the templates later, if you are interested, I can send you a copy of our modified files. I would love to see pydantic v2 templates included and tested directly in openapi-python-client.

I would love to see pydantic v2 templates included and tested directly in openapi-python-client.

Meaning using Pydantic instead of attrs for the generated data models? If so, that's definitely something a lot of people have asked for, so having those in the project could be very beneficial.

Yes, exactly! I just created a repo with my current (very dirty) version of the templates which worked fine with v16: https://github.com/benedikt-bartscher/openapi-python-client-pydantic-templates

I think we can close this issue because the main issue was solved by v0.17.0.
@dbanty thanks for your fast and detailed help as well as for the fast release :ok_hand:
To sum up: there are 2 topics open from this issue:

"good custom template tests"
pydantic v2 templates.

Feel free to open a seperate Ticket for this!


iOS release blocked

It seems that we have an issue with the iOS build:
[20:46:08]: Called from Fastfile at line 46
[20:46:08]: ```
[20:46:08]:     44:
[20:46:08]:     45:	    # Upload to test flight
[20:46:08]:  => 46:	    upload_to_testflight(
[20:46:08]:     47:	      app_identifier: APP_IDENTIFIER,
[20:46:08]:     48:	      skip_submission: true,
[20:46:08]: ```
[20:46:08]: Error uploading ipa file:
 [Application Loader Error Output]: Error uploading '/var/folders/g6/rgtlsw6n123b0gt5483s5_cm0000gn/T/a043b22e-66d3-40dc-a198-f93e9c07bd28.ipa'.
 (ID: f2304087-5797-495f-85dd-a18d5d9e71b7) (403)
[Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.

+---------------------------------------------------+
|                 fastlane summary                  |
+------+------------------------------+-------------+
| Step | Action                       | Time (in s) |
+------+------------------------------+-------------+
| 1    | setup_travis                 | 0           |
| 2    | default_platform             | 0           |
| 3    | xcversion                    | 0           |
| 4    | is_ci                        | 0           |
| 5    | sync_code_signing            | 3           |
| 6    | update_code_signing_settings | 0           |
| 7    | update_project_team          | 0           |
| 8    | gym                          | 366         |
| 💥   | upload_to_testflight         | 7           |
+------+------------------------------+-------------+

+--------------------------------------------+
|          Plugin updates available          |
+------------+--------------+----------------+
| Plugin     | Your Version | Latest Version |
+------------+--------------+----------------+
| versioning | 0.6.1        | 0.7.0          |
+------------+--------------+----------------+
[20:46:08]: To update all plugins, just run
[20:46:08]: $ bundle exec fastlane update_plugins

[20:46:08]: fastlane finished with errors

[!] Error uploading ipa file:
 [Application Loader Error Output]: Error uploading '/var/folders/g6/rgtlsw6n123b0gt5483s5_cm0000gn/T/a043b22e-66d3-40dc-a198-f93e9c07bd28.ipa'.
 (ID: f2304087-5797-495f-85dd-a18d5d9e71b7) (403)
[Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.

It might either be the yearly signing renewal, or the new Trader status thing
I need to check.

The trader status was mandatory last month for updates.
So I think that the certificate thing

Actuallly, it was the Apple Dev Agreement. Building happening now @g123k
The annual signing thing will happen soon anyway

fixed @g123k; closing


Placeholder: move 0/0 markers for proportion mode of line plot to carpet

Related to: https://github.com/VEuPathDB/web-eda/issues/1082
In the future, we will move the hollow markers for 0/0 to a plot carpet (or ceiling, to reserve plot carpets for other annotations the user may want to add to the plot)

@d-callan do you think this requires backend work?

I think we should probably know more before I answer that too definitely, but I'd guess yes.

Thanks. We can make an issue for the backend when we know for sure.


Add support for building non-bootable CentOS 7 stemcell

Tracker story:
https://bosh-jenkins-artifacts.s3.amazonaws.com/bosh-vagrant-boxes/
We factored out the common bits between the centos 6.5 and 7 specs. This is important enough now, but will become critical when the RHEL changes appear a few commits from now. Let us know if you'd have preferred that we did it differently.

We've pushed this to develop: 1c0852b05f85d60f3902e5fab0cb84ea3c0ee67a


error

Describe your problem here.
i have a error that doesnt let me compile the engine this is the error: source/flixel/graphics/FlxGraphic.hx:15: characters 8-32 : Type not found : openfl.display.Tilesheet
source/flixel/graphics/tile/FlxDrawBaseItem.hx:9: characters 8-32 : Type not found : openfl.display.Tilesheet
source/flixel/graphics/tile/FlxDrawTilesItem.hx:10: characters 8-32 : Type not found : openfl.display.Tilesheet
source/Paths.hx:24: characters 8-25 : You cannot access the flash package while in a macro (for flash.media.Sound)
C:\Users\eugen\Downloads\FNF-PsychEngine-main\source\import.hx:1: characters 8-13 : ... referenced here
(unknown) : ... referenced here
someone can help me?
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no

pls help


Is there way to use static images in styles folder?

/styles/pattern.scss
.pattern {
  background-image: './static/pattern.png';
}

/components/SomeComponent.scss
.someStyle {
  composes: pattern from '../styles/pattern.scss';
}

Work as expected (btw, only with precss), but as global:
:global {
 .pattern {
   background-image: './static/pattern.png';
 }
}

Can't resolve file.

Since static files are served from the root of the app, what if you just tried /pattern.png? I can't test this locally right now, but that's my first guess.

@davezuko : Using just background-image: url(pattern.png) won't work because url-loader will complain because it can't find pattern.png at the root of the src folder or in the same directory (possible improvement here: let url-loader ignore url(..) expressions that point to the static folder if that's possible).
What you can do is: Put the image in a folder, not the static folder (because it's for assets that are not required anywhere in the source code, and all url(...) expression in scss files are processed by webpack), let's assume you put it in "src/images".
Then:
/styles/pattern.scss
.pattern {
  background-image: url('images/pattern.jpg');
}

/components/SomeComponent.scss
.someStyle {
  composes: pattern from 'styles/pattern.scss';
  height: 50px;
  width: 50px;
}

That works, because now url-loader will be able to locate the image correctly and bundle it correctly.

Actually it is:
~/src/static/pattern.jpg
~/src/styles/pattern.scss

Thanks @SimonSelg, but IMO it's better to use one source for handling static files.

Maybe we can add an example, like in the counter page, have a banner image or something, and this is reference in the styles. That way, we know where and how to use it.

Maybe we can add an example, like in the counter page, have a banner image or something, and this is reference in the styles. That way, we know where and how to use it.

Will be adding an example once some of the current issues are fixed.

@SimonSelg working on an example and am myself struggling with a clean implementation. The ~/src/assets folder makes sense, but as @xquezme said it is a bit confusing to separate these files out. You're definitely more experienced when it comes to CSS modules (seeing as you're the guru responding to all related issues :P), so wondering if you've had any additional thoughts on this since your last comment.
I've been incredibly swamped w/ work and only just today managed to push up a bunch of fixes, so I'll try to look into url-loader sometime later today, but wanted to ping you just in case you had any other ideas.

Moving to FAQ.


Text line-height, character and paragraph

First of all, thank you! This library is awesome 👍
I was wondering if it's possible to use props for text paragraph styles?
In the json output (from sketch-json) it looks like this:
"textStyle": {
  "_class": "textStyle",
  "encodedAttributes": {
    ...
    "paragraphStyle": {
      "_class": "paragraphStyle",
      "alignment": 0,
      "maximumLineHeight": 40,
      "minimumLineHeight": 40,
      "paragraphSpacing": 100
    }
  }
},

Thanks

So it looks like you can't set it in the constructor... yet. But we should definitely add that in. Here is where the constructor is populating those fields: https://github.com/amzn/sketch-constructor/blob/master/models/TextStyle/TextStyle.js#L49 Just something we haven't implemented yet.
In the meantime you can always construct the TextStyle class and then directly set those attributes:
const textStyle = new TextStyle({ /* args */ });
textStyle.encodedAttributes.paragraphStyle.maximumLineHeight = 40;

That is obviously gross and not how I envisioned people using this library. If you are keen to, you can open up a PR and we can get that in. If not, I can probably put it together sometime next week. What I would expect is the constructor to take those attributes and set them like this:
const textStyle = new TextStyle({
  maxiumLineHeight: 40,
  minimumLineHeight: 40,
  paragraphSpacing: 100
});

@dbanksdesign thanks for the detailed instructions 👏, will try

@dbanksdesign tried to follow your suggestion, but with no success so far...

First problem I run into is here: #25, my PR #26 solves this
If I do

const textStyle = new TextStyle({ /* args */ });
textStyle.encodedAttributes.paragraphStyle.maximumLineHeight = 40;

and inspect the Text, indeed I see the correct paragraphStyles, but the rendered Sketch file does not use the provided values 😢
I was wondering if attributedString has something to do with it – If I manually create a Sketch file with an Text Element with line-height, and convert the .sketch to .zip and then to json it has my values in both places: encodedAttributes.paragraphStyle & attributedString.attributes[0].attributes.paragraphStyle
Thanks for help!

ahh good to know about the attributedString thing. We kind of do something similar in the Text component where we just apply the styles to both the TextStyle and attributed string:
https://github.com/amzn/sketch-constructor/blob/master/models/Text/Text.js#L81
But we don't add the paragraphStyle in there... so we gotta do that.
Glad someone is finding these issues...


Feature: Provide native support for aws_iid nodeAttestor plugin.

We were looking at the helm chart for deploying spire-server in K8s, but it seems it doesn't support the aws_iid node attestation.
Version
helm list
NAME      	NAMESPACE   	REVISION	UPDATED                             	STATUS  	CHART           	APP VERSION
spire     	spire-server	1       	2024-05-24 11:30:31.89683 +0530 IST 	deployed	spire-0.20.0    	1.9.4
spire-crds	spire-server	3       	2024-05-16 12:20:02.086293 +0530 IST	deployed	spire-crds-0.4.0	0.0.1

We have a special use case where we require to run the spire server in kubernetes and run the agents on an EC2 instance. I noticed there is an unsupportedBuiltInPlugins option in the spire-agent charts, that we leverage and use the aws_iid attestation.
https://github.com/spiffe/helm-charts-hardened/blob/2c5dfa010f4ae0c50c2d5c5f5d5fd75c10e5a021/charts/spire/charts/spire-agent/values.yaml#L293
# NOTE: This is unsupported and only to configure currently supported spire built-in plugins but plugins unsupported by the chart.
# Upgrades wont be tested for anything under this config. If you need this, please let the chart developers know your needs so we
# can prioritize proper support.
## @skip unsupportedBuiltInPlugins
unsupportedBuiltInPlugins:
  keyManager: {}
  nodeAttestor: {}
  svidStore: {}
  workloadAttestor: {}

We have used the same and are happy to report that it's working. However, there are a few caveats.
While using this approach we noticed that the node attestation fails, on the agent with an error.
Agent logs
ERRO[0002] Agent crashed error="failed to receive attestation response: rpc error: code = Internal desc = nodeattestor(aws_iid): failed to describe instance: operation error EC2: DescribeInstances, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, exceeded maximum number of attempts, 3, request send failed, Get \"http://<IP_ADDRESS>/latest/meta-data/iam/security-credentials/\": dial tcp <IP_ADDRESS>:80: i/o timeout"

Server logs
time="2024-05-20T05:46:33Z" level=error msg="Nodeattestor(aws_iid): failed to describe instance: operation error EC2: DescribeInstances, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, exceeded maximum number of attempts, 3, request send failed, Get \"http://<IP_ADDRESS>/latest/meta-data/iam/security-credentials/\": dial tcp <IP_ADDRESS>:80: i/o timeout" authorized_as=nobody authorized_via= caller_addr="XXXXXX:38874" method=AttestAgent node_attestor_type=aws_iid request_id=33b80e8b-ff27-4e8c-98af-69f800e82025 service=agent.v1.Agent subsystem_name=api

We figured out that access to IDMS is disabled by default in the EKS node group as a security measure, https://aws.github.io/aws-eks-best-practices/security/docs/iam/#when-your-application-needs-access-to-imds-use-imdsv2-and-increase-the-hop-limit-on-ec2-instances-to-2 .
The options available to us are below.

Allow access to IMDS service.
Use HostNetworking on the pods.

Although we could use HostNetworking, we would like to mesh the spire-server pods to linkerd, which doesn't work on pods with hostNet enabled. Hence, none of these options work for us.
Request: Utilize alternate means of verifying instance metadata, via AWS EC2 APIs which can be used with IRSA in K8s.

This depends on: https://github.com/spiffe/spire/issues/5495


Bash@3 task is writing to the standard error stream for Docker image not found locally

Bug:  Bash wrote one or more lines to the standard error stream for Docker image not found locally
Task Name: Bash@3
Issue Description
Bash wrote one or more lines to the standard error stream for Docker image not found locally

Error logs
##[error]Bash wrote one or more lines to the standard error stream.
##[error]Unable to find image 'justb4/jmeter:latest' locally
##[error]latest: Pulling from justb4/jmeter
##[error]89d9c30c1d48: Pulling fs layer
##[error]aecaabf9f08f: Pulling fs layer
##[error]1da6aa19b0c9: Pulling fs layer
##[error]1da6aa19b0c9: Verifying Checksum
##[error]1da6aa19b0c9: Download complete
##[error]89d9c30c1d48: Verifying Checksum
##[error]89d9c30c1d48: Download complete
##[error]89d9c30c1d48: Pull complete
##[error]Additional writes to stderr truncated

I suppose you're using docker-compose? https://github.com/microsoft/azure-pipelines-tasks/pull/12622#issuecomment-611519015

I'm trying to pull and run a Docker image from the hub (not composing my own Docker image).
#12622 looks slightly different.
Following run command results in pulling an image from Docker Hub:
sudo docker run --name ${NAME} -i -v ${WORK_DIR}:${WORK_DIR} -w ${WORK_DIR} ${IMAGE} $@
Trying to pull image: justb4/jmeter:latest
Also logs don't indicate any error on those steps; but for some reason Bash task is writing those lines to the standard error stream.

Docker is probably using stderr to print those messages.
But the task is reading off stderr, and assuming everything that gets pushed there is an error, which is not entirely true, but there's isn't much you can do.
Maybe you can control docker run's behavior, but telling it not to print to stderr here or here.

These special handlings are done by the docker task(s). But the bash task is expected to work this way. i.e. stderr be considered as stderr

I changed the "failOnSterr:false"  then I do not have this error


Failing test to show that afterMake is run before the model's onLoad hook

I came across this behaviour that seems a little unexpected, I wonder if it's a bug or maybe something I'm doing wrong... certainly I'm doing something complex and likely very edge-case. This PR provides failing tests to demonstrate the behaviour I'm seeing.
I have a model that sets some derived attributes in a didLoad model hook. This works as expected when loading the model normally.
However, when I build a model with a factory that has an afterMake function I might expect that it the afterMake function is called so that my model is fully populated before the model's own didLoad hook is triggered. This isn't the case however because of the sequencing here:
    const model = Ember.run(()=> this.store.push(data)); // <-- didLoad is triggered at this point

    let definition = lookupDefinitionForFixtureName(args.name);
    if (definition.hasAfterMake()) {
      definition.applyAfterMake(model, args.opts); // <-- and then afterMake is called
    }
    return model;

I was trying to think about how this might be reordered and it's not obvious to me whether it could, or even would be worth the complexity that would introduce - you kind-of need a model for the afterMake function.
Another solution might be to trigger didLoad right before returning model, but it might not be ideal to be firing two didLoads:
    const model = Ember.run(()=> this.store.push(data)); // <-- didLoad is triggered at this point

    let definition = lookupDefinitionForFixtureName(args.name);
    if (definition.hasAfterMake()) {
      definition.applyAfterMake(model, args.opts);
    }
    model.trigger('didLoad'); // <-- now we explicitly trigger didLoad again
    return model;

Any thoughts? I'm happy to flesh this PR out with a fix if you could give me some direction :-)

This is an edge case, but an interesting one none the less.
I guess it depends on what you want afterMake to do.
I would think afterMake would run before didLoad also, but I have not thought about it for long.
Are you using afterMake to just setup data with transient attributes?
Can you show me how you are setting up your factory and using it.
  // don't use afterMake at all but still use transient attributes that make your fixture

  let data = this.fixtureBuilder(modelName).convertForMake(modelName, fixture);
  const model = Ember.run(()=> this.store.push(data)); // <-- didLoad is triggered at this point
  return model;

Here is how I use transient attributes to build fixture:
https://github.com/danielspaniel/ember-data-factory-guy#tip-3-using-random-attributes-to-build-fixture
Maybe don't need afterMake?
Maybe get rid of it if it does not work as people expect?


*window is nil after cider-connect-clj and middleware is cider.nrepl/cider-middleware,refactor-nrepl.middleware/wrap-refactor

The demo ui with 4 rotating boxes comes up but about a second after I connect with emacs, the app visibly freezes (the boxes stop rotating). I can deref *window and see that it's nil.
$ git diff
diff --git a/deps.edn b/deps.edn
index 2842623..c541b04 100644
--- a/deps.edn
+++ b/deps.edn
@@ -19,4 +19,6 @@

   :dev
   {:extra-paths ["dev"]
-   :extra-deps  {nrepl/nrepl {:mvn/version "0.8.3"}}}}}
\ No newline at end of file
+   :extra-deps {cider/cider-nrepl {:mvn/version "0.25.9"}
+                refactor-nrepl/refactor-nrepl {:mvn/version "3.1.0"}}
+   :main-opts ["-m" "user" "--middleware" "[cider.nrepl/cider-middleware,refactor-nrepl.middleware/wrap-refactor]"]}}}

$ clj -A:windows:dev
WARNING: Use of :main-opts with -A is deprecated. Use -M instead.
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: refactor-nrepl.inlined-deps.orchard.v0v7v3.orchard.misc, being replaced by: #'refactor-nrepl.inlined-deps.orchard.v0v7v3.orchard.misc/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: refactor-nrepl.inlined-deps.orchard.v0v7v3.orchard.misc, being replaced by: #'refactor-nrepl.inlined-deps.orchard.v0v7v3.orchard.misc/update-keys
nREPL server started on port 54259 on host kubernetes.docker.internal - nrepl://kubernetes.docker.internal:54259
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: cider.nrepl.inlined-deps.orchard.v0v6v5.orchard.misc, being replaced by: #'cider.nrepl.inlined-deps.orchard.v0v6v5.orchard.misc/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: cider.nrepl.inlined-deps.orchard.v0v6v5.orchard.misc, being replaced by: #'cider.nrepl.inlined-deps.orchard.v0v6v5.orchard.misc/update-keys
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils, being replaced by: #'refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils, being replaced by: #'refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils/update-keys
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer, being replaced by: #'refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer, being replaced by: #'refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils/update-keys
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.passes, being replaced by: #'refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils/update-vals
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.passes.uniquify, being replaced by: #'refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils/update-vals

Umm. I the problem goes away if I don't set (setq cljr-warn-on-eval nil).
https://github.com/clojure-emacs/clj-refactor.el#in-case-refactor-nrepl-is-used-for-advanced-ast-based-refactorings

The analyzer refactor-nrepl uses needs to eval the code too in order to be able to build the AST we can work with. If that causes side effects like writing files, opening connections to servers, modifying databases, etc. performing certain refactoring functions on your code will do that, too.
By default the user is warned about this when an AST dependent feature is invoked. If this warning is an annoyance and the project can be evalled without any risks set cljr-warn-on-eval to nil so cljr-eagerly-build-asts-on-startup can take effect.
We create ASTs for all the namespaces at REPL start up if cljr-warn-on-eval is set to nil.

I was reading the docs on clj-refactor since I haven't used it before and I added that to my emacs config today. Interesting.

Interesting! I have no idea what clj-refactor is or how does it work. If you ever figure out that the problem is or how example should be adjusted to avoid this, let me know


new categories card style

before:

after:

what do you think?

what do you think?

wow that's really nice

@SunsetTechuila I'm thanking you for all of your prs with this message.
your works really touch the deep end.
I thankfully appreciate your aura and what you have done for all of us


1483 hive support

Description of the change

added hive support to sdk

Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[x ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Describe multi-tenancy segmentation

/gcbrun

@maximelb For the hive code i ended up adding all new hive methods to a new struct type named HiveClient and added a New function call that requires an org to be passed in order to create the client. I set this up similar to how the sensor struct was set up. If you want all these new methods as part of Org it would be no problem for me to swap that out.
Also while running  test I noticed that if you attempt to pass an expiry date to the set/add function this will show as a success but the actual hive data object will not be created. This was not just in GO but using the python CLI. Logs show good in lc-api so i'm guessing this is a issue with the hive service. You can test this with the following command within the python CLI
limacharlie hive set cloud_sensor -pk 8cbe27f4-bfa1-4afb-ba19-138cd51389cd -k josh-test -d testFile --expiry<PHONE_NUMBER>
limacharlie hive get cloud_sensor -pk 8cbe27f4-bfa1-4afb-ba19-138cd51389cd -k josh-test
when you run the get it will show up as error record not found
Test data
{
"s3": {
"access_key": "access key",
"bucket_name": "bucket_name",
"client_options": {
"hostname": "syslog-test",
"identity": {
"installation_key": "test install key",
"oid": "8cbe27f4-bfa1-4afb-ba19-138cd51389cd"
},
"platform": "text",
"sensor_seed_key": "syslog-test"
},
"prefix": "prefix",
"secret_key": "secret key"
},
"sensor_type": "s3"
}

@maximelb For the hive code i ended up adding all new hive methods to a new struct type named HiveClient and added a New function call that requires an org to be passed in order to create the client. I set this up similar to how the sensor struct was set up. If you want all these new methods as part of Org it would be no problem for me to swap that out.
Also while running test I noticed that if you attempt to pass an expiry date to the set/add function this will show as a success but the actual hive data object will not be created. This was not just in GO but using the python CLI. Logs show good in lc-api so i'm guessing this is a issue with the hive service. You can test this with the following command within the python CLI
limacharlie hive set cloud_sensor -pk 8cbe27f4-bfa1-4afb-ba19-138cd51389cd -k josh-test -d testFile --expiry<PHONE_NUMBER>
limacharlie hive get cloud_sensor -pk 8cbe27f4-bfa1-4afb-ba19-138cd51389cd -k josh-test
when you run the get it will show up as error record not found
Test data
{ "s3": { "access_key": "access key", "bucket_name": "bucket_name", "client_options": { "hostname": "syslog-test", "identity": { "installation_key": "test install key", "oid": "8cbe27f4-bfa1-4afb-ba19-138cd51389cd" }, "platform": "text", "sensor_seed_key": "syslog-test" }, "prefix": "prefix", "secret_key": "secret key" }, "sensor_type": "s3" }

Found the issue, we use millisecond timestamps for expiry, but this was specified in seconds. Detecting this via https://github.com/refractionPOINT/legion_config_hive/pull/52


Update images, part 2

https://github.com/TurboWarp/extensions/pull/234#issuecomment-1463726981

I really like True-Fantom's style for the extension gallery.

@DNin01 Thanks)


Trigger and Activity Close method in interface

Current behavior:
No Close method in Activity or Trigger interface.  Developer has no way to clean up connection of backend service before microservice is terminated.
Expected behavior:
What is the motivation / use case for changing the behavior?
Most of backend service is expected golang developer to implement Close method and use defer statement to make sure all connections will be closed before end of service.
Additional information you deem important (e.g. I need this tomorrow):

@reidlai We do have a cleanup mechanism in our activity and trigger.

Trigger Stop() method which will be called when engine terminates
Activity Cleanup() method will be called when the engine terminates.

Example:
// Stop implements util.Managed.Stop
func (t *Trigger) Stop() error {
	return t.server.Stop()
}

func (a *Activity) Cleanup() error {
	if a.stmt != nil {
		err := a.stmt.Close()
		log.RootLogger().Warnf("error cleaning up SQL Query activity: %v", err)
	}

	log.RootLogger().Tracef("cleaning up SQL Query activity")

	return a.db.Close()
}

@reidlai We also have connection management which manages the connections per engine.  Take an example here: https://github.com/project-flogo/datastore-contrib/blob/master/mongodb/connection/connection.go

Closing this one.

@reidlai We do have a cleanup mechanism in our activity and trigger.

Trigger Stop() method which will be called when engine terminates
Activity Cleanup() method will be called when the engine terminates.

Example:
// Stop implements util.Managed.Stop
func (t *Trigger) Stop() error {
	return t.server.Stop()
}

func (a *Activity) Cleanup() error {
	if a.stmt != nil {
		err := a.stmt.Close()
		log.RootLogger().Warnf("error cleaning up SQL Query activity: %v", err)
	}

	log.RootLogger().Tracef("cleaning up SQL Query activity")

	return a.db.Close()
}

Thanks a lot... i don't know there is Stop method of trigger.  Thanks.


Add text overlay on Waterbug

I'm loving the app and have made some serious use of it!  Thanks you for sharing.  As I've used it I find myself desiring one more feature (it's always just one more isn't i?).
The feature is to add a textera box over the image.  kind of like using the quotable and overlaying it on waterbug. The features would be the textera box and the text scaling slider.
The feature should either be selectable (via a button) or ignored if "empty"
Any thoughts?
Is this something someone can help me do, or do you know of a fork that already does this?
Thanks,  Rich

We use Waterbug specifically for crediting and not for text over the image -- this is an explicit design decision. If this is something you need, check out Vox's meme, which gives you a whole lot of control over something like that.


Ignore node_modules

This will add /node_modules to .gitignore and also add a new line before /app/assets/builds/*.
Before:
...
# Ignore master key for decrypting credentials and more.
/config/master.key
/app/assets/builds/*
!/app/assets/builds/.keep

After:
...
# Ignore master key for decrypting credentials and more.
/config/master.key

/app/assets/builds/*
!/app/assets/builds/.keep

/node_modules

I separated the commands to make sure we don't append /node_modules twice.

Can do it in the same append 👍

I mean If we already have for example:
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity

the result will be:
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity

/app/assets/builds/*
!/app/assets/builds/.keep

/node_modules

with duplicated /node_modules. That's why I called append_to_file twice, the second one search only for \n/node_modules\n. If I combined them it will search for the whole expression \n/app/assets/builds/*\n!/app/assets/builds/.keep\n\n/node_modules\n.


Hidden taskbar - systray preview hardly accessible

Brief description of your issue
This was not an issue before, it started with the latest versions.
It is not possible to preview all other systray icons, they are hidden.
If the preview window is locked, moved up, unlocked, it moves back down.
6433 at least added 1 sec delay, it is possible to choose, which icon to display.

Steps to reproduce (optional)
Automatically hide the taskbar
Expected behavior (optional)
No response
Actual behavior (optional)
No response
Environment (optional)
System Informer 3.0.6433
Windows 11 Home 22621.1485

Not sure if this is what the OP is referring to but I've always had trouble catching the tray icon with my mouse (in order to move it) before the preview pops up. It's especially annoying when I display multiple icons. It becomes a game of cat and mouse (kind of fun actually. 😸 ) Using a low-quality mouse, however, is impossible. I have this program on my media server so am often trying to make due with a remote control in my living room.... Well, the neighbors think I'm always cussing at my husband but I swear I'm not! 😬 It's System Informer!
If this is not the same issue I'll search, then post a new issue. Thank you all.

Not sure if this is what the OP is referring to

The window overlapping the taskbar when changes position and set to hide automatically.

I've always had trouble catching the tray icon with my mouse (in order to move it) before the preview pops up.

Are tray icons moving around the screen? I don't understand what's catching the tray icon?

@TairikuOokami
Fixed in latest nightly build 🥳


Archive News Pages: Iframe component does not load video/url as cookiebot integration is pending

Until cookiebot has been implemented in new solution, video through iFrame will not work.
Revisit this issue once cookie handling is working.
Related to #407

Works with test implementation

@padms We notice the archive news is 2016 to 2018. Where is 2019 to 21?
Could you supply an example link news page from 2016 - 2018 that contains a video?

@nicholas-haggerty  We have all the pages in azure. Here is a link to a recent news article having a video.
https://energyvision.app.radix.equinor.com/news/archive/20210806-giving-vigdis-boost


Add basic content to site

Adds content from Daniel's branch
Makes it work with Jason's deployment framework
Various fixes

Hi @detiber, I think we can merge these changes now. (Sorry for the direct ping, I can't request a review on the PR.)


CSV Agent serialize doesn't output proper CSV file, please provide example

When using the CSV Agent the output is never a correctly formated CSV file.
Maybe I'm misunderstanding the CSV Agent but what's the point of it if I can't generate a properly formated CSV File with it?
No matter what I feed the CSV agent, be it JSON or Object, the output is unusable and incorrect CSV. I tried sending events from either Event Formatter Agent and Json Parse Agent to it.
Sample Data Input:
From Json Parse Agent:
{
  "message": {
    "1707838936": {
      "title": "foo",
      "price": "111"
    },
    "1707849865": {
      "title": "foo",
      "price": "111"
    }
  }
}

OR
From Event Formatting Agent:
{
  "message": "{\"1707838936\":{\"title\":\"foo\",\"price\":\"111.0\"},\"1707849865\":{\"title\":\"foo\",\"price\":\"111\"}}"
}

Sample Output of CSV Agent:
{
  "data": "\"message\"\n\"{\"\"1707838936\"\"=>{\"\"title\"\"=>\"\"foo\"\", \"\"price\"\"=>\"\"111.0\"\"}, \"\"1707849865\"\"=>{\"\"title\"\"=>\"\"foo\"\", \"\"price\"\"=>\"\"111\"\"}}\"\n"
}

OR
{
  "data": "\"{\"\"1707838936\"\":{\"\"title\"\":\"\"foo\"\",\"\"price\"\":\"\"111.0\"\"},\"\"1707849865\"\":{\"\"title\"\":\"\"foo\"\",\"\"price\"\":\"\"111\"\"}}\"\n"
}

Expected Result:
A proper CSV like this (generate with https://www.convertcsv.com/json-to-csv.htm):

_key,title,price
1707838936,"foo",111.0
1707849865,"foo",111

I don't think the CSV Agent works the way you want it to.
When using the serialise function it takes in multiple events and combines them into a single CSV format. It doesn't remap objects from a single JSON to a single CSV and it doesn't actually create files.
Example:
Send the following two separate events:
{ "key": "1707838936", "title": "foo", "price": "111" }
{ "key": "1707849865", "title": "bar", "price": "222" }
With default CSV Agent options + "mode": "serialize" and "data_path": "$" This will result in the payload:
{
  "data": "\"key\",\"title\",\"price\"\n\"1707838936\",\"foo\",\"111\"\n\"1707849865\",\"bar\",\"222\"\n"
}

I you then send that event to the Local File Agent it will write it to disk as:
"key","title","price"
"1707838936","foo","111"
"1707849865","bar","222"

The CSV agent just creates an event with a json name value pair, which contains just a string of characters in it. It doesn't matter whether you send it to the Local File Agent or the Ftpsite Agent (or any other agent), and just writes the data to file. There is no further "translation" happening.
Previous example (escaped JSON event):
{ "data": "\"key\",\"title\",\"price\"\n\"1707838936\",\"foo\",\"111\"\n\"1707849865\",\"bar\",\"222\"\n" }
When writing the content of "data" that would be:
"key","title","price"\n"1707838936","foo","111"\n"1707849865","bar","222"
Which is the same as
"key","title","price"
"1707838936","foo","111"
"1707849865","bar","222"

Which is a valid CSV file.


Crash importing numpy after importing multiprocessing

I have a simple test that crashes when I have pyjion imported and enabled. It crashes with an "assert not hascased" AssertionError after importing multiprocessing, then importing numpy. I am running with Ptyhon V3.10.0, Pyjion v1.1.0 on Windows 20.
[crash.txt](https://github.com/tonybaloney/Pyjion/files/7575726/crash.txt

)

thanks for the report, this is related to the same issue as #424
I'm working on a fix

Can you please share the contents of test1.py so I can repro this fully?

I couldn’t attach it as a .py file. Change test1.txt to test1.py. It’s just those 4 lines of code.
Thanks,
Len
On Nov 20, 2021, at 11:13 PM, Anthony Shaw @.***> wrote:

Can you please share the contents of test1.py so I can repro this fully?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftonybaloney%2FPyjion%2Fissues%2F446%23issuecomment-974757412&data=04|01||117d4a894d2b48a89c2f08d9acadb404|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637730684306314383|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=OBZqd0OsfKbcr%2BaEr2VrT78dgyeAHNiPr4qzmqgjlFE%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAHBRMUWWJXAMFP4V2D2PZTUNB5Y3ANCNFSM5IOWH3WA&data=04|01||117d4a894d2b48a89c2f08d9acadb404|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637730684306324341|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=qjz8UiVYrj5x6pI7hIMfYWf%2F6AFAPEamNJ7ZXpgevb0%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||117d4a894d2b48a89c2f08d9acadb404|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637730684306324341|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=lrNtWj%2BBbNgTIFGxsKlIfkk7%2FGRttqiWofLNrYCoeR4%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||117d4a894d2b48a89c2f08d9acadb404|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637730684306334287|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=wQyk%2B2zwQLPBXQVEXdMvGT8lg9FuUtz%2BP%2BjaxSt3KOE%3D&reserved=0.

Please can you update to 1.1.1 and tell me if this problem still occurs

The following code still crashes with v1.1.1:
if True:
    import pyjion
    pyjion.enable()
    print(f"pyjion version={pyjion.__version__}")

from multiprocessing import Process, Pipe

import numpy as np


Version bump to 3.0.1

Includes:

Fix a bug with variable assignment in init recipe ( Issue: #235 )

👍 lgtm


[Watson][1b9a92a0-157a-0797-f8c7-c38e678654a7]STOWED_EXCEPTION_System.IO.IOException_80070020_Windows.UI.Xaml.winmd! Windows.UI.Xaml.Controls.Control.put_IsEnabled

Generated issue from Watson
Watson Link:  https://watsonportal.microsoft.com/Failure?FailureSearchText=1b9a92a0-157a-0797-f8c7-c38e678654a7
ADO Link: https://microsoft.visualstudio.com/DefaultCollection/OS/_workitems#id=28107433&triage=true&fullScreen=true&_a=edit
Process: microsoft.powertoys.settings.ui.runner.exe,
Module: windows.ui.xaml.winmd v10.0.10011.16384

Moving to P1 based on hit count.

7
0.20 %

Keeping this in 2010 for now.  Only 9 hits in 14 days but should be actionable.

We should monitor if this goes away with #6620

@ryanbodrug-microsoft @crutkas I checked 0.23 and 0.23.2 on Watson and there don't seem to be any hits on this.


Fix incompatibility with scipy 1.9

The fix should be good to go. The DoubleLookupNeighborFinder is self contained, and I checked that all functions previously working with the nan index now work with the integer index -1.


Refactoring catalog.py file

Raise errors instead of sys.exit
Change assert to raise errors for input validation
Add some comments and format docstrings
black formatting

I know there are some changes being worked on for the repo, and if you don't want to worry about merging a bunch of refactoring changes you can merge those first and I can rebase this branch.

Closing pull request. Please re-open if you'd still like to merge these changes.


Delete for the new parser

Delete support is added for the new PostgreSQL parser.
table_info_ is added in DeleteStatement temporarily to make the old parser be compiled.

I have just committed a fix for the valgrind error in parser_test. Although the table_info_ is temporarily there in the code, it should have been freed.

You guys need to rebase this PR on top of the current master as well. This now has conflicts with the master.

Coverage increased (+0.04%) to 66.35% when pulling bdfbb08ebe5b642b61afa9dd61fcadb5e36e60ec on seojungmin:master into d3cd3386f5432ce7ada691679d241a7ae74f69fd on cmu-db:master.


KAFKA-12672: Added config for raft testing server

Adding a property to the raft/config/kraft.properties for running the raft test server in development.
For testing I ran ./bin/test-kraft-server-start.sh --config config/kraft.properties and validated the test server started running with a throughput test.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks for the PR. Don't you need to update the multi-node-quorum section? https://github.com/apache/kafka/tree/trunk/raft#run-multi-node-quorum

@ijuma updated README

Merged to trunk and cherry-picked to 2.8.


[BUG] - cardano-node: unknown RTS option: -N2

External
Area
Other   cardano-node build
Summary
After building using instructions from https://docs.cardano.org/projects/cardano-node/en/latest/getting-started/install.html
Using tag 1.25.1.
Build on ubuntu 20.04
arch riscv64
Starting the cardano-node always gives the output below.
cardano-node
cardano-node: unknown RTS option: -N2
cardano-node:
cardano-node: Usage: <prog> <args> [+RTS <rtsopts> | -RTS <args>] ... --RTS <args>
cardano-node:
cardano-node:    +RTS    Indicates run time system options follow
cardano-node:    -RTS    Indicates program arguments follow

--- 8< ----

cardano-cli works like expected
Steps to reproduce
Steps to reproduce the behavior:

On ubuntu 20.04 on riscv64 build using https://docs.cardano.org/projects/cardano-node/en/latest/getting-started/install.html
run cardano-node
cardano-node: unknown RTS option: -N2....

Expected behavior
A clear and concise description of what you expected to happen.
System info (please complete the following information):

OS: Ubuntu
Version 20.04 (riscv64)

Screenshots and attachments

If applicable, add screenshots, config files and/or logs to help explain the problem.

Additional context
Add any other context about the problem here.

If have build ghc-8.10.4 with the patches for a registred compiler and SMP suppot and it's building tag 1.27.0.
I have also complied a cross compiler with these patches. Some dependencies can't be cross compiled at this moment without changes.

Closing this. If this is still relevant please reopen.


Adds correct testing for catalog and origin 3.9

Depends on https://github.com/openshift/release/pull/790.

@stevekuznetsov good to go, thanks in advance


Need help getting started

The AJAX Control Toolkit \<IP_ADDRESS>
The installation method

[ ] Installer

Minimal steps to reproduce the bug
Created new web app
Modifed Default.aspx
added textbox, image, calendar extender:

Date: <asp:TextBox ID="txtDate" runat="server"></asp:TextBox>
<asp:ImageButton runat="Server" ID="Image1" ImageUrl="~/images/calendar.gif" AlternateText="Click to show calendar" />
<ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDate" PopupButtonID="Image1"/>

Went to NuGet and installed the AjaxControlToolkitStaticResources
Added the ScrriptManger
<asp:ScriptManager runat="server">

<%--To learn more about bundling scripts in ScriptManager see http://go.microsoft.com/fwlink/?LinkID=301884 --%>
<%--Framework Scripts--%>
<asp:ScriptReference Path="~/Scripts/AjaxControlToolkit/Bundle" />
added the placeholder in the master
<asp:PlaceHolder runat="server">
<%: Scripts.Render("~/bundles/modernizr") %>
<%: System.Web.Optimization.Styles.Render("~/Content/AjaxControlToolkit/Styles/Bundle") %>
</asp:PlaceHolder>
ran it both Debug = true/false - same error
Actual result
Unhandled exception at line 1, column 14425 in http://localhost:4635/Scripts/AjaxControlToolkit/Bundle?v=f2xAAd2TWOdmsmrwe3Ko7FqubUV1OQ66mzQ_gdvdZuk1
0x800a1391 - JavaScript runtime error: 'Type' is undefined
Expected result  no error
Browser(s) used  IE11
A site deployment method

[ ] VS development web-server,

Would you please attach a sample project that illustrates this issue?

This is in vs2015
MyAjaxControlToolkitTest.zip

@barryfz Thank you for providing this sample project!
This error occurs because AJAX Control Toolkit bundle is loaded before the Microsoft Ajax.
As AJAX Control Toolkit depends on Microsoft Ajax; it fails to load necessary types.
To fix it, please place the Microsoft Ajax bundle script reference before the AJAX Control Toolkit bundle script reference:
<asp:ScriptManager runat="server">
  <Scripts>
    <asp:ScriptReference Name="MsAjaxBundle" />
    <asp:ScriptReference Path="~/Scripts/AjaxControlToolkit/Bundle" />
  </Scripts>
</asp:ScriptManager>

That did it. Thanks for your help with this.


Fix : Fixing footer position on library and about us page

In library and about us page , footer is not present on the bottom of the screen
It would be better if they are positioned on the bottom position

#37

In library and about us page , footer is not present on the bottom of the screen
It would be better if they are positioned on the bottom position

@yube01 Please provide a screenshot of your issue