Unexpected download of "-plugin"

Issues and Contributing
Thanks to #348 and #502 I was able to get plugins installed and Jenkins running. But all of a sudden when I ran the same command and then get this error that points to saying that the "-plugin" wasn't present. I don't know why this error keeps popping up even though it was all working.
Docker commands that you execute
docker run -p 8085:8080 --rm --name myjenkins myjenkins:latest
and the contents in the Dockerfile is as follows:
   FROM jenkins:2.60.1
   MAINTAINER Srini<EMAIL_ADDRESS>
   ENV JAVA_OPTS="-Djenkins.install.runSetupWizard=false"

   COPY plugins.txt /usr/share/jenkins/ref/plugins.txt

   RUN xargs /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt

Actual result
The error which I notice is marked here.
Downloading plugin: -plugin from https://updates.jenkins.io/2.60/latest/-plugin.hpi
 > matrix-auth depends on cloudbees-folder:5.2.2;resolution:=optional,icon-shim:2.0.3
Skipping optional dependency cloudbees-folder
 > cloudbees-folder depends on credentials:2.1.11;resolution:=optional
Skipping optional dependency credentials
 > pipeline-stage-step depends on workflow-step-api:2.1,workflow-api:1.15
 > pipeline-github-lib depends on workflow-cps-global-lib:2.5,git:3.0.2
 > pipeline-build-step depends on workflow-step-api:2.3,workflow-support:2.6,workflow-api:2.3
Failed to download plugin:  or -plugin

Anyway the log output is mentioned below:
Creating initial locks...
Analyzing war...
Using version-specific update center: https://updates.jenkins.io/2.60...
Downloading plugins...
Downloading plugin: bouncycastle-api from https://updates.jenkins.io/2.60/latest/bouncycastle-api.hpi
Downloading plugin: cloudbees-folder from https://updates.jenkins.io/2.60/latest/cloudbees-folder.hpi
Downloading plugin: ldap from https://updates.jenkins.io/2.60/latest/ldap.hpi
Downloading plugin: matrix-auth from https://updates.jenkins.io/2.60/latest/matrix-auth.hpi
Downloading plugin: windows-slaves from https://updates.jenkins.io/2.60/latest/windows-slaves.hpi
Downloading plugin: antisamy-markup-formatter from https://updates.jenkins.io/2.60/latest/antisamy-markup-formatter.hpi
Downloading plugin: external-monitor-job from https://updates.jenkins.io/2.60/latest/external-monitor-job.hpi
Downloading plugin: junit from https://updates.jenkins.io/2.60/latest/junit.hpi
Downloading plugin: icon-shim from https://updates.jenkins.io/2.60/latest/icon-shim.hpi
Downloading plugin: pam-auth from https://updates.jenkins.io/2.60/latest/pam-auth.hpi
Downloading plugin: structs from https://updates.jenkins.io/2.60/latest/structs.hpi
Downloading plugin: display-url-api from https://updates.jenkins.io/2.60/latest/display-url-api.hpi
Downloading plugin: matrix-project from https://updates.jenkins.io/2.60/latest/matrix-project.hpi
Downloading plugin: mailer from https://updates.jenkins.io/2.60/latest/mailer.hpi
Downloading plugin: build-timeout from https://updates.jenkins.io/2.60/latest/build-timeout.hpi
Downloading plugin: workflow-api from https://updates.jenkins.io/2.60/latest/workflow-api.hpi
Downloading plugin: scm-api from https://updates.jenkins.io/2.60/latest/scm-api.hpi
Downloading plugin: workflow-step-api from https://updates.jenkins.io/2.60/latest/workflow-step-api.hpi
Downloading plugin: plain-credentials from https://updates.jenkins.io/2.60/latest/plain-credentials.hpi
Downloading plugin: timestamper from https://updates.jenkins.io/2.60/latest/timestamper.hpi
Downloading plugin: script-security from https://updates.jenkins.io/2.60/latest/script-security.hpi
Downloading plugin: momentjs from https://updates.jenkins.io/2.60/latest/momentjs.hpi
Downloading plugin: pipeline-rest-api from https://updates.jenkins.io/2.60/latest/pipeline-rest-api.hpi
Downloading plugin: durable-task from https://updates.jenkins.io/2.60/latest/durable-task.hpi
Downloading plugin: token-macro from https://updates.jenkins.io/2.60/latest/token-macro.hpi
Downloading plugin: pipeline-build-step from https://updates.jenkins.io/2.60/latest/pipeline-build-step.hpi
Downloading plugin: pipeline-model-api from https://updates.jenkins.io/2.60/latest/pipeline-model-api.hpi
Downloading plugin: resource-disposer from https://updates.jenkins.io/2.60/latest/resource-disposer.hpi
Downloading plugin: pipeline-stage-step from https://updates.jenkins.io/2.60/latest/pipeline-stage-step.hpi
Downloading plugin: pipeline-input-step from https://updates.jenkins.io/2.60/latest/pipeline-input-step.hpi
Downloading plugin: jquery-detached from https://updates.jenkins.io/2.60/latest/jquery-detached.hpi
Downloading plugin: pipeline-milestone-step from https://updates.jenkins.io/2.60/latest/pipeline-milestone-step.hpi
Downloading plugin:  from https://updates.jenkins.io/2.60/latest/.hpi
Downloading plugin: mapdb-api from https://updates.jenkins.io/2.60/latest/mapdb-api.hpi
Downloading plugin: handlebars from https://updates.jenkins.io/2.60/latest/handlebars.hpi
Downloading plugin: pipeline-github-lib from https://updates.jenkins.io/2.60/latest/pipeline-github-lib.hpi
Downloading plugin: ssh-slaves from https://updates.jenkins.io/2.60/latest/ssh-slaves.hpi
Downloading plugin: jackson2-api from https://updates.jenkins.io/2.60/latest/jackson2-api.hpi
Downloading plugin: github from https://updates.jenkins.io/2.60/latest/github.hpi
Downloading plugin: email-ext from https://updates.jenkins.io/2.60/latest/email-ext.hpi
Downloading plugin: git from https://updates.jenkins.io/2.60/latest/git.hpi
Downloading plugin: github-api from https://updates.jenkins.io/2.60/latest/github-api.hpi
Downloading plugin: github-branch-source from https://updates.jenkins.io/2.60/latest/github-branch-source.hpi
Downloading plugin: pipeline-graph-analysis from https://updates.jenkins.io/2.60/latest/pipeline-graph-analysis.hpi
Downloading plugin: workflow-scm-step from https://updates.jenkins.io/2.60/latest/workflow-scm-step.hpi
Downloading plugin: git-client from https://updates.jenkins.io/2.60/latest/git-client.hpi
Downloading plugin: pipeline-model-definition from https://updates.jenkins.io/2.60/latest/pipeline-model-definition.hpi
Downloading plugin: ws-cleanup from https://updates.jenkins.io/2.60/latest/ws-cleanup.hpi
Downloading plugin: credentials from https://updates.jenkins.io/2.60/latest/credentials.hpi
Downloading plugin: ace-editor from https://updates.jenkins.io/2.60/latest/ace-editor.hpi
Downloading plugin: pipeline-stage-tags-metadata from https://updates.jenkins.io/2.60/latest/pipeline-stage-tags-metadata.hpi
Downloading plugin: pipeline-model-declarative-agent from https://updates.jenkins.io/2.60/latest/pipeline-model-declarative-agent.hpi
Downloading plugin: gradle from https://updates.jenkins.io/2.60/latest/gradle.hpi
Downloading plugin: workflow-cps from https://updates.jenkins.io/2.60/latest/workflow-cps.hpi
Downloading plugin: workflow-aggregator from https://updates.jenkins.io/2.60/latest/workflow-aggregator.hpi
Downloading plugin: credentials-binding from https://updates.jenkins.io/2.60/latest/credentials-binding.hpi
Downloading plugin: docker-commons from https://updates.jenkins.io/2.60/latest/docker-commons.hpi
Downloading plugin: docker-workflow from https://updates.jenkins.io/2.60/latest/docker-workflow.hpi
Downloading plugin: workflow-job from https://updates.jenkins.io/2.60/latest/workflow-job.hpi
Downloading plugin: subversion from https://updates.jenkins.io/2.60/latest/subversion.hpi
Downloading plugin: ssh-credentials from https://updates.jenkins.io/2.60/latest/ssh-credentials.hpi
Downloading plugin: branch-api from https://updates.jenkins.io/2.60/latest/branch-api.hpi
Downloading plugin: pipeline-model-extensions from https://updates.jenkins.io/2.60/latest/pipeline-model-extensions.hpi
Downloading plugin: authentication-tokens from https://updates.jenkins.io/2.60/latest/authentication-tokens.hpi
Downloading plugin: git-server from https://updates.jenkins.io/2.60/latest/git-server.hpi
Downloading plugin: workflow-basic-steps from https://updates.jenkins.io/2.60/latest/workflow-basic-steps.hpi
Downloading plugin: workflow-durable-task-step from https://updates.jenkins.io/2.60/latest/workflow-durable-task-step.hpi
Downloading plugin: workflow-support from https://updates.jenkins.io/2.60/latest/workflow-support.hpi
Downloading plugin: pipeline-stage-view from https://updates.jenkins.io/2.60/latest/pipeline-stage-view.hpi
Downloading plugin: ant from https://updates.jenkins.io/2.60/latest/ant.hpi
Downloading plugin: workflow-multibranch from https://updates.jenkins.io/2.60/latest/workflow-multibranch.hpi
Downloading plugin: workflow-cps-global-lib from https://updates.jenkins.io/2.60/latest/workflow-cps-global-lib.hpi
Downloading plugin: -plugin from https://updates.jenkins.io/2.60/latest/-plugin.hpi
 > matrix-auth depends on cloudbees-folder:5.2.2;resolution:=optional,icon-shim:2.0.3
Skipping optional dependency cloudbees-folder
 > cloudbees-folder depends on credentials:2.1.11;resolution:=optional
Skipping optional dependency credentials
 > pipeline-stage-step depends on workflow-step-api:2.1,workflow-api:1.15
 > pipeline-github-lib depends on workflow-cps-global-lib:2.5,git:3.0.2
 > pipeline-build-step depends on workflow-step-api:2.3,workflow-support:2.6,workflow-api:2.3
Failed to download plugin:  or -plugin
 > pipeline-graph-analysis depends on workflow-api:2.17,workflow-cps:2.31,workflow-job:2.0,workflow-step-api:2.10,workflow-support:2.14,pipeline-input-step:2.0,pipeline-stage-step:2.2
 > workflow-job depends on workflow-api:2.15,workflow-step-api:2.10,workflow-support:2.14
 > pipeline-input-step depends on workflow-api:2.6,workflow-step-api:2.5,workflow-support:2.10
 > ssh-slaves depends on credentials:2.1.2,ssh-credentials:1.6.1
 > ldap depends on mailer:1.20
 > ws-cleanup depends on workflow-durable-task-step:2.4,matrix-project:1.7.1,resource-disposer:0.3,structs:1.5
 > junit depends on structs:1.2
 > authentication-tokens depends on credentials:1.22
 > github-branch-source depends on github:1.26.0,credentials:2.1.12,display-url-api:0.1,git:3.4.0,github-api:1.86,scm-api:2.2.0,structs:1.9
 > plain-credentials depends on credentials:2.1.5
 > pipeline-milestone-step depends on workflow-api:2.11,workflow-step-api:2.9
 > workflow-api depends on workflow-step-api:2.10,scm-api:1.3
 > workflow-scm-step depends on workflow-step-api:2.9
 > pipeline-model-extensions depends on workflow-cps:2.33,workflow-job:2.11,pipeline-model-api:1.1.8
 > pipeline-stage-view depends on pipeline-rest-api:2.8,workflow-job:2.0,handlebars:1.1,jquery-detached:1.2.1,momentjs:1.1
 > workflow-basic-steps depends on workflow-api:2.16,workflow-step-api:2.12,mailer:1.18,structs:1.6
 > workflow-aggregator depends on pipeline-input-step:2.5,workflow-job:2.9,workflow-basic-steps:2.3,workflow-durable-task-step:2.8,workflow-api:2.8,workflow-cps:2.24,workflow-support:2.12,workflow-cps-global-lib:2.5,workflow-multibranch:2.9.2,pipeline-stage-view:2.4,workflow-scm-step:2.3,workflow-step-api:2.7,pipeline-model-definition:1.0,pipeline-stage-step:2.2,pipeline-build-step:2.4,pipeline-milestone-step:1.3
 > scm-api depends on structs:1.9
 > workflow-multibranch depends on workflow-api:2.15,workflow-cps:2.32,workflow-job:2.10,workflow-scm-step:2.4,workflow-step-api:2.10,workflow-support:2.14,branch-api:2.0.7,cloudbees-folder:5.18,scm-api:2.0.7,script-security:1.26,structs:1.7
 > gradle depends on structs:1.3
 > matrix-project depends on junit:1.20,script-security:1.13
 > workflow-durable-task-step depends on workflow-api:2.8,workflow-step-api:2.7,workflow-support:2.13,durable-task:1.14,script-security:1.25
 > workflow-step-api depends on structs:1.5
 > credentials depends on structs:1.7
 > ssh-credentials depends on credentials:2.1.0
 > workflow-support depends on workflow-api:2.11,workflow-step-api:2.9,script-security:1.26
 > timestamper depends on workflow-step-api:1.7;resolution:=optional
Skipping optional dependency workflow-step-api
 > mailer depends on display-url-api:1.0
 > docker-commons depends on icon-shim:1.0.3,authentication-tokens:1.1,credentials:2.1.11,credentials-binding:1.12
 > email-ext depends on workflow-job:1.10;resolution:=optional,workflow-step-api:1.10;resolution:=optional,config-file-provider:2.15.6;resolution:=optional,junit:1.2,mailer:1.5,matrix-project:1.4,script-security:1.27,token-macro:2.0,analysis-core:1.54;resolution:=optional
Skipping optional dependency workflow-job
 > credentials-binding depends on workflow-step-api:2.9,credentials:2.1.7,plain-credentials:1.3,structs:1.5
Skipping optional dependency workflow-step-api
Skipping optional dependency config-file-provider
Skipping optional dependency analysis-core
 > ant depends on structs:1.3
 > github-api depends on jackson2-api:2.7.3
 > branch-api depends on cloudbees-folder:6.1.0,scm-api:2.2.0,structs:1.9
 > pipeline-model-definition depends on workflow-api:2.16,workflow-basic-steps:2.3,workflow-cps-global-lib:2.7,workflow-cps:2.33,workflow-durable-task-step:2.5,workflow-multibranch:2.9.2,workflow-scm-step:2.3,workflow-support:2.14,credentials-binding:1.11,docker-workflow:1.9,pipeline-stage-step:2.2,scm-api:1.3,pipeline-model-api:1.1.8,pipeline-model-declarative-agent:1.1.1,pipeline-model-extensions:1.1.8,pipeline-stage-tags-metadata:1.1.8
 > docker-workflow depends on workflow-cps:2.25,workflow-durable-task-step:2.8,docker-commons:1.5
 > workflow-cps-global-lib depends on workflow-cps:2.30,workflow-scm-step:2.4,cloudbees-folder:5.12,git-client:2.3.0,git-server:1.7,scm-api:2.1.1,script-security:1.27
 > pipeline-rest-api depends on workflow-api:2.15,workflow-job:2.0,workflow-step-api:2.10,workflow-support:2.14,pipeline-graph-analysis:1.1,pipeline-input-step:2.0,pipeline-stage-step:2.2
 > github depends on credentials:2.1.8,display-url-api:2.0,git:2.4.0,github-api:1.80,plain-credentials:1.1,scm-api:2.0.3,token-macro:1.11
 > pipeline-model-declarative-agent depends on pipeline-model-extensions:1.1.1
 > workflow-cps depends on workflow-api:2.16,workflow-scm-step:2.4,workflow-step-api:2.10,workflow-support:2.14,scm-api:2.0.8,script-security:1.29,structs:1.7,support-core:2.32;resolution:=optional,ace-editor:1.0.1,jquery-detached:1.2.1
 > build-timeout depends on token-macro:1.5.1,naginator:1.16;resolution:=optional
Skipping optional dependency naginator
Skipping optional dependency support-core
 > pipeline-model-api depends on workflow-step-api:2.9,structs:1.5
 > subversion depends on workflow-scm-step:1.14.2,credentials:2.1.11,mapdb-api:<IP_ADDRESS>,scm-api:2.0.8,ssh-credentials:1.6.1
 > git-server depends on git-client:1.11.0
 > git-client depends on credentials:2.1.13,ssh-credentials:1.13,structs:1.6
 > git depends on workflow-scm-step:1.14.2,credentials:2.1.13,git-client:2.4.0,mailer:1.18,matrix-project:1.7.1,parameterized-trigger:2.33;resolution:=optional,promoted-builds:2.27;resolution:=optional,scm-api:2.2.0,ssh-credentials:1.13,structs:1.9,token-macro:1.12.1;resolution:=optional
Skipping optional dependency parameterized-trigger
Skipping optional dependency promoted-builds
Skipping optional dependency token-macro

WAR bundled plugins:

Installed plugins:
ace-editor:1.1
ant:1.5
antisamy-markup-formatter:1.5
authentication-tokens:1.3
bouncycastle-api:2.16.1
branch-api:2.0.11
build-timeout:1.18
cloudbees-folder:6.1.0
credentials-binding:1.12
credentials:2.1.14
display-url-api:2.0
docker-commons:1.8
docker-workflow:1.12
durable-task:1.14
email-ext:2.58
external-monitor-job:1.7
git-client:2.4.6
git-server:1.7
git:3.4.1
github-api:1.86
github-branch-source:2.2.2
github:1.27.0
gradle:1.27.1
handlebars:1.1.1
icon-shim:2.0.3
jackson2-api:2.7.3
jquery-detached:1.2.1
junit:1.20
ldap:1.16
mailer:1.20
mapdb-api:<IP_ADDRESS>
matrix-auth:1.7
matrix-project:1.11
momentjs:1.1.1
pam-auth:1.3
pipeline-build-step:2.5.1
pipeline-github-lib:1.0
pipeline-graph-analysis:1.4
pipeline-input-step:2.7
pipeline-milestone-step:1.3.1
pipeline-model-api:1.1.8
pipeline-model-declarative-agent:1.1.1
pipeline-model-definition:1.1.8
pipeline-model-extensions:1.1.8
pipeline-rest-api:2.8
pipeline-stage-step:2.2
pipeline-stage-tags-metadata:1.1.8
pipeline-stage-view:2.8
plain-credentials:1.4
resource-disposer:0.6
scm-api:2.2.0
script-security:1.29.1
ssh-credentials:1.13
ssh-slaves:1.20
structs:1.9
subversion:2.9
timestamper:1.8.8
token-macro:2.1
windows-slaves:1.3.1
workflow-aggregator:2.5
workflow-api:2.18
workflow-basic-steps:2.6
workflow-cps-global-lib:2.8
workflow-cps:2.36.1
workflow-durable-task-step:2.12
workflow-job:2.12.1
workflow-multibranch:2.16
workflow-scm-step:2.6
workflow-step-api:2.12
workflow-support:2.14
ws-cleanup:0.34
Some plugins failed to download! Not downloaded:

Expected outcome
I do not have the expected outcome as log output. But I am certain that this should come out with Jenkins running at 8085 with all installed plugins.

NO
Output of docker version
Docker version 17.03.1-ce, build c6d412e
Other relevant information
Contents in the plugins.txt file
bouncycastle-api cloudbees-folder structs junit antisamy-markup-formatter pam-auth windows-slaves display-url-api mailer ldap token-macro external-monitor-job icon-shim matrix-auth script-security matrix-project build-timeout credentials workflow-step-api plain-credentials credentials-binding timestamper scm-api workflow-api workflow-support durable-task workflow-durable-task-step resource-disposer ws-cleanup ant gradle pipeline-milestone-step jquery-detached ace-editor workflow-scm-step workflow-cps pipeline-input-step pipeline-stage-step workflow-job pipeline-graph-analysis pipeline-rest-api handlebars momentjs pipeline-stage-view pipeline-build-step pipeline-model-api pipeline-model-extensions ssh-credentials git-client git-server workflow-cps-global-lib branch-api workflow-multibranch authentication-tokens docker-commons docker-workflow pipeline-stage-tags-metadata pipeline-model-declarative-agent workflow-basic-steps pipeline-model-definition workflow-aggregator jackson2-api github-api git github github-branch-source pipeline-github-lib mapdb-api subversion ssh-slaves email-ext

I am definitely sure this is a WORKAROUND and not a solution.
In the Dockerfile I added the line USER root before I passed the plugins.txt as argument to install-plugins.sh
So, the updated Dockerfile looks like this:
   FROM jenkins:2.60.1
   MAINTAINER Srini<EMAIL_ADDRESS>   ENV JAVA_OPTS="-Djenkins.install.runSetupWizard=false"

   COPY plugins.txt /usr/share/jenkins/ref/plugins.txt
   USER root
   RUN xargs /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt
   RUN ["apt-get", "update"]
   RUN ["apt-get", "install", "-y", "vim"]
   USER jenkins

I didn't face any problem regarding the download of -plugin

Can you remove the last newline from plugins.txt and check again? It looks like the script is reading an empty line at the end…
Henk van Voorthuijsen

On 22 Jul 2017, at 00:33, Srinivasan Rajappa<EMAIL_ADDRESS>wrote:
I am definitely sure this is a WORKAROUND and not a solution.
In the Dockerfile I added the line USER root before I passed the plugins.txt as argument to install-plugins.sh
So, the updated Dockerfile looks like this:
FROM jenkins:2.60.1
MAINTAINER Srini<EMAIL_ADDRESS>ENV JAVA_OPTS="-Djenkins.install.runSetupWizard=false"
COPY plugins.txt /usr/share/jenkins/ref/plugins.txt
USER root
RUN xargs /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt
RUN ["apt-get", "update"]
RUN ["apt-get", "install", "-y", "vim"]
USER jenkins
I didn't face any problem regarding the download of -plugin
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/jenkinsci/docker/issues/535#issuecomment-317127895, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuf2ObDTvFGQPpRsgXUGic4d7FQV2DHks5sQSdDgaJpZM4OezUL.


nfdump: init at 1.6.15

Motivation for this change
This PR adds the nfdump (old sourceforge page is here) tool for working with netflow/IPFIX data for networking.
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I guess you can squash these changes down to one commit.

Sorry for the lack of response on this, I squashed the commits and pushed it just now.

Thanks!


Problems downloading an empty file

Hi,
I'm currently trying to update from v1.0.5 to v1.4.1 and experience some problems when downloading an empty file from the ftp server.
I've tried to debug this issue and found the following:

The error occurs here: https://github.com/eclipse-ecal/fineftp-server/blob/master/fineftp-server/src/ftp_session.cpp#L535
When I follow the const auto file = ReadableFile::get(local_path); call right before, I found that the line
https://github.com/eclipse-ecal/fineftp-server/blob/v1.4.1/fineftp-server/src/unix/file_man.cpp#L66 fails.
I then checked the man-page of mmap (https://man7.org/linux/man-pages/man2/mmap.2.html) and found that
The length argument specifies the length of the mapping (which must be greater than 0). The variable st.st_size is actually 0, so I think, that this is the reason the call fails.

Would it make sense to exclude this check for empty files?
Or do I have to configure something in my request (I'm using curl) to avoid this behaviour?
In v1.0.5 everything works fine.
I hacked something on my machine that fixes the issue for me:
  void* map_start = nullptr;
  if(st.st_size > 0){
  map_start = ::mmap(nullptr, st.st_size, PROT_READ, MAP_SHARED, handle, 0);
    if (MAP_FAILED == map_start)
    {
      ::close(handle);
      return {};
    }
  }

...but I'm a bit concerned that the null-pointer is put into the file struct later on.
Thanks and best regards
oz

Thanks for reporting! I was able to reproduce the issue on Windows, too. I created a GTest for that specific case which currently fails. But I guess it will be an easy fix with the code your provided.

Thanks for fixing this so quickly!

The issue was introduced with fineFTP 1.4.0, where we switched to memory-mapped files for performance reasons. The old 1.0.5 used a different technique to read files, so that bug didn't exist there.
I released fineFTP 1.4.2, which solves the empty-file issue.


GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

Getting GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications. when running sqlcl system/oracle on a new system.
CentOS 7.2 on Digital Ocean
Suggestion from https://ask.fedoraproject.org/en/question/50588/glib-gio-message-what-is-it/ yum install dconf dconf-editor

~/.anaconda3/bin/gsettings and renamed it as ~/.anaconda3/bin/gsettings_old


Fix custom facebook

Proposed changes:

Issues : https://github.com/RasaHQ/rasa/issues/5657
This issue happens because of the custom response templates. If the custom template returns a list of dictionaries instead of a dictionary (json like object) the bot would not respond back to the facebook user.
Therefore the change I made is to check if the json object is a Dict and if not we simply use the recipient_id that is given as a parameter of the function.

Status (please check what you already did):

[x] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

Thanks for submitting a pull request 🚀 @koaning will take a look at it as soon as possible ✨


[Event Request] Codeunit 5600 FA Insert Ledger Entry  "OnFAInsertLedgerEntryInsertMaintenance"

Can we please get the following event?
procedure InsertMaintenance(var MaintenanceLedgEntry2: Record "Maintenance Ledger Entry")
    begin
        if NextMaintenanceEntryNo = 0 then begin
            MaintenanceLedgEntry.LockTable();
            NextMaintenanceEntryNo := MaintenanceLedgEntry.GetLastEntryNo();
            InitRegister(
              "FA Register Called From"::Maintenance, MaintenanceLedgEntry2."G/L Entry No.", MaintenanceLedgEntry2."Source Code",
              MaintenanceLedgEntry2."Journal Batch Name");
        end;
        NextMaintenanceEntryNo := NextMaintenanceEntryNo + 1;
        MaintenanceLedgEntry := MaintenanceLedgEntry2;
        with MaintenanceLedgEntry do begin
            DeprBook.Get("Depreciation Book Code");
      ```
   //Event Request Begin
            OnFAInsertLedgerEntryInsertMaintenance(DeprBook);
       // Event Request End

        FA.Get("FA No.");
        CheckMainAsset;
        "Entry No." := NextMaintenanceEntryNo;
        if "Automatic Entry" then
            FAAutomaticEntry.AdjustMaintenanceLedgEntry(MaintenanceLedgEntry);
        "Amount (LCY)" := Round(Amount * GetExchangeRate("FA Exchange Rate"));
        if (Amount > 0) and not Correction or
           (Amount < 0) and Correction
        then begin
            "Debit Amount" := Amount;
            "Credit Amount" := 0
        end else begin
            "Debit Amount" := 0;
            "Credit Amount" := -Amount;
        end;
        if "G/L Entry No." > 0 then
            FAInsertGLAcc.InsertMaintenanceAccNo(MaintenanceLedgEntry);
        Insert(true);
        SetMaintenanceLastDate(MaintenanceLedgEntry);
    end;
    InsertRegister("FA Register Called From"::Maintenance, NextMaintenanceEntryNo);
end;

[IntegrationEvent(false, false)]
local procedure OnFAInsertLedgerEntryInsertMaintenance(Var DeprBook: Record "Depreciation Book")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Successfully deployed Hello world function returns error

Describe the bug
Running npx create on the quickstart page (https://arc.codes/quickstart/install)
results in an error
To Reproduce
Steps to reproduce the behavior:

Follow the instructions at https://arc.codes/quickstart/install
See the successfully deployed ... message
Run curl ...
See error:
Cannot find module '@architect/functions'

Expected behavior
Hello world response
Screenshots
$ npx create

        ARC_APP_NAME testapp
          AWS_REGION us-west-1
         AWS_PROFILE personal

                Node 8.11.3
                 npm 6.1.0
                .arc 3.4.1

✓ Successfully deployed
https://isqhhm57x3.execute-api.us-west-1.amazonaws.com/staging

$ curl https://isqhhm57x3.execute-api.us-west-1.amazonaws.com/staging
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    44  100    44    0     0     18      0  0:00:02  0:00:02 --:--:--    18

Cannot find module '@architect/functions'

Desktop (please complete the following information):

OS: Windows 10, git bash

Additional context
Deleted all existing functions and endpoints under API gateway before running npx create above.

hmmm, looks like npm isn't installing modules upon deploy. we've had a similar bug in the past. one way to test if the node_modules is missing is to check in the aws console. or you could try npx deploy with code like this (taht doesn't use aany modules) to see if it returns anything:
exports.handler = function lambda(event, context, callback) {
  callback(null, {html: 'hi from a naked lambda'})
}

(if node_modules IS missing … next step would be to diagnose why!) we npm install here:
https://github.com/arc-repos/arc-workflows/blob/master/src/deploy/lambda/02-install-modules.js#L21
(IDK but do you have a way to check for npm.cmd? Maybe its missing?)
And we zip things up here:
https://github.com/arc-repos/arc-workflows/blob/master/src/deploy/lambda/_zip-impl.js
Which SHOULD work on windows!

Closing due to lack of response.

I ran into the same issue going through the guide using Win 10 and git bash. After running npx deploy the function worked.


Error after installing the App and adding to page

Just installed Mobius Form 2 App on 2sxc 9.3 and DNN 8.0.3 but when I add the form to the page I get the following error:
 Error: System.IO.FileLoadException: Could not load file or assembly 'System.Web.Helpers, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'System.Web.Helpers, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' at Connect.Dnn.Koi.DnnSkinFile.AutoDetect() at Connect.Koi.Context.HttpContextState.TryToDetectTheCssFramework() at Connect.Koi.Context.HttpContextState.get_CssFramework() at Connect.Koi.Context.ToolsForCurrentState.get_Css() at Connect.Koi.Koi.Class(String classes) at ASP._Page_Portals_9_2sxc_Mobius_Forms__Contact_Form_cshtml.Execute() in c:\inetpub\vhosts\zzzzzzzzzzzzzzzzzzzz.co.nz\httpdocs\Portals\9\2sxc\Mobius Forms\_Contact Form.cshtml:line 32 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at ToSic.SexyContent.Engines.RazorEngine.Render(TextWriter writer) in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\2Sexy Content Razor\RazorEngine.cs:line 65 at ToSic.SexyContent.Engines.RazorEngine.RenderTemplate() in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\2Sexy Content Razor\RazorEngine.cs:line 92 at ToSic.SexyContent.Engines.EngineBase.Render() in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\ToSic.Sxc\SexyContent\Engines\EngineBase.cs:line 92 at ToSic.SexyContent.SxcInstance.Render() in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\ToSic.Sxc\SexyContent\SxcInstance_Render.cs:line 58 WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Any ideas how this might be fixed? Thank you.

did you add it to 2sxc 9.3 or 9.30? it needs 9.30 because Mobius 2 uses Koi for CSS framework detection.

@iJungleboy Sorry just getting back to this now. I'm using DNN 9.2 and 2sxc 9.32.00 LTS on a site but still get the above error after adding Forms app to the page.

Two things: the first version-issue is probably related to https://github.com/2sic/2sxc/issues/1595 - check that out.
The second thing looks like your koi.json is faulty (not valid json?)


SVG don't escape single quotes with url('') in css

Describe the bug
Hello, I am waiting for the fixes with svg and the conversion of base64. https://github.com/vitejs/vite/pull/15271
I installed the last release 5.0.10 and integrated this pull that fixed my problem but It stopped working.
In the next images show how I import icon, how I use icon in tag video importing with URL the CSS, and how to build icon in mode compile.
Thanks very much beforehand for your help.
Describe the bug
I'm using svelte
I'm using vite 5.0.10
The last version vite that broke this 5.0.0
The last version vite that work is 4.5.0
Import the icon in svg

Use in tag div

How build my icon in production

Sorry, I didn't send the link for reproduction because Stackblitz doesn't allow me to reproduce a fine example.
Reproduction
https://no-example.com
Steps to reproduce
No response
System Info
System:
    OS: macOS 14.2
  Binaries:
    Node: v16.18.0 - /usr/bin/node
    npm: 8.19.2 - /usr/bin/npm
  Browsers:
    Chrome: 120.0.6099.109 (Build oficial) (arm64)

  npmPackage:
    vite: 5.0.10

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

How build my icon in production
image

I saw the image above, and I can see that I might cause trouble. There are nested single-quotes within url property. Which means there are three levels of quotes.
I think the encoding itself isn't the problem here. I think the problem is that the style that has three level deep quotes is being inlined.
Maybe in this case, it can be solved by not inlining the style property. I would like to have some opinions of others and more than happy to elaborate further.

How build my icon in production
image

I saw the image above, and I can see that it might cause trouble. There are nested single-quotes within url property. Which means there are three levels of quotes.
I think the encoding itself isn't the problem here. I think the problem is that the style that has three level deep quotes is being inlined.
Maybe in this case, it can be solved by not inlining the style property. I would like to have some opinions of others and am more than happy to elaborate further.
And it would be great if you can provide reproduction as much as you can.

Thanks for answering me. I can't do this. It is a problem that has occurred since 5.0.0 version.

If that's the case, can you roll back the version of vite to where your problem doesn't appear and provide that build result?
At this point, I can't tell what's wrong and elaborate further.

This is the 5.0.10 version. Although this has occurred since version 5.0.0
production mode:
It doesn't work here.

development mode:
Here it works

This is the 4.5.0 version. This version works fine.
production mode:

development mode:

I think your issue has more to do with this PR #14643. Not super sure but it looks like SVGs are inlined as default.
As mentioned in my PR, you can try the following to solve the issue.
export default defineConfig({
  build: {
    assetsInlineLimit: 0,
  },
})

This seems to be a limitation with the SVG inlining heuristic as we inline SVGs that contain the ' character. So when you manually add that to url() in style tags, you need to avoid using ' instead. Plain url(...) without quotes should work.
Unfortunately I don't think this is something we can fix. If we want to be conservative, we'd have to always base64 it and that isn't best for compression. Maybe we should document the caveats.

A lot of people seem to encounter this svg inlining problem. I've already came across 3 people out in the wild who got helped by the "double-quote" solution. Until there is a improvement on url() heuristics, I think we should have some info in the documentation. I have made a PR and would like to get any feedback on it! Thanks!!


Fix maproulette hashtag!

The #maproulette hashtag should only be added to a changeset if it has one or more fixed MR tasks.

Looks good!  👍


zsh-history: Update gomod hashsum

Motivation for this change
SHA256 checksum of gomod dependencies does not match on master
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @worldofpeace @teto

@GrahamcOfBorg build zsh-history

seems to fail on my nixos-unstable fork. Let's see how ofbord does

Well, I have no idea whats going on here. I had to generate the hashsum three times over for it converge in nix-review after using the one ofBorg originally wanted.
Fingers crossed it's good now.

@GrahamcOfBorg build zsh-history

what sometimes happen to me is that I first develop a package in an overlay and then move it to my nixpkgs but it still builds the version from the overlay xD.
Looks like it is stiff failing

@GrahamcOfBorg build zsh-history

@GrahamcOfBorg build zsh-history

strange, the build succeeds once, the same hash is wrong for the 2 other tests, but wrong against 2 different values xD I don't know enough about the go ecosystem so let's wait for a more adept reviewer :(

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/76

@GrahamcOfBorg build zsh-history

@GrahamcOfBorg build zsh-history

@GrahamcOfBorg build zsh-history

@teto I believe this might have been fixed with golang 1.13 but now the checksum turns back to the value we had before which means there is no change here. That's why GH closed this issue automatically and ofBorg does not longer build it.
Hydra however seems to build it just fine: https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.zsh-history.x86_64-linux#tabs-status


publish on push to master

TL;DR
Simplified GitHub Actions workflow for building and publishing.
What changed?

Removed the pull_request trigger from the workflow.
Streamlined the version checking process by removing unnecessary comments and simplifying the logic.

Why make this change?
This change optimizes the workflow by:

Focusing on push events only, which simplifies the trigger conditions.
Removing redundant comments and streamlining the version checking process, making the workflow more concise and easier to maintain.

#37  👈
master

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

Join @mAmineChniti and the rest of your teammates on  Graphite

Merge activity

Oct 4, 2:56 PM EDT: @mAmineChniti started a stack merge that includes this pull request via Graphite.


completed-docs reports missing docs on interfaces even though interfaces is disabled

Bug Report

TSLint version: 5.12.1 (last working version: 5.11.0)
TypeScript version: 3.1.6
Running TSLint via: CLI

TypeScript code being linted
/**
 * Interface used to identify a node.
 */
export interface INode {
	getDeviceId(forceRead?: boolean): Promise<string>;
}

with tslint.json configuration:
"completed-docs": true

but also fails with
"completed-docs": [true, "classes", "functions", "methods", "properties"],

Actual behavior
ERROR: /home/mkr/work/albula/src/Node.ts:42:2 - Documentation must exist for methods.

Expected behavior
completed-docs should not report missing documentation on interfaces unless enabled (https://palantir.github.io/tslint/rules/completed-docs/)
May be a regression from #3534

Any progress on this one? I'm having exactly this problem with "jsonschema": "1.2.5".

💀 It's time! 💀
TSLint is deprecated and no longer accepting pull requests other than security fixes. See #4534. ☠
We recommend you instead use typescript-eslint to lint your TypeScript code with ESLint. ✅
👋 It was a pleasure open sourcing with you!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


fix: better podspec deps old / new arch

A better way of adding dependencies on both new and old arch

Can you elaborate about this?

This change simplifies .podspec and the management of dependencies between the new arch and the old one. This is a modification that software mansion has made to their libraries to simplify this .podspec and theoretically avoid future changes to it for future versions of RN.

Alright, let's merge it and release a beta version to check.


Find 4

The last commit made for 3.1.0-Release is c8bd1f26993f76b4055c57c20fba22029e8c506c...
So we have to implement the search:
d Stream findDecimalFractionByNegativeSignFraction();


Use Hugo pipes instead of Gulp for Sass and javascript

Hello!
I updated the theme to use Hugo pipes instead of Grunt for Sass and Javascript.
Unfortunately, Gulp is still required to build some things like favicons, fonts, and so on.
Note: Because of PostCSS, Hugo will require NPM dependencies to run (postcss-cli and autoprefixer)

No problem, I'll just continue using it on my own.


Change group length from 16 to 32 Characters

FreeBSD used to only support 16 character usernames, at some point this was increased to 32.
Was already fixed for the username field. Updated group length to 32 (needed as group names must match remote ldap groups, which can be longer than 16 characters...)
No redmine issue.
https://redmine.pfsense.org/projects/pfsense/repository/revisions/a84fb5453202fa80803cd75037cd5554fc585c89

In an effort to improve the tracking of changes and bug/feature requests, we have decided to require an entry on the pfSense Redmine issue tracker associated with every pull request, and likewise the Redmine entry should also have a link back to the pull request.
If you could, please associate this PR to a Redmine issue either by locating an existing issue at https://redmine.pfsense.org or by creating a new issue. Add a link to the Redmine issue that points to this PR, and also add a link on the PR to the Redmine issue.
For more information, see https://doc.pfsense.org/index.php/Submitting_a_Pull_Request_via_Github
Thanks!

No activity since 4/1 Please reopen if you are able to accommodate the requested change.


Test resources filtering true or false?

In pom.xml:
    <testResources>
      <testResource>
        <filtering>true</filtering>
        <directory>${project.basedir}/src/test/resources</directory>
        <excludes>
          <exclude>org/takes/http/keystore</exclude>
        </excludes>
      </testResource>
      <testResource>
        <filtering>false</filtering>
        <directory>${project.basedir}/src/test/resources</directory>
        <includes>
          <include>org/takes/http/keystore</include>
        </includes>
      </testResource>
    </testResources>

The same configuration, but just changing filtering from true to false? Is it correct or was a bad copy and paste?

@0crat in

@fabriciofx I added some explanation in 3789ae37b

@sereshqua/z please review this job completed by @baudoliver7/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed


Clarification of "DK" and additional hyperlinks

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[x ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@dohmain Thank you very much for submitting a pull request (PR) for adding a link. I have decided to close the PR because I noticed the majority of the article is plagiarised and there will likely be substantial changes made to it later.


Created doubly_linked_list.cpp

Added the code of Doubly linked list

PR accepted @ritik1123 .
Successfully added under HacktoberFest-22 PR.
🚀🚀✌


User management dialog

Provide user management GUI forms with respect to https://github.com/ExplorViz/explorviz-backend/issues/27

@dan0x09 Today, I tried to implement an endpoint for the authentication service that essentially returns a container with a list of all string-based roles (atm a role is simply a string). This endpoint should be used for the ember-power-select based role selection.
I instantly disliked this implementation when I reached the frontend code. Due to the (mostly) RESTful design this container classes come really unhandy when using Ember-Data. Ideally, we should only need to call this.get('store').findAll('role') and  insert the obtained roles in the ember-power-select dialog.
Eventualy, this means that I will try to refactor the backend's roles for authorization (classes instead of strings)

TODO

list of all users
remove single user
edit user information (name, password, role)

Done with 00c355e, 2760f06, 197acd2, 8a43f28, 022a055, 09ae116, ac19c65 (last).


Bandwidth and bitrate terms are missing

It will be helpful to include following terms :
Bandwidth
Bitrate

Thanks @py-pkulk, terms have been added.


[Firebase/Crashlytics] Failed to download settings. Error 404.

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.1
Firebase SDK version: 7.0.0
Installation method: Swift Package Manager (7.0.0-spm-beta branch)
Firebase Component: Crashlytics

[REQUIRED] Step 2: Describe the problem
After following steps in your guide, I have encountered an error 404 "Failed to download settings".
I also try to inspect a NSHTTPURLResponse instance.
<NSHTTPURLResponse: 0x28160d640> { URL: https://firebase-settings.crashlytics.com/spi/v2/platforms/ios/gmp/GOOGLE_CLIENT_ID/settings?build_version=29&display_version=0.1.0&instance=<SOME_ID>&source=1 } { Status Code: 404, Headers { ... }

Steps to reproduce:

I created fresh app on Firebase. ( No migration from Fabric )
I downloaded GoogleService-Info.plist and added it to a project.
I installed Firebase via SPM ( branch 7.0.0-spm-beta ).
I added Firebase.configure().
I added ONLY FirebaseCrashlytics to a target.

Hey @lolgear,
You may need to enable Crashlytics in the Firebase Console first. We should definitely have a better error case but please check that and hopefully that unblocks you!

@ryanwilson
Yes, you are right :)
Thanks a lot for help!
One note:
It would be nice to have Crashlytics.crash() method. It was specified in documentation, but it doesn't exist in 7.0.0 build. I really don't know how to crash app without "known" bugs in this app :)

You're welcome!
Which docs are you looking at? I believe those are docs for the old SDK, you can find the current documentation here: https://firebase.google.com/docs/reference/swift/firebasecrashlytics/api/reference/Classes/Crashlytics.
In terms of a replacement for the crash() method, cc @samedson who can provide guidance.
I'll close this issue since the original issue is solved, but we can continue the conversation here.

Here are some recommendations for forcing a crash: https://firebase.google.com/docs/crashlytics/test-implementation?authuser=0

@samedson I forgot about fatalError() :(


Mesh fails to load when filename attribute doesn't start with package://

The description cf2p.urdf for the Crazyflie 2.0 drone does not load properly with pinocchio 2.6.3:
ValueError: Could not load resource ./cf2.dae
Unable to open file "./cf2.dae".
Hint: the mesh directory may be wrong.

I believe I have configured the mesh path properly. Here is why:

The URDF loads the mesh file using a relative path: <mesh filename="./cf2.dae" scale=" 1 1 1"/>
If we add the package:// prefix: <mesh filename="package://./cf2.dae" scale=" 1 1 1"/>, then the mesh loads properly and can e.g. be visualized in MeshCat:

Is there indeed an inconsistency in the way pinocchio treats the optional package:// prefix?
(Relevant part of the URDF spec.)

I think relative paths are not supported by the convention.
Package relates to some known placement for the ROS ecosystem.
At first glance, we should be able to robustify to also handle relative path wrt the current file. @fabinsch Could you handle this issue?

Thanks for checking :slightly_smiling_face: Unfortunately there are several URDFs out there that use relative paths, I just took that one as an example.
From the sentence you quote, what the spec says is: "if you want to make the path relative to a package, then use package://". Unfortunately this is incomplete as it does not specify whether relative paths without package:// are allowed, and if so to what directory they are relative to.

However, I added the ability in Pinocchio to handle this kind of relative path in https://github.com/stack-of-tasks/pinocchio/pull/1742.

Looks perfect :+1:

Solved by #1742.


[BUGFIX] Remove core-object deprecation

In current Ember CLI versions, a deprecation is raised due to a change in
core-object. In this addon's case, it was because of an old
ember-cli-htmlbars version.
This PR updates ember-cli to 2.7 and fixes the deprecation.
It also bumps version to 0.0.6

Looks good to me!


[C#] Always generate the string param flattening method for resource-name methods

Fixes https://github.com/googleapis/gapic-generator/issues/2739
For C#, for all flattened method configurations, if one of the params in the method signature is a resource entity, then also create a flattened method context in which the resource entity param is instead a string field.

PTAL

The diff on github does look a little weird. The diffs on the baseline are purely additive in the Intellij UI.


Control Panel blocked

The Craft Control Panel becomes unusable without implementing unsafe inline headers (I've shortened the headers for focus):
'scriptSrc'     => [
    "'unsafe-inline'",
    "'unsafe-eval'"
],
'styleSrc'       => [
    "'unsafe-inline'"
]

...Which isn't good for security! Am I missing something or is there another way around this?
Currently I've edited Plugin.php injecting a conditional around line 67 so it doesn't use the CSP headers if you're an admin user:
                if (!Craft::$app->user->getIsAdmin()) {
                    // The page is done rendering, include our headers.
                    $this->headers->setHeaders();
                }

Another alternative is to use:
Craft::$app->getRequest()->getIsCpRequest()

Are you using version 1.1.0? The plugin should not add csp headers to the cp from 1.1.0 and up.

Doh! I'd downloaded it via composer over a week ago and hadn't checked for updates since. Thanks for resolving!

Closed this thread too soon.
You need to update the composer.json with the new version number, composer update isn't picking up the new changes.

Sorry, the composer file had the wrong version. Packagist couldn't find the new version. Just released 1.1.1 to fix this. @peteralewis does this work on your end?

Awesome - thank you for the quick turnaround, all working fine.


ImportError face_recognition

face_recognition version: most recent
Python version: 2.7.12
Operating System: ubuntu 16.04

Description
I was trying to run the image compare algorithm and got the following error-- ImportError: No module named face_recognition. I downloaded the most recent version of face_recognition, so I'm not sure what could be going wrong.
What I Did
Traceback (most recent call last):
  File "ImageCompare.py", line 1, in <module>
    import face_recognition
ImportError: No module named face_recognition

That means it's just not installed for your current version of python. Do you have multiple installations of python? Maybe you installed it for Python 3 but are trying to use it from Python 2 (or the reverse)?

hello ageitgey i was getting the same error as vrivera2017 but when i run my code in py2.7 shell it was successful,  i had installed the package twice using pip install and pip3 install on my raspberry ,so guess the python 2 one override the python 3 ...but i want it to run on python 3 what should i do


Images are not found in tmp folder

Im unsure who is responsible (riiif or puma) but after some time in the developement environement riiif starts searching for the images in the tmp folder instead of the actual location. This always results in a ImageNotFoundError.
Is there a way to avoid Riiif to search in the tmp folder?

@Teifun2 what file resolver have you configured RIIIF to use?

@jcoyne  I did not configure  Riiif::Image.file_resolver in my initialization file.
If this does not answer your question i need help to find out what resolver i'm using.

Was there any resolution on this?  I have tried multiple things and continue to get errors like:
While trying to view items in the Dashboard under Items...
Riiif::ImageNotFoundError - /Users/***/exhibits/tmp/2976.{png,jpg,tif,tiff,jp2}:

Trying to reindex, sometimes it shows as processed and other times, I get
Riiif::ImageNotFoundError: Riiif::ImageNotFoundError

Background - the database and data files were copied from production to my laptop.  Then I try to reindex each exhibit.  This process has worked in the past, but with the latest update, I am no longer able to get this to work.  None of the exhibits' items have thumbnails.  I can't view images from any exhibit.  And I can't reindex any exhibit.
The riiif resolver is...
  Riiif::Image.file_resolver = Spotlight::CarrierwaveFileResolver.new

@elrayle does the https://github.com/curationexperts/riiif/pull/134 branch fix the problem?

I'll check that out with fingers crossed.

@jcoyne Unfortunately that didn't work.  I dropped the whole file into my app for testing, confirmed the app was using it, and still get the error.  :(

I tried reverting to riiif 1.7.1, but with the move to the level of spotlight we are using requires riiif ~> 2.0.
This does not appear to be a problem when access items and reindex on our staging AWS server which uses riiif resolver...
  Riiif::Image.file_resolver = Riiif::HTTPFileResolver.new

@jcoyne We are in the process of moving to the latest 2.x version of spotlight.  Do you think it is likely that this problem will go away by the time I get to 2.13?  If that is the case, I can do most of my testing on for the upgrade on the AWS server.  If not, then spending time debugging the development environment might be worth it so things don't degrade even more.

@jcoyne I am back around debugging this issue.  It was not magically fixed with the upgrade to the latest spotlight on the 2.x track.  We are now on 2.13 and I get the same error with RIIIF Image not found and nothing being written to the tmp directory.  Any thoughts on what I can check?

I'm getting the following error.
Invalid characters in id `51`
Error performing Spotlight::ReindexJob (Job ID: ...) from Inline(default) in 37629.02ms: Riiif::ImageNotFoundError (Riiif::ImageNotFoundError):
riiif-2.3.0/app/resolvers/riiif/abstract_file_system_resolver.rb:19:in `path'

When I break in abstract_file_system_resolver.rb:19:in `path'...
> id
51
> id.class
Integer
> pattern(id)
Invalid characters in id `51`
> pattern(51)
Invalid characters in id `51`
> pattern('51')
"/Users/.../exhibits/tmp/51.{png,jpg,tif,tiff,jp2}"

If I break at the start of #path and set id = "51" and continue, it still ultimately gets Riiif::ImageNotFoundError, but includes the path to the file it expects.
Error when id is integer:  Riiif::ImageNotFoundError - Riiif::ImageNotFoundError:
Error when id is string: Riiif::ImageNotFoundError - /Users/.../exhibits/tmp/53.{png,jpg,tif,tiff,jp2}

FYI... I went back to our last commit before the update of RIIIF and the uploads work.

It looks like the resolver gets created and the base_path set to the tmp directory in Riiif::Image model.
My read of this is that the resolver is looking for a file in the tmp directory.  I have not yet found the code that should be creating the file in the tmp directory.
The full size file exists in /public/uploads/spotlight/featured_image/image/51/


Feedback 'From: Owen Dodd Fonts not loading'

Message from 54a9d9667261691d4c191200 sent on 2016-12-12 22:22:11 UTC###

From: Owen Dodd
Fonts not loading

Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/37020/feedback/678798

Fixed with https://github.com/artsy/microgravity/pull/102


Fix git executable flag

Source code files shouldn't be executable but only *.{bat,cmd} files.
Currently a lot of files are marked executable in git. This PR fixes that so that only .bat/.cmd are.
Note that on Windows this doesn't make any difference because of Git's filemode = false setting so it always ignores mode.

We are now adding clang formate CI. It will fix those issues


Added an extra check for an IS NOT NULL Constraint when checking an Oracle DB Column for Nullability

I was unable to test this locally, so leaving it in DRAFT for now...

This was tested by running several migration scenarios manually.

This was tested by running several migration scenarios manually.


Controllers extension - The sent HWND is not valid!

I use libgdx version 1.5.6 with the same gdx-controllers version on PC (tested on Windows).
When I start a libgdx application in "standalone" mode (using LwjglApplication), the controllers extensions works as expected and I am able to use the connected controller.
But when I launch the libgdx application in a Swing frame (using a LwjglAWTCanvas), the same application code makes the JVM crashing. This is due to this line:
Controllers.getControllers();

I get this error:
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
terminate called after throwing an instance of 'OIS::Exception'
  what():  Win32InputManager::Win32InputManager >> The sent HWND is not valid!
AL lib: (EE) alc_cleanup: 1 device not closed

Try updating libGDX to the latest version and reproducing the error there, I doubt anybody will want to debug libGDX this old. That said, I'm not sure we even still support AWT in latest version, as it is hard to get it right (as you have just noticed).

Ok, thanks.


Test non-trivial workflows

Close #165
We need to test all (or most) combinations of:

Two backends (_process or _parsl)
Sequential/parallel tasks
process_workflow or the actual submit_workflow.

For each case, we should validate (at least!) the output history metadata.

[x] _process backend, sequential tasks, process_workflow
[ ] _process backend, parallel tasks, process_workflow
[ ] _process backend, sequential tasks, submit_workflow
[ ] _process backend, parallel tasks, submit_workflow
[ ] _parsl backend, sequential tasks, process_workflow
[ ] _parsl backend, parallel tasks, process_workflow
[ ] _parsl backend, sequential tasks, submit_workflow
[ ] _parsl backend, parallel tasks, submit_workflow

Notice that I broke another test:
FAILED tests/test_backend_process.py::test_recursive_task_submission_inductive_step - AssertionError: assert {'dummy': 'du...x': [0, 1, 2]} == {'dummy': 'du...x': [0, 1, 2]}
``


use AKS consistently

from the docs: "Authentication needs to be configured between the AKS cluster and the ACR registry. This involves granting the ACS identity the proper rights to pull images from the ACR registry". --> This involves granting the AKS...

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

ID: d4af71a4-648e-580f-7e86-94ce05196de5
Version Independent ID: 134b8ba0-b085-076a-d2e1-16d0ddff5586
Content
Content Source
Service: container-service

@LanderVe - thanks, we will update.

@LanderVe changes have been merged in and will publish today.
#please-close


How to convert the similarity_scores from tensor array to a score?

Hi,
I try to simply go through the AdaFace project, and get the similarity score as follows,
similarity_scores:
tensor([[1.0000, 0.5508],
[0.5508, 1.0000]], grad_fn=)
But how could I convert the outcome to a score? such as follows,
similarity_scores:
0.985213

For each image, you'll be getting a 1x512 feature vector. You can use torch.squeeze() to remove the first dimension and you can use torch.nn.functionality.cosine_similarity() to get the corresponding score. Other methods such as averaging the dot product of individual components, min-max, etc can also be used. The cosine similarity can be negative also, so for most of the cases, normalizing using min-max normalization will do the job.


Love to have a Time-based Clear Option

Before Submitting Your Feature Request

[X] Check that there isn't already a similar feature request to avoid creating a duplicate.
[X] I have seen the FAQ.

Problem
I just want items to clear out after a customizable amount of time, say 30 minutes.
I don't often need a permanent clipboard history, I don't really want all the clutter on the list.
Solution

On this screen, just give an option to automatically delete clips that are older than a customizable amount of time, suggest 30 minutes by default.

I want this too, don't understand why it's not an option (for security reasons).

Let's track this in #368


nice work

That's a nice chunk of work and appreciate for all the good work and moreover open sourcing it
Noticed there is a bit of of mixing with folder structure and also looks like crafted for shell requirements
rather generic framework that can be worked our as a plugins/connectors/sources.
May be i am wrong in my understanding/grasping due to vastness of the sources/connectors that are crafted.
Below is what i see may need bit more re-factoring

utilities and models are bit spread into multiple sub directories
core\src\sdk\python\rtdip_sdk\data_models\storage_objects\storage_objects_utils.py - can be under core\src\sdk\python\rtdip_sdk\pipelines\utilities\azure

models
some models are in utils some are in pipeline
Weather & weather_ecmwf.py , obc_field_mappings are models but listed as part of pipeline.
core\src\sdk\python\rtdip_sdk\pipelines_pipeline_utils\obc_field_mappings.py
core\src\sdk\python\rtdip_sdk\data_models\weather\weather_models.py

core\src\sdk\python\rtdip_sdk\pipelines_pipeline_utils\models.py is more of dependencies(libs.jar's)

Many thanks for the feedback - we will work through these in a more general review of the structure of the repo.


KAFKA-8187: Add wait time for other thread in the same jvm to free the locks

Fix KAFKA-8187: State store record loss across multiple reassignments when using standby tasks.

Add wait time for other thread in the save jvm to free the locks of state store

Do not let the thread to transit to RUNNING until all tasks (including standby tasks) are ready.

Committer Checklist (excluded from commit message)

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

retest this please

@guozhangwang for a second review

@bbejeck @guozhangwang  Thanks again for your help.
I finished the changes and  added another two unit tests for this ticket.  Please take a look of them when the ci passed. :)

kicked off a branch builder https://jenkins.confluent.io/job/system-test-kafka-branch-builder/2660/ of the streams_standby_replica_test.py i

Merged #6818 into trunk

Thanks for the patch @hustclf!

Thanks for the patch @hustclf!

cherry-picked to 2.3, 2.2, and 2.1

@hustclf ideally we'd like to cherry-pick this to 2.0 as well, but there were too many merge conflicts.  Can you do a follow-on PR targeting the 2.0 branch with this fix?

@bbejeck Sure, I would like to do it.


CupboardFixture dependency injection should be open for extension.

At the moment CupboardFixture does not have a way to add more dependencies.
I can of course copy my own cupboard fixture, but would be nice if it was possible to extend.

Seems like I cannot run the cupboard fixture in another project because RunCommands is internal 😓
https://github.com/patriksvensson/cupboard/blob/e78c91af009089a331243010e7903689db17f028/src/Cupboard/Cli/RunCommand.cs#L12

Not at a computer tonight but will take a look tomorrow.

@jetersen Perhaps we could add a ConfigureServices(Action<IServiceProvider>) method to CupboardFixture where custom registrations could be made?

@patriksvensson sounds good to me


Update runtime.txt

add ninja

Please run pre-commit install before committing to avoid lint error.

Please help to improve this pull request so that it can be merged @LeoXing1996


incorrect error data

Hi
There is incorrect assert in digests unittest case7.
Error data of error code 'unspecified' should be 0x00.
plz check it.
https://github.com/DMTF/libspdm/blob/db735a85ded19f6500133d4504351444bf87b3a3/unit_test/test_spdm_responder/digests.c#L377

There are similar issues in other codes, for example :
https://github.com/DMTF/libspdm/blob/444c268fe36583927386baf9bf3f1d2cf11d6910/library/spdm_responder_lib/libspdm_rsp_challenge_auth.c#L74-L75
https://github.com/DMTF/libspdm/blob/444c268fe36583927386baf9bf3f1d2cf11d6910/library/spdm_responder_lib/libspdm_rsp_key_exchange.c#L232-L234


Production vite build fails

The production vite build currently fails. Errors:

Jest types not found
MSW package not found

Fixed by: https://github.com/CheriseCodes/ai-flash-cards/pull/114


Update authors

Use definition below
Definitions of roles (Author, maintainer, contributor, etc…)
Going forward, ensure that PRs from new contributors include an update to authorship roles (for R packages, in description file)

I am going to close this issue as this repo is not an R package.


Fix spelling of Referer

in the list of restricted headers 'Referer' is misspelled as 'Referrer' like the old HTTP spec. However, the code correctly detects if you add 'Referer' as a header it will give you an error and specify you to use the specific property and it does not give an error if you add 'Referrer' to the WebHeaderCollection.
Title
On the title describe
what you've fixed (or created) with this Pull Request (PR).
Summary
Insert a short (one or two sentence) summary here.
Fixes #Issue_Number

Note: The "Fixes #nnn" syntax in the PR description causes
GitHub to automatically close the issue when this PR is merged.
Remove that line if you don't have issues associated with this
PR. Click on the Guidelines for Contributing link above for details.

Details
Explain your changes, and why you made them. If that
information is already available in the issue referenced
above, just referencing the issue is preferred to copying
the text.
This may not be necessary depending on the scope of the PR
changes. For example, "fix typo in introduction.md" is
sufficient to describe that PR.
Suggested Reviewers
If you know who should review this, use '@' to request a review.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

CI Build was stuck. Closed and reopened to kick off a new one.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Connection to BLE devices

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[ ] iOS
[x] Android
[ ] UWP
[ ] .NET Standard

Feature Library

[ ] Core
[x] BluetoothLE
[ ] Locations
[ ] HTTP Transfers
[ ] Notifications
[ ] Sensors

Version of OS(s) listed above with issue
Android 8.0(Nexsus 5X)
Version of Library
<IP_ADDRESS>-beta
Expected Behavior
Fast connection to BLE device
Actual Behavior
Library very fast found the device, but the peripheral.Connect() is too slow(sometimes for about half a minute)

Fixed by set AutoConnect to false.
Issue description
https://stackoverflow.com/questions/22214254/android-ble-connect-slowly


Enable doctest extension?

I understand that enabling autodoc is dangerous because it would allow for arbitary code execution, but is there a same sort of reason for not enabling doctest? I know that you wouldn't want to run the tests, but it would be nice if the examples actually show up in the docs. And I like to check that the code snippets I write in the documentation actually continue to work as expected.

This is possible when users are whitelisted, as noted in the docs.


Import/Export settings don't work

Tools/Import and Export Settings
Choose Export
In the next page, you can choose which settings to export. You won't find any Python settings to check/uncheck.
Picture shows a portion of the Text Editor section. Note that Python text editor settings aren't there, but Node.js are there.

From: https://pytools.codeplex.com/workitem/2626
Verified on VS 2015 RC and PTVS 2.2 30515.
Additional info:  Reset all settings doesn't reset python settings either.  Restoring saved settings won't affect python, etc.  (I tested with the tab size option under text editor/python)

FYI it didn't magically fixed itself -- still missing on 15.4.


fix(home-manager/gtk): support all tweaks

gtk will be the death of me

Will need changes after https://github.com/NixOS/nixpkgs/pull/324265. Worth waiting till its merged and backported.

Both PRs hit their respective branches, so we should be good to merge now.


Improve API documentation

In a nutshell, the API documentation is incomplete, sometimes unclear and unorganized, not easily searchable as a reference, and generally frustrating. This is my first day looking at Chartist, so you can get a fresh perspective from a new user's point of view. See also issue #409, which was closed without actually fixing anything. I'll try to give some concrete examples of what is unclear and suggestions for improvement, but feel free to come up with better ideas and generally review the UX to make the project more accessible:

The first thing one sees in the API page is the header "AUTO-SCALE-AXIS.JS" followed by the sub-header MODULE "CHARTIST.AUTOSCALEAXIS". There is no explanation of what a Chartist module is or how to use it, which is probably something you'd want to explain in an intro paragraph on the page. You can also add a short summary of the existing modules and what each does before starting with the first module on the list. Or at least group them in a way that conveys their meaning or category (e.g. axis stuff, chart types, utilities, etc.). Or order them non-arbitrarily.

There's a heading labeled axis.js with nothing under it.

In the module section itself it would be useful to have a CDN link (possibly the full html script tag) and source link so a user can quickly find it and get going using it or reviewing it (I'm assuming the source code is readable, well-written and documented with comments - I didn't check it out yet.)

It is unclear what the difference is between the module headers (module file name?) and sub-headers (module name?) - there seems to be a one-to-one correspondence. Only the latter appears on the sidebar menu, so what's the larger filename header for?

The module names (or file names? Or both?) are shown in uppercase. Is that really how they appear in the links and code? I'm guessing no. Anything that appears in the html/code should be presented in the correct case so it can be easily copied/pasted/searched.

The first module says: "The following options are used by this axis in addition to the default axis options outlined in the axis configuration of the chart default settings." Why not link to wherever those default axis options are?

"default options" and "default settings" seems to be used interchangeably (unless I haven't yet understood the difference). It's better to stick with consistent terminology, to make it more clear and more searchable.

"the chart default settings" - searching the page for any part of that term (also using 'options' instead of 'settings') doesn't seem to come up with anything useful.

The example snippet only shows a "var options =..." definition. It would be nice to see where and how to use this options object. Or should this be merged with the main options object? Or is this a sub-object of the main options object (under axisX, which is not mentioned here at all but seems to be related according to the text above)? Is the same variable name being reused for confusingly different purposes between the different examples? I'm still not sure, since I couldn't get the module to work yet, I think.

Throughout the documentation (api, getting started, etc.) some code snippets are shown, and some hidden behind a 'show code' button. The inconsistency is confusing, and makes it more likely not to look at the collapsed ones which seem less important, even though they're not (e.g. default options, which double as the only place the available options are mentioned).

Default options should not hide behind a 'show code' button. Although it's technically presented as code, this is actually the only place where the available options are specified (I'm assuming the defaults include a comprehensive list of possible options), and as such are a core part of the API specification. They're arguably the most important part of the API documentation, and aren't even searchable when collapsed.

The 'show code' button should turn into 'hide code' when expanded.

Some of the API sections say "Check the examples for a detailed list." or something equivalent. The detailed list of valid parameters is an integral part of the API and should be listed right then and there. Examples should show usage examples, not define the API contract.

Some of the API sections have an 'Examples' sub-section. There's also a separate Examples page. Saying "Check the examples for a detailed list." is ambiguous, and again - there's no need to send users on a hunt (especially when search functionality doesn't work in collapsed snippets)... just link to wherever it is you want them to look.

Examples within the API docs (as opposed to the examples page) should all have some title, comment, footnote or any other form of explanation of what the example is meant to do.

Well, that's just a start from a first-time user. I hope these points will be helpful in improving the API documentation so that newbies like myself can get up and running quickly rather than going around in circles trying to figure out where the info I need is hiding. I think a little bit of work here can go a long way towards making the first steps with Chartist less painful, an possibly even a pleasure (there certainly are libraries that achieve that).
Now I'll get back to trying to get the auto-scale-axis to work by googling for working examples elsewhere :-)

Two more:

The module names in the sidebar menu don't link to the respective module sections (starting with a short description of the module) as they should.

From what I currently understand, the axis modules need to be activated by setting the 'type' property under the 'axisX' option of the main options object to the constructor name such as 'Chartist.AutoScaleAxis'. I'm not sure yet this is correct, but if so it should be mentioned in each of the axis module sections where one would expect to see how the module is to be used. A working example should be added as well so it can be used with a simple copy+paste. Same goes for whatever other configuration options enable other types of modules (interpolation perhaps? just guessing).

In short, the documentation for every module, method, option etc. should include all information needed to make it work, not just bits and pieces scattered around everywhere. A working example for each would be extremely helpful.

Thanks for the deep summary! This will be valuable input for #565

I'm closing this issue, and we keep track with the reference available in #565


⚠ Jenkins Plugins Artifactory has degraded performance

In 263f911, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1218 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 54756b0 after 12 minutes.


Option to typings install that skips main or browser

For angular2 update instructions to beta.4, a very awkward part is explaining the exclude required by
https://github.com/typings/typings#maindts-and-browserdts
We'll say something like "edit your package.json and add this exclude section. Check that you don't have any trailing commas, and other things that break json parsing. Make sure you exclude both typings/main.d.ts and typings/main"
Many of our users are novice and will be very discouraged by errors from tsc (which we all recognize are hard to understand) as @wardbell will confirm.
We would have a much easier time if we didn't need any excludes, with something like
typings install --browserOnly

Related to https://github.com/typings/typings/issues/151.

Seems like a dupe to me, you could close this and re-open the other? Or do you think this is a better proposal than the "environments" option in typings.json?

Sure, can do.


Improve Error on Invalid CI Config Yaml

Clear and concise description of the problem
I am using Woodpecker with Gitea using webhooks to trigger CI runs on every push/commit.
Currently, if a commit contains invalid CI yaml, it silently fails to run the CI job, unless you look at the webhook configuration (which may not be available to lower-privileged users) and is not obvious unless you know what you're looking for.
The following screenshot was taken from https://gitea.example.com/[project]/[repo]/settings/hooks/[hook-id]:

However, if you're not sure what you're looking for, it looks like Ci just silently failed.
Suggested solution
I would propose that a far more self-evident solution would be creating a job entry in the CI jobs list, but marking it as failed, and also providing failed feedback to the git repo to turn the build red, etc. This fits far more closely in the mental model of how a developer would expect a CI system to interact: fail the build if it couldn't complete successfully due to bad files in the repo.
This is similar to how gitlab CI approaches the problem. Below is an example of one of my projects - the bottom entry is a normal successful run, and then I intentionally committed invalid yaml, which generated the top entry in CI run entries.

Similarly, it's treated like any other failed job, and marks the commit as having had CI not pass (instead of gitea's solution of not creating any CI runs in the interface).

The run details has more specific information as well.

Alternative
No response
Additional context
No response
Validations

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

linking #811 & #812

I absolutely agree. I think it was working before some time ago and just has a bug which prevents the job from being created.


Can't open google classroom. I can do this months ago.

H:\gam>gam create course alias testing123 name testing123 teacher<EMAIL_ADDRESS>status ACTIVE
Traceback (most recent call last):
File "gam_main_.py", line 50, in
File "gam_main_.py", line 45, in main
File "gam_init_.py", line 11344, in ProcessGAMCommand
File "gam_init_.py", line 2296, in doCreateCourse
File "gam_init_.py", line 997, in buildGAPIObject
File "gam_init_.py", line 925, in getValidOauth2TxtCredentials
File "gam\auth\oauth.py", line 467, in refresh
File "gam\auth\oauth.py", line 475, in _locked_refresh
File "google\oauth2\credentials.py", line 228, in refresh
File "google\oauth2\reauth.py", line 338, in refresh_grant
File "google\oauth2_client.py", line 60, in _handle_error_response
google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', {'error': 'invalid_grant', 'error_description': 'Bad Request'})
[39244] Failed to execute script 'main' due to unhandled exception!

Do:
gam oauth remove
gam oauth create

gam create course alias testing123 name testing123 teacher @.*** @.***> status ACTIVE

Ross
@.***

On Jul 27, 2022, at 5:53 PM, cheungkl @.***> wrote:
H:\gam>gam create course alias testing123 name testing123 teacher @.*** @.***> status ACTIVE
Traceback (most recent call last):
File "gam_main_.py", line 50, in
File "gam_main_.py", line 45, in main
File "gam_init_.py", line 11344, in ProcessGAMCommand
File "gam_init_.py", line 2296, in doCreateCourse
File "gam_init_.py", line 997, in buildGAPIObject
File "gam_init_.py", line 925, in getValidOauth2TxtCredentials
File "gam\auth\oauth.py", line 467, in refresh
File "gam\auth\oauth.py", line 475, in _locked_refresh
File "google\oauth2\credentials.py", line 228, in refresh
File "google\oauth2\reauth.py", line 338, in refresh_grant
File "google\oauth2_client.py", line 60, in _handle_error_response
google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', {'error': 'invalid_grant', 'error_description': 'Bad Request'})
[39244] Failed to execute script 'main' due to unhandled exception!
—
Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1547, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLYY5AUOZTZUTW6E6YLVWHKZRANCNFSM543PD5BQ.
You are receiving this because you are subscribed to this thread.

I have just install latest gam 6.22 vision. It still not working.
H:\gam>gam oauth remove
ERROR: remove is not a valid argument for "gam oauth"
H:\gam>gam info domain
Traceback (most recent call last):
File "gam_main_.py", line 50, in
File "gam_main_.py", line 45, in main
File "gam_init_.py", line 11487, in ProcessGAMCommand
File "gam\gapi\directory\domains.py", line 25, in info
File "gam\gapi\directory\customer.py", line 18, in doGetCustomerInfo
File "gam\gapi\directory_init_.py", line 5, in build
File "gam_init_.py", line 997, in buildGAPIObject
File "gam_init_.py", line 925, in getValidOauth2TxtCredentials
File "gam\auth\oauth.py", line 467, in refresh
File "gam\auth\oauth.py", line 475, in _locked_refresh
File "google\oauth2\credentials.py", line 228, in refresh
File "google\oauth2\reauth.py", line 338, in refresh_grant
File "google\oauth2_client.py", line 60, in _handle_error_response
google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', {'error': 'invalid_grant', 'error_description': 'Bad Request'})
[19176] Failed to execute script 'main' due to unhandled exception!

Do: gam oauth remove gam oauth create
gam create course alias testing123 name testing123 teacher @.*** @.> status ACTIVE
Ross -- @.
…
On Jul 27, 2022, at 5:53 PM, cheungkl @.> wrote: H:\gam>gam create course alias testing123 name testing123 teacher @. @.***> status ACTIVE Traceback (most recent call last): File "gam_main_.py", line 50, in File "gam_main_.py", line 45, in main File "gam_init_.py", line 11344, in ProcessGAMCommand File "gam_init_.py", line 2296, in doCreateCourse File "gam_init_.py", line 997, in buildGAPIObject File "gam_init_.py", line 925, in getValidOauth2TxtCredentials File "gam\auth\oauth.py", line 467, in refresh File "gam\auth\oauth.py", line 475, in _locked_refresh File "google\oauth2\credentials.py", line 228, in refresh File "google\oauth2\reauth.py", line 338, in refresh_grant File "google\oauth2_client.py", line 60, in _handle_error_response google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', {'error': 'invalid_grant', 'error_description': 'Bad Request'}) [39244] Failed to execute script 'main' due to unhandled exception! — Reply to this email directly, view it on GitHub <#1547>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLYY5AUOZTZUTW6E6YLVWHKZRANCNFSM543PD5BQ. You are receiving this because you are subscribed to this thread.

My mistake,
gam oauth delete
Ross
On Wed, Jul 27, 2022 at 8:51 PM cheungkl @.***> wrote:

I have just install latest gam 6.22 vision. It still not working.
H:\gam>gam oauth remove
ERROR: remove is not a valid argument for "gam oauth"
H:\gam>gam info domain
Traceback (most recent call last):
File "gam_main.py", line 50, in
File "gammain.py", line 45, in main
File "gaminit.py", line 11487, in ProcessGAMCommand
File "gam\gapi\directory\domains.py", line 25, in info
File "gam\gapi\directory\customer.py", line 18, in doGetCustomerInfo
File "gam\gapi\directoryinit.py", line 5, in build
File "gaminit.py", line 997, in buildGAPIObject
File "gaminit_.py", line 925, in getValidOauth2TxtCredentials
File "gam\auth\oauth.py", line 467, in refresh
File "gam\auth\oauth.py", line 475, in _locked_refresh
File "google\oauth2\credentials.py", line 228, in refresh
File "google\oauth2\reauth.py", line 338, in refresh_grant
File "google\oauth2_client.py", line 60, in _handle_error_response
google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request',
{'error': 'invalid_grant', 'error_description': 'Bad Request'})
[19176] Failed to execute script 'main' due to unhandled exception!
Do: gam oauth remove gam oauth create
gam create course alias testing123 name testing123 teacher @.*** @.
> status ACTIVE Ross -- @.
… <#m_5311263076929636008_>
On Jul 27, 2022, at 5:53 PM, cheungkl @.> wrote: H:\gam>gam create
course alias testing123 name testing123 teacher @. @.***> status
ACTIVE Traceback (most recent call last): File "gam_main_.py", line 50, in
File "gam_main_.py", line 45, in main File "gam_init_.py", line 11344, in
ProcessGAMCommand File "gam_init_.py", line 2296, in doCreateCourse File
"gam_init_.py", line 997, in buildGAPIObject File "gam_init_.py", line 925,
in getValidOauth2TxtCredentials File "gam\auth\oauth.py", line 467, in
refresh File "gam\auth\oauth.py", line 475, in _locked_refresh File
"google\oauth2\credentials.py", line 228, in refresh File
"google\oauth2\reauth.py", line 338, in refresh_grant File
"google\oauth2_client.py", line 60, in _handle_error_response
google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request',
{'error': 'invalid_grant', 'error_description': 'Bad Request'}) [39244]
Failed to execute script 'main' due to unhandled exception! — Reply to this
email directly, view it on GitHub <#1547
https://github.com/GAM-team/GAM/issues/1547>, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCTYLYY5AUOZTZUTW6E6YLVWHKZRANCNFSM543PD5BQ.
You are receiving this because you are subscribed to this thread.
—
Reply to this email directly, view it on GitHub
https://github.com/GAM-team/GAM/issues/1547#issuecomment-1197624241, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCTYL5V6YBXTZLK5KSRQVTVWH7TJANCNFSM543PD5BQ
.
You are receiving this because you commented.Message ID:
@.***>

--
Ross Scroggs
@.***


Make cache headers configurable (IE assumes you want to cache)

See branch no-cache-header

Released in 0.5.6


Feature Flags/Staged Rollout

@albertlast
choose random people for new stuff: it's common when i do big changes that i do on one click and every user get the new version that leads me in the issue, when one problem exists, not one user got the problem, all got the problem, so i would likely do a "ramp up" release so that first 1% of my userbase get "new stuff" and go this up step by until 100%, is there any cap feature how help me do realize this ramp up?

Yes this is one is planned (although not via this code sample for sake of simplicity and compatibility to HANA on premise as well).  But I've prepared a separate demo for a future live stream already which covers the SCP feature flags service and we can discuss the topic in general (for instance Itsio side car approach as well). But as you will see all of this is possible with CAP without really changing anything the programming model itself.  So I'll close this one for now but know its already done and planned for the near future.


some times misses first character

Some time when I start typing a command, the first characters is ignored:
$ d ~/documents/  # i actually typed `cd ~/documents/`

This has started since I started using this plugin in two different machines, ubuntu and arch.

I presume this doesn't happen under zsh -f.
Do you any bindkey c … calls in your configuration? Do you source zsh-syntax-highlighting.zsh as the last thing in your .zshrc?

what is -f? couldn't find it in the man or web (never found a good way to search for -X arguments as google interprets it as "don't show 'X'"
now bindkeys at all
highlighting isn't sourced last, but somewhere in the middle
here are my .zshrc, .zshenv, and .zlogin (i use arch so i startx through zlogin). they're not long, perhaps you can find the culprit

thanks a lot! :)

what is -f? couldn't find it in the man or web (never found a good way to search for -X arguments as google interprets it as "don't show 'X'"

It's "ignore (most) user and system dotfiles". See man zshoptions. Or make your search query "zsh -f" with quotes, in which case the first result gives the answer.
I'm not familiar with oh-my-zsh, but try making zsh-syntax-highlighting the last element of the plugins array.

I'm guessing this is resolved.

@danielshahaf sorry for late reply, but i can confirm that since sourcing the plugin last in the plugin list, this problem has gone away
might be worth to mention it in the docs though, it's not obvious for newcomers

Reopened. I don't understand what docs change you are proposing?

@danielshahaf i meant emphasizing that the zsh-syntax-highlighter should be sourced after all other zsh plugins.
for example, i'm sourcing this plugin using oh-my-zsh. so i have this in my .zshrc:
plugins=(
    archlinux systemd
    python pip django celery virtualenv virtualenvwrapper
    npm
    go
    aws tugboat
    tmux
    docker
    colored-man colorize web-search
    history-substring-search
    zsh-syntax-highlighting # syntax-highlighting plugin must be sourced last
)

@oryband https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/README.md already says that (in the installation instructions, and reemphasized in the FAQ later in the file).  What would you change / add?

@danielshahaf maybe emphasize it a bit more. Write:
The plugin must be sourced last in the plugin list in `~/.zshrc`:

instead of:
Activate the plugin in ~/.zshrc (in last position):

@oryband Perhaps this?
diff --git a/README.md b/README.md
index cb22c37..c14c9df 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,7 @@ How to install
         cd ~/.oh-my-zsh/custom/plugins
         git clone git://github.com/zsh-users/zsh-syntax-highlighting.git

-* Activate the plugin in `~/.zshrc` (in **last** position):
+* Activate the plugin in `~/.zshrc`:

         plugins=( [plugins...] zsh-syntax-highlighting)

@@ -47,6 +47,8 @@ How to install

         source ~/.zshrc

+Note that `zsh-syntax-highlighting` must be the last plugin sourced,
+so make it the last element of the `$plugins` array.

 FAQ
 ---

Incidentally, the 'at end of .zshrc' requirement may be removed some day, if/when the redrawhook work is merged.

@danielshahaf looks good :+1:

keep this issue open though, i want to debug the missing char problem and haven't got to it yet

keep this issue open though, i want to debug the missing char problem and haven't got to it yet

Alright.  I suspect history-substring-search might have something to do with it; it duplicates some code from zsh-syntax-highlighting.zsh: https://github.com/robbyrussell/oh-my-zsh/blob/aa15ebad3e9c86fbd8dd5f01803066f82ece9593/plugins/history-substring-search/history-substring-search.zsh#L180

@danielshahaf can these two plugins coexist together? history-substring-search says to source itself after zsh-syntax-highlighting. They're contradicting each other!

The documentation of h-s-s says it is compatible with z-sy-h.  However, h-s-s relies on undocumented implementation details of z-sy-h (such as the existence of a _zsh_highlight function).  That suggests using both at the same time is possible (since h-s-s's docs says so) but brittle (since h-s-s relies on z-sy-h implementation details which may change without notice).
While you're here, are you in contact with h-s-s's authors?  The use of return true in their code could be a bug: that statement sets $? not to zero but to integer value of the shell parameter $true.

@danielshahaf i'm not, just an observer. maybe ping them upstream?

It's already fixed upstream: https://github.com/zsh-users/zsh-history-substring-search/commit/c61c9956c4b56b4c5363eed6aca653c453764b42
What about your missing character problems, have you got to the bottom of them yet?

yup! thanks :)


ldap3==1.0.1 doesn't exists in pypi

Could not find a version that satisfies the requirement ldap3==1.0.1 (from versions: <IP_ADDRESS>.post1, <IP_ADDRESS>.post1, <IP_ADDRESS>, <IP_ADDRESS>.post2, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, 0.9.9, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, 1.0.2)
No matching distribution found for ldap3==1.0.1

Thx! Fixed in 354c377 and version 0.6.9.


"Download Project Source" broken in web editor

Godot version
4.0.stable
System information
Ubuntu 22.04.2 LTS, tested on Firefox and Chromium
Issue description
The web editor no longer allows downloading your project's source from Project > Tools > Download Project Source. This is a critical issue for the web since there is no other way to backup or move your projects, seeing as neither version control nor cloud backup is yet supported (something I am hoping to investigate in future). Every web editor project is essentially stuck in a virtual filesystem limbo.
Reintroduces #71702
Steps to reproduce

Open the web editor at https://editor.godotengine.org/releases/4.0.stable/godot.editor.html
Create and open a new project, or open an existing one
Go to Project > Tools > Download Project Source
Check whether anything is downloaded, and look at the output - it should read:

not enough arguments for format string
Unable to create ZIP file.

Minimal reproduction project
Uploading a project to the web editor would be more effort that it's worth.

Just thought to look at devtools output. On pressing the button, it reads only:
USER ERROR: not enough arguments for format string
   at: vformat (./core/variant/variant.h:830)
USER ERROR: Unable to create ZIP file.
   at: _download_zip (platform/web/api/web_tools_editor_plugin.cpp:87)


[WIP] Navigation

Summary

Navigation for API and Component
Changed the way bookmarks work
Add bottom navigation bar component

To-do

Merge #162 before merging this PR

Fixes #160
FIxes #172
Changelog
Implements navigation for the new design and changes how navigation reducer works

Closing it. The updated files are in mlh-fellowship-ui-changes branch.


[Translate] [Russian] Translate website into Russian

In progress.
I will make this PR so that other users can find errors, because trying to find synonyms and not to lose the meaning of the sentence alone is difficult
Closes #1088.

 Some hosting guides are also rather long. And having everything 100 % translated is just the beginning, the docs are changed several times a week and everything needs to be kept in sync. This is why it is best to have a team of people per language :)

It's ok, I have enough energy and interest in the project to finish the translation and translate the necessary elements in the future

Очень большие вопросы к переводу hydrate.
Само слово гидратация мне не нравится. Стоит рассмотреть другой перевод в будущем

@MasedMSD you should still try to find a few people who can review your translations. Our experience with existing translations shows that no translation is perfect the first time, it always needs more than one pair of eyes to iterate on the language, catch mistakes, and find the right words. Translations written by one person alone are comparable to untested, unreviewed code. Sure, might be largely correct, but it's nothing that should be shipped.
Once all these things are decided, it is accepted (albeit not recommended) to sync new changes alone.

I'd love to, but I don't have any programmer friends who are as enthusiastic to check my translations for free. I can only hope that someone will take a look at my commits.

I'll try to reduce the number of errors as much as I can, and the rest will have to be recognized over time

Maybe someone from Russian chat community can help me

@rojvv kindly asked for support here: https://t.me/grammyjs_ru/50113

Can't fix formatting locally due to

So I'll do it a little bit later

Alr... hosting 💀

Never mind the deno.land/x/redis error, we are waiting for https://github.com/denoland/deno_registry2/issues/347 and @dcdunkan is probably going to implement a workaround in https://github.com/grammyjs/link-checker in the meantime.

Yeah, I got it

@KnorpelSenf I'll need some time to double-check everything I've written and might have missed

@KnorpelSenf Can I add jokes or phrases from myself to make them understandable to the Russian-speaking community? I don't find word-for-word translation interesting. Although I liked the comments and jokes of the original translation very much.

Yes. It's much more important to get the same content across. If you can convey the same message with a different wording or analogy, please do that. Some jokes only work in English, you can drop them in Russian rather than trying too hard to funny just because English did it, this would just get awkward. Similarly, if there's a perfect opportunity for a joke or a reference that everyone speaking Russian will understand, feel free to add it. This can greatly improve the reading flow and make it easier to remember the technical content of the documentation.
That being said, it's important that all the code examples stay the same, the headers and structure and warnings and tips and so on shouldn't be removed. A good metric is this: If you have two developers and one of them reads a page in Russian and the other one a page in English, they should have an equal understanding of that page afterwards.
Note that links to external pages can be adjusted if that improves the link. For example, if the English docs link to an English Wikipedia article, the Russian docs may or may not reference the Russian version of that article. This entirely depends on whether the Russian wiki entry is good enough to explain the concept in question. If we link to YouTube and you know a different video by a different creator who explains the same thing in Russian, you may as well link to that other video.
There's one place where this goes even further.  Feel free to insert any decent joke you like (well maybe nothing that is so dark we have to worry). It isn't necessary that this has to do anything with the English version at all, or even that Russian has the same number of strings.

Continued in #1101


WIP: plasma5: 5.12 -> 5.13

Motivation for this change
This is a preparation for the plasma 5.13 release. It currently uses the released beta version as source. I will update the commit, when the final release is done :)
@peterhoeg @ttuegel @adisbladis
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Today, 5.13 stable was released. This pr is ready. @ttuegel will you merge this, qt 5.11, kde_frameworks and kde_applications?

@yegortimoshenko can you merge this and the other named pull requests? So Hydra just needs to build all the stuff once.