 Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.107-RHEL7 (2015-10-14)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: overlay bridge null host
Kernel Version: 3.10.0-327.4.4.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 7.481 GiB
Name: node1.docker1.x.x
ID: x
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-ip6tables is disabled
Cluster store: zk://x.x.x.x:2181,x.x.x.x:2181/swarm
Cluster advertise: x.x.x.x:2375

Additional environment details (AWS, VirtualBox, physical, etc.):
Running from different client versions of Docker (no errors)
Steps to reproduce the issue:

Run docker run -- run a process that takes a long time to complete (1 minute or more)

Describe the results you received:
Process sometimes stall
Describe the results you expected:
Process shouldn't stall
Additional information you deem important (e.g. issue happens only occasionally):
The task does complete successfully, and the container in the swarm cluster does shutdown. The problem is that docker run doesn't actually quit.
It looks like the docker client CLI essentially gets stuck into an infinite loop:
client ~ # ps aauwx | grep docker
root     18639  0.0  0.0 103244   888 pts/0    S+   04:36   0:00 grep docker
user  18784  0.0  0.0 280540  7828 ?        Sl   Aug22   0:01 docker run ...

client ~ # strace -p18784
Process 18784 attached - interrupt to quit
futex(0x127d238, FUTEX_WAIT, 0, NULL
# CTRL-C

client ~ # lsof | grep 18784 | tail -n5

docker    18784 user    1w     FIFO                0,8       0t0  152669047 pipe
docker    18784 user    2w     FIFO                0,8       0t0  152669047 pipe
docker    18784 user    3u     IPv4          152669386       0t0        TCP clientip:39923->swarm:2376 (ESTABLISHED)
docker    18784 user    4u      REG                0,9         0       3827 [eventpoll]
docker    18784 user    5u     IPv4          152669406       0t0        TCP clientip:39932->swarm:2376 (FIN_WAIT2)

client ~ # netstat -apn | grep FIN
tcp        0      0 clientip:39932          swarm:2376           FIN_WAIT2   18784/docker

In other words, it looks like every once in a while, the client side doesn't receive notification that the server has closed it's socket. I checked on the swarm, and the connection has indeed been cleaned up.
We do not see any similar behaviour with any other services we are running on the same network.

I just did some additional research, so here is a quick update:

FIN_WAIT_2 might not be the issue after all. It appears that docker run does exit even if there is a FIN_WAIT_2 connection as listed above
However, it does look like the sockets are kept alive on the client side...
While I cannot see any matching connections open on the server side (netstat doesn't list it on the server).
The connection in FIN_WAIT_2 state continues to generate traffic (sent every 30 seconds):

06:56:05.202189 IP clientip.56290 > host: Flags [.], ack 1, win 4114, length 0
06:56:05.202219 IP swarm.2376 > clientip.56290: Flags [.], ack 1, win 235, options [nop,nop,TS val 679871121 ecr<PHONE_NUMBER>], length 0
PPP

On this run, the client was on a macOS machine. According to dtruss, it would do select calls every minutes or so:
select(0x0, 0x0, 0x0, 0x0, 0x700000080DE8)		 = 0 0

Sorry for the lack of response here @stelcheck. I'm on sure I fully grasp the issue, but ping @cpuguy83 perhaps you have some thoughts 😇

This sounds like a bug in swarm's TCP connection hijack. Might be good to report over there in github.com/docker/swarm.


Adds brave.Tagger, a safer type to expose for simple customization

Before, we passed brave.Span to callbacks that only add tags. This has
a number of problems, including that it is harder to test and tempts
users to interfere with the Span (like calling finish).
This changes our callbacks to use a simpler type brave.Tagger, which
existed in an early version of Brave 4, and recommends exposing this
instead of brave.Span for user callbacks like tag customization.

cc @llinder @devinsba @reta I think this is a pretty important thing to lock-down before our "formal" release of Brave 4.3

Sorry I didn't get to this in time, I do have an API level comment though. I think it would probably be nice to have the ability to add annotations (logs) also in addition to tags/BinaryAnnotations

Sorry I didn't get to this in time, I do have an API level comment though.
I think it would probably be nice to have the ability to add annotations
(logs) also in addition to tags/BinaryAnnotations

This interface is passed for callbacks to add tags, though. For example
request and response tags which are done at the same time as "cs" or "sr"
are sent. It would be confusing to have a method called requestTags and add
annotations during that, right?
I'd expect that we'd want a different interface for general purpose
callbacks, if you were thinking about what to use for people setting things
in scope that weren't normal http parsing.
like SpanCustomizer which extends Tagger, allows annotations and maybe even
exposes the trace context?

On the other hand, i am all for simplifying things.. eventhough these
particular hooks say tags on them, we can rename them. If we add .name to
whatever we call the span customizer, we can remove a span naming hook and
just call it customizeRequest(..., req, customizer)
So,
abstract class SpanCustomizer {
abstract Customizer name(String name);
abstract Customizer annotate(String value);
abstract Customizer tag(String key, String value);
}
While parsing has no use case for annotations, this could be safer to
expose to general purpose callbacks like user interceptors even via request
attributes. Or, you could make an injection handler for it.
This cant be implemented as a lambda but whatev :)
@devinsba wdyt?

Actually this is awesome because we can do things like this..
new SpanCustomizerLimiter()
.nameLength(255)
.tagValueLength(255)
.limit(userProvidedCustomizer);
Very nice separation of concerns and this would also prevent things like I
did like accidentally add mysql tag that was 15MiB

https://github.com/openzipkin/brave/pull/417


Metaflow writes and reads KFP pipeline parameters

Changes:

Adding ability for KFP plug-in to read parameters from cli and env.

When triggering KFP run from local click cli, parameters can be set using standard Metaflow way. (i.e. --beta 10)
(To be tested) When triggering from KFP, parameters can be overwritten by changing the json formatted PipelineParameter

Implementation:
Mostly imitating implementation of aws step function plug-in. Once json formatted parameter is passed to Metaflow process env as METAFLOW_PARAMETERS environmental variable, it is read by this line in set_batch_environment.py and taken over by existing step function code.
Testing:
Ran python metaflow/tutorials/09-hellokfp/parameter_flow.py kfp run --beta 10 to trigger a kfp run in sandbox cluster: https://kubeflow.corp.dev.zg-aip.net/_/pipeline/#/runs/details/03b1cf14-41f3-49cb-90a1-6a90bff0333d
Look in logs of start and end steps for printed parameter values in the end.
Alpha: 0.01
Beta: 10

Todos:

Verify usage in rent zest
Change parameter passing for kfp side to be per-parameter (instead of json) for convenience.

Thanks to @talebzeghmi for helping to navigate through quite some complexity.

Manually squashed commits. Merging.
I've noted that a KFP plug in test is still needed. I will do another PR for it.


Language and time format

preposition corrected
standard time format

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Please check if the PR fulfills these requirements

[ ] E2E Tests for the changes have been added  via Cypress
[ ] Meaningful rspec tests have been added
[ ] Docs have been added / updated

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

This branch seems to be detached through a force push. I would suggest applying the two relevant patches by @hungrywords in a seperate branch, branching from current mampf-next.
Remember to always start your work from mampf-next, because it is the stable development  branch.

Closed in favor of #268


Typos within documentation

Hello,
while studying your library i have found the following typos:

Processes/FlowResistance.mo line 80 "turbulent" <span style="font-size: 12pt;">Implementation of a flow resistance pipe with different selectable flow resistance functions (laminar, laminar-turbolent, linear-quadratic).
https://github.com/DLR-SR/ThermofluidStream/blob/c8ceaecfe4e3b7732eb7219b7548dd99bc3d303e/ThermofluidStream/Processes/Internal/FlowResistance/linearQuadraticPressureLoss.mo#L6 - resistance
https://github.com/DLR-SR/ThermofluidStream/blob/c8ceaecfe4e3b7732eb7219b7548dd99bc3d303e/ThermofluidStream/Processes/Internal/FlowResistance/partialPressureLoss.mo#L14 - information
https://github.com/DLR-SR/ThermofluidStream/blob/c8ceaecfe4e3b7732eb7219b7548dd99bc3d303e/ThermofluidStream/Processes/Internal/FlowResistance/pleaseSelectPressureLoss.mo#L11 - always
https://github.com/DLR-SR/ThermofluidStream/blob/c8ceaecfe4e3b7732eb7219b7548dd99bc3d303e/ThermofluidStream/Processes/Internal/PartialTurboComponent.mo#L92 - characteristics
https://github.com/DLR-SR/ThermofluidStream/blob/c8ceaecfe4e3b7732eb7219b7548dd99bc3d303e/ThermofluidStream/Interfaces/Inlet.mo#L41 - supposed

Please check and correct.
Bests,

Thanks for your work. I fixed the typos in 3e2fc7841fa8118c80016419cbb2e9bc79927420.
If you want you could also create a fork, fix the typos and then make a pull request.

yeah. i forgot about that possibility. I'll do it the next time.
Bests,


bump: release v1.1.2

Release
This would mean tagging d055873720b1a21aa627ee56edc548e0d104002a as v1.3.0-rc.1 to release.
This release removed the blob signing docs and fixed the signingAgent value to be notation-go/1.1.2
Vote
We need at least 4 approvals from 6 maintainers to release v1.1.2.

[ ] Pritesh Bandi (@priteshbandi)
[ ] Junjie Gao (@JeyJeyGao)
[ ] Rakesh Gariganti (@rgnote)
[ ] Milind Gokarn (@gokarnm)
[ ] Shiwei Zhang (@shizhMSFT)
[ ] Patrick Zheng (@Two-Hearts)

What's Changed

bump: bump up and vote notation v1.1.1 by @JeyJeyGao in https://github.com/notaryproject/notation/pull/963
fix(docs): remove blob signing docs for release-1.1 branch by @JeyJeyGao in https://github.com/notaryproject/notation/pull/1013
bump: update notation-go v1.1.2 by @JeyJeyGao in https://github.com/notaryproject/notation/pull/1041
bump: dependencies for release-1.1 branch by @JeyJeyGao in https://github.com/notaryproject/notation/pull/1057

Full Changelog: https://github.com/notaryproject/notation/compare/v1.1.1...d055873720b1a21aa627ee56edc548e0d104002a

LGTM


Principal Component Analysis

I propose to open a "Dimensionality Reduction" section and this PR provides a simple script computing the PCA with two illustrations :

with random points in 2D to illustrate the projection vectors that are computed
with 28x28 digits projected in 2D. The top plot shows the digits projected in the space spanned by the first 2 principal vectors. The bottom plot shows the projection vectors and permit to make sense of the top plot since the vectors clearly indicate the digits they separate.

Can you post the resulting figures here ?

Here they are.

Thanks. You can use  alpha=0.25 in scatter to get a better sense of the distribution.

This is definitely a good idea.
The updated plots :

Didn't check you did not modified the README. Can you make a PR?


Fix diff file tree height

Fix diff file tree height
Before

After

This PR is kind of duplicate with https://github.com/go-gitea/gitea/pull/23553 that includes a better fix.


Don't emit 'end' events until all concurrent transforms are done

If a through2-concurrent transform is created without specifying a flush argument, then an 'end' event can be generated before all of the transforms are complete.
When a flush argument is provided, the through2-concurrent stream will wait for all transforms to complete.
This change makes the behavior consistent with or without the flush argument, always waiting for transforms to complete before emitting an 'end' event.

Thanks for this, much appreciated! I'll put out a new release today


Too much CPU in use

Ive run this a few times now on a Parrot OS machine running with 8GB RAM and 8 vCPUs. Everytime it runs it freezes up my whole VM without printing anything. Perhaps could you consider allowing the user to specify how many threads they want to use to prevent this happening? Also lower the default amount of threads.

@watchdog2000 Problem in your VM, it is normal for system to freeze after a lot of threads started.

For now I’m going to customise the code myself because it does not work with some wordlists due to character encodings and also crashes my system because of too many threads.
it’s a shame, I really wanted this to work because it looked great, but it just doesn’t.
its not even like my system is low spec, it just freezes, my system doesn’t like it and therefore kills the process off after some time waiting.

@watchdog2000
The encoding error is problem in your file, not in my script. To fix this just change encoding to utf-8. My script uses open() - default python function. I can not fix YOUR problem in YOUR file.

Every other program manages to open and read my file perfectly fine. With rockyou being one of the most popular wordlists in use I would have thought a developer would write to have it working.
Sorry for trying to make suggestions to improve your open source project. Nothing I’ve said has been malicious, I just raised my issue and made a suggestion so users have a better time using your code.


YAML snippet documents a pipeline value, Arguments mentions pipelineId

Which one is it then? It's unclear.

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

ID: b03d67d0-8738-72e6-dbe7-324c1784d4fc
Version Independent ID: bbb4d774-cd98-3ecb-7ccf-5f49e6f2b425
Content: Download Pipeline Artifact task - Azure Pipelines
Content Source: docs/pipelines/tasks/utility/download-pipeline-artifact.md
Product: devops
Technology: devops-cicd
GitHub Login: @steved0x
Microsoft Alias: midenn

From using this, and checking the code in the task, it is indeed pipelineId and not pipeline (name). Docs need to be updated, or code needs to be updated, or both.

Hi @kzu and @d3r3kk. Thank you both for the feedback and input. I've recently updated with the current, correct guidance as well as an update coming today with examples. I'm going to close this issue. However, if you have any more feedback, feel free to open a new issue!


Mirrored monitors crash Hyprland

Hyprland Version
822775aa8c0134e66cbf09b7dfd785fad13f329a
Bug or Regression?
Regression
Description
Hyprland crashes when I start it with mirrored monitors in my configuration. It seems to run fine without.
(I cannot for the life of me figure out how to get asan working with nix but according to coredumpctl it is from a renderMonitor call.)
How to reproduce
Add something like monitor = HDMI-A-1, preferred, auto, 1, eDP-1 into your Hyprland config on the latest commit and then try to run Hyprland.
Crash reports, logs, images, videos
hyprlandCrashReport266872.txt

oopsie woopsie XD


[WIP] Handle mixed backup providers

https://github.com/rancher/rancher/issues/18838

LGTM. Merge should happen after vendor.conf is updated.


Fix typo in ledger comment

Description
Fix some incorrect word in ledger comment.
Motivation and Context
Fixes #
How Has This Been Tested?
Checklist:

[x] I have added a Signed-off-by.
[] I have either added documentation to cover my changes or this change requires no new documentation.
[] I have either added unit tests to cover my changes or this change requires no new tests.
[] I have run golint and have fixed valid warnings in code I have added or modified. This tool generates false positives so you may choose to ignore some warnings. The goal is clean, consistent, and readable code.

The continuous integration build process will run make checks to confirm that tests pass and that code quality meets minimum standards. You may optionally run this locally as PRs will not be accepted until they pass.
Signed-off-by:Kai Chen<EMAIL_ADDRESS>

Need re-trigger travis build

Travis failed on an unrelated issue. Ok as this is just changes to comments. LGTM. Thanks!


Can't install DeepGOPlus dependencies

Hi!
I've installed the majority of the required packages, but I'm facing errors installing word2vec. I've tried "conda install word2vec==0.10.2", "pip install word2vec==0.10.2" and "python3 -m pip install word2vec==0.10.2" but neither of these work.
When I try to install by conda, I receive this message:
`$ conda install word2vec==0.10.2
Channels:

conda-forge
defaults
bioconda
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

word2vec==0.10.2

Current channels:

https://conda.anaconda.org/conda-forge
defaults
https://conda.anaconda.org/bioconda/linux-64
https://conda.anaconda.org/bioconda/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org

and use the search bar at the top of the page.`
and when I try to install by pip install or python3 - m pip install, I receive this:
`pip install word2vec==0.10.2
Defaulting to user installation because normal site-packages is not writeable
Collecting word2vec==0.10.2
Using cached word2vec-0.10.2.tar.gz (60 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [43 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-o6469j0x/word2vec_6a08e0e29b6e402db3c30ef993ccb849/setup.py", line 102, in
ext_modules=cythonize("word2vec/word2vec_noop.pyx"),
File "/home/queirozhanna/.local/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1008, in cythonize
ctx = Context.from_options(c_options)
File "/home/queirozhanna/.local/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 100, in from_options
return cls(options.include_path, options.compiler_directives,
File "/home/queirozhanna/.local/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 78, in init
from . import Builtin, CythonScope
File "/home/queirozhanna/.local/lib/python3.10/site-packages/Cython/Compiler/CythonScope.py", line 5, in
from .UtilityCode import CythonUtilityCode
File "/home/queirozhanna/.local/lib/python3.10/site-packages/Cython/Compiler/UtilityCode.py", line 3, in
from .TreeFragment import parse_from_strings, StringParseContext
File "/home/queirozhanna/.local/lib/python3.10/site-packages/Cython/Compiler/TreeFragment.py", line 17, in
from .Visitor import VisitorTransform
File "Cython/Compiler/Visitor.py", line 16, in init Cython.Compiler.Visitor
File "/home/queirozhanna/.local/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 33, in
from .Pythran import has_np_pythran, pythran_type, is_pythran_buffer
File "/home/queirozhanna/.local/lib/python3.10/site-packages/Cython/Compiler/Pythran.py", line 10, in
import pythran
File "/usr/lib/python3/dist-packages/pythran/init.py", line 41, in
from pythran.toolchain import (generate_cxx, compile_cxxfile, compile_cxxcode,
File "/usr/lib/python3/dist-packages/pythran/toolchain.py", line 6, in
from pythran.backend import Cxx, Python
File "/usr/lib/python3/dist-packages/pythran/backend.py", line 7, in
from pythran.analyses import LocalNodeDeclarations, GlobalDeclarations, Scope
File "/usr/lib/python3/dist-packages/pythran/analyses/init.py", line 12, in
from .aliases import Aliases, StrictAliases
File "/usr/lib/python3/dist-packages/pythran/analyses/aliases.py", line 6, in
from pythran.syntax import PythranSyntaxError
File "/usr/lib/python3/dist-packages/pythran/syntax.py", line 7, in
from pythran.tables import MODULES
File "/usr/lib/python3/dist-packages/pythran/tables.py", line 174, in
BINARY_UFUNC = {"accumulate": FunctionIntr()}
File "/usr/lib/python3/dist-packages/pythran/intrinsic.py", line 101, in init
super(FunctionIntr, self).init(**kwargs)
File "/usr/lib/python3/dist-packages/pythran/intrinsic.py", line 58, in init
self.args = ast.arguments(
File "/home/queirozhanna/.local/lib/python3.10/site-packages/gast/gast.py", line 10, in create_node
assert nbparam in (0, len(Fields)),
AssertionError: Bad argument number for arguments: 7, expecting 6
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.`
Without word2vec==0.10.2, I can't install DeepGOPlus, which is necessary to my work 😔

Hi,
Which version of python are you using? Please use python3.7.
I don't see word2vec requirement in https://github.com/bio-ontology-research-group/deepgoplus/blob/master/requirements.txt. I would recommend installing the dependencies with pip

I created a tutorial for deepgoplus that shows how I installed and ran the software here. Perhaps it will be helpful
https://bioinformaticsworkbook.org/dataAnalysis/GenomeAnnotation/DeepGoPlus_AI_Functional_Prediction_of_Proteins.html#gsc.tab=0

Thank you. Great work!


[CROSSDATA-677] Microstrategy - Tests Queries

Description
Microstrategy - Tests Queries(Automated)

Coverage decreased (-0.06%) to 53.169% when pulling 00cfc01d7812da713b73b695b33ddefc5e0d4f57 on hdominguez1989:testsAT/Micro into 5f3695ec5cd8cee57d2340fbb0f9f692ad0bc890 on Stratio:master.

+1

Coverage decreased (-0.06%) to 53.169% when pulling 00cfc01d7812da713b73b695b33ddefc5e0d4f57 on hdominguez1989:testsAT/Micro into 5f3695ec5cd8cee57d2340fbb0f9f692ad0bc890 on Stratio:master.


Command failed with exit code 2     at ChildProcess.whenDone (/usr/local/node/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23)     at ChildProcess.emit (events.js:110:17)

Error: /root/workspace/web/myApp/platforms/android/cordova/build: Command failed with exit code 2
at ChildProcess.whenDone (/usr/local/node/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)

Could you provide information from ionic info.
Also, could you tell more about what command you typed in?

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

tks

I am getting this error.......!!!!!!!
Skipping build...
Built the following apk(s):
C:\Users\w2s-pc\helloWorld\platforms\android\app\build\outputs\apk\debug\app-debug.apk
Using apk: C:\Users\w2s-pc\helloWorld\platforms\android\app\build\outputs\apk\debug\app-debug.apk
Package name: io.ionic.starter
LAUNCH SUCCESS
[ERROR] An error occurred while running cordova run android (exit code 1).

same here!!..
at ChildProcess.whenDone (/Users/hari/getshared/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
(node:21200) UnhandledPromiseRejectionWarning: Unhandled promise rejection.

I ran into the same issue as @shriharip , but the solution did not work for me.  I am still receiving the same error.
Here is my ionic project configuration:
cli packages: (C:\Users\Brandon Ly\AppData\Roaming\npm\node_modules)
@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:
cordova (Cordova CLI) : 8.0.0

local packages:
@ionic/app-scripts : 3.1.8
Cordova Platforms  : android 7.0.0
Ionic Framework    : ionic-angular 3.9.2

System:
Android SDK Tools : 26.1.1
Node              : v9.11.1
npm               : 5.8.0
OS                : Windows 10

Environment Variables:
ANDROID_HOME : C:\Android\sdk

Misc:
backend : pro

Any help would be greatly appreciated !

one more... please help
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:transformNativeLibsWithStripDebugSymbolForRelease'.

A problem occurred starting process 'command '/Users/desarrollo/Library/Android/sdk/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/bin/mips64el-linux-android-strip''

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

Get more help at https://help.gradle.org

BUILD FAILED in 41s
44 actionable tasks: 2 executed, 42 up-to-date
(node:755) UnhandledPromiseRejectionWarning: Error: /Users/desarrollo/Desktop/ionicProyectos/Carbox/carboxDrive/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:transformNativeLibsWithStripDebugSymbolForRelease'.

A problem occurred starting process 'command '/Users/desarrollo/Library/Android/sdk/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/bin/mips64el-linux-android-strip''

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Get more help at https://help.gradle.org

BUILD FAILED in 41s
at ChildProcess.whenDone (/Users/desarrollo/Desktop/ionicProyectos/Carbox/carboxDrive/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:567:12)
(node:755) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:755) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Locking this issue as it's 3 years old and has a generic title. None of the posted issues are likely the same issue because superspawn is a utility for spawning child processes, and Cordova uses it a lot.
The underlying issue is likely a misconfigured or corrupt native Cordova platform. Try this:
rm -rf platforms/ plugins/
cordova prepare

This will force Cordova to create a clean platform. If this doesn't work, try updating to the latest Cordova CLI, cordova-ios, cordova-android. If that doesn't work, please  utilize our support page.


Add golden tests for cookiecutter

A very easy way to make sure templates don't introduce regressions is to do golden testing.
This basically consists in testing the generated files manually and once they are verified to work well, store them as the "golden copy". Golden test consist in just comparing newly generated files with the golden copies.
This is an easy way to test complex outputs (like in this case, where testing involves running github actions, checking if owners are assigned to PRs, etc.) and making sure regressions are not introduced in refactoring for example.
There are 2 main golden tests libraries in Python:

~https://pypi.org/project/pytest-goldie/ | snyk report~
https://pypi.org/project/pytest-golden/ | snyk report

Both compare similarly in terms of usage and sustainability according to Snyk, so we should compare the features and general feel to select one.
Update: It looks like  pytest-goldie might be a fake. The source is not available in pypi, the home page gives a 404.

Sadly pytest-goldie looks fake and pytest-golden doesn't support doing golden testing of whole files and directory trees, so we need to do an ad-hoc solution. I opened a feature request in pytest-golden in case there is interest in implementing it, we might contribute that.

https://github.com/oprypin/pytest-golden/issues/5


[BUG] Wrong stats action name configured in Security plugin

What is the bug?
Wrong stats action name configured in Security plugin , check https://github.com/opensearch-project/security/pull/1770 and https://github.com/opensearch-project/security-dashboards-plugin/pull/953
How can one reproduce the bug?
Steps to reproduce the behavior:

Set up test cluster
Configure internal user MLReadonly
Add user to role ml_read_access
Login with MLReadonly user and run GET /_plugins/_ml/stats will see no permission error

What is the expected behavior?
Read only user should be able to get stats.
We should add more test case to cover admin and readonly user can get stats correctly.
What is your host/environment?

OS: Amazon Linux 2
Plugins: security, ML-Commons

We plan to fix this in 2.0 GA


Retest PR cause Github API call failed with 404

After comments on a Github PR "retest this please". Jenkins could not rebuild, and the following exception is logged in Jenkins log page.
It might be https://api.github.com/repos/<UserName>/<RepoName>/pulls/4/commits .

Plugin version: 1.33.2

A thread (Thread-9/80) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
java.lang.Error: java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
	at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:433)
	at org.kohsuke.github.Requester$PagingIterator.hasNext(Requester.java:400)
	at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:44)
	at org.kohsuke.github.PagedIterator.hasNext(PagedIterator.java:32)
	at org.jenkinsci.plugins.ghprb.GhprbPullRequest.tryBuild(GhprbPullRequest.java:365)
	at org.jenkinsci.plugins.ghprb.GhprbPullRequest.check(GhprbPullRequest.java:214)
	at org.jenkinsci.plugins.ghprb.GhprbRepository.onIssueCommentHook(GhprbRepository.java:346)
	at org.jenkinsci.plugins.ghprb.GhprbTrigger.handleComment(GhprbTrigger.java:618)
	at org.jenkinsci.plugins.ghprb.GhprbRootAction$1.run(GhprbRootAction.java:233)
Caused by: java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
	at org.kohsuke.github.Requester.handleApiError(Requester.java:592)
	at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:429)
	... 8 more
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/<UserName>/<RepoName>/issues/4/commits
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1926)
	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1921)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1920)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1490)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
	at org.kohsuke.github.Requester.parse(Requester.java:524)
	at org.kohsuke.github.Requester.access$200(Requester.java:68)
	at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:424)
	... 8 more
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/<UserName>/<RepoName>/issues/4/commits
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1872)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
	at org.kohsuke.github.Requester.parse(Requester.java:514)
	... 10 more

Richard

What version of the plugin are you using?
Did you check your Github access for the user/token you are using for the
plugin?  (Check the global configuration and the job)
How about the connectivity between your Jenkins instance and Github?

In a vacuum this looks like either a permissions issue or a network issue.

Hi,

Plugin version: 1.33.2
I've tested the token with curl, the https://api.github.com/repos/<UserName>/<RepoName>/issues/4/commits returns 404, and https://api.github.com/repos/<UserName>/<RepoName>/pulls/4/commits returns fine. (change issues to pulls).
I've also tested in jenkins configuration page with the same repo:

Connectivity is not very well, but just slow.

Thanks @richard1122

It's an private repo inside an organization. And I'm the owner of that organization.

Here are all the scopes used.

Hi, I am also suffering from this issue.
I'm using Github Enterprise 2.8 with Github Pull Request Builder plugin 1.33.2
(but, this also occurs at the master branch)
In my opinion, this is more complex issue because it related to github-api.
This error is occurs at this point ( https://github.com/jenkinsci/ghprb-plugin/blob/master/src/main/java/org/jenkinsci/plugins/ghprb/GhprbPullRequest.java#L365 )
by calling listCommits.
But, github's hook returns api url /repos/:user/:repo/issues/:pr_number not /repos/:user/:repo/pulls/:pr_number.
github-api project's GHPullRequest implements are ( https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHPullRequest.java#L250 ).
At this point, we neither could modify PR's api url nor call user defined url.

+1 having same issue

@richard1122 if you have a cycle, could you see if this was a problem in 1.33.1? We upgraded the github-api dependency with the last release. However, grepping the commit history on the api library, nothing is sticking out to me. So, I/m trying to determine the depth of this problem.
Also, is it true that everyone on this list is using GH Enterprise? If someone is using GH public, please let me know? (I will verify on GH public when I have time, but I'm not seeing that happen for a few days at least, so thought I'd ask.)

@benpatterson I am using github public on a private repo and I have this very issue. Tell me if I can do anything, I am very motivated on this one :-)

@benpatterson
I just solved this issue. In my case, it occurred when I set the label in Github PR Builder.
I will comment more detailed source trace and pull request soon.

Great news, Sang. We added label capability with this release so your
conclusion is certainly plausible.
I'll hold tight on a deeper dive, then.

I have no label on my side. Currently:

PR are built when a new commit is pushed
PR are not built when there are created or when we request a build through a comment

@nMustaki
Did you mean you leaving blank on List of github labels for which the build should not be triggered. to ghprb's advanced option?

@sjstyle yes it's blank, not even a space, on both jenkins/configuration and myproject/configuration

@nMustaki
I think you better check Issue Comment in Webhook option on your GitHub Repository.

On this issue, FileNotFoundException occurs in Jenkins log. But I doubt your case just didn't receive any comment event on pull request.

Issue comment is checked, I have the same issue as you (sadly)
Pull request #807 was updated/initialized on ORG/REPO at 12/1/16 1:21 PM by Nathan Mustaki (comment)

Dec 01, 2016 1:21:31 PM SEVERE hudson.init.impl.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler uncaughtException

A thread (Thread-72/1006) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
java.lang.Error: java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
    at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:433)
    at org.kohsuke.github.Requester$PagingIterator.hasNext(Requester.java:400)
    at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:44)
    at org.kohsuke.github.PagedIterator.hasNext(PagedIterator.java:32)
    at org.jenkinsci.plugins.ghprb.GhprbPullRequest.tryBuild(GhprbPullRequest.java:365)
    at org.jenkinsci.plugins.ghprb.GhprbPullRequest.check(GhprbPullRequest.java:214)
    at org.jenkinsci.plugins.ghprb.GhprbRepository.onIssueCommentHook(GhprbRepository.java:346)
    at org.jenkinsci.plugins.ghprb.GhprbTrigger.handleComment(GhprbTrigger.java:618)
    at org.jenkinsci.plugins.ghprb.GhprbRootAction$1.run(GhprbRootAction.java:233)
Caused by: java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
    at org.kohsuke.github.Requester.handleApiError(Requester.java:592)
    at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:429)
    ... 8 more
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/ORG/REPO/issues/807/commits
    at sun.reflect.GeneratedConstructorAccessor153.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1926)
    at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1921)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1920)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1490)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    at org.kohsuke.github.Requester.parse(Requester.java:524)
    at org.kohsuke.github.Requester.access$200(Requester.java:68)
    at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:424)
    ... 8 more
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/ORG/REPO/issues/807/commits
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1872)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
    at org.kohsuke.github.Requester.parse(Requester.java:514)
    ... 10 more

Got the same behavior as @nMustaki, no labels anywhere but ended up with the same stack trace.  A downgrade to 1.33.1 fixed it for me.

Downgrade to 1.33.1 works fine for me too.
And I'm using Github Public version.

Just chiming in to say I'm experiencing the same issue. In my case:

A newly created PR with a single commit was not built
Adding a trigger comment didn't trigger a build either

I will look at this once I'm free, though it might take a couple of days. We'll see if @sjstyle beats me to it, in that case.

@richard1122 , et al. I believe #443 addresses this.
Thanks for doing the initial analysis; I was able to reproduce the problem, and rolled back github-api versions. The problem appears to be introduced in 1.76 so this rolls us back to 1.75. I haven't isolated the precise change, but again this should solve the problem.
Looks like I did have some cycles to look tonight. #UnderPromiseOverDeliver
Pls let me know if you have any feedback & cheers.

Ah and I should point out you may need to manually install the older github-api plugin when pulling in the fix.

@benpatterson
I solved and traced this issue by #444.

I see @sjstyle 's PR and will continue reviewing that. In the meantime, I've released 1.33.3 with the downgraded github-api dependency. I was able to resolve the error described in this ticket with the downgraded github-api plugin, and via reproducing the problem, narrowed it down to the 1.76 (and beyond) release of that dependency. That said, I wasn't able to narrow down to the exact offending commit, so release 1.33.3 with only partial confidence that the problem is resolved. So, I'll look at the other PR that @sjstyle has referenced, when I have time in the coming days.
Please take the following steps if you're still seeing this error:

Install the 1.33.3 (or greater)
Downgrade github-api plugin manually to 1.75. You will only need to do this if you had 1.33.2 installed.
Restart the Jenkins service and re-save your job.

I'll leave this ticket open for now; ping back if the new release has had effect. Cheers.

So I've:
Updated GHPRB to 1.33.3
Downgraded Github API to 1.75
Was forced to downgrade Github Authentication Plugin to 0.24 (as it requires 1.77 otherwise)
Github plugin is still at 1.24.0 (not sure if it matters)
Yet I am still getting:
A thread (Thread-18/121) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
java.lang.Error: java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
	at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:425)
	at org.kohsuke.github.Requester$PagingIterator.hasNext(Requester.java:392)
	at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:44)
	at org.kohsuke.github.PagedIterator.hasNext(PagedIterator.java:32)
	at org.jenkinsci.plugins.ghprb.GhprbPullRequest.tryBuild(GhprbPullRequest.java:365)
	at org.jenkinsci.plugins.ghprb.GhprbPullRequest.check(GhprbPullRequest.java:214)
	at org.jenkinsci.plugins.ghprb.GhprbRepository.onIssueCommentHook(GhprbRepository.java:346)
	at org.jenkinsci.plugins.ghprb.GhprbTrigger.handleComment(GhprbTrigger.java:618)
	at org.jenkinsci.plugins.ghprb.GhprbRootAction$1.run(GhprbRootAction.java:233)
Caused by: java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
	at org.kohsuke.github.Requester.handleApiError(Requester.java:553)
	at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:421)
	... 8 more
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/syncthing/syncthing/issues/3765/commits
	at sun.reflect.GeneratedConstructorAccessor89.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at sun.net.www.protocol.http.HttpURLConnection$7.run(HttpURLConnection.java:1725)
	at sun.net.www.protocol.http.HttpURLConnection$7.run(HttpURLConnection.java:1723)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1721)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1292)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
	at org.kohsuke.github.Requester.parse(Requester.java:492)
	at org.kohsuke.github.Requester.access$200(Requester.java:69)
	at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:416)
	... 8 more
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/syncthing/syncthing/issues/3765/commits
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1674)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
	at org.kohsuke.github.Requester.parse(Requester.java:486)
	... 10 more

Any workarounds?

I'm assuming you also restarted Jenkins?
No other options at the moment. I've not had a chance to debug in depth.
I'm hoping to have time for that this week.

Yeah I have restarted jenkins and resaved all thejobs.

OK. Thanks for pinging back.

@AudriusButkevicius
Can you verify my solution works?

You can roll back to previous version by jenkin's plugin manager.

That has a lot of things I'd rather not pull in, if there is a branch with just the fix, let me know.

I've narrowed down the problem to checkLabels(). Labels are only available in the github issues API.
In terms of implementation, as a way of obtaining labels through the Jenkins github-api repo, the pr object is being rewritten with the fetchIssue call. The result is pr.url has issues in the path rather than pulls, as other folks on this list have observed. For now I'm going to plan on reverting the labels PR. (Looks like the @sjstyle fix will not resolve that issue since getLabels is called in that version of code as well.)

@benpatterson
My solution works because checkDirtyPullRequest() method.
This checks whether checkLabels() method calls. If it called, it calls github-api to get original pull request object and destroy rewritten issue object.
So, after checkDirtyPullRequest it verify that pull request object's path is /pulls/

Thanks for pointing that out, Sang. I want to keep changes discrete in
order to reduce any noise and get a working plugin out.
I'm still planning on reverting the previous PR. That way, when looking at
your changes, we won't be under pressure and can focus on the
implementation details. Don't worry, your PR will come soon.

@richard1122 version 1.33.4 should solve this problem. Pls ping back in either case. Again I noticed that some data is cached (I found that the issues URL was among the items cached, and it wouldn't be cleared until a new commit arrived.) So if you still see the problem, I'd ask questions about the state of your instance, etc.
But I'm optimistic this will solve the problem.

Looks like @BrewTestBot test this please is still failing after the 1.33.4 upgrade.

In my case the issue is fixed.

@AudriusButkevicius where is your test phrase set? In the main Jenkins settings or in the particular job's settings or both?

I think its default whatever the plugin ships. I don't think it matters.

Downgrading to 1.33.1 gets it working again for us.

Hi ilovezfs... Do you have a stacktrace?
On Dec 6, 2016 6:18 AM, "ilovezfs"<EMAIL_ADDRESS>wrote:

Downgrading to 1.33.1 gets it working again for us.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jenkinsci/ghprb-plugin/issues/441#issuecomment-265125314,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB6WxmbyprIRLeDzS1_jxkoEWXPsE5dYks5rFUSSgaJpZM4K9tc3
.

@benpatterson I'm not sure it's crashing as opposed to just deciding the comment doesn't warrant triggering the build after considering it.

Ok thanks @ilovezfs .
This sounds like a distinct issue from the one associated with this ticket. Could you open a new issue and share your configuration there? I'm particularly curious about the various phrases you've set globally and within the job configuration.
Based on @AudriusButkevicius's response, I'm going to close this ticket. Everyone's feedback along the way was extremely helpful as I dove into the issue.

Thanks for the prompt fix.

@benpatterson voilà https://github.com/jenkinsci/ghprb-plugin/issues/450


Updates to patient model

As part of CNDIT 1245: Updates to the patient model to point to SRTE value. The codes are required as part of the ElasticSearch payload, the value for the codes are used by reporting. This update will effect the output of nrt_patient topic.
Updates:

Stored Procedure Model
Reporting Model

Thank you for reviewing! Will add the sproc updates to a different PR.


Docker: adding some documentation

Thanks.
Got to think a bit how to incorporate this info (I don't want it to clutter the readme and confuse people that are just skimming on one hand, but on the other I want it to be "for dummies"; what seems to be hard to combine. But I also don't want to totally exclude the info...)

Well, for me, I was looking for one command to run it.
Docker solves it. So for me it simplifies stuff.
Do you prefer to move it out of the readme?
On Oct 4, 2015 9:50 AM, "Jure Šorn"<EMAIL_ADDRESS>wrote:

Thanks.
Got to think a bit how to incorporate this info (I don't want it to
clutter the readme and confuse people that are just skimming on one hand,
but on the other I want it to be "for dummies"; what seems to be hard to
combine. But I also don't want to totally exclude the info...)
—
Reply to this email directly or view it on GitHub
https://github.com/gto76/comp-m2/pull/3#issuecomment-145365848.

No, I will include it, just maybe just one line...
Thing is that I did't yet managed to install docker on my system and I don't know few things:
For example when you run ./comp compile -n examples/hello-world for example, can you then run this compiled binary (./hello-world)?

Aha I see, it only runs in interactive mode...

Aha I see, so it executes the command and then exits... Is there a way to use Docker as a classical terminal?

Thanks again, it's deferentially the easiest way to get started quickly...


Customize Copy URL?

I can define a message and a URL for twitter/facebook/whatsapp etc buttons, however, can I do the same with copy url? Specifically, I wish I can have the user copy a specific URL not the website that is hosting the page..
Thank you,

Share Easy component is a wrapper of Sharee javscript library. The limitation comes from it: https://github.com/parsagholipour/sharee/blob/2b7bcfa65e3b3742d83b3e3065a583f0f5550ed2/src/lib/drivers/CopyDriver.ts#L28C5-L28C41. Will investigate if we could make the copy driver to also take in consideration the shareLink option on our component.


multiple android:name="" for instant app

Hi I have been looking at how you have structured you instant app for dagger2.
I have a question about using dagger2 for multiple features, in your example you have
a feature module called 'query'. In the manifest file for that feature you have the following:
android:name=".QueryApplication"
in  tag.
What happens if you have another feature module, is it possible to add dagger2 to the new feature module?
When I try setting "android:name=.SecondFeatureModule" in the new feature module manifest file, I get a compilation error saying AndroidManifest.xml file cannot have duplicate attributes i.e 'android:name=' is being added twice
Do you have any suggestions for resolving this?
Or does your example only work if you have 1 feature module for instant app?
Would you need to setup dagger2 differently if you had multiple feature modules?

Yes, this is an issue with this project right now. I have been trying to solve this, here are my findings.
Dagger 2 can work with multi-feature modules without any problem with this setup.
The problem is having different application classes in each feature module causes a conflict in app and instantapp modules.
Application classes work fine on their own (in instant-app mode there is only one application class per module/app).
But we have to choose one application class for both app and instantapp module (because first and second feature's application classes will cause a conflict).
We can not choose some feature's application class for app module because we have to inject second feature's dependencies as well.
So I think app module should have its own application class.
Even if we set (or write a new) application class for the app module, we can not do this for instantapp module, because it does not contain any code.
To sum up:
We can use manifest merger's rules to select an application class for app and instantapp modules.
But I think having two application classes won't work because instantapp module does not allow any code.
So right now I'm not sure how to organize application classes for Instant Apps.
Maybe we should stop using application classes and move those codes inside activity classes in feature modules.
Ps: I created a question on StackOverflow.

Hi,
thank you for your reply, I have a solution which uses your example of dagger2 for a feature module called app, this has the manifest file with "android:name=.BaseApplication"
and in another feature module I use this:
object DaggerProvider {
private lateinit var featureComponent: FeatureComponent

fun getFeatureComponent(context: Context): FeatureComponent {
    featureComponent = DaggerFeatureComponent.builder()
            .bindContext(context)
            .repoModule(RepositoryModule())
            .appComponent(BaseApplication.appComponent)
            .build()

    return featureComponent
}

}
@ActivityScoped
@Component(
dependencies = arrayOf(AppComponent::class),
modules = arrayOf(RepositoryModule::class))
interface FeatureComponent {
fun inject(activity: VehicleDetailsActivity)

@Component.Builder
interface Builder {
    @BindsInstance
    fun bindContext(cxt: Context): Builder
    fun repoModule(repository: RepositoryModule): Builder
    fun appComponent(component: AppComponent): Builder
    fun build(): FeatureComponent
}

}
In activity I call DaggerProvider.getFeatureComponent(applicationContext).inject(this);
I use kotlin in my project, if you would like me to make a pull request let me know.
It would be good to add this to your example as other people might be wondering how to use dagger2 with other feature module

Thanks for your help, I really appreciate it!
I started this project with Dagger.Android in mind, but apparently we cannot have seperate application classes for each feature modules (as ManmeetP states here). We can only have instant and installed Application classes.
Having Dagger.Android in Activity classes instead of Application is pretty much straight Dagger. So I started trying to solve this issue by moving injection codes into Activity classes. I also removed the Dagger.Android and use just good-old Dagger.
So I injected dependencies as you suggested. But I don't like the idea of keeping a static reference of Dagger components, therefore I didn't add DaggerProvider.
I created a new feature called AutoComplete, it's empty now but I could inject the Presenter and ViewState in AutoCompleteActivity without any problem.
If you like to see the diff, take a look at here.

I agree having static reference is not ideal, i think putting it in base class was good idea.
After reading google docs about instant apps, it seems the android manifest files
get merged into a single manifest file, therefore its not recommended to have multiple application
tags with "android:name".
The tricky part with instant apps is you have to consider both situations i.e.
normal app and instant app.
Your repository was great help when learning about creating and configuring instant app. And with this update it will help others when they look for solution on how to setup instant app with multiple feature modules and Dagger2.
Thanks


What should training docs cover?

Moving this out to an issue because discussions are non-public.

I don't think it would be too hard to write a series of short self-guided documents about the important things. Link 'em together, call it a training course, and get people to go through it before privileges

What do those documents need to cover?

Suggested so far:

When to report
Autocomments
Self-promotion

"When to report" should clarify where we stand on reporting vandalism or rude/abusive posts. My understanding is that Smoke Detector is about picking up spam. In the mission of doing so, Smokey picks up a lot of vandalism and garbage posted by trolls, but I've never been clear on whether we should report that. I err on only ever reporting spam and considering the rest just caught in the net -- we're not policing revisions and behaviour, we're policing spam. If I should be adjusting that personal policy I'd need to know.
I'd also cover:

What we're here for at all. We're here to find, flag, and report spam. We're the people rifling through the barrels looking for the bad apples. We keep the site clean.
How we should investigate spam reports at all. This is a big(ish) topic that would cover several things:
What we look for in determining what spam is, and the types of spam. Some of it is obvious ("ENLORGE YOUR PEN FIFTEEN TODAY"), some of it is a bit more subtle but obviously garbage enough we can see what's going on ("thanks for the useful site this is cool [viagra link]"), some of it is super-duper subtle (those posts where they copy a paragraph from elsewhere in the post or elsewhere on the internet, and seem to be saying something useful, but link one stray word to a spam site).
How to check the reasons when we're not sure why a post is flagged. Knowing the reasons sometimes helps me recognise why it's a flag at all. Also, mention we have the MS link there and also FIRE so that people can check these reasons, and although they can respond to every single SD post with "why", they really shouldn't.
How review privileges work. Mention the fact they're a privilege at all, because a lot of people expect to just be able to come here and do reviews. Explain how we get those privileges. Explain what people are doing here if they don't have reviews, since from what I recall it was sit there and learn.
Explain how to provide reviews correctly. What's a TPU, what's a TP, what's a NAA, what's a FP? When do we use those? Explain it like we're thirteen, because some of us are thirteen.
Explain autoflagging and how that works. Explain how I sign up to it, how I find out what's being done with my account for autoflagging, how I adjust it, and how I stop my account being used for autoflagging if I ever want to do that.
When to add things to a watch list, and how to do that. E.g. if it's a website, backslash the dots, because it's a regex and we like to be clear "this watchlist entry is a website, not a word that might have any character at all in the middle."
When to add things to the blacklist, and what to add.
How to remove/revise stuff from whatever list when we add something wrong or when something's detecting lots of false positives.
How and when to use -force (if ever), and how "append -force" means using !!/watch-force foo not !!/watch force -foo like a command line utility.

Speaking of which:

Describe all our rules and practices. You're training people so you might as well. Like that thing where we only add something to the blacklist after 5 TPs, and how we search via stackexchange.com before blacklisting anything to make sure there are no legitimate uses of that term (like the time someone blacklisted adderall because it had really low FP counts in Metasmoke, not thinking about the hundreds of times it would've been used in not-spam at all, like the word leg).

The "how to blacklist" wiki page also covers "when to blacklist". What would help make it more discoverable?
https://github.com/Charcoal-SE/SmokeDetector/wiki/Guidance-for-Blacklisting-and-Watching


svn2git does not create empty svn folders in git

I migrate a SVN to a Git repo. The migration went well but when I check folders with diff I see the migration ignored the folder of the SVN repo which were empty. I want to create them in Git.
How?

https://github.com/nirvdrum/svn2git/issues/32

It would be quit easy to add an option that runs
git config svn-remote.svn.preserve-empty-dirs true
git config svn-remote.svn.placeholder-filename .gitignore

After the git svn init command is performed. I'm pretty sure that's all that git svn clone --preserve-empty-dirs is doing.


Public key lookup service

Is your feature request related to a problem? Please describe.
Create a service that allows looking up a public key by address
Describe the solution you'd like
Currently Etherscan is the only solution to lookup public key by address.
Describe alternatives you've considered

Proxy calls to etherscan
Custom solution for mailchain

Additional context
Ref #118

This looks like an interesting issue!
Is anybody working on it ? If not can i be assigned ?

Hi @Despire thanks for expressing interest in this, sorry it slipped through the gaps. Other than having an alternative to etherscan, the big reason is to have control of returning the correct response when only being interested in mailchain messages not all transactions. Yes it would be implemented as another command e.g. pubkey-lookup or similar name.  To implement it it would be required that the cmd/indexer is completed. However this can be started and the API interface and presentation functionality defined. Is this something you are still interested in picking up? If so I'll create some sub tasks.

Hi @robdefeo yes I'm still interested.

@Despire excellent, since this is a large issue lets use this issue as an epic. I have created a project board for cmd/pkf where you can see the sub tasks I will start populating it. Feel free to pick any up or propose changes. Also worth being aware of cmd/indexer as this builds the public key index.


Inlet and outlet not called using a pipeline as a base_model to create custom model

Hello! When I create a model by going to Workspaces -> Model -> Create a Model and selecting the model ID of a custom pipeline as the base model, the inlet and outlet functions don't seem to be triggered.
Any insights on why this might be happening? Thank you!

Can you post the code of your custom pipeline?

Due to company policies, I had to remove some code related to system prompt construction.
Currently, the main issue is that when using the pipeline directly, the self.file_contents variable updates correctly. However, if I wrap the pipeline to create a custom model from the UI, the inlet (and the oultet) is not called, and the self.file_contents list doesn’t update across different chats.
Here a code example
"""
title: pipeline
author: user
version: 1.0
license: MIT
description: A pipeline
requirements:  langfuse, openai
"""

from typing import List, Optional, Union, Generator, Iterator
import os
import uuid
from pydantic import BaseModel
import openai
import re
from langfuse import Langfuse
from langfuse.api.resources.commons.errors.unauthorized_error import UnauthorizedError
import os
from utils.pipelines.main import get_last_assistant_message

# print Setup
...

# OIFile Class to manage openwebui file data
class OIFile:
    def __init__(self, file_id: str, filename: str, content: str):
        self.id = file_id
        self.filename = filename
        self.content = content

    def __repr__(self):
        return f"File(id={self.id}, filename={self.filename}, content={len(self.content)} bytes)"

class Pipeline:
    class Valves(BaseModel):
        LLM_BASE_URL: str
        LLM_API_KEY: str
        LLM_MODEL_NAME: str
        LLM_TEMPERATURE: float
        LLM_MAX_TOKENS: int

    def __init__(self):
        self.name = "pipeline"
        self.valves = self._initialize_valves()
        self.file_contents = [OIFile]

    def _initialize_valves(self) -> Valves:
        return self.Valves(
            LLM_BASE_URL=os.getenv("LLM_BASE_URL", "url"),
            LLM_API_KEY=os.getenv("LLM_API_KEY", "empty"),
            LLM_MODEL_NAME=os.getenv(
                "LLM_MODEL_NAME", "meta-llama/Llama-3.2-3B-Instruct"
            ),
            LLM_TEMPERATURE=float(os.getenv("LLM_TEMPERATURE", 0)),
            LLM_MAX_TOKENS=int(os.getenv("LLM_MAX_TOKENS", 10000)),
        )

    async def on_startup(self):
        print.info(f"Server {self.name} is starting.")

    async def on_shutdown(self):
        print.info(f"Server {self.name} is shutting down.")

    async def on_valves_updated(self):
        print.info("Valves updated.")

    async def inlet(self, body: dict, user: dict) -> dict:
        print.info("Processing inlet request")

        # Extract file info for all files in the body
        self.file_contents = self._extract_file_info(body)

        # Log the extracted file information
        for file in self.file_contents:
            print.info(
                f"File info extracted: ID={file.id}, Filename={file.filename}, Content size={len(file.content)} bytes"
            )
        return body

    def _extract_file_info(self, body: dict) -> list:
        """Extracts the file info from the request body for all files."""
        files = []
        for file_data in body.get("files", []):
            file = file_data["file"]
            file_id = file["id"]
            filename = file["filename"]
            file_content = file["data"]["content"]

            # Create a OIFile object and append it to the list
            files.append(OIFile(file_id, filename, file_content))

        return files

    def pipe(
        self, body: dict, user_message: str, model_id: str, messages: List[dict]
    ) -> Union[str, Generator, Iterator]:

        print.info("Starting PIPE process")

        # Extract parameters from body with default fallbacks
        stream = body.get("stream", True)
        max_tokens = body.get("max_tokens", self.valves.LLM_MAX_TOKENS)
        temperature = body.get("temperature", self.valves.LLM_TEMPERATURE)

        system_prompt = self._extract_system_prompt(messages)

        # Generate and update the system prompt if required
        if self.file_contents:
            # build or retrieve a prompt
            # adding file contents

        # Call the LLM API
        return self._call_openai_api(messages, max_tokens, temperature, stream)

    def _call_openai_api(
        self,
        messages: List[dict],
        max_tokens: int,
        temperature: float,
        stream: bool,
    ) -> Union[str, Generator, Iterator]:

        client = openai.Client(
            api_key=self.valves.LLM_API_KEY,
            base_url=self.valves.LLM_BASE_URL,
        )

        try:
            # Call OpenAI API with the prepared parameters
            response = client.chat.completions.create(
                model=self.valves.LLM_MODEL_NAME,
                messages=messages,
                max_tokens=max_tokens,
                temperature=temperature,
                stream=stream,
                stream_options={"include_usage": True},
            )

            return response
        except Exception as e:
            print.error(f"Error during OpenAI API call: {e}")
            return f"Error: {e}"

    async def outlet(self, body: dict, user: Optional[dict] = None) -> dict:
        print(f"outlet:{__name__}")
        print(f"Received body: {body}")
        self.file_contents=[]
        return body

I need to see what the "wrapping" code looks like.

Sorry, I use wrap but I should use another term.
When I create a model by going to Workspaces -> Model -> Create a Model and selecting the model ID of a custom pipeline as the base model, the inlet and outlet functions don't seem to be triggered.
The pipeline used is the one showed above (plus some function to extract the system prompt and adding the file contents and other details).
When I create the model as described at the beginning of this comment, the function inlet and outlet are not triggered

Moreover, if I load a pipeline and go to Workspaces -> Model -> the pipeline
and I change the name, the pipeline works but the outlet is not called correctly

@explorigin any update?

Moreover, i have seen this behaviour:
In this custom pipeline setup, the workflow is as follows:
Documents are loaded and fed into OpenWebUI.
OpenWebUI encodes the documents, splits them into chunks, and stores them.
The /inlet endpoint on the pipeline is called.
OpenWebUI then performs the RAG operation.
The pipeline’s /pipe endpoint is triggered, displaying the response on OpenWebUI.
Finally, the client calls the /outlet endpoint to retrieve the result.

Question on Implementation:
Why do the /inlet, /pipe, and /outlet endpoints each have different request bodies?

any updates?


enhance remove cast from numeric literal to decimal

Proposed changes

remove cast from numeric literal to decimal literal
fix decimal scale bug: we will miss scale if first operand scale is smaller than the second operand scale. For example, 1.0 + l_quantity,  decimal(2,1) + decimal(15,2), we expect (15,2), not (15,1)

Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

@morrySnow PTAL

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.92 seconds
load time: 465 seconds
storage size:<PHONE_NUMBER>1 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221107043339_clickbench_pr_40799.html


[1.5.n]Support unpackdiskimage to check DASD device with CDL formatted.

This is cherry-pick from master branch.


index: introduce fetch

We currently have a junky version of fetch based on odb that is not used anywhere. It was part of early experiments (not dvc exp) and is no longer needed.
In dvc fetch we currently do two things:

collect and trasfer objects from regular outputs
download files to a temp location using an index built out of imports

we need to take 2), make it dedup based on source fs/path and download stuff into a temporary location (note that we are not talking about reproducing the structure of indexes there, but purely stashing data somewhere). This will allow us to download stuff optimally across different indexes (e.g. across different git revisions), which also means that fetch should probably accept multiple indexes and not just 1. And probably it should update storage_info.data as a result.
Related https://github.com/iterative/studio/issues/4782

Note that deduping by fs, effectively means creating an index for a storage with files we are interested in and then downloading (aka caching) it locally in some location. For ObjectStoragees we use object storages (aka .dvc/cache), but for FileStorages we would logically use a cloned/rsynced/etc local directory.
Ideally would also avoid having to modify existing indexes that are passed to us, and maybe we could do that by introducing an ability for each Storage to have its own cache, so that when we try to get the data from the storage - it reaches into cache first. There might be better ways to handle this too.

@efiop Could you give a high-level example? Is it mostly about imports and other external data?

@dberenbaum This is about all data management that we have in dvc. So that we can get rid of get_used_objs stuff and so that all manipulations (like filtering by size, etc) are in one place.


Push to Maven Central

Would be great to add the library simply adding a dependency :)

I've uploaded the library to jCenter, you can include it as follows:
compile 'com.jmedeisis:draglinearlayout:1.0.0'


Warning is sticky unless cleared by success or error

Once the validation function returns a {warning: "message"}, it is "sticky" until there is success or error to "clear" it. What I mean by sticky, is that the field is considered to have a warning even after the validation function no longer returns a warning:

Sample validation function and form:
  render() {
    const validate = value => {
      if (value === "print warning") {
        return {warning:"some warning"}
      }
      if (value === "print error") {
        return {error:"some error"}
      }
    }

    return (
        <Form>
          {formApi => (
            <form onSubmit={formApi.submitForm}>
              <Text field="hello" id="hello" validate={validate} />
              <button type="submit" className="btn btn-primary">
                Submit
              </button>
            </form>
          )}
        </Form>
    )
  }

I tried to track down the bug in util and redux folders but did not succeed. Tested with version 3.5.2 and 3.5.3. Am I doing something wrong?

Thanks for your quick response!
My current workaround is to always a non-null object with success inside. I was not aware of the empty object default possibility. I just gave it a try and it didn't work - behaviour is that same as above. Here's my updated validation function:
    const validate = value => {
      if (value === "print warning") {
        return {warning:"some warning"}
      }
      if (value === "print error") {
        return {error:"some error"}
      }
      return {}
    }

To add to the above, the following values don't work as defaults that reset warning. Note that error and success are not affected:
{}
{success: null}
{warning: null}
The cleanest way I've found to workaround is to return an object with one of the success, warning or error keys set to a value of {}. For instance, both of the following work:
{success: {}}
{warning: {}}


setImageSmoothingEnabled ignored when useSketch is true

I found some situations where image smoothing was being applied at high zoom when viewing multiple images, even though I have set the following optons when initialising the OSD Viewer:
        imageSmoothingEnabled: false,
        smoothTileEdgesMinZoom: Infinity,

I am using opacity to switch rapidly between multiple tileSources, by adapting a Codepen recipe on image fading by @iangilman.
The fault is intermittent, and occurs around 20x - 40x zoom on images around  3000x2000 pixels in size. The first image always has nearest-neighbour (NN) interpolation (image smoothing off), as intended. But sometimes the second image has bi-linear (BL) interpolation (image smoothing on). Occasionally, zooming or panning the second image was causing the interpolation to switch between NN and BL.
I think my use of multiple images and opacity together with certain zoom or pan conditions is triggering the useSketch flag inside drawer.js, which then creates a new context. The new context is missing the image smoothing settings.
I am about to submit a pull request which fixes this issue in my testing.

Related to #1028 and #1593.

I just realised I am using viaWebGL in the script that displayed this bug. There may be an interaction between this behaviour and viaWebGL, so I will test it without viaWebGL and report back here.

I am using #1647 and it has resolved the bug for 2 images with size around 3000x2000. But I have now seen the bug intermittently in another situation where the first image is 100x100 and the second image is about 2000x1300.

Thank you for tracking this down! I've merged #1647, but let me know if you figure out what's causing the remaining issue.

I've confirmed using the code before #1647 was applied that the bug described at the top of this issue still occurs when viaWebGL is disabled.
I've also found a new reproducible bug, using OSD with #1647 applied:

Open 2 images with size about 2500x1750
Switch to second image
Zoom in to about 10x
Resize the browser window

After resizing the browser window, the second image has image smoothing applied.


Unable to initilize bch, invalid parameters?

I have the following ouput when I executed the nand-decoder script:
./nand_dump_decoder.sh -i /chipoff/ -o  test.bin -m ATMEL --atmel-config
[] Found one binary input file (138412032 bytes)
[] Using ECC mode ATMEL
[*] Used configuration
Block size:  131072 bytes (64 pages)
Page size:   2048 bytes
Sector size: 512 bytes
Spare size:  64 bytes
ECC offset:  36 bytes
ECC errors:  4 errors per sector (max.)
ECC bytes:   7 bytes per sector
Use ECC:     True
File offset: 0x0 (skip 0 blocks)
Traceback (most recent call last):
File "nand-dump-tools/nand_dump_decoder.py", line 1425, in
ecc_method(input_files, args.outfile, config)
File /nand-dump-tools/nand_dump_decoder.py", line 158, in atmel_error_correction
bch = bchlib.BCH(config['ecc_polynom'], config['ecc_errors'], False)
RuntimeError: unable to inititalize bch, invalid parameters?
Do you have any suggestion? Thanks in advance.

Been slamming my head into this for the better part of a day. It appears that when bchlib moved to version 1.0.0, it changed everything about the lib.
Run 'pip uninstall bchlib' and then 'pip install bchlib==0.7'
This change worked for me.


Why run the example code has the unexpected error ?

Vue version: v2.4.1
http-vue-loader: v1.3.1
Why run the example code has the unexpected error ?
But the view is current result.

Please give more details about how you load the vue file

@FranckFreiburger  my index.html
<!doctype html>
<html lang="en">
  <head>
    <script src="https://unpkg.com/vue"></script>
    <script src="https://unpkg.com/http-vue-loader"></script>
    <script src="/app.vue"></script>
  </head>

  <body>
    <div id="my-app">
      <app></app>
    </div>

    <script type="text/javascript">
      new Vue({
        el: '#my-app',
        components: {
          app: httpVueLoader('app.vue'),
        }
      });
    </script>
  </body>
</html>

What do you expect to do with this line :  <script src="/app.vue"></script> ?
Note that .vue files are not script, they have to be processed before being used.
The vue file is loaded through httpVueLoader('app.vue').

@FranckFreiburger
sorry I am confuse the loader.
Thank you for your time.


Fix auxclick event type

Fixes https://github.com/Microsoft/TypeScript/issues/29995

Thanks for figuring this one out.


Typings are not properly published on npm

Describe the bug
This is not a bug in the repo itself, but the typings sub directories are not properly published on npm.
If you clone this repository and run yarn build, the typings seem to be created correctly.
However, installing 7.2.0 ls typings/{browser,karma,server} yields nothing.
This causes an error when trying to import, for example: import { CustomWebpackBrowserBuilder } from '@angular-builders/custom-webpack';.
To Reproduce

npm install @angular-builders/custom-webpack'
ts-node -e "import { CustomWebpackBrowserBuilder } from '@angular-builders/custom-webpack';"

This yields error TS2305: Module '".../node_modules/@angular-builders/custom-webpack/typings"' has no exported member 'CustomWebpackBrowserBuilder'.
Expected behavior
The typings for browser/karma/server should be published on npm.
Builder:

<EMAIL_ADDRESS>

Fixed in 7.3.1


Errors During Discon Build Solution

Hi,
I am using windows and visual studio. I was trying to build solution for the Discon and I got  a few errors. Can anyone help me in removing these errors.

Also as per the instructions, I should have these 4 files in my fast folder. But I dont have any fast folder in that location. Should I make a folder my self,? or the build should make this folder. The fast folder i am talking about is should be at the location "C:\OpenFast\openfast-main\openfast-main\reg_tests\r-test\glue-codes\openfast\5MW_Baseline\ServoData"
Build started...
1>------ Build started: Project: Discon (IFORT), Configuration: Release x64 ------
2>------ Build started: Project: Discon_ITIBarge (IFORT), Configuration: Release x64 ------
3>------ Build started: Project: Discon_OC3Hywind (IFORT), Configuration: Release x64 ------
Compiling with Intel® Fortran Compiler Classic 2021.10.0 [Intel(R) 64]...
DISCON.F90
4>------ Build started: Project: Discon_SC (IFORT), Configuration: Release x64 ------
Compiling with Intel® Fortran Compiler Classic 2021.10.0 [Intel(R) 64]...
DISCON_ITIBarge.F90
Compiling with Intel® Fortran Compiler Classic 2021.10.0 [Intel(R) 64]...
DISCON_OC3Hywind.F90
Compiling with Intel® Fortran Compiler Classic 2021.10.0 [Intel(R) 64]...
DISCON_SC.F90
fpp: fatal: can't fopen file: C:\OpenFast\openfast-main\openfast-main\reg_tests\r-test\glue-codes\openfast\5MW_Baseline\ServoData\DISCON_OC3\DISCON_OC3Hywind.F90
Discon_OC3Hywind : error PRJ0019: A tool returned an error codefpp: fatal: can't fopen file: C:\OpenFast\openfast-main\openfast-main\reg_tests\r-test\glue-codes\openfast\5MW_Baseline\ServoData\DISCON_ITI\DISCON_ITIBarge.F90
Discon_ITIBarge : error PRJ0019: A tool returned an error codefpp: fatal: can't fopen file: C:\OpenFast\openfast-main\openfast-main\reg_tests\r-test\glue-codes\openfast\5MW_Baseline\ServoData\DISCON\DISCON.F90
Discon : error PRJ0019: A tool returned an error code
The output I get is as follows:
Build log written to  "file://C:/OpenFast/openfast-main/openfast-main/vs-build/Discon/Discon_ITIBarge/x64/Release/BuildLog.htm"
Build log written to  "file://C:/OpenFast/openfast-main/openfast-main/vs-build/Discon/Discon/x64/Release/BuildLog.htm"
Discon_ITIBarge - 1 error(s), 0 warning(s)
Discon - 1 error(s), 0 warning(s)
Build log written to  "file://C:/OpenFast/openfast-main/openfast-main/vs-build/Discon/Discon_OC3Hywind/x64/Release/BuildLog.htm"
fpp: fatal: can't fopen file: C:\OpenFast\openfast-main\openfast-main\reg_tests\r-test\glue-codes\fast-farm\5MW_Baseline\ServoData\DISCON\DISCON_SC.F90
Discon_OC3Hywind - 1 error(s), 0 warning(s)
Discon_SC : error PRJ0019: A tool returned an error code
Build log written to  "file://C:/OpenFast/openfast-main/openfast-main/vs-build/Discon/Discon_SC/x64/Release/BuildLog.htm"
Discon_SC - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 4 failed, 0 up-to-date, 0 skipped ==========

Found the solution


Reduce make verbosity

Various make targets log huge lists of files to the terminal which are generally useless to read. Replace those cases with short replacement messages.

:rocket:


[CT-3031] Footnotes not recognised

Describe the bug
Using standard footnote syntax, i.e. [^1] & [^1]:, is not recognised. I haven't found anything else to work either. It's puzzling that other extended Markdown syntax, e.g. tables, work but footnotes don't.
Steps To Reproduce

Create *.md file with doc block
Add footnote via [^1] & [^1]:
dbt docs generate & dbt docs serve
Footnotes are not rendered

Expected behavior
Footnotes to be rendered like this:

Screenshots and log output
| column          |
|-----------------|
| some text[^fn1] |

[^fn1]: I don't know.

The output of dbt --version:
Core:
  - installed: 1.5.0
  - latest:    1.6.1 - Update available!

Thanks for raising this @one-data-cookie 🧠 !
Agreed that footnotes are really handy, and it would be nice if they were supported.
We can't prioritize this ourselves right now, but we'd welcome a PR that adds the ability to render footnotes.
We use the kramdown-parser-gfm package which is the parser for Kramdown. It looks like Kramdown supports a version of footnotes, so it might be possible somehow without drastic changes.

@dbeatty10 Thanks for the reply!
I'd love to help but not sure how to debug this. If I use the same Gemfile on a dummy project locally, Kramdown renders it correctly. If, on the other hand, I use dbt-docs, it doesn't.
Text:
This is some text.[^1]

[^1]: Works?

Local:

This is some text.1

Works? ↩

dbt-docs:

(leading to unknown location "Works?", so basically not recognising this syntax and resulting in an undefined reference)
It looks like something in the code or styles might interfer with it. Alternatively, dbt-docs might have a different configuration then I do. Both of these work on my local:
Kramdown::Document.new(text, input: 'GFM').to_html
Kramdown::Document.new(text).to_html

Thoughts or ideas? 🤔

@dbeatty10 Any thoughts or pointers, please? 🙏

@one-data-cookie oof, sorry I didn't reply earlier!
Here's how you can install and run dbt-docs locally.
The part that is easiest to overlook:

first copy your manifest.json and catalog.json files to the src/ directory

Running dbt-docs locally might help you see what is going on.


feat: Feature Request: transitions to root page

Type: feat
Ionic Version: 2.x
Platform: android 5.1 webview
It would be nice to have an option which allows to get transitions when navigating to the root page. Could be especially useful when using a toolbar in the navbar. Something like this: nav.setRoot(Page, {animate: true});

This is currently possible using the following:
this.nav.setRoot(Page, {}, {animate: true, direction: 'forward'});

The second param is any parameters to pass to the next view. See the NavController docs.
Is this what you're looking for?

@brandyscarney thanks a lot, this works!
Can this be used somehow to solve #5101 to get transitions for tab changes (Android)? Something like (click)="foo()" on an ion-tab and afterwards setting the new root page like described above.

@brandyscarney thanks again - forget the tab question - I think these are different stories.
Maybe some documentation is needed regarding the option param but otherwise the issue can be closed.

@rdesimone Awesome! I created an issue to add better documentation behind it here: https://github.com/driftyco/ionic/issues/6372
Going to close this. :smile:

@brandyscarney I would like to come back on my question from above. Is is possible to control somehow the tab change with setRoot. Selecting an ion-tab will not automatically change the tab. The change will happen when setRoot is called. This is related to #5101. Thanks a lot for your help!


HIVE-25636: Bump Xerce2 to 2.12.1.

What changes were proposed in this pull request?

Bump Xerce2 to 2.12.1
Why are the changes needed?

Xerce 2.9.1 has high-level vulnerabilities.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4002
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0881

Does this PR introduce any user-facing change?

How was this patch tested?

@tasanuma: no; I should merge the patch after ~24 hours after approval - but I forgot to do so and also caught some stuff...

@kgyrtkirk No problem. Thanks for reviewing and merging it!


#22 improved home.html page

Overview
-Better and inmproved home page based on templates
-Process code checked with flake8
-Process code improved with better abstract description
-Automatic generation of process information on home.html
Related Issue / Discussion

Missing, automatic generation of execute from Process metadata

Additional Information

Cosmetic improvment

Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[ ] I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
[x] I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

Wating for new unitttest  code that will pass travis, until then no PR


Update about-releases.md

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[x] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

GitLab documentation home
Docs
|
On this page
Members of a project ALL TIERS
Members are the users and groups who have access to your project.
Each member gets a role, which determines what they can do in the project.
Add users to a project
Add users to a project so they become members and have permission to perform actions.
Prerequisite:
You must have the Maintainer or Owner role.
To add a user to a project:
Go to your project and select Project information > Members.
On the Invite member tab, under GitLab member or Email address, type the username or email address. In GitLab 13.11 and later, you can replace this form with a modal window.
Select a role.
Optional. Choose an expiration date. On that date, the user can no longer access the project.
Select Invite.
If the user has a GitLab account, they are added to the members list. If you used an email address, the user receives an email.
If the invitation is not accepted, GitLab sends reminder emails two, five, and ten days later. Unaccepted invites are automatically deleted after 90 days.
If the user does not have a GitLab account, they are prompted to create an account using the email address the invitation was sent to.
Add groups to a project
When you add a group to a project, each user in the group gets access to the project. Each user’s access is based on:
The role they’re assigned in the group.
The maximum role you choose when you invite the group.
Prerequisite:
You must have the Maintainer or Owner role.
To add groups to a project:
On the top bar, select Menu > Projects and find your project.
On the left sidebar, select Project information > Members.
On the Invite group tab, under Select a group to invite, choose a group.
Select the highest max role for users in the group.
Optional. Choose an expiration date. On that date, the user can no longer access the project.
Select Invite.
The members of the group are not displayed on the Members tab. The Members tab shows:
Members who are directly assigned to the project.
If the project was created in a group namespace, members of that group.
Import users from another project
You can import another project’s users to your own project. Users retain the same permissions as the project you import them from.
Prerequisite:
You must have the Maintainer or Owner role.
To import users:
On the top bar, select Menu > Projects and find your project.
On the left sidebar, select Project information > Members.
On the Invite member tab, at the bottom of the panel, select Import.
Select the project. You can view only the projects for which you’re a maintainer.
Select Import project members.
A success message is displayed and the new members are now displayed in the list.
Inherited membership
When your project belongs to a group, group members inherit their role from the group.
Project members page
In this example:
Three members have access to the project.
User 0 is a Reporter and has inherited their role from the demo group, which contains the project.
User 1 belongs directly to the project. In the Source column, they are listed as a Direct member.
Administrator is the Owner and member of all groups. They have inherited their role from the demo group.
If a user is a direct member of a project, the expiration date can be updated. If membership is inherited from a parent group, the expiration date can be updated only from the parent group itself.
Remove a member from a project
If a user is a direct member of a project, you can remove them. If membership is inherited from a parent group, then the member can be removed only from the parent group itself.
Prerequisites:
You must have the Owner role.
Optional. Unassign the member from all issues and merge requests that are assigned to them.
To remove a member from a project:
On the top bar, select Menu > Projects and find your project.
On the left sidebar, select Project information > Members.
Next to the project member you want to remove, select Remove member .
Optional. In the confirmation box, select the Also unassign this user from related issues and merge requests checkbox.
To prevent leaks of sensitive information from private projects, verify the user has not forked the private repository or created webhooks. Existing forks continue to receive changes from the upstream project, and webhooks continue to receive updates. You may also want to configure your project to prevent projects in a group from being forked outside their group.
Select Remove member.
Filter and sort members
Version history
You can filter and sort members in a project.
Display inherited members
On the top bar, select Menu > Projects and find your project.
On the left sidebar, select Project information > Members.
In the Filter members box, select Membership = Inherited.
Press Enter.
Project members filter inherited
Display direct members
On the top bar, select Menu > Projects and find your project.
On the left sidebar, select Project information > Members.
In the Filter members box, select Membership = Direct.
Press Enter.
Project members filter direct
Search
You can search for members by name, username, or email.
Project members search
Sort
You can sort members by Account, Access granted, Max role, or Last sign-in in ascending or descending order.
Project members sort
Request access to a project
GitLab users can request to become a member of a project.
On the top bar, select Menu > Projects and find the project you want to be a member of.
By the project name, select Request Access.
Request access button
An email is sent to the most recently active project maintainers. Up to ten project maintainers are notified. Any project maintainer can approve or decline the request.
If a project does not have any maintainers, the notification is sent to the most recently active owners of the project’s group.
If you change your mind before your request is approved, select Withdraw Access Request.
Prevent users from requesting access to a project
You can prevent users from requesting access to a project.
Prerequisite:
You must be the project owner.
On the top bar, select Menu > Projects and find your project.
On the left sidebar, select Settings > General.
Expand Visibility, project features, permissions.
Under Project visibility, select Users can request access.
Select Save changes.
Share a project with a group
Instead of adding users one by one, you can share a project with an entire group.
Add a member modal window
Version history
This feature might not be available to you. Check the version history note above for details.
In GitLab 13.11, you can optionally replace the form to add a member with a modal window. To add a member after enabling this feature:
On the top bar, select Menu > Projects and find your project.
On the left sidebar, select Project information > Members.
Select Invite members.
Enter an email address and select a role.
Optional. Select an Access expiration date.
Select Invite.
Enable or disable modal window ALL TIERSSELF-MANAGED
The modal window for adding a member is under development and is ready for production use. It is deployed behind a feature flag that is disabled by default. GitLab administrators with access to the GitLab Rails console can enable it.
To enable it:
Feature.enable(:invite_members_group_modal)
To disable it:
Feature.disable(:invite_members_group_modal)
Help & feedback
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Show and post comments to review and give feedback about this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Join First Look to help shape new features.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get Help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Sign in to GitLab.com
Docs Repo
About GitLab
Terms
Privacy Policy
Cookies Policy
Contact
View page source - Edit in Web IDE Creative Commons License
Twitter
Facebook
YouTube
LinkedIn


Can't fetch file system ionic 2

Hi,
I use the PDFJS to display the pdf file and handle some gesture event in that file. When the app is in offline mode, the libs can't fetch the file i was store in file system (read/write permission). It's show the error "UnknownErrorException: Failed to fetch". See the attach images for more details about this error.
Could any one help me? Thanks in advance.

When opening an issue, please make sure that you first read CONTRIBUTING.md and that you provide all of the information requested in ISSUE_TEMPLATE.md.
Please keep in mind that it's generally impossible to provide any meaningful assistance when only a screen-shot, and no other information, is provided.
If you want help you'll need to provide access to a complete example, but please keep in mind that the PDF.js contributors cannot be assumed to have knowledge of specific JavaScript frameworks (such as Ionic).

Sorry, My bad. I convert image to string base64 data and it works. Please close this issue. Thanks.


xml to yaml metadata

Codecov Report

Merging #68 (f4446c6) into main (c202724) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #68   +/-   ##
=======================================
  Coverage   79.94%   79.94%
=======================================
  Files          28       28
  Lines        2059     2059
=======================================
  Hits         1646     1646
  Misses        413      413

Continue to review full report at Codecov.

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

@jdhughes-usgs @langevin-usgs  Merging but  if you have a better suggestion for organizing this stuff i'm all ears (currently pynhm/static/metadata). I expect we'll manually edit this over time.