text:
Allow empty labels, move state CSS class to outer div.

@cgarvis how do these changes look?

Allow empty labels: See the new tests, which fail on the existing code
Template change: This allows more styling flexibility. Specifically, I did this so I could color the main outline red or green depending on whether it's off or on. It's a lot easier to put the border on the outer element.
Updated the build (btw I think it was already out of date).

I'd suggest bumping major version if you merge this, due to the CSS change.

Yeah don't have the build commit.  I do that on a release on github.  That way the built js is what is stable.

(Will re-push without the 'Update build' commit tomorrow)

Re-pushed without the Update build commit.

Is this merge worthy? Anything I can do to clean it up?

authors: adamdicarlo cgarvis

repo: cgarvis/angular-toggle-switch


text:
Refactor map selection to 'single source'

As suggested by Bananeweizen in https://github.com/cgeo/c-geo-opensource/pull/86#issuecomment-1704103

I think this can be closed, right? If not, please reopen.

No, not yet, only the first part.

source: gharchive/issue

authors: Bananeweizen rsudev

repo: cgeo/c-geo-opensource

license_type: permissive

license_source: github-api


text:
only host can transfer data but not with other players

after transfer, I can login to server but other player in coop mode(4player) cannot join the server.

Either you messed up your SaveFile or have server problems. Anyway it is most likely not an error with UESave nor are you giving enough information (e.g. what game?) that someone could help you.

license: MIT


text:
macOS x86 is nightly build is really Arm ..

On my intel Mac with Ventura, :
./wlink: Bad CPU type in executable
file wlink-macos-x64/wlink
wlink-macos-x64/wlink: Mach-O 64-bit arm64 executable,flags: NOUNDEFS|DYLDLINK|TWOLEVEL|PIE|HAS_TLV_DESCRIPTORS>
and many thanks for wlink!

Oops, it seems Github has changed its macos-latest runner to arm64. 🤣 Thanks for the report.

Fixed by f7a42dd12a50ed818a7e068bb9677acc8926003f

authors: Paulo-Ferreira-ISEP andelf


text:
Set global path variable for project

Setting a global path declaration removes the need to specify a path for each Exec command. As a result, all path instances for Exec commands have been removed. As suggested on Puppet CookBook: http://www.puppetcookbook.com/posts/set-global-exec-path.html
Extra path directories can be added to Exec commands when needed.

thanks!

source: gharchive/pull-request

repo: chad-thompson/vagrantpress

license: mit

license_source: bigquery


text:
Fix the strings mode correctly

This PR fixes a few things in this addon:

Runs the addon before broccoli-asset-rev so that file name is found before the fingerprinting
Updates the README to correctly describe what this addon solves in depth
strings mode fixes:

Do not stringify function body since we are stringifing the entire module already. This eliminates the need to do an eval in the loader.js
Fixes the stringRegistry replacement to correctly occur at the first define start character. This allows apps to use app-prefix and app-boot hooks and not replace those incorrectly.
Prod builds unifies all modules and the hooks data as comma seperated, therefore we need to replace the suffix comma with a semicolon
Do not traverse the ast tree recursively. Instead traverse in a BFS fashion only for the first level where the modules are defined.

TODO:

[ ] Get list of initializers needed by ember-load-initializers addon during build time using the AST.

LGTM

authors: chadhietala kratiahuja

repo: chadhietala/ember-cli-lazy-code


text:
Do Edges need an origID?

Do we need to create origIDs for Edges?
DynamicGraph.ts line 87
private _id: string | number; //TODO: If edge id is ever changed via another operation, make OrigID attribute.

the answer is no, they dont

authors: Sanfordm chadstolper

repo: chadstolper/DGLOs


text:
URL images accept for sliding?

Hi
i want to add dynamic url's for images to fade.
when i kept url in image: require(url) it is not working
can you please help

For someone who's seeing this, I fixed it editing his copy, you can check it here
https://github.com/ashinga48/react-native-fading-slides

For url images, they need to look like this:
const image = {uri: 'url'}

Then you can do something like this:
const slides = [
  {
    image: {uri: 'http://example.com/image.png'},
    imageWidth: 500,
    imageHeight: 500,
  },
  {
    image: {uri: 'http://example.com/image_2.png'},
    imageWidth: 500,
    imageHeight: 500,
  },
  ...
];

<FadingSlides
  slides={slides}
  fadeDuration={1200}
  stillDuration={2000}
  height={500}
  startAnimation={true}
  />

authors: ashinga48 dillonhafer satishpalli

repo: chagasaway/react-native-fading-slides


text:
FP16 support in various functions and links

Related to #4510. It looks the following functions and links should be fixed somehow to support fp16 (I checked them quickly, so if you find mistakes/lacking items, fix the list or let me know).
functions:

[x] spatial_transformer_grid(#5114)
[x] sparial_transformer_sampler(#5751)
[x] n_step_rnn(#5808)
[x] absolute_error(#5145)
[x] contrastive(#5152)
[x] cross_covariance(#5158)
[x] connectionist_temporal_classification(#5680)
[x] decov(#5174)
[x] hinge(#5175)
[x] huber_loss(#5176)
[x] mean_absolute_error(#5053)
[x] mean_squared_error(#5052)
[x] negative_sampling(#5336)
[x] sigmoid_cross_entropy(#5211)
[x] squared_error(#5212)
[x] triplet(#5214)
[x] batch_l2_norm_squared(#5235)
[x] det / batch_det(#5323)
[x] inv / batch_inv(#5323)
[x] gaussian(#5284)
[x] normalize(#5256)
[x] roi_pooling_2d(#5281)
[x] embed_id(#5624)
[x] scatter_add(#5335)
[x] get_item(#5335)

links:

[x] Maxout(#5058)
[x] InceptionBN(#5062)
[x] StatefulMGU(#5084)
[x] BlackOut(#5638)
[x] BinaryHierarchicalSoftmax(#5648)
[x] NegativeSampling(#5664)
[x] GoogLeNet(#5099)
[x] ResNetLayers(#5101)
[x] VGG16Layers(#5107)
[x] BatchNormalization(#5034)
[x] BarchRenormalization(#5034)

I tentatively set assignee, but still welcoming others to divide the work.

I will check if any other functions and links are left to need work.

Currently the original check list is completed. Can I close this issue as solved?

Everything listed has been merged. Thanks!

authors: beam2d kmaehashi takagi

repo: chainer/chainer


text:
Fix flaky tests of chx.linalg.solve

Fix #7976.
~Note on the solution: the test case sometimes result in an output matrix with very large values, where the computational error exceeds the threshold by a large margin. Instead of increasing the threshold (which will make the most random cases meaningless), I changed the input generation to generate the output instead of input so that we can control the output scale.~
Update: following the comments from @asi1024, I understood that the problem is not solved essentially by the above method. I developed a tool to create a well-behaving matrix in #8077, and rewrote this PR using it.

@asi1024 I updated the change using #8077. I confirmed the problematic test cases pass for 100k repeats without a single failure.

pfnCI, test this please.

Jenkins CI test (for commit 37668d1ec695619538cad490b49e14a93a7f583c, target branch master) succeeded!

Travis seems to fail when (0, 0)-shape array is given as an input.

I found that NumPy<=1.15 does not support zero-sized matrix in svd, so generate_matrix fails for such a case. I will send another PR to fix that, then come back to this PR.

Sent a PR #8167 and rebase this one onto that.

@beam2d Could you merge master?

Rebased to the latest master.

Jenkins, test this please.

Jenkins CI test (for commit bacd93737cd63615af7bc51eeb3d3eb8424b5fd4, target branch master) succeeded!

LGTM.


text:
[backport] Fix eps in Contrastive.backward

Backport of #7745

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 76fac6065628249abeb18a535348736cdf8c3e6a, target branch v6) succeeded!

LGTM.

authors: asi1024 chainer-ci emcastillo


text:
[Feature Request] Save assets to subfolders

I am finding that my output directory is becoming very cluttered with the additional logging of multi-media assets during training.
It would be nice to have an option to save assets to distinct sub-folders within the output directory.
e.g:

outputdir, image/random_samples
outputdir, image/conditional_samples
outputdir, audio/random_samples
outputdir, audio/conditional_samples
outputdir, audio/interpolated_samples

Thank you for the request, sent PR to deal with it.

authors: MannyKayy disktnk

repo: chainer/chainerui


text:
Team Page Mobile Layout

[x] heading "meet our team"
[x] subtitle "Enthusiasts of making products better"
[x] team member cards

[x] Display a photo
[x] Display name
[x] Display a role in a team
[x] Display a block with information about the participant
[x] Display links to social networks of participants

[x] heading "You have an idea? We have the talents!"
[x] contuct us button

-[ ] fix join game button in JoinGame component
-[ ] display list of my games in MyGames component

[ ] heading "meet our team"
[ ]  subtitle "Enthusiasts of making products better"
[ ] heading "You have an idea? We have the talents!"
[ ]  team member cards

[ ] Display a photo
[ ]  Display name
[ ]  Display a role in a team
[ ]  Display a block with information about the participant
[ ]  Display links to social networks of participants

[ ] contact us button

Contact us оставить нерабочей кнопкой.
Заметила, что есть элемент, который не влезает в ширину экрана

repo: chainhackers/gamejutsu-demos


text:
command 'sessions' error.

the output:
IOM>  » sessions
panic: missing flag value: flag 'all' not registered
goroutine 1 [running]:
github.com/chainreactors/grumble.FlagMap.Bool(0xc00007f800?, {0xc8f013, 0x3})
/home/echo/go/pkg/mod/github.com/chainreactors/grumble@v0.0.0-20240726161323-5ed71398873f/flagmap.go:73 +0xf7
github.com/chainreactors/malice-network/client/command/sessions.SessionsCmd(0xc0002c4120, 0xc00024ac00)
/home/echo/malice-network/client/command/sessions/sessions.go:18 +0x47
github.com/chainreactors/malice-network/client/command/sessions.Commands.func2(0xc00024e000?)
/home/echo/malice-network/client/command/sessions/commands.go:28 +0x17
github.com/chainreactors/grumble.(*App).RunCommand(0xc00024e000, {0xc000048320?, 0x8?, 0xdc2890?})
/home/echo/go/pkg/mod/github.com/chainreactors/grumble@v0.0.0-20240726161323-5ed71398873f/app.go:327 +0x17b
github.com/chainreactors/grumble.(*App).runShell(0xc00024e000)
/home/echo/go/pkg/mod/github.com/chainreactors/grumble@v0.0.0-20240726161323-5ed71398873f/app.go:539 +0x4bb
github.com/chainreactors/grumble.(*App).RunWithReadline(0xc00024e000, 0xc00020e018)
/home/echo/go/pkg/mod/github.com/chainreactors/grumble@v0.0.0-20240726161323-5ed71398873f/app.go:461 +0x565
github.com/chainreactors/grumble.(*App).Run(0xc00024e000)
/home/echo/go/pkg/mod/github.com/chainreactors/grumble@v0.0.0-20240726161323-5ed71398873f/app.go:345 +0x136
github.com/chainreactors/malice-network/client/console.Start({0xc0003bdf30, 0x2, 0x12b75f8?})
/home/echo/malice-network/client/console/console.go:70 +0x374
github.com/chainreactors/malice-network/client/cli.StartConsole(...)
/home/echo/malice-network/client/cli/cmd.go:9
main.main()
/home/echo/malice-network/client/client.go:23 +0x3f
how can i resolve it?

update

repo: chainreactors/malice-network


text:
[React][Select] inconsistent select closing on blur/click outside with lazyMount/unmountOnExit options

Description
It's basically a copy of this issue, you can see my last comment over there https://github.com/chakra-ui/ark/issues/1229
I updated the reproduction to the latest version and I'm using Stackblitz instead of Codesandbox, as the second one isn't working properly for me
Hello 👋
I've tried to update my components with lately added lazyMount and unmountOnExit options. I've spotted a few scenarios in Select component when closing behavior on blur/click outside isn't consistent.
1st scenario: with unmountOnExit and lazyMount option it isn't always closed while navigating with keyboard out of it
2nd scenario: with unmountOnExit and lazyMount option, it isn't closed on click outside with mouse
Both of these behaviors also occur without unmountOnExit option, but only on the first open/close cycle of each select instance. Removing the lazyMount option fix the behavior. It seems to be related to the existence of SelectContent inside of DOM.
Link to Reproduction
https://stackblitz.com/edit/vitejs-vite-z2zjd7?file=package.json
Steps to reproduce
1st scenario:

Go to the reproduction URL
Focus and open select with keyboard
Use shift+tab to focus to the trigger
Now you can use tab to focus the next button in demo, the focus is trapped between the trigger and the next focusable element after the trigger. To close the select you need to click the trigger.

2nd scenario:

Go to the reproduction URL
Open select with mouse
Click outside
Observe select not being close, you can remove the unmountOnExit prop and observe correct behavior

This also occurs on first cycle of open/close without unmountOnExit but with lazyMount option. You can remove the unmountOnExit option and refresh the sandbox to observe it.
Ark UI Version
0.14.0
Framework

[X] React
[ ] Solid
[ ] Vue

Browser
Safari 17 and Chromium 115
Additional Information
Btw. any plans for adding these options to Menu component?

Hi @pawelblaszczyk5,
I only started to use ark-ui recently. I am seeing that you are building the Select component using the latest changes by using SelectOption. However, I do not see SelectOption as part of ark-ui's documentation. I am curious as to how you went about discovering these newer features. It'd be difficult to know about these newer changes unless I read the source code. Thanks!

Thanks for taking your time to report this issue. A fix will be available in the next release https://github.com/chakra-ui/ark/commit/fb7441d44127df0638bada4cdfebaacd489fbee1

repo: chakra-ui/ark


text:
Bug in jacobian in IonFluidRunawayIonizationTerm

In the IonFluidRunawayIonizationTerm, there is currently an indexing error which can lead to an out-of-bounds error when the term is applied. The derivative w.r.t. to n_re should result in a nMultiplies*nr-by-nr block matrix, but is currently indexed as if it is a nMultiplies*nr-by-nMultiplies*nr matrix.
The file src/Equations/Fluid/IonFluidRunawayIonizationTerm.cpp needs to be modified on lines 70 and 73 so that rOffset no longer appears in the column index.

@peterhalldestam I am fixing this!

repo: chalmersplasmatheory/DREAM


text:
NoneType error in request.token

# request.py

    @property
    def token(self):
        """Attempt to return the auth header token.

        :return: token related to request
        """
        auth_header = self.headers.get('Authorization')
        if 'Token ' in auth_header:
            return auth_header.partition('Token ')[-1]
        else:
            return auth_header

In the code, if 'Authorization' is not in request headers, it will raise TypeError: 'argument of type 'NoneType' is not iterable'.  Returns auth_header directly and deletes if-statement is better.
@property
def token(self):
      """ ...."""
      return self.headers.get('Authorization')

Got ya covered in #731.

Closing with https://github.com/channelcat/sanic/pull/731
Please use the current master to include this fix. The next release will contain it.

authors: h-wei jrocketfingers r0fls

repo: channelcat/sanic


text:
[r] Add comp_bio_census_info.Rmd

Furthering https://github.com/chanzuckerberg/cellxgene-census/issues/248
blocked on: https://github.com/single-cell-data/TileDB-SOMA/issues/1262

@pablo-gar The GitHub Actions worker may be running out of memory on the new vignette. I think they have only 7GB of RAM. Two possible courses of action (1) scale down the problem size in the vignette until it runs successfully, or (2) dispense with automatically building [all of] the vignettes in the CI workflow, which (correct me?) I don't think we do with the Python notebooks. Lets talk about which way to go.

@ebezzi @pablo-gar FYI- I've usurped this old PR to also update the vignettes to the recent breaking changes, and move them into vignettes_wip/ temporarily to hopefully unblock the docsite and r-universe builds.

repo: chanzuckerberg/cellxgene-census


text:
View total number of commits made to plugin since repo's creation

Summary
As a plugin user, when I'm viewing a plugin's activity, I want to be able to see the total number of commits made to the plugin (and its core package) since the repo was created.
Intended Outcome

The SQL query has been written to execute the requirement of this ticket.
Backend has implemented code to run said SQL query on a daily basis to ensure data is updated.
Backend has surfaced relevant endpoints for said data for frontend to display on the Activity tab.

Note

This ticket can be addressed by summing all num_commits (column name in Snowflake) in the commits per month per repo SQL query, which is the SQL query used to address this user story: [P0] As a plugin user, when I'm viewing a plugin's activity, I want to be able to see when the latest commit occurred for the plugin (or its core package).

Epic
Design
Document

select REPO, SUM(NUM_COMMITS) as TOTAL_COMMITS
from
(
select repo, date_trunc('month', to_date(commit_author_date)) as month, count(*) as num_commits
from imaging.github.commits
where repo_type = 'plugin'
group by 1,2
)
group by Repo
order by TOTAL_COMMITS desc

Snowflake output from SQL query:

As verified by Ben in this Slack conversation with the Trust Team, there is no concern for posting SQL queries to the napari-hub repo.

repo: chanzuckerberg/napari-hub


text:
feat: sharding-e2e-tests

Reason for Change

#TICKET_NUMBER
If the reason for this PR's code changes are not clear in the issue, state value/impact

Changes

add
remove
modify

Testing steps

Either list QA steps or reasoning you feel QA is unnecessary
Describe how you made sure to know that your changes worked. Should allow someone else to go verify your code without in depth knowledge.
"Unit tested only", "tested in rdev by a, b, c, verifying feature worked by... ", "manually ran pipeline locally with these results: ..."

Notes for Reviewer

Thanks for the PR, Charles! Looks like the e2e-test is still waiting for status report 🤔
PTAL thank you!

This is frustrating. I have switched the name a bit but still no luck. Will have to read more.

@ebezzi this is the PR that shards tests!
In the screenshot, you can see that the PR check e2e-test is still waiting for different shards to report their outcomes 🤔

Thank you!

@ebezzi this is the PR that shards tests!
In the screenshot, you can see that the PR check e2e-test is still waiting for different shards to report their outcomes 🤔
Thank you!

@tihuan I think I know what the problem is; just need to figure how to fix it. The below logic is not correct and is skipped if any of the shards fail, but what we want is to wait for all shards to complete whether they fail or pass.
wait-for-shards:     name: Wait for shards     needs: run-e2e-tests # run after shards     runs-on: ubuntu-20.04     if: success() # only run when all shards have passed     # store success output flag for ci job     outputs:       success: ${{ steps.setoutput.outputs.success }}     steps:       - id: setoutput         run: echo "{success}={true}" >> $GITHUB_OUTPUT

@tihuan I think it is working, no?

Amazing 🔥 Push Tests / e2e-test (pull_request) failed! Thanks so much for testing this out, @charles-testco 🙏 Really appreciate it!
Please feel free to revert the dummy test and merge the PR!

Amazing 🔥 Push Tests / e2e-test (pull_request) failed! Thanks so much for testing this out, @charles-testco 🙏 Really appreciate it!
Please feel free to revert the dummy test and merge the PR!

Will do. Thanks. We will have have the question of merging html reports but I suppose we are using the Allure more here and should not be a blocker?

Yeah I'm assuming the shards will upload their results to the same place for Allure to aggregate, so it should be okay. But let's confirm that's what Allure is doing too to be sure lol

Hey @charles-testco ! Sorry it seems like the checks are no longer passing 😭 PTAL thank you!

porting solution over to https://github.com/chanzuckerberg/single-cell-data-portal/pull/5492. Thanks @charles-testco !

authors: charles-testco tihuan

repo: chanzuckerberg/single-cell-data-portal


text:
JSON logging across data portal and explorer

We are already logging to cloudwatch in JSON format in the data portal API server. We should update the remains services to also log in JSON format.
single-cell-data-portal

backend/corpora/upload_failures/app.py
backend/corpora/upload_success/app.py
backend/corpora/dataset_submissions/app.py
backend/corpora/dataset_processing/logger.py
backend/wmg/data/cube_pipeline.py

single-cell-explorer

/single-cell-explorer/server/app/app.py

#Definition of Done

All of the above apps or pipelines produce logs in JSON format

Excluding from 2022Q4 scope as discussed at OKR confidence scoring meeting moving to on-call backlog as future work

[ ] Issue needs to specify the JSON format/fields to use for pipeline logging.

Would also be useful if API responses log messages included the original request's url and method.

See also https://app.zenhub.com/workspaces/single-cell-5e2a191dad828d52cc78b028/issues/gh/chanzuckerberg/single-cell-explorer/540 (duplicate)

This work is complete

authors: Bento007 atolopko-czi metakuni

repo: chanzuckerberg/single-cell


text:
Provider docs haven't been updated with the new host arg

Provider Version
v0.30.0
Describe the bug
The provider docs haven't been updated with the new host argument

@aidanmelen Would you provide a PR?

@aidanmelen Would you provide a PR?

If it is an easy as running make docs then sure. @Dirrk did you forget to build the docs or is something broke with that workflow?

@aidanmelen I ran make docs and pushed up https://github.com/chanzuckerberg/terraform-provider-snowflake/pull/939/commits/2b1d9eb06ae0bcc1a2017e03b75d8f6a43ee8a23

@aidanmelen I ran make docs and pushed up 2b1d9eb

You definitely did. I also noticed that you added Description to the provider.go schema. That was a nice touch on your part.

I have another PR coming exposing the port and protocol options to the driver which we have tested locally for almost 2 weeks now.  I will make sure the docs get updated in that PR as well before submitting.

@alldoami it looks like the docs/index.md file was generated correctly, but the terraform registry is showing the same docs as version v0.29.0
Link: https://undefined/providers/chanzuckerberg/snowflake/latest/docs

authors: Dirrk aidanmelen yohei1126


text:
Add SCIM Integration Resource

Added SCIM Integration Resource (#549)
Test Plan

[x] acceptance tests
[x] unit tests…

References
See https://docs.snowflake.com/en/user-guide/scim.html

@alldoami This is related to the feature request #549

@alldoami can you trigger the test after the latest changes?

/ok-to-test sha=691e58e

@alldoami  Removed Enabled property which cannot be set for SECURITY INTEGRATION with type=SCIM

@alldoami Added the dependent resources to the acceptance tests. Can you check if it's ok now?

This would be best if you could test locally and request my review when ready.

@alldoami You are right, sorry for the inconvenience. I tested the acceptance test locally, made some fixes and it seems to work now.

/ok-to-test sha=2cb5b18

@alldoami Not sure why the acc test are failing. It does work on my snowflake account. See below, I made some changes to the resource id maybe that might help. For the unit test I saw that for the Generic alter builder there was no sorting which means that my alter unit test might fail sometimes because of the random order of the statement. That should be fixed now.

/ok-to-test sha=5bd10cb

@alldoami  Seems that okta provider already exists on the acc snowflake account. I removed Okta tests

/ok-to-test sha=f863df6

@alldoami can this be merged so that I can work / update #557? Thanks in advance for your patience

@alldoami  and @jacobrheath Can you please review the changes requested. Thanks!

/ok-to-test sha=15a53ae

authors: ChrisIsidora alldoami


text:
Mozilla Proposal - Value Metrics

Mozilla Research Grants 2019H1:
https://mozilla-research.forms.fm/mozilla-research-grants-2019h1/forms/6510
We are working in this document:
https://docs.google.com/document/d/1I1ztF0TCSUGtTj_hnhBfsG3TYNymug4fWIGh1531xlE/edit#

Going to pass on this one.

authors: GeorgLink andyl

repo: chaoss/wg-value


text:
🛑 br (UFSCar Alcateia) is down

In 2db13bc, br (UFSCar Alcateia) (https://br-mirror.chaotic.cx/no-failover/chaotic-aur/lastupdate) was down:

HTTP code: 503
Response time: 292 ms

Resolved: br (UFSCar Alcateia) is back up in 479ea49.

repo: chaotic-aur/chaotic-uptimes


text:
🛑 Silky.Network - mx is down

In b81aff6, Silky.Network - mx (https://mx-mirror.chaotic.cx/no-failover/chaotic-aur/lastupdate) was down:

HTTP code: 503
Response time: 118 ms

Resolved: Silky.Network - mx is back up in 360dbe6.


text:
🛑 Silky.Network - us-ca is down

In 147bf05, Silky.Network - us-ca (https://sjc-us-mirror.silky.network) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Silky.Network - us-ca is back up in b191aad after 46 minutes.


text:
Installation of bcbio-nextgen fails during vep_install.pl on Ubuntu 14.04.2 LTS

I tried to install bcbio-nextgen on Ubuntu 14.04.2 LTS
$uname -srvm
Linux 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64

but it failed during the execution of vep_install.pl
[2015-05-27 11:33:20.053614] DEBUG: bcbio-nextgen: Prepare VEP directory for homo_sapiens_vep_79_GRCh37
[2015-05-27 11:33:20.053779] DEBUG: bcbio-nextgen-commands: vep_install.pl -a c -s homo_sapiens_vep_79_GRCh37 -c /extra/kbentele/bcbio/genomes/Hsapiens/GRCh37/vep
[2015-05-27 11:33:20.064841] ERROR: bcbio-nextgen: Uncaught exception occurred
Traceback (most recent call last):
  File "/extra/kbentele/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 21, in run
    _do_run(cmd, checks, log_stdout)
  File "/extra/kbentele/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 75, in _do_run
    stderr=subprocess.STDOUT, close_fds=True)
  File "/extra/kbentele/bcbio/anaconda/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/extra/kbentele/bcbio/anaconda/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/extra/kbentele/bcbio/anaconda/bin/bcbio_nextgen.py", line 201, in <module>
    install.upgrade_bcbio(kwargs["args"])
  File "/extra/kbentele/bcbio/anaconda/lib/python2.7/site-packages/bcbio/install.py", line 93, in upgrade_bcbio
    upgrade_bcbio_data(args, REMOTES)
  File "/extra/kbentele/bcbio/anaconda/lib/python2.7/site-packages/bcbio/install.py", line 252, in upgrade_bcbio_data
    _upgrade_vep_data(s["fabricrc_overrides"]["galaxy_home"], tooldir)
  File "/extra/kbentele/bcbio/anaconda/lib/python2.7/site-packages/bcbio/install.py", line 287, in _upgrade_vep_data
    effects.prep_vep_cache(dbkey, ref_file, tooldir)
  File "/extra/kbentele/bcbio/anaconda/lib/python2.7/site-packages/bcbio/variation/effects.py", line 88, in prep_vep_cache
    do.run(cmd, "Prepare VEP directory for %s" % ensembl_name)
  File "/extra/kbentele/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 21, in run
    _do_run(cmd, checks, log_stdout)
  File "/extra/kbentele/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 75, in _do_run
    stderr=subprocess.STDOUT, close_fds=True)
  File "/extra/kbentele/bcbio/anaconda/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/extra/kbentele/bcbio/anaconda/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "bcbio_nextgen_install.py", line 261, in <module>
    main(parser.parse_args(), sys.argv[1:])
  File "bcbio_nextgen_install.py", line 41, in main
    subprocess.check_call([bcbio["bcbio_nextgen.py"], "upgrade"] + _clean_args(sys_argv, args, bcbio))
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/extra/kbentele/bcbio/anaconda/bin/bcbio_nextgen.py', 'upgrade', '--tooldir=/extra/kbentele/bcbio', '--isolate', '--genomes', 'GRCh37', '--aligners', 'bwa', '--aligners', 'bowtie2', '--data']' returned non-zero exit status 1

Sorry about the issue and thanks for reporting this. The code was implicitly assuming the vep_install.pl is available on your PATH. I pushed a fix that will avoid this problem so you can practically fix it for your case either by updating your PATH to include /path/to/bcbio/tooldir/bin or updating to the latest development version (bcbio_nextgen.py upgrade -u development or add -u development to the install command). Hope this gets it working cleanly for you.

Thanks for the quick response. Updating PATH worked well.

authors: chapmanb kajetanb

repo: chapmanb/bcbio-nextgen


text:
Windows: addMimeTypeListener

Hello,
I'm making my app compatible with windows 10 mobile.
It currently uses addMimeTypeListener. I tried simple on a demo app on windows 10 mobile, and it does not work.
It just does not have the action here:  CommandProxyMap[service][action]. It returns undefined.
Is the documentation wrong? from https://github.com/chariotsolutions/phonegap-nfc#nfcaddmimetypelistener
Supported Platforms

    Android
    Windows
    BlackBerry 7

Cheers

I'm looking at the Windows code and it looks like you need to use registerNdef https://github.com/chariotsolutions/phonegap-nfc/blob/master/src/windows/nfc-plugin.js#L77
TBH, I'm not sure why it's not called registerNdefListener. It's been a long time since I've looked at this Windows Mobile 10. It's effectively dead for me unless we start getting Windows tablets and laptops with NFC readers built in.

I looked into this a bit more.
Windows 10 doesn't support nfc.addMimeTypeListener. I've updated the documentation to reflect this.
All Windows devices (with NFC) should support nfc.addNdefListener. The NDEF listener will read MIME type tags on Windows.
Windows devices with newer NXP PN547 chips will support nfc.addTagDiscoveredListener. Windows won't give you any tag meta data, like the tag type or tag id. You can use addTagDiscoveredListener to read non-formatted tags and write NDEF messages to them. See #204.

@don Thanks mate!

authors: andreujuanc don

repo: chariotsolutions/phonegap-nfc


text:
Compositing

Hi,
I’d like to add autocomplete with dropdown to fx. But find if really difficult. Will be cool if bubbletea has some API to simplify dropdowns/popovers.
For example, I have already colored lines with lipgloss, will be cool to have API to override part of line with differently colored string, but save original colors for beginning and end of string.

No ETA yet, but this in development. It’s a very important feature for us as well. We’ll keep this issue updated with progress.
Related: #79 and https://github.com/charmbracelet/lipgloss/issues/65.

can you please post the updates (if any) on this ? its more than 2 years now.

Hi! So doing this right is fairly complex task because of things like grapheme clusters, emojis, double-width characters, and so on. We're taking a three-step approach, guided somewhat by our own need:

We're building a library for cell-based operations
That library will back a new Bubble Tea renderer
Then we'll use the library to build compositing into Lip Gloss

We're actively working on and testing the first two items right now and, while they're not quite ready yet, things are looking very good.
If you want do simple overlays right now have a look at https://github.com/charmbracelet/lipgloss/pull/102. The code in the example is concise enough that you can just copy the necessary functions to your codebase. We've seen several developers do this in their applications.

We're building a library for cell-based operations

This is awesome! Does it mean we going to have flex based layout?

authors: antonmedv meowgorithm pnsvk

repo: charmbracelet/bubbletea


text:
Is there a nuget package?

HI
@charri I have been following the MvvmCross 5.0 discussions, and you said you were going to package up your plugin. I can't seem to find it in the list of available nuget packages.
Did you get a chance to create one, if so can you tell me the name you have given to it.
Thanks

This is going to be integrated in 5.0: https://github.com/MvvmCross/MvvmCross/pull/1595

HI @martijn00 Yes, I understand, but I was hoping to do an evaluation using the plugin, rather than having to upgrade my app to the v5 nightly build.
Is this functionality now in the nightly build, if so I'll use that

Yes it is in the nightly build.

repo: charri/MvvmCross-Routing


text:
Problem with square in Tooltip: no colors inside the square.

I have this problem: the squares of the tooltips aren't filled with color.
I changed the multiTooltipTemplate: "<%= datasetLabel %> - <%= value %>  though  also without this parameter i can't see the colors:
Thanks for any hint.
Fulvio

I think the dataset "color" comes from the point backgrounds and not the lines or fills. Noticed them changing color when the point color changes on hover in v2.0. Sometimes they are the non-hovered color of the point, sometimes the full hovered color of the point... many times the color ends up somewhere in-between.
http://jsbin.com/hikukideha/edit?output

@asmith3079 is correct. The point fill colour becomes the colour shown in the legend

In case someone finds this for the same reason I did:
I made the dataset option 'fill': false and did't bother to set a background color. That made the box in the tooltip to show the border only (no fill). I added background to the dataset to be the same color as the border and it works.
Suggestion:
Make it work the same way as the legend.

@martin-manov thanks for the suggestion, I had the same use case and this was a great solution.
IMO the legend should have it's own separate/override-able configuration so that it can be more flexible.

authors: asmith3079 etimberg itabsinthe johnpena martin-manov


text:
Bar is not stacked!!

this is my config) it's so strange!! but chart is not stacked!
i don't know what happend here..
picture of my chart
scope.myChart = new Chart(ctx, {
                        type: 'bar',
                        data: {
                            labels: labels,
                            datasets: [{
                                label: legendLabel,
                                data: data,
                                backgroundColor: '#c1e5f1',  //blue
                                borderColor: '#3e94af',
                                borderWidth: 1
                            }]
                        },
                        options: {
                            maintainAspectRatio: false,
                            scales: {
                                xAxes: [{
                                    stacked: true,
                                    type: 'time',
                                    time: {
                                        displayFormats: {
                                            'day': 'MMM DD'
                                        },
                                        unitStepSize: 1,
                                        unit: 'day',
                                        tooltipFormat: 'MMM DD'
                                    },
                                    gridLines: {
                                        display: false
                                    },
                                    ticks: {
                                        maxRotation: 0
                                    }
                                }],
                                yAxes: [{
                                    stacked: true,
                                    ticks: {
                                        stepSize: 1,
                                        beginAtZero:true
                                    },
                                    gridLines: {
                                        display: false
                                    }
                                }]
                            },
                            events: ['mousemove'],
                            tooltips: {
                                enabled: true,
                                mode: 'label',
                                callbacks: {
                                    title: function (item) {
                                        return dateStr + ': '  + item[0].xLabel;
                                    },
                                    label: function (item) {
                                        return peopleStr + ': ' + item.yLabel;
                                    }
                                }
                            },
                            legend: {
                                display: false,
                                labels: {
                                    boxWidth: 0
                                }
                            },
                            title: {
                                display: true,
                                text: titleLabel
                            }
                        }

@romablog you only have 1 dataset so there is nothing to stack

@etimberg I just want to show labels under bar and that's all) how to make it?
I was try to set offsetGridLines property 'true' but the same result, labels aren't under bar..

@romablog that's a known issue with time scales. See #2415, #2323, #2243, #3297, and #3263. At the moment, it is recommended to not use the time scale for bar charts

thanks so much for your answer!) it's really helpful!

authors: etimberg romablog


text:
pointDot option does not work!

I tried to not display pointDot in my Line chart, I passed pointDot: false option to the object, point Dot still display, maybe I miss something?.
My code:
var ctx = $("#submission_rate_chart").get(0).getContext("2d");

var rateData = {
  labels: ['','','','','','',''],
  datasets: [
    {
      strokeColor: "rgba(255,255,255, 0.14)",
      data: [65, 59, 80, 81, 56, 55, 40]
    }
  ]
};

var options = {
  showScale: false,
  responsive: true,
  showTooltips: false,
  pointDot: false,
  datasetFill: false,
  datasetStroke: false,
  datasetStrokeWidth: 1,
};

new Chart(ctx).Line(rateData, options);

pointDot: false not working for me in 1.0.2, and pointDotRadius: 0 neither.
Just in case somebody can find it useful, what I have done is to draw the dots in the same color with alpha 0:
new Chart(document.getElementById("myChart").getContext("2d")).Line({
                labels: chartLabels,
                datasets: [{
                    label: "My First dataset",
                    fillColor: "rgba(220,220,220,0.2)",
                    strokeColor: "rgba(220,220,220,1)",
                    pointDot: false,
                    pointDotRadius: 0,
                    data: chartData[0]
                }, {
                    label: "My Second dataset",
                    fillColor: "rgba(151,187,205,0.2)",
                    strokeColor: "rgba(151,187,205,1)",
                    pointColor: "rgba(151,187,205,0)",
                    pointStrokeColor: "rgba(151,187,205,0)",
                    pointHighlightFill: "rgba(151,187,205,0)",
                    pointHighlightStroke: "rgba(151,187,205,1)",
                    pointDot: false,
                    pointDotRadius: 0,
                    data: chartData[1]
                }]
            }, {
                scaleShowVerticalLines: false,
                showTooltips: false
            });

How to remove Points in line chart. Please check the attached image.

authors: Xuhao ignaciohita vinayaknk


text:
Fix arc size calculation when circumference is under 2PI

In doughnut and pie charts, an arc border is cut off when the circumference is under 2*PI. This PR fixes it.
Master: https://jsfiddle.net/nagix/cbma01yp/

This PR: https://jsfiddle.net/nagix/7cxub8qf/

Refactoring is done. This saves 351 bytes.


text:
레이아웃 플러그인 제거하고 래핑함수로 교체해주세요

https://www.gatsbyjs.com/docs/how-to/routing/layout-components/
설명에 따라서 기존에  사용하던 레이아웃 플러그인을 제거하고
wrapPageElement 로 교체해주세요~

@thgml21004 @CheonInJeong
저도 작업하면서 알았는데 워닝표시되는거 살펴보니
프론트 할때 코딩 습관을 잘 들여야 겠더라구요

클릭과 터치 이벤트 같이 적용
이미지 alt 표시해두기
element 클릭 가능할때 role 명시하기 ( https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-static-element-interactions.md )
미사용 import 처리
a 태그의 타켓이 _blank 일때 rel="noreferrer"


text:
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

==============================Langchain-Chatchat Configuration==============================
操作系统：Windows-10-10.0.22000-SP0.
python版本：3.8.17 (default, Jul  5 2023, 20:44:21) [MSC v.1916 64 bit (AMD64)]
项目版本：v0.2.3
langchain版本：0.0.266. fastchat版本：0.2.24
当前LLM模型：gpt-3.5-turbo @ cpu
{'api_base_url': 'https://api.openai.com/v1',
'api_key': '.........',
'openai_proxy': 'http://127.0.0.1:7890'}
当前Embbedings模型： m3e-base @ cpu
==============================Langchain-Chatchat Configuration==============================
2023-09-05 16:05:52 | INFO | root | 正在启动服务：
2023-09-05 16:05:52 | INFO | root | 如需查看 llm_api 日志，请前往 E:\langchain\Langchain-Chatchat\logs
INFO:     Started server process [23468]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:7861 (Press CTRL+C to quit)
==============================Langchain-Chatchat Configuration==============================
操作系统：Windows-10-10.0.22000-SP0.
python版本：3.8.17 (default, Jul  5 2023, 20:44:21) [MSC v.1916 64 bit (AMD64)]
项目版本：v0.2.3
langchain版本：0.0.266. fastchat版本：0.2.24
当前LLM模型：gpt-3.5-turbo @ cpu
{'api_base_url': 'https://api.openai.com/v1',
'api_key': '...........',
'openai_proxy': 'http://127.0.0.1:7890'}
当前Embbedings模型： m3e-base @ cpu
服务端运行信息：
Chatchat  API  Server: http://127.0.0.1:7861
Chatchat WEBUI Server: http://127.0.0.1:8501
==============================Langchain-Chatchat Configuration==============================
You can now view your Streamlit app in your browser.
URL: http://127.0.0.1:8501
2023-09-05 16:06:17 | INFO | httpx | HTTP Request: POST http://127.0.0.1:7861/llm_model/list_models "HTTP/1.1 502 Bad Gateway"
2023-09-05 16:06:17.806 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\Vin.conda\envs\langchain\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in run_script
exec(code, module.dict)
File "E:\langchain\Langchain-Chatchat\webui.py", line 72, in
pages[selected_page]"func"
File "E:\langchain\Langchain-Chatchat\webui_pages\dialogue\dialogue.py", line 75, in dialogue_page
running_models = api.list_running_models()
File "E:\langchain\Langchain-Chatchat\webui_pages\utils.py", line 663, in list_running_models
return r.json().get("data", [])
File "C:\Users\Vin.conda\envs\langchain\lib\site-packages\httpx_models.py", line 756, in json
return jsonlib.loads(self.text, **kwargs)
File "C:\Users\Vin.conda\envs\langchain\lib\json_init.py", line 357, in loads
return _default_decoder.decode(s)
File "C:\Users\Vin.conda\envs\langchain\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Vin.conda\envs\langchain\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2023-09-05 16:07:05 | INFO | httpx | HTTP Request: POST http://127.0.0.1:7861/llm_model/list_models "HTTP/1.1 502 Bad Gateway"
用chatgpt3.5报错，代理用的是全局模式设置都是按照步骤来的

同样遇到这个问题，直接用api的形式调用chatgpt是可以调用的

好兄弟怎么解决的？

我也遇到了咋解决的？

同问wenbui这个问题咋解决：
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback:
File "D:\anaconda\envs\env_name\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in run_script
exec(code, module.dict)
File "D:\HighTech\Langchain-chat\Langchain-Chatchat\webui.py", line 72, in
pages[selected_page]"func"
File "D:\HighTech\Langchain-chat\Langchain-Chatchat\webui_pages\dialogue\dialogue.py", line 75, in dialogue_page
running_models = api.list_running_models()
File "D:\HighTech\Langchain-chat\Langchain-Chatchat\webui_pages\utils.py", line 663, in list_running_models
return r.json().get("data", [])
File "D:\anaconda\envs\env_name\lib\site-packages\httpx_models.py", line 756, in json
return jsonlib.loads(self.text, **kwargs)
File "D:\anaconda\envs\env_name\lib\json_init.py", line 346, in loads
return _default_decoder.decode(s)
File "D:\anaconda\envs\env_name\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "D:\anaconda\envs\env_name\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None

关掉代理即可解决，这个原因是127.0.0.1，使用python客户端访问127.0.0.1经过一层代理就不行了，可以把代理关掉。
设置127.0.0.1/32 为Direct也能解决。
因为网络问题、代理问题、从业时间1%的时间都折腾在这了，也积累了很多经验，算是今天可以到头了。这几天解决好几个网络问题，一下通透了。

repo: chatchat-space/Langchain-Chatchat


text:
qwen2-vl-7b已成功运行(单独使用没有问题)，但是chatchat平台始终报找不到这个模型，换成他的模型就没有问题

qwen2-vl-7b已成功运行(单独使用没有问题)，但是chatchat平台始终报找不到这个模型，换成其他的llm就没有问题

模型id：

加载llm的源代码看起来也没什么问题：

已解决

已解决

你好 我也碰到了同样的问题，请问是如何解决的？谢谢！

已解决

你好 我也碰到了同样的问题，请问是如何解决的？谢谢！

源代码数组available_llms里面没有qwen2-vl,增加一行代码就行了：
available_llms.append("qwen2-vl-instruct")

已解决

你好 我也碰到了同样的问题，请问是如何解决的？谢谢！

源代码数组available_llms里面没有qwen2-vl,增加一行代码就行了： available_llms.append("qwen2-vl-instruct")

感谢，使用这个已经解决了，但是碰到了新的问题，在langchain-chatchat中运行qwen2-vl-instruct的时候，我想尝试一下图片问答任务，上传图片 ，输入问题后会报错：

请问你你有遇到过吗？


text:
bugfix:dev分支创建知识库必然失败的bug修复

#1977 无法重新打开
这里的复现方式：
成功启动后，在页面上创建全新的KB时必然失败
此处逻辑在查询DB无数据时，依然创建了一个新的假KB，完成后DB中没有数据，KB也没有数据
此问题与 #1976 无关，我已经将关于init_database.py脚本的PR关闭了

感谢反馈。
麻烦给我该分支的 push 权限，需要补充一些修改。

感谢反馈。 麻烦给我该分支的 push 权限，需要补充一些修改。

已经向你发送了邀请，可以直接push了

You can also [open this in GitHub Desktop](https://desktop.github.co
还是不行

! [remote rejected] bugfix-create-kb (push declined due to repository rule violations)
error: failed to push some refs to 'https://github.com/WilliamChen-luckbob/Langchain-Chatchat'

感谢反馈。 麻烦给我该分支的 push 权限，需要补充一些修改。

已经向你发送了邀请，可以直接push了

感谢反馈。 麻烦给我该分支的 push 权限，需要补充一些修改。

已经向你发送了邀请，可以直接push了

还是不行
! [remote rejected] bugfix-create-kb (push declined due to repository rule violations)
error: failed to push some refs to 'https://github.com/WilliamChen-luckbob/Langchain-Chatchat'


text:
favicon.icoがほしい

@brightflavor さん、作ってくれるとありがたい。

ファビコンくらいでしたら何とか。
マーク何にしましょう？

安直だけど『救急戦隊ゴーゴーファイブ』が浮かんだ…。

6809f57387b047069d58b08799749ab58b8aaaef 似て対応。

@brightflavor ありがとー。

@kkd
あ、ありがとうございます。UPしたのはいいけど、タグの入れ先ががわからんかったので助かりました。

authors: brightflavor kkd


text:
please add MAILFROM option not just mailto.

I need to add MAILFROM but this cookbook does not support it.

@rmoriz @schisamo @tmonk42 @btm

repo: chef-cookbooks/cron


text:
Change remote directory resource to work with domain users

Without this correction, I couldn't make the jenkins_windows_slave work when using a trusted domain account for the service.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@eguerints

Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

Thank you! I simplified this slightly and merged as 3e2343e12c1aa96f4da65b3372a483a139d3d3f5.

authors: chef-supermarket eguerints schisamo

repo: chef-cookbooks/jenkins


text:
Maven version 3.5.0 no longer in Apache mirrors

Cookbook version
5.0.1
Chef-client version
All
Platform Details
All Linux
Scenario:
Install maven with include_recipe 'maven'
Steps to Reproduce:
Attempt to converge
Expected Result:
Maven is installed
Actual Result:
Receive an error when remote_file attempts to retrieve the maven tar.gz file, as the resource is no longer hosted on the mirror.
Confirmed no 3.5.0 version at
http://apache.mirrors.tds.net/maven/maven-3/

This is fixed in 5.0.2

repo: chef-cookbooks/maven


text:
Move a2ha buildkite and expeditor pipeline into automate repo

Description
As part of repo movement of a2ha, we also have to move all the related pipeline configuration.
Acceptance-criteria
A2ha pipeline should not affect automates pipeline

PR: https://github.com/chef/automate/pull/5670

repo: chef/automate


text:
Improve LDAP search docs

Let's improve the LDAP docs page, especially the search sections.
Specific problems the customer faced:

did not know how to build the search query string into the toml
did not know how to add the group search into the filter
customer suggested that providing some examples of complex sub-searches may have helped

When we open a pr for this we should message them on community slack to encourage them to participate in the review process.

Please note that there's some more details in the original Jira issue.


text:
Add support for AWS Elasticsearch Service

Signed-off-by: Kallol Roy karoy@progress.com
:nut_and_bolt: Description: What code changed, and why?
External AWS ES Service backup fails with the error:
"Backup failed" backup_id=20210128145121 error="es-sidecar-service failed to create snapshot: rpc error:
code = Unknown desc = failed to create snapshot repository chef-automate-es6-event-feed-service for snapshot \"20210128145121\" of service \"event-feed-service\":
elasticsearch repository create request failed for repo \"chef-automate-es6-event-feed-service\";
request data: '{s3 map[base_path:automate-elasticsearch-data/chef-automate-es6-event-feed-service bucket:a2-nab-bucket compress:true]}': elastic: Error 403 (Forbidden)"

:chains: Related Resources
4645
:+1: Definition of Done
:athletic_shoe: How to Build and Test the Change
Assumptions about your AWS Elasticsearch configuration:

Must use fine grained access control
role arn must be provided. That role must be allowed to create snapshot repositories. This is done through the kibana interface.
username and password must be provided. All other requests to elasticsearch will use this for basic auth

Example Automate Configuration:
[global.v1.external.elasticsearch]
enable = true
nodes = ["https://youresdomain.us-west-2.es.amazonaws.com"]

[global.v1.external.elasticsearch.ssl]
server_name = "youresdomain.us-west-2.es.amazonaws.com"
root_cert_file = "/etc/ssl/certs/ca-bundle.crt"
[global.v1.external.elasticsearch.auth]
scheme = "aws_es"

[global.v1.external.elasticsearch.auth.aws_es]
username = "youruser"
password = "yourpassword"

[global.v1.external.elasticsearch.backup]
enable = true
location = "s3"
[global.v1.external.elasticsearch.backup.s3]
bucket = "yourbucket"
[global.v1.external.elasticsearch.backup.s3.settings]
region = "us-west-2"
role_arn = "arn:aws:iam::111111111111:role/snapshot-role"

:white_check_mark: Checklist

[ ] I have read the CONTRIBUTING document.
[ ] Tests added/updated?
[ ] Docs added/updated?
[ ] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable
Aha! Link: https://chef.aha.io/epics/SH-E-376

Backup worked successfully, but restore failed. Below are some of the error logs
s operations" backup_id=20210218183956 error="failed to import database dump from authz-service/pg_data/chef_authz_service.fc: error importing database "chef_authz_service": failed to import SQL file from "stdin", stderr: pg_restore: [archiver (db)] Error while PROCESSING TOC:\npg_restore: [archiver (db)] Error from TOC entry 3357; 0 0 COMMENT EXTENSION pgcrypto \npg_restore: [archiver (db)] could not execute query: ERROR:  must be owner of extension pgcrypto\n    Command was: COMMENT ON EXTENSION pgcrypto IS 'cryptographic functions';\n\n\n\npg_restore: [archiver (db)] Error from TOC entry 3358; 0 0 COMMENT EXTENSION "uuid-ossp" \npg_restore: [archiver (db)] could not execute query: ERROR:  must be owner of extension uuid-ossp\n    Command was: COMMENT ON EXTENSION "uuid-ossp" IS 'generate universally unique identifiers (UUIDs)';\n\n\n\nWARNING: errors ignored on restore: 2\n: exit status 1" restore_id=20210218190036
Feb 18 19:02:31 ip-10-100-101-171 hab[989]: deployment-service.default(O): time="2021-02-18T19:02:31Z" level=error msg="Failed to restore services" backup_id=20210218183956 error="failed to import database dump from authz-service/pg_data/chef_authz_service.fc: error importing database "chef_authz_service": failed to import SQL file from "stdin", stderr: pg_restore: [archiver (db)] Error while PROCESSING TOC:\npg_restore: [archiver (db)] Error from TOC entry 3357; 0 0 COMMENT EXTENSION pgcrypto \npg_restore: [archiver (db)] could not execute query: ERROR:  must be owner of extension pgcrypto\n    Command was: COMMENT ON EXTENSION pgcrypto IS 'cryptographic functions';\n\n\n\npg_restore: [archiver (db)] Error from TOC entry 3358; 0 0 COMMENT EXTENSION "uuid-ossp" \npg_restore: [archiver (db)] could not execute query: ERROR:  must be owner of extension uuid-ossp\n    Command was: COMMENT ON EXTENSION "uuid-ossp" IS 'generate universally unique identifiers (UUIDs)';\n\n\n\nWARNING: errors ignored on restore: 2\n: exit status 1" restore_id=20210218190036

@kalroy Opened similar issue. Any help would be appreciated
https://github.com/chef/automate/issues/5851

Any update on restore support in Aws Elasticsearch?

authors: Kmaralla balkarsinghkang kalroy


text:
Cannot reference machines by ID in a load_balancer

Trying to do the following will not work:
load_balancer "test" do
  machines ["test", "i-123456"]
end

If there is a machine "test", that will be correctly added to the load balancer.  But because there is no resource "i-123456" (a direct identifier) that addition fails.
My theory is that we could update the aws_instance resource to expose the option_names that would like AwsInstance with machines via the lookup options.  But that would need to be tested.

A potential workaround (I haven't tested this)...
machine "my_machine" do
  #id existing_machine.id
  action :nothing
end

load_balancer "elb" do
  machines ["my_machine"]
end

In the future if we eventually store the node object "my_machine" on the chef server, this could be unwanted charges for users (nodes cost money).  If users don't want to manage the node with chef their best solution is to have the i-123456 lookup work.  Either way, if we change the current behavior and start storing Chef objects when the id attribute is specified on a resource we should communicate to users that this could cost them money.

Great, thanks Tyler! I will definitely try the potential workaround mapping the machine/id, and see if that'll get me by for now.

Ugh, I don't think my original suggestion or my workaround will function right now.
My original suggestion won't work because the machines attribute is passed into the AWS driver method as machine_specs from https://github.com/chef/chef-provisioning/blob/master/lib/chef/provider/load_balancer.rb#L31.  So lookup_options isn't even called on them.
For the same reason, my workaround won't work either.
We could come up with a suuuuuuuper janky workaround where we pass any machines that cannot be looked up as specs into the AWS driver and then have special case handling there, but thats pretty smelly.  I would rather just introduce a fully supported aws_load_balancer resource that doesn't depend on any of the shared resources/providers in chef-provisioning.

+1 on splitting out aws_load_balancer from shared resources/providers.  We've hit usability issues because of that in #27 and #242 (maybe others I'm missing).

authors: djapg gmiranda23 tyler-ball

repo: chef/chef-provisioning-aws


text:
Chef Server should generate a full .p12/pfx file and not just a private key for the client.pem file

Motivation
As a Chef Admin / IT Admin,
I want to store my certificates for everything in the proper format in Macos Keychain or Windows Certstore
and NOT on disk,
So that my environment will be more secure.
Currently, there are customer requirements to make the Chef environment more secure. We implemented mTLS on Server as a first step to get there (chef client already supported that feature). A second, related, request is to not store any certs on disk as that creates opportunities for mayhem.
To support this we would need to be able to store the client.pem file in either Keychain on MacOS or a Windows certificate store (either the CurrentUser or LocalMachine store depending on the current security domain requirement). Note that the client.pem is a private key and not a full certificate.
Both OS stores require that you store a complete certificate and not just a private key - a private key does not contain sufficient detail for the certificate stores to validate it properly.
Therefore, in order to store the client.pem from Chef Server off-disk on the client, we will need to rethink / redesign both the format of the client.pem and how it is generated.
Specification
I have no design proposal right now, I am using this DCR to start the conversation. The one thing that must happen here, however, is that Chef Server must generate a proper .p12 file for the node and not just pass it the private key.
As we look toward moving Chef Server into a cloud environment for integration with SimpleMDM and Auth0 the conversation includes creation of a pfx file to properly identify the node to all parties concerned - Chef, SimpleMDM and Auth0. Having Chef Server create a proper p12/pfx for each node could potentially remove some of the design issues currently faced.
Downstream Impact
This is potentially going to break things but this needs to be investigated further to scope out just how minor or major the impact will be. One way to reduce the mayhem could be to allow a coexistence of both the old style (just give me the private key client.pem) and the new style (client.p12). A switch in the server.rb file could be used as the mechanism to turn that on/off.

Closing this out based on our conversation during standup. This is handled on the client side.

repo: chef/chef-server


text:
Add a note to help fix reindex errors seen in fips env when nginx['enable_non_ssl'] = false

point customers to export CSC_LB_URL=https://127.0.0.1 on versions prior to 14.5 of Chef Infra server when fips is enabled and nginx['enable_non_ssl'] = false
Signed-off-by: Prajakta Purohit prajakta@chef.io

The note needs to become a shortcode.

authors: PrajaktaPurohit kagarmoe


text:
Adding font icon for Chef logo

Here's the first cut for chef logo, as discussed here

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@mrchief

Please sign the CLA here.

Thanks @mrchief. I don't have the experience to evaluate this, but we'll get someone to look at it once some people get back from vacation after recovering from ChefConf. In the meantime, could you sign the CLA? Otherwise we can't merge this in.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

@mmzyk  Cool, thanks!

@mrchief I had some problems using it in a Ruby project out of the box because of the relative paths for the fonts. I should be able to look into what it would take to fix this sometime this week. Thanks for adding this!

@smith I was trying to follow the same conventions that existing chef stylesheets had. I might have overlooked/misunderstood something though.

One more thing you might need is to add logo-font to this list: https://github.com/mrchief/chef-web-core/blob/master/Gruntfile.js#L147

Thanks so much for your patience on this, @mrchief; we're looking at both an icon font and inline SVG for things like this. At the moment it's looking more like SVG may offer a few more options in terms of customizability, but we'll update this PR as soon as we know for sure.

Closing this, as we've decided to go with SVG sprites instead.

authors: chef-supermarket cnunciato mmzyk mrchief smith

repo: chef/chef-web-core


text:
chef-service-manager: Should it be run as Administrator?

Currently, the chef-service-manager -a install creates a service that runs as the LOCAL_SERVICE user.
This can cause problems with things like environment variables, etc. Especially if chef-client is ever run directly by the administrator.
Should the service run as Administrator? Or should chef-client refuse to run unless as LOCAL_SERVICE?
To see this you can try running chef-client via cmd as Adminstrator vs. the Service and then check it with:
knife search os:windows -a current_user

Ciao!

Hi adam, we have encountered the same issue now with having the local account being used by chef following to having a server bootstrapped whilst using Azure knife. Just to clarify, is there a way to pass any parameters to knife azure so that it will bootsrap using the right service account, as without it we have chef recipes failing to perform actions that require more access to the domain and things like importing certificates fail for instance.

@eranlevinzon, I think to understand the relevance of this particular issue to what you're seeing, we'll need answers to some of the questions below. In general, you can configure any service, including chef-client, to run as an arbitrary account using the service resource. You'd need to specify that in a recipe to make it work, and potentially restart the service after the configuration.
Here are a few additional questions that might clarify things:

What command line (minus password of course) are you using?
What response do you get?
What versions of knife-azure and knife-windows are on the workstation from which you are initiating the bootstrap?
What version of chef-client is being used on the node?

authors: adamedx docwhat eranlevinzon

repo: chef/chef


text:
tons of "Deprecation class overwrites LWRP resource" WARNING SPAM with chefspec

Description
See https://github.com/chef-cookbooks/apt/issues/163 or https://github.com/sethvargo/chefspec/issues/642
Chef Version
12.7.2-ish
Replication Case

cookbook with a custom resource
a chefspec file with at least two chef runs in it (doesn't throw it with the default unit test from chef-dk because there's only one example)
must use the ServerRunner (SoloRunner does not throw the WARN)

Client Output
stuff like this:
% rspec
[2016-03-04T13:59:11-08:00] WARN: MultipackageInternal already exists!  Deprecation class overwrites Custom resource multipackage_internal from cookbook multipackage
[2016-03-04T13:59:11-08:00] WARN: FakeTestResource already exists!  Deprecation class overwrites Custom resource fake_test_resource from cookbook fake
.

Finished in 1.73 seconds (files took 0.99219 seconds to load)
2 examples, 0 failures

ChefSpec Coverage report generated...

  Total Resources:   3
  Touched Resources: 0
  Touch Coverage:    0.0%

Untouched Resources:

  multipackage_internal[collected packages install]   multipackage/libraries/multipackage_impl.rb:63
  multipackage_internal[collected packages remove]   multipackage/libraries/multipackage_impl.rb:63
  multipackage_internal[collected packages upgrade]   multipackage/libraries/multipackage_impl.rb:63

Verified this still exists with master of chef and master of chefspec

authors: lamont-granquist tyler-ball


text:
OpenSSLError: This version of OpenSSL does not support FIPS mode - ChefDK 0.9.6-1 for Windows

Description
Clean install of Chef DK 0.9.6-1 on a Windows 10 workstation.  I'm stuck on step 3 of https://learn.chef.io/tutorials/manage-a-node/ubuntu/bring-your-own-system/set-up-your-chef-server/ which involves fetching and validating the SSL certificate from the chef server.
I've downloaded my starter kit and placed the files in a directory called learn-chef per tutorial.
I've verified the knife.rb file exist and its correct inside the .chef directory in learn-chef.
I've verified the .pem file exist in the .chef directory in learn-chef
When performing the command 'knife ssl check' or 'knife ssl fetch' inside my learn-chef directory I'm getting the following error:
ERROR: OpenSSL::OpenSSLError: This version of OpenSSL does not support FIPS mode
Thus I'm stuck on this part of the tutorial.
Chef Version
Chef Development Kit Version: 0.19.6
chef-client version: 12.15.19
delivery version: master (802e801d920ea6b6d48db735aa7c6e7a6194bea4)
berks version: 5.1.0
kitchen version: 1.13.2
Platform Version
Microsoft Windows 10 workstation chef-client 12.15.19 installed from chefdk-0.19.6-1-x86.msi package.
Replication Case

Install Chef DK on windows 10 workstation to default path
Download starter kit from Chef Server and extract it
launch Chef DK
cd to directory where starter kit files where extracted to.
perform either 'knife ssl check' or 'knife ssl fetch'

Client Output
PS G:\Git\learn-chef> knife ssl fetch
ERROR: OpenSSL::OpenSSLError: This version of OpenSSL does not support FIPS mode
PS G:\Git\learn-chef> knife ssl check
ERROR: OpenSSL::OpenSSLError: This version of OpenSSL does not support FIPS mode
Stacktrace

Thanks for filing a GitHub Issue.
At Chef, we use GitHub Issues to track bugs and feature requests. Questions like "How do I .... with Chef?" are better answered by our awesome community on the Chef mailing lists, or on StackOverflow. (Please pick only one place to ask your question, however, as it's considered impolite to post the same question to multiple forums.)
You can find information about joining and asking questions on our mailing lists here. On StackOverflow, please tag your question with the "chef" label so that it shows up in this list.
We will be closing your issue. Please get in touch with the community via the above mechanisms in order to find a solution to your problem.

Thom, did you read the issue before closing it? It seems to me you did not. This is not a "How do I...?" question. This is clearly an issue with the chef-client/knife/OpenSSL package installed by the latest Chef Development Kit for Windows.

@thommay The heck? You appear to have read the first paragraph or two and not the whole report. This isn't a "how to" request.

@jbence it was a "how to" due to non-standard system config ... see https://github.com/chef/chef/issues/5507

authors: JHBoricua jblaine shortdudey123 thommay


text:
Chef not honouring FIPS requirement

Description
https://github.com/chef/chef/blob/master/chef-config/lib/chef-config/config.rb#L1132 is not a proper FIPS fix. Ruby compiled with OpenSSL FIPS and OpenSSL.fips_mode already being true would fail a call to OpenSSL::Digest::MD5.new. Eg:
[ec2-user@ip-10-17-142-203 berkshelf]$ irb
2.4.4 :001 > require 'digest'
 => true
2.4.4 :002 > Digest::MD5.new
md5_dgst.c(82): OpenSSL internal error, assertion failed: Digest MD5 forbidden in FIPS mode!
Aborted

Chef Version
[ec2-user@ip-10-17-142-203 ~]$ chef -v
Chef Development Kit Version: 3.3.23
chef-client version: 14.5.33
delivery version: master (6862f27aba89109a9630f0b6c6798efec56b4efe)
berks version: 7.0.6
kitchen version: 1.23.2
inspec version: 2.2.112
[ec2-user@ip-10-17-142-203 ~]$

Platform Version
[ec2-user@ip-10-17-142-203 ~]$ cat /etc/*-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.6"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.6 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.6"
Red Hat Enterprise Linux Server release 7.6 (Maipo)
Red Hat Enterprise Linux Server release 7.6 (Maipo)
[ec2-user@ip-10-17-142-203 ~]$ uname -a
Linux ip-10-17-142-203.ec2.internal 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 15 17:36:42 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[ec2-user@ip-10-17-142-203 ~]$ openssl version
OpenSSL 1.0.2k-fips  26 Jan 2017

Anything more I can do to help?

that seems to date back to https://blog.chef.io/2016/03/16/fips-support-now-generally-available-in-chef-client-12-8/ at least to wit:
"A current exception for Chef is the use of MD5 hashes to uniquely identify files stored on the Chef Server. MD5 is used only to generate unique hash IDs for files, and is not used for any cryptographic purpose. Nevertheless, Chef is investigating the effort required to replace this implementation with a FIPS-compatible algorithm."

bigger issue here is that the chef-server doesn't seem to support anything other than md5 checksums -- unless that feature has been merged by the server team but the chef-side of the code was dropped and never completed -- tagging @jaym and @stevendanna to see if they know what happened there.

@frezbo does knife cookbook upload (or download) also have the same error?

I will need to do some archeology.  I know in the past we were still using MD5 in FIPS mode in Chef Server via a non-openssl implementation.

@lamont-granquist I will close this and track further in https://github.com/berkshelf/berkshelf/issues/1802.

Oops. I meant to close https://github.com/berkshelf/berkshelf/issues/1802.Fixed.
Can we track this as an RFC? @robbkidd @lamont-granquist

I think the solution to this is simply that we do not support fips-enabled chef-client on non-omnibus ruby installs.

authors: frezbo lamont-granquist stevendanna


text:
"knife bootstrap" throws an exception when "--policy-name" and "--policy-group" flags provided

Description
knife bootstrap's --policy-name and --policy-group flags do not appear to be functional; instead they cause knife to raise exceptions.
Chef Version
Encountered issue in 14.2.0 and 14.11.21.  Have not tried any other versions yet.
Platform Version
Arch Linux
Replication Case
[birdsnest ~/Work/git/chef_metadata](master|✔)[N]% knife bootstrap -i ~/.ssh/localization_rsa -N unix-766 --policy-name UNIX-766 --policy-group testing -x root --bootstrap-version=14.2.0 -VVV localhost
INFO: Using configuration from /home/jay/.chef/knife.rb
Doing old-style registration with the validation key at /home/jay/.chef/validation.pem...
Delete your validation key in order to use your user credentials instead

Connecting to localhost
TRACE: Looking for bootstrap template in /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/knife/bootstrap/templates
TRACE: Found bootstrap template in /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/knife/bootstrap/templates
ERROR: knife encountered an unexpected error
This may be a bug in the 'bootstrap' knife command or plugin
Please collect the output of this command with the `-VVV` option before filing a bug report.
Exception: NoMethodError: undefined method `empty?' for nil:NilClass

However, knife does not complain when the policy name and policy group are provided via --json-attribute-file, and bootstrap completes successfully:
[birdsnest ~/Work/git/chef_metadata](master|✔)[I]% cat nodes/unix-766.json
{
  "name": "unix-766",
  "policy_name": "UNIX-766",
  "policy_group": "testing"
}
[birdsnest ~/Work/git/chef_metadata](master|✔)[N]% knife bootstrap -i ~/.ssh/localization_rsa -N 'unix-766' -x root --json-attribute-file nodes/unix-766.json --bootstrap-version=14.2.0 localhost
Doing old-style registration with the validation key at /home/jay/.chef/validation.pem...
Delete your validation key in order to use your user credentials instead

Connecting to localhost
Enter passphrase for /home/jay/.ssh/localization_rsa:
localhost -----> Existing Chef installation detected
localhost Starting the first Chef Client run...
localhost Starting Chef Client, version 14.2.0
localhost Creating a new client identity for unix-766 using the validator key.
localhost [2019-03-21T17:19:17-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost [2019-03-21T17:19:18-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost [2019-03-21T17:19:18-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost [2019-03-21T17:19:18-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost Using policy 'UNIX-766' at revision '2937f320a7f0bf998efd13f501b1f2d4f0dcbc2745a9fb580540d5ff8fc2e1c9'
localhost [2019-03-21T17:19:18-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost [2019-03-21T17:19:18-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost resolving cookbooks for run list: ["UNIX-766::default@0.1.0 (7f1ba72)"]
localhost [2019-03-21T17:19:18-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost Synchronizing Cookbooks:
localhost   - UNIX-766 (0.1.0)
localhost Installing Cookbook Gems:
localhost Compiling Cookbooks...
localhost [2019-03-21T17:19:18-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost Converging 1 resources
localhost Recipe: UNIX-766::default
localhost   * file[/tmp/foo] action create
localhost     - create new file /tmp/foo
localhost     - update content in file /tmp/foo from none to fcde2b
localhost     --- /tmp/foo	2019-03-21 17:19:18.494413841 -0600
localhost     +++ /tmp/.chef-foo20190321-7171-1y53quo	2019-03-21 17:19:18.494413841 -0600
localhost     @@ -1 +1,2 @@
localhost     +bar
localhost     - restore selinux security context
localhost [2019-03-21T17:19:18-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost
localhost Running handlers:
localhost Running handlers complete
localhost Chef Client finished, 1/1 resources updated in 02 seconds

Client Output
see above
Stacktrace
n/a

Nevermind.  I didn't realize I still had the workaround for https://github.com/chef/chef/issues/5353 in place, which, as another user commented:

As a small side-note the monkey-patch above fixes the reported problem but seems to then break --policy-group / --policy-name options for knife bootstrap.

Since #5353 has been fixed in recent versions of Chef, I removed the workaround, which solved the problem.


text:
use --no-tty during apt-keys fro gpg - fixes #7913

Description
Since debian 9.4+ (and probably other distros having a similar GPG path level) gpg complains about the missing tty - we use this to tell gpg that no tty will be available.
I cannot think about a way how this should break anything - we simply have no tty and never had here. All we do is tell gpg upfront before it fails doing silly checks on it.
Thinking twice, if gpg right now has tried to get tty it would have failed anyway, e.g. for ncurses questions or such.
I think this strategy should be rather bullet proof. I tested this using vagrant ssh without -i and it worked, withtout --no-tty it was broken as expected
Issues Resolved

#7913

Check List

[x] New functionality includes tests
[x] All tests pass
[x] RELEASE_NOTES.md has been updated if required (not required for bugfixes, required for API changes)
[x] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

some of the tests are broken due to unrelated reasons (centos). What i would need to fix are the specs ./spec/unit/provider/apt_repository_spec.rb

Ruby: 2.5.3 Gemfile: kitchen-tests/Gemfile RSPEC_OPENSUSELEAP=42 KITCHEN_YAML=kitchen.travis.yml is broken due to other reasons, fixed code styles.
Other then that, tests are looking fine

The appveyour test seems to be failing out of very other reasons - so this PR is good to go, all other tests are passing now.

Any chance someone comments on this - its a huge blocker at least for us, since that is core and we cannot "monkey" fix this as with a cookbook. Thanks!

On the surface this looks like the correct thing, but I want to make sure this works on all the various versions of Ubuntu/Debian out there. I'll dig in today and see if there's any reason we can't merge this in.

@tas50 right now all debian/ubuntu variants are actually broken :) I tried debian > 9.3 and trusty, you cannot install any apt_repository with a key with the latest chef. So it does not get more broken then that, probably.

I think @tas50 is talking about adding the flag and the implications on older distro releases which might know what to do with that flag so causing those versions to explode.

I confirmed that this works on Ubuntu 10.04 so we should be good to merge it in without breaking legacy OS releases.

thank you for taking the time to verify the missing aspects!
is there any time scale on when this is going to be part of an release?

@tas50 @EugenMayer Is there any workaround for this issue? This is currently preventing us to bootstrap new instances.
Or is there any update as to when a new chef version will be release that fixes this?

@pieter-vanisacker i guess i have the same question. This issue also has a huge impact on docker builds, this will be quiet a wave through a lot of devops teams which are not even using chef but docker.
@pieter-vanisacker to workarround this issue i bootstrap on 9.3 initially and the upgrade on 9.6 - that works for us ( for now )

How is it possible to get this fix into our deployments? For Debian Stretch all omnibus scripts still seem to install 14.7.17 instead of 14.7.26. Chef 13.12.3 does not contain the fix either. Applying the fix to the apt_resource.rb using a cookbook does not work either, as Chef does not seem to reload those files without restarting it.

For those needing a temporary fix, this is how I resolved this, I transformed a block like this:
apt_repository 'mariadb_org_repository' do
  uri "http://mariadb.mirrors.ovh.net/MariaDB/repo/10.3/debian"
  distribution "stretch"
  components ["main"]
  key "F1656F24C74CD1D8"
  keyserver "keyserver.ubuntu.com"
end

To:
package 'software-properties-common' # necessary for add-apt-repository
key = "F1656F24C74CD1D8"
bash 'mariadb_org_repository' do
  code <<-EOH
  apt-key adv --no-tty --recv-keys --keyserver keyserver.ubuntu.com 0x#{key}
  add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://mariadb.mirrors.ovh.net/MariaDB/repo/10.3/debian stretch main'
  EOH
  not_if "apt-key adv --list-public-keys --with-fingerprint --with-colons | grep 'fpr.*#{key}'"
end

Found a way to patch the apt_repository resource in Chef and to reload it.

@kleini Well, would you mind sharing? https://xkcd.com/979/

I solved this by writing a cookbook to fix the issue within an installed Chef:
ruby_block 'fix 7913 on apt_repository resource' do
  block do
    Dir.glob('/opt/chef*/embedded/lib/ruby/gems/*/gems/chef-*/lib/chef/provider/apt_repository.rb').each do |path|
      filename = ::File.expand_path(path)
      replace = Chef::Util::FileEdit.new(filename)
      replace.search_file_replace_line(/        cmd = "apt-key adv --recv"/,
        '        cmd = "apt-key adv --no-tty --recv"')
      replace.write_file
    end
    load filename
  end
  action :run
end

@kleini Thank you!

I made a slight change to @kleini's monkeypatch, to only run on Chef 12. I can confirm it solved the issue on 12.22.5.

authors: EugenMayer cheeseplus kleini pieter-vanisacker satiani tas50 theorician ziggythehamster


text:
License

Is there a license for this code?  I am thinking about modifying it and extending it with features that I want to have.
Thank you.

Sorry for "late" response. Added license in https://github.com/chemicstry/poolserver/commit/9173e4993bff896095413f9ffccd083deed496de

repo: chemicstry/poolserver


text:
Un seul mode de voyage est proposé dans les listes de choix sur la page d 'accueil

On trouve pourtant plusieurs courseTypes dans l'admin :

la relation inverse positionnée sur les éléments manquant est typeOf au lieu de courseTypeOf

Les éléments sont bien visibles en local et en dev.
Le filtre est positionné dans le composant SearchContent
<SelectResources
  reference="Type"
  inverseSource="cdlt:typeOfCourse"
  labelId="demo-select-type-label"
  value={type}
  onChange={e => setType(e.target.value)}
  className={classes.select}
  variant={'outlined'}
  selectIcon={ChevronIcon}
/>

Mais je ne vois pas de différence entre les ressources qui pourrait expliquer l'absence en prod de certains modes de voyage dans la liste de choix :
{
  "@context": "https://data.lescheminsdelatransition.org/context.json",
  "id": "https://data.lescheminsdelatransition.org/types/compagnonage",
  "type": "cdlt:CourseType",
  "cdlt:typeOfCourse": [
    "https://data.lescheminsdelatransition.org/organizations/coop-des-territoires",
    "https://data.lescheminsdelatransition.org/places/chez-guitou",
    "https://data.lescheminsdelatransition.org/organizations/les-chemins-de-la-transition"
  ],
  "pair:label": "Compagnonage"
}

  "@context": "https://data.lescheminsdelatransition.org/context.json",
  "id": "https://data.lescheminsdelatransition.org/types/voyage-apprenant1",
  "type": "cdlt:CourseType",
  "cdlt:typeOfCourse": [
    "https://data.lescheminsdelatransition.org/events/outillage-et-electroportatif-courants-en-menuiserie",
    "https://data.lescheminsdelatransition.org/events/a",
    "https://data.lescheminsdelatransition.org/events/ecoconstruire-ou-ecorenover",
...
    "https://data.lescheminsdelatransition.org/courses/construction-durable",
    "https://data.lescheminsdelatransition.org/events/decouverte-tournage-sur-bois1",
    "https://data.lescheminsdelatransition.org/places/atelier-du-soleil-et-du-vent"
  ],
  "pair:label": "Voyage apprenant"
}

  "@context": "https://data.lescheminsdelatransition.org/context.json",
  "id": "https://data.lescheminsdelatransition.org/types/ecotourisme",
  "type": "cdlt:CourseType",
  "cdlt:typeOfCourse": [
    "https://data.lescheminsdelatransition.org/events/festival-demain-commence-ici",
    "https://data.lescheminsdelatransition.org/events/alimentation-locale-et-adaptation-au-changement-climatique1",
    "https://data.lescheminsdelatransition.org/events/repiquage-et-semis",
...
    "https://data.lescheminsdelatransition.org/events/fresque-de-l-aquaponie",
    "https://data.lescheminsdelatransition.org/events/decouverte-de-l-aquaponie-en-famille1",
    "https://data.lescheminsdelatransition.org/places/maison-de-l-avenir-comminges-pyrenees"
  ],
  "pair:label": "Voyage découverte",
  "pair:typeOf": "https://data.lescheminsdelatransition.org/courses/chemin-des-tiers-lieux-du-bocage-ornais"
}

On voit bien avant l'application du filtre que toutes les ressources "Type" sont remontées par la requête sparql :

J'ai effectué ces contrôles en étant connecté donc je ne vois pas non plus ce qui pourrait bloquer côté webacl.
Une idée @srosset81 ?

repo: chemins-de-la-transition/semapps


text:
History模式，本地dev测试，页面404！

@chen1218chen routes.js里面有history的模式，尝试使用了，但是报404错误。

请问，是我地址错误么？

http://localhost:8088/components/index.html#/portal   where is  #

@HuangMichael  There is no '#' in history mode.

@zhuyuanwen 你好请问你解决了吗？

authors: HuangMichael wxz1995 zhuyuanwen


text:
🛑 tt is down

In fb1a892, tt (https://telebot-app-serverless-i7z8-chenhaonanniubi.vercel.app/checkhealth) was down:

HTTP code: 500
Response time: 3212 ms

Resolved: tt is back up in d80b454.

repo: chenhaonanniubi/upptime


text:
🛑 tt is down

In 753565e, tt (https://telebot-app-serverless-i7z8-chenhaonanniubi.vercel.app/checkhealth) was down:

HTTP code: 500
Response time: 3924 ms

Resolved: tt is back up in e9ecf84 after 10 minutes.


text:
🛑 tt is down

In 4dfd583, tt (https://telebot-app-serverless-i7z8-chenhaonanniubi.vercel.app/checkhealth) was down:

HTTP code: 500
Response time: 2674 ms

Resolved: tt is back up in c511e57 after 10 minutes.


text:
🛑 tt is down

In ad22123, tt (https://telebot-app-serverless-i7z8-chenhaonanniubi.vercel.app/checkhealth) was down:

HTTP code: 504
Response time: 10348 ms

Resolved: tt is back up in 4039c34 after 10 minutes.


text:
🛑 tt is down

In a26d9df, tt (https://telebot-app-serverless-i7z8-chenhaonanniubi.vercel.app/checkhealth) was down:

HTTP code: 500
Response time: 2091 ms

Resolved: tt is back up in 344370f after 12 minutes.


text:
🛑 tt is down

In 9cdd92d, tt (https://telebot-app-serverless-i7z8-chenhaonanniubi.vercel.app/checkhealth) was down:

HTTP code: 500
Response time: 2965 ms

Resolved: tt is back up in bd24a40 after 13 minutes.


text:
🛑 tt is down

In a7e2a63, tt (https://telebot-app-serverless-i7z8-chenhaonanniubi.vercel.app/checkhealth) was down:

HTTP code: 500
Response time: 3031 ms

Resolved: tt is back up in 9c0cfbf after 10 minutes.


text:
🛑 tt is down

In 910bc7f, tt (https://telebot-app-serverless-i7z8-chenhaonanniubi.vercel.app/checkhealth) was down:

HTTP code: 500
Response time: 7780 ms

Resolved: tt is back up in f1f563a after 26 minutes.


text:
compiling error for SCIS latex template

Thanks for your excellent work! I am a newer ready to submit SCIS journal, but fail to compile the official latex template on my own computer, even following some instructions on zhihu. Could you give me some advice on your latex compiler configuration?

I'm sorry, I just saw your question.

authors: chenhaoxing rogercmq

repo: chenhaoxing/SSFormers


text:
Update aws-java-sdk-bundle to 1.12.269

Updates com.amazonaws:aws-java-sdk-bundle from 1.12.260 to 1.12.269.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-bundle" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-bundle" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #2271.

repo: chenharryhua/nanjin


text:
copy example to others,packr load templates error:CreateFile D:...

Compile example  and test the exe file on others
 packr load templates error:CreateFile D:\Go\src\github.com\chenjiandongx\go-echarts\templates\routers.html
the Path in  others PC  "...\go-echarts\templates\routers.html" cannot find .
Why is absolute path rather than relative path?
Can't I copy the past together and run it locally?
package templates

import (
	"io/ioutil"
	"log"
	"net/http"

	"github.com/gobuffalo/packr"
)

var BaseTpl, ChartTpl, HeaderTpl, PageTpl, RoutersTpl string

func init() {
	box := packr.NewBox(".")

	var err error
	BaseTpl, err = box.FindString("base.html")
	ChartTpl, err = box.FindString("chart.html")
	HeaderTpl, err = box.FindString("header.html")
	PageTpl, err = box.FindString("page.html")
	RoutersTpl, err = box.FindString("routers.html")

	if err != nil {
		log.Printf("packr load templates error: %v", err)
	}
}

ps:  Tracing request for /favicon.ico
I didn't find this icon on the page. Does it work?

Try executing the script file first
Linux/MacOS
$ cd $GOPATH/src/github.com/chenjiandongx/go-echarts
$ ./doPackr.sh

Windows
$ cd %GOPATH%\src\github.com\chenjiandongx\go-echarts
$ doPackr.bat

authors: ElectricBubble robinsoon

repo: chenjiandongx/go-echarts


text:
🛑 Chequeado is down

In 42a6dc4, Chequeado (https://chequeado.com) was down:

HTTP code: 502
Response time: 9069 ms

Resolved: Chequeado is back up in 369db21.

repo: chequeado/status


text:
index1 = lcnn_line_map[idx, 0] IndexError: index 0 is out of bounds for axis 1 with size 0

Hi,
I 've create my own dataset in wireframe format but made a preprocessed with wireframe.py in L-CNN github. There is no error during the preprocessed but when I tried to train with Hawpv3, I had this issue :
Traceback (most recent call last):
File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/project_ghent/HAWP/hawp/ssl/train.py", line 233, in
main()
File "/project_ghent/HAWP/hawp/ssl/train.py", line 145, in main
train(model, train_loader, optimizer, scheduler, loss_reducer, arguments, output_dir)
File "/project_ghent/HAWP/hawp/ssl/train.py", line 170, in train
for it, data in enumerate(train_loader):
File "/opt/conda/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 521, in next
data = self._next_data()
File "/opt/conda/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data
return self._process_data(data)
File "/opt/conda/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data
data.reraise()
File "/opt/conda/lib/python3.9/site-packages/torch/_utils.py", line 425, in reraise
raise self.exc_type(msg)
IndexError: Caught IndexError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/opt/conda/lib/python3.9/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
data = fetcher.fetch(index)
File "/opt/conda/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/opt/conda/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/project_ghent/HAWP/hawp/ssl/datasets/wireframe_dataset.py", line 1341, in getitem
data = self.train_preprocessing(data)
File "/project_ghent/HAWP/hawp/ssl/datasets/wireframe_dataset.py", line 871, in train_preprocessing
line_map_neg = self.convert_line_map(line_neg, num_junctions)
File "/project_ghent/HAWP/hawp/ssl/datasets/wireframe_dataset.py", line 667, in convert_line_map
index1 = lcnn_line_map[idx, 0]
IndexError: index 0 is out of bounds for axis 1 with size 0
I saw there was empty Lneg (cause only one line in a picture for the train maybe) I don't know if it came from this variable. What do you suggest ?
Thank in advance !

The problem came from the shape of Lneg but I don't understand why
Example from my train:
lneg (120, 2, 3)
Lneg (120, 0, 3)
lpos (22, 2, 3)
Lpos (22, 2)
The original code from wireframe.py:
for i0, i1 in combinations(range(len(junc)), 2):
if frozenset([i0, i1]) not in lineset:
v0, v1 = junc[i0], junc[i1]
vint0, vint1 = to_int(v0[:2] / 2), to_int(v1[:2] / 2)  #
rr, cc, value = skimage.draw.line_aa(*vint0, *vint1)
lneg.append([v0, v1, i0, i1, np.average(np.minimum(value, llmap[rr, cc]))])
assert len(lneg)!=0
lneg.sort(key=lambda l: -l[-1])
lneg = np.array([l[:2] for l in lneg[:2000]], dtype=np.float32)
Lneg = np.array([l[2:4] for l in lneg][:4000], dtype=int)
print('lneg',np.shape(lneg))
print('Lneg',np.shape(Lneg))
junc = np.array(junc, dtype=np.float32)
Lpos = np.array(lnid, dtype=int)
print('lpos',np.shape(lpos))
print('Lpos',np.shape(Lpos))
lpos = np.array(lpos, dtype=np.float32)
Have you got a solution ?

Hi @aquexexl, the data format of HAWPv3  would be different from the HAWPv2 because I wanted to avoid any mistakes in using human-labeled annotations for self-supervised learning. So, if you want to use the HAWPv3 model in the v2 pipeline, a better way should be to copy the model files to the v2 directory.
For the negative example used in L-CNN, it was used in our HAWPv1 (the CVPR version). But for HAWPv2 and HAWPv3, the negative examples were not used. You can safely set an empty or a dummy negative example to adapt the data format.
Sorry for the late reply, but I am suffering from a difficult time in my life. Hope my reply can provide some information for you.

Thank you for your answer,
I solved the problem with Lneg, but in your trainv3, it expected line_map in the tensor, but I only have line_map_pos or line_map_neg. Must I force line_map_pos ?
Traceback (most recent call last):
File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/project_ghent/HAWP/hawp/ssl/train.py", line 232, in
main()
File "/project_ghent/HAWP/hawp/ssl/train.py", line 145, in main
train(model, train_loader, optimizer, scheduler, loss_reducer, arguments, output_dir)
File "/project_ghent/HAWP/hawp/ssl/train.py", line 178, in train
loss_dict, extra_info = model(images,annotations)
File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "/project_ghent/HAWP/hawp/ssl/models/detector.py", line 358, in forward
return self.forward_train(images, annotations=annotations)
File "/project_ghent/HAWP/hawp/ssl/models/detector.py", line 365, in forward_train
targets , metas = self.hafm_encoder(annotations)
File "/project_ghent/HAWP/hawp/ssl/models/hafm.py", line 24, in call
edge_indices = annotations['line_map'][batch_id].triu().nonzero()
KeyError: 'line_map'

authors: aquexexl cherubicXN

repo: cherubicXN/hawp


text:
Create a proper "no location permission granted" notification.

Just fill in stuff here: GeoChecker.java#L98-L106

A comment about this , I am not sure if such a thing you wanted to achieve.


text:
chore: Use MegaLinter

This might not work right away...

For info, if this is merged and works well, we could consider also using it for chezmoi, given that the repo contains Go/Markdown/Python/PowerShell/Shell/YAML/etc. files.

I'd rather configure individual linters than use MegaLinter. Reasons:

We can update individual linters more easily, instead of having to wait for MegaLinter bulk updates. It's easier to stay on top of multiple small changes than a few, occasional large ones.
Totally subjective, but MegaLinter is just so terribly ugly. Its config files, its output, its interface... It makes my eyes hurt.
Biased, but I don't want to have to install NodeJS on any of my systems due to npm hell and NodeJS regularly breaking backwards compatibility.

@twpayne Valid points. Would you prefer if rework this PR to use individual linters?
The markdown linter is there because I have some (rough) initial documentation ready.

Would you prefer if rework this PR to use individual linters?

Yes please!
Also, please consider adding the Markdown linters to twpayne/chezmoi.

authors: bradenhilton twpayne

repo: chezmoi/templatefuncs


text:
table headings should not be centered

https://github.com/chharvey/xmeter/blob/d3991d3ba89dce56fd46322f8aa0946fed87b139/css/src/_base.less#L240
remove opinionated text-align: center from th elements. table headings should be aligned with their data.
https://alistapart.com/article/web-typography-tables#section4

 xmeter v6.2.0

repo: chharvey/xmeter


text:
The docker image of chialab/php:7.4-apache needs a rebuild to use latest 2.0.x composer version.

The current 2.0x version has an issue with the package laminas-dependency-plugin:
$ composer install --prefer-dist --no-ansi --no-interaction --no-progress --no-scripts --no-dev --no-autoloader
Loading composer repositories with package information
Installing dependencies from lock file
[ErrorException]
assert(): assert($rewriter instanceof DependencySolvingCapableInterface) failed
When updating the composer version this is resolved.

Thank you for reporting this! I'm triggering a rebuild straight away.
I was also wondering whether we should ship separate images for Composer 1.x and 2.x, or have both like composer1 and composer2, with composer being a symlink to the latter. But I'm opening another issue for this.

It was already mentioned in the linked issue, but the build process is temporarily broken due to Composer 2 rightfully refusing to install hirak/prestissimo plugin. Once the fix will be applied, this issue can be closed too.

authors: fquffio pazion

repo: chialab/docker-php


text:
set up Google Analytics

Overview
Adds and configures gatsby-plugin-google-gtag and configuration for Google Analytics
Relates to #73
Notes
This plugin required node version >=14.15.0. Both GitHub Actions and Netlify needed to be updated to use this newer version (was 12.x)

sets node version for Netlify builds in .nvmrc
updates node version to 15.x for GitHub actions tests in .github/workflows/test.yml

Also, related to #75, adds packack-lock.json to ignored files
Testing Instructions

this won't be able to be tested until it is deployed on the production URL

This looks great, all makes sense. @derekeder, one small thing, hating to be that guy but since we're using analytics should we make a super quick privacy policy page?

authors: derekeder nofurtherinformation

repo: chihacknight/decarbonize-my-state