@types/highlight-words-core is required

Hello,
First of all, thank you for this great library!
The library @types/highlight-words-core should not be on the devDependencies, but directly on the dependencies. Otherwise, a TypeScript error occurred when using your component: the props searchWords is unknown. I add to manually add @types/highlight-words-core in my dependencies.
So, the README should be changed from:
yarn add @sanar/react-native-highlight-text

... to:
yarn add @sanar/react-native-highlight-text @types/highlight-words-core

Thanks thats really helpful

Thanks, was just looking this up. We should add this to the docs.


MeasureBasedCounter does not exist

Hi @pablonosh,
I am getting the following error after integrating the SDK with Cocoapods.

It looks like this was removed, as I could not find it in the QuickPoseCore module.

Hi @hasn-ab!
Now you can use QuickPoseThresholdCounter instead of MeasureBasedCounter. Internally they provide the same functionality, so we removed one of them. Feel free to play with enterThreshold and exitThreshold parameters (0.6 and 0.3 by default) to adjust the sensitivity.
MeasureBasedTimer was replaced by QuickPoseThresholdTimer with the same functionality and slightly different methods.
Let me know if you have any further questions.

Here are a couple of examples of how you can use them:
https://docs.quickpose.ai/docs/MobileSDK/Features/Exercises/Plank#plank-timing Timer
https://docs.quickpose.ai/docs/MobileSDK/Features/Exercises/Bicep Curls#bicep-curl-counting Counter


[master-stable] Collection-info: replace Download tarball button with a warning banner when on cloud.redhat.com

The API is already redirecting to console.redhat.com, so when using the UI on cloud, the download links lead to console, which fails authentication.
Hiding the download button when the domain matches cloud.redhat.com
Before:

After (only on cloud.redhat.com, not locally, not console.redhat.com):

Merged in master-stable, prod-beta and prod-stable as of now :)
(not needed in master, this can be removed once cloud.redhat.com redirects the UI to console.redhat.com, presumably this  thursday)

Cc @ZitaNemeckova FYI :)


beacon posting from conductor

I'm trying to post to beacon from conductor for one of ed's contracts 6976.  I click on the beacon link and i only get the option to add a comment.

Duplicate of #540


refactor: move auxiliary/popup folder logic to desktop

Summary

Please summarize your changes, describing what they are and why they were made.

...
Changelog
- Please write a list of changes

Testing
Platforms

Please select any platforms where your changes have been tested.

Desktop

[x] MacOS
[ ] Linux
[ ] Windows

Mobile

[ ] iOS
[ ] Android

Instructions

Please describe the specific instructions, configurations, and/or test cases necessary to test and verify that your changes work as intended.

...
Checklist

Please tick the following boxes that are relevant to your changes.

[ ] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or modified tests that prove my changes work as intended
[ ] I have verified that new and existing unit tests pass locally with my changes
[ ] I have verified that my latest changes pass CI workflows for testing and linting
[ ] I have made corresponding changes to the documentation

This PR also makes the shared folder more dependent on the desktop folder, there are a lot of imports now pointing to desktop/lib/... if we merge this PR I think we should get rid of these asap since it this will bloat the mobile app right?

Yes, that is what I will address next. This change makes these instances of desktop code in shared very obvious too!


Modify to parse yarn.lock only without depending on node_modules

This tool is great! But It seems it does not purely determine versions from yarn.lock alone but also tries to check node_modules.
Is it possible to have it independently work with yarn.lock alone?

Hello, yes in the past it was possible,  if you want you can try version 1.0.18
to install it use:
npm
npm install<EMAIL_ADDRESS>or
yarn
yarn add<EMAIL_ADDRESS>Please feel free to reopen this issue if I haven't solved your problem.
if you think this should be part of the current module let me know or make a pull request and I will consider it.
Thanks for your time.


Fix variable name in JiraClient

@FundingCircle/black-bat missed variable name, please :eyes:

still no tests? :trollface:
Kidding, :+1: LGTM

Now you need to write tests.


Bump hashie

Considering '~> 1.2.0' works currently, and assuming you've tested with '~> 3.0', then for everyone to be compatible, '>= 1.2.0' should work.

👍


Refactor oa notify

@ajkiessl Sorry, I merged the original branch, so your pull request got closed.
Thanks a lot for taking a shot at this. Incredibly, I've never attempted to do anything quite like this before, and it was definitely not easy to wrap my head around what needed to be done. What you contributed helped to get me over the hump.
Anyway, after stretching the absolute limit of my SQL knowledge, I think I got it to work. I don't think that it's possible to do exactly what you had in mind in terms of table joins (I could be wrong), but the statements that I came up with pass the tests and they seem to produce the same results as the old method when run against the production data.
Now that I understand the pattern here, I think I can apply it to a couple of the other queries and maybe refactor some duplication if I get a chance.

@EricDurante Yeah, it's not possible to do it with only joins.  The sub-querying and "IN"/"NOT IN"s is what I needed, and where my knowledge fell short.  I should have dug into the documentation sooner!  Regardless I learned a lot about SQL, so I should have better luck next time.  Thanks for the help and the code looks good to me 👍 .


Vendor-specific postID encoding

Fixes #219. Fixes #224.

This fix makes output queries look like:
➜ staked q curating posts 1 -o json | jq
{
  "posts": [
    {
      "vendor_id": 1,
      "post_id": "2",
      "creator": "stb1njvl3w00fmkuxlc37ueth73zeml0zh43ysmsp4",
      "reward_account": "stb1njvl3w00fmkuxlc37ueth73zeml0zh43ysmsp4",
      "body_hash": "87298cc2f31fba73181ea2a9e6ef10dce21ed95e98bdac9c4e1504ea16f486e4",
      "curating_end_time": "2020-10-26T15:22:51Z"
    },
    {
      "vendor_id": 1,
      "post_id": "1000",
      "creator": "stb1njvl3w00fmkuxlc37ueth73zeml0zh43ysmsp4",
      "reward_account": "stb1njvl3w00fmkuxlc37ueth73zeml0zh43ysmsp4",
      "body_hash": "dcf77901a8c40b95cd8a6a190270a894fa80f2de86a76cca8579d2de800fb892",
      "curating_end_time": "2020-10-27T02:24:05Z"
    },
    {
      "vendor_id": 1,
      "post_id": "1001",
      "creator": "stb1njvl3w00fmkuxlc37ueth73zeml0zh43ysmsp4",
      "reward_account": "stb1njvl3w00fmkuxlc37ueth73zeml0zh43ysmsp4",
      "body_hash": "dcf77901a8c40b95cd8a6a190270a894fa80f2de",
      "curating_end_time": "2020-10-27T02:58:06Z"
    }
  ]
}

I only implemented MashalJSON(). Not sure if we need UnmarshalJSON and their YAML counterparts. Let me know if there's a need for them and will add.


Make Project Cards Responsive

Issue No: #86
What does this pull request do?
Makes the project cards section responsive.
What is the relevant issue link:
Issue Link
Screenshot if applicable

Any additional information?

@vermilion4 can you pull the latest changes? some additions we're made before this PR. Thanks. 🙌🏾

Done


The second attempt of shift click on any link in the same webpage does not open in a new tab.

As explained in the title, shift click should always open link in a new tab but it fails to do so after the first attempt on the same web page.

It seems that if you press ESC right after opening the link on a background tab you can open a second link on the background as expected, which partially solves the problem, but having to press ESC all the time is not ideal

Shift+Click adds the link to the Reading List on Safari for me. Can you give a bit more info on what is happening here?

I believe that @Colafroth is referring to the equivalent function of command+click, when you hold shift and type the letters corresponding to a link to open it on the background

Ah right, I can reproduce this issue. This looks like a bug.


Image resolution not separated for source.ImageStatic

Hi there,
Apologies if this has been raised before, but I couldn't find an existing ticket, and this seems like a fairly simple fix to make.
When adding an ImageLayer with an ImageStatic source to a map, I can correctly specify the extent for the image, however, the image extends beyond the extent specified for the image. The image is not square. I've found a solution to the issue, specified here:
https://groups.google.com/forum/#!searchin/ol3-dev/imagestatic/ol3-dev/9RUM9ljssVM/KNyPibI-wyEJ
And the code modifications they suggest work correctly.
Not-fixed:

Fixed:

Let me know if you need any more info.
Cheers,
Lachlan Hetherton
<EMAIL_ADDRESS>

Ideally, you could create a pull request with that fix.


0.0.4 Release

Hi Marcus,
New OpenTracing API is already out: https://mvnrepository.com/artifact/io.opentracing/opentracing-api/0.32.0
Could you make a new version? I would like to start testing this very nice feature :)
Thank you a lot for your effort with this library,
Petr Bouda

Upgrade it to 0.32, so at least you should be able to build locally and give it a spin, until the new release build is done

Thank you a lot, I'll try it out tomorrow!
On Sun, 31 Mar 2019, 20:15 sfriberg<EMAIL_ADDRESS>wrote:

Upgrade it to 0.32, so at least you should be able to build locally and
give it a spin, until the new release build is done
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/opentracing-contrib/java-jfr-tracer/issues/27#issuecomment-478364927,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB00Opi2uGz2CWLlT0ZJtUs_qGvoQ870ks5vcPs2gaJpZM4cUY3y
.


[Feature]: signal to application when sync vs consensus

Feature Request
Summary
There are features we can implement to accelerate syncing and features that enable different sort of things in the application if we are aware of which state we are in, sync/replay or consensus.
Some of the features to accelerate do not produce a hash on every block while syncing. Different levels of verification can be done here as well around other parts of the stack.
For teams like berachain they run different operations when in sync/replay mode, currently they are attempting to hack it into abci to get the functionality they would like.
Problem Definition
The application is unaware if the node is replaying or consensus.
Proposal
Introduce a field in abci, it could be in FinalizeBlock, that would signify if a block is being replayed or if its part of consensus,

Would it make sense to do this by checking if the validator is present in DecidedLastCommit in FinalizeBlock?

Would it make sense to do this by checking if the validator's vote is present in DecidedLastCommit in FinalizeBlock?

do votes not appear when in replay mode?

ah yea similar, sorry searched around and didnt see anything. Ill close this

Yeah, some other teams have asked for this in the past (Vega, Vocdoni), so it's likely to happen in the short-to-mid term


Each time SMILES and Mol are converted, the SMILES string is rotated.

Configuration:

RDKit Version:2020.03.1
Operating system:windows10
Python version (if relevant):3.6.9
Are you using conda? yes
If you are using conda, which channel did you install the rdkit from? conda-forge
If you are not using conda: how did you install the RDKit? conda install -c conda-forge rdkit

Description:

Each time converting SMILES string into Mol object and then converting it back, SMILES string changed between pattern A and B.
The code below generates the following outputs (slash and backslash altered before the 8th capital C ) :
rdkit version:  2020.03.1
pandas version:  1.0.3
C1=C2\N=C(/C=c3/c4ccccc4/c4n3[Ni]n3c/1c1ccccc1c3/C=C1\N=C(\C=4)c3ccccc31)c1ccccc12
C1=C2\N=C(/C=c3/c4ccccc4/c4n3[Ni]n3c/1c1ccccc1c3/C=C1\N=C(/C=4)c3ccccc31)c1ccccc12
C1=C2\N=C(/C=c3/c4ccccc4/c4n3[Ni]n3c/1c1ccccc1c3/C=C1\N=C(\C=4)c3ccccc31)c1ccccc12
C1=C2\N=C(/C=c3/c4ccccc4/c4n3[Ni]n3c/1c1ccccc1c3/C=C1\N=C(/C=4)c3ccccc31)c1ccccc12

from rdkit import rdBase, Chem, DataStructs
from rdkit.Chem import AllChem, Draw
import pandas as pd

print('rdkit version: ',rdBase.rdkitVersion)
print('pandas version: ', pd.__version__)

sm='C1=C2\\N=C(/C=c3/c4ccccc4/c4n3[Ni]n3c/1c1ccccc1c3/C=C1\\N=C(\\C=4)c3ccccc31)c1ccccc12'
print(sm)
mol = Chem.MolFromSmiles(sm)
sm = Chem.MolToSmiles(mol)
print(sm)
mol = Chem.MolFromSmiles(sm)
sm = Chem.MolToSmiles(mol)
print(sm)
mol = Chem.MolFromSmiles(sm)
sm = Chem.MolToSmiles(mol)
print(sm)

This is still an issue in 2024.09, it looks like stereo is being inverted which is certainly a bug, bug perhaps a hard to fix one.


Pages

Trying to fix the navbar issue on mobile which does not show any tabs.
Also adding more resources about how to make such websites to the readme

Ah I think it's becuase the sitlibs might not be getting updated... will work on the git action


Error using Lucene.Net.Facet 4.8.0-beta00005  with Xamarin.iOS

I'm using Lucene.Net.Facet 4.8.0-beta00005 in a big Xamarin project.
With Xamarin.Android and Xamarin.UWP it's all right.
But With Xamarin.iOS on device (Ipad), i'm receiving this error:
 Attempting to JIT compile method 'Lucene.Net.Support.LurchTable2:InternalInsert> (int,Lucene.Net.Facet.Taxonomy.FacetLabel,int&,Lucene.Net.Support.LurchTable`2/Add2Info&)' while running in aot-only mode. See https://developer.xamarin.com/guides/ios/advanced_topics/limitations/ for more information.
at Lucene.Net.Support.LurchTable2[TKey,TValue].Insert[T] (TKey key, T& value) <0x2570f48 + 0x000e0> in <063e095c95d945a4ace32ab83d1227eb#2ae0fea9ea4eacaef83bf2e9713bb8ea>:0 at (wrapper unknown) System.Object.gsharedvt_in() at Lucene.Net.Support.LurchTable2[TKey,TValue].AddOrUpdate (TKey key, TValue addValue, Lucene.Net.Support.KeyValueUpdate2[TKey,TValue] fnUpdate) <0x232824c + 0x0013b> in <063e095c95d945a4ace32ab83d1227eb#2ae0fea9ea4eacaef83bf2e9713bb8ea>:0 at Lucene.Net.Facet.Taxonomy.LRUHashMap2[TKey,TValue].Put (TKey key, TValue value) <0x2c487f8 + 0x0015b> in <79d3a7b905954d0993025c09c5d087ce#2ae0fea9ea4eacaef83bf2e9713bb8ea>:0 at Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyReader.GetOrdinal (Lucene.Net.Facet.Taxonomy.FacetLabel cp) <0x2c51970 + 0x0019b> in <79d3a7b905954d0993025c09c5d087ce#2ae0fea9ea4eacaef83bf2e9713bb8ea>:0 at Lucene.Net.Facet.Taxonomy.Int32TaxonomyFacets.GetTopChildren (System.Int32 topN, System.String dim, System.String[] path) <0x2c481dc + 0x0008f> in <79d3a7b905954d0993025c09c5d087ce#2ae0fea9ea4eacaef83bf2e9713bb8ea>:0 at Login.MyMB.Lucene.Client.LuceneArticoliSearcher.GetListaArticoloXRicercaAvanzataConRicercaSemplice (System.Collections.Generic.List1[T] listParametri) <0x224add0 + 0x001bb> in <8f49891e0f0546e185aba7424d294ef7#2ae0fea9ea4eacaef83bf2e9713bb8ea>:0 at Login.MyMB.Lucene.Client.LuceneArticoliSearcher.GetListaArticoloConRicercaSemplice (System.Collections.Generic.List1[T] listParametri) <0x224afbc + 0x0009f> in <8f49891e0f0546e185aba7424d294ef7#2ae0fea9ea4eacaef83bf2e9713bb8ea>:0 at MyMB.Forms.RicercaLucene.RicercaArticoloLucene.GetListaArticoliXRicercaSemplice (Login.MyMB.Interface.IAmbiente ambiente, Login.MyMB.Lucene.Client.LuceneArticoliSearcher las, System.Collections.Generic.List`1[T] ListParametri, System.Boolean isAbilitataRicercaBarcode) <0xe47fc0 + 0x000e7> in :0 ...............................
At the link https://docs.microsoft.com/it-it/xamarin/ios/internals/limitations , I found the problem cause (I suppose...):
Value types as Dictionary Keys Using a value type as a Dictionary key is problematic, as the default Dictionary constructor attempts to use EqualityComparer.Default. EqualityComparer.Default, in turn, attempts to use Reflection to instantiate a new type which implements the IEqualityComparer interface. This works for reference types (as the reflection+create a new type step is skipped), but for value types it crashes and burns rather quickly once you attempt to use it on the device. Workaround: Manually implement the IEqualityComparer interface in a new type and provide an instance of that type to the Dictionary (IEqualityComparer) constructor.
So, what can I do? Thank you in advance, Enrico Caltran +393357485560<EMAIL_ADDRESS>JIRA link - [LUCENENET-602] created by enycaltran

This has basically been held open because of https://github.com/NightOwl888/J2N/issues/3, but given the fact this one reporter is no longer interested in a fix and MAUI is right around the corner (which hopefully addresses this), there doesn't seem to be much sense in spending time on this.


Clipping Paths With Images.

While I thought it was likely pointless for my uses, there is a clipping path built into SVG and masking off a shape with an image is certainly doable and somebody in the Facebook K40 group wants to do text with a pattern inside it, and it would be much easier to do that in Illustrator or something and just import it here. While I figured doing that and saving it as a raster would be fine, There are some patterns that would simply be remarkably hard to duplicate without the native functionality. Such as in the topic of adding a pattern inside the lettering to help the paint stick to the inside of those letters.

There are also things that have cropped up. Like attempting to using a clip path to bound an image and MeerK40t loaded the image up without any clip-path since it ignored it. Further there are some utilities where a raw clip path would be highly useful. Like if you wanted to select a section of an image and raster just that area a second time to make it pop cut out some paint or several other operations. A clip path that takes up the view of the objects below it would absolutely allow such things correctly.
Much like some features for typesetting images into shapes there's clearly a need to sort of permit this. And the code would be mostly render based. Basically find the bounds of this image and any pixel located inside this closed shape is moved to a secondary raster and shown.

https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath

Just to point out that you can apply a clip-path to other elements and even groups in SVG not just Images.
If you apply it to a group it is dynamic as you move the elements that are inside the group.

#1295 and later fixes implemented a (permanent) image-clipping-by-path functionality.

We have a keyhole functionality since 0.9.5.b8, we will not do more

If I have a path clipped image or vectors in InkScape, does that load into MK as a keyhole?

P.S. Wanna bet that at some point you will do more (i.e. a minor enhancement to lock keyholes to a linked group or element?


[WIP] working on  moFF 2.0.2

I changed a bit the parameters, the linting was fine.
I tried to modify the testing, using (different data than the data already present in recipes) but it fails.
I decided to not put the in PR my test data because are quite big Thermo raw file. In the PR, the test is like the original one.

@Maux82 I can not see an error in what you pasted. That looks like a normal debug output.

@Maux82 I can not see an error in what you pasted. That looks like a normal debug output.

I think the problem it is related with py 3.4 problem mentioned in  #341. It takes to much to run the test.

Hi, as the moFF Conda recipe has been finally updated to work with Python >=3.4, <3.7 it may be interesting to test this again against it.
I could give you a little help testing things or adding the raw datatype... I work with Harald Barsnes and we are also quite interested on moFF fully working on Galaxy... could you please give me permissions to push to your repository, @Maux82 ?

Thakns so much @CarlosHorro , I  added you as collaborator in my repo. you should get the invitation
So far I tested again with new conda recipes, but the the testing are still stucked. Any help is more than welcome.

Hi, as the moFF Conda recipe has been finally updated to work with Python >=3.4, <3.7 it may be interesting to test this again against it.
I could give you a little help testing things or adding the raw datatype... I work with Harald Barsnes and we are also quite interested on moFF fully working on Galaxy... could you please give me permissions to push to your repository, @Maux82 ?

Thank you :-)
I have tested it in my local with the same results. Now I enabled the verbose mode and the output get stuck in "Persisting job destination" step:
done ; echo 2.0.2 > /tmp/tmpLElIyn/tmp/GALAXY_VERSION_STRING_5 2>&1; mkdir ./out &&  mkdir ./ident_inputs && cp '/tmp/tmpLElIyn/files/000/dataset_1.dat' './ident_inputs/mbr_test1.mzml' && cp '/tmp/tmpLElIyn/files/000/dataset_2.dat' './ident_inputs/mbr_test2.mzml' &&   mkdir ./raws && ln -s '/tmp/tmpLElIyn/files/000/dataset_3.dat' './raws/mbr_test1.mzml' && ln -s '/tmp/tmpLElIyn/files/000/dataset_4.dat' './raws/mbr_test2.mzml' &&  moff_all.py  --tsv_list './ident_inputs/mbr_test1.mzml' './ident_inputs/mbr_test2.mzml'   --raw_list './raws/mbr_test1.mzml' './raws/mbr_test2.mzml'  --tol 10.0 --mbr on --xic_length 3.0 --rt_peak_win 1.0 --rt_peak_win_match 1.2 --loc_out ./out --peptide_summary && mv ./out/peptide_summary_intensity_moFF_run.tab '/tmp/tmpLElIyn/files/000/dataset_5.dat']
2019-02-19 20:59:33,691 DEBUG [galaxy.tools.deps] Using dependency samtools version None of type conda
2019-02-19 20:59:33,692 DEBUG [galaxy.tools.deps] Using dependency bcftools version 1.5 of type conda
2019-02-19 20:59:33,692 DEBUG [galaxy.tools.deps] Using dependency samtools version None of type conda
2019-02-19 20:59:33,692 DEBUG [galaxy.tools.deps] Using dependency bcftools version 1.5 of type conda
2019-02-19 20:59:33,699 DEBUG [galaxy.jobs.runners] (5) command is: rm -rf working; mkdir -p working; cd working; /tmp/tmpLElIyn/job_working_directory/000/5/tool_script.sh; return_code=$?; cd '/tmp/tmpLElIyn/job_working_directory/000/5';
[ "$GALAXY_VIRTUAL_ENV" = "None" ] && GALAXY_VIRTUAL_ENV="$_GALAXY_VIRTUAL_ENV"; _galaxy_setup_environment True
export PATH=$PATH:'/home/parallels/miniconda3/envs/mulled-v1-eb2018fd3ce0fcbcee48a4bf89c57219add691c16729281b6c46b30f08339397/bin' ; export PATH=$PATH:'/home/parallels/miniconda3/envs/mulled-v1-eb2018fd3ce0fcbcee48a4bf89c57219add691c16729281b6c46b30f08339397/bin' ; python "/tmp/tmpLElIyn/job_working_directory/000/5/set_metadata_3aJKOS.py" "/tmp/tmpLElIyn/job_working_directory/000/5/registry.xml" "/tmp/tmpLElIyn/job_working_directory/000/5/working/galaxy.json" "/tmp/tmpLElIyn/job_working_directory/000/5/metadata_in_HistoryDatasetAssociation_5_aDkopB,/tmp/tmpLElIyn/job_working_directory/000/5/metadata_kwds_HistoryDatasetAssociation_5_UkciV_,/tmp/tmpLElIyn/job_working_directory/000/5/metadata_out_HistoryDatasetAssociation_5_PQ793p,/tmp/tmpLElIyn/job_working_directory/000/5/metadata_results_HistoryDatasetAssociation_5_iuBIxL,/tmp/tmpLElIyn/files/000/dataset_5.dat,/tmp/tmpLElIyn/job_working_directory/000/5/metadata_override_HistoryDatasetAssociation_5_ICQStn" 5242880; sh -c "exit $return_code"
2019-02-19 20:59:33,718 DEBUG [galaxy.jobs.runners.local] (5) executing job script: /tmp/tmpLElIyn/job_working_directory/000/5/galaxy_5.sh
2019-02-19 20:59:33,735 DEBUG [galaxy.jobs] (5) Persisting job destination (destination id: planemo_dest)

By the way, to have registered the necessary datatypes (specially raw), I have found this Galaxy "tool" with most important proteomics datatypes:
https://toolshed.g2.bx.psu.edu/repository?repository_id=6fba172fc57ea523&changeset_revision=300fc3aa6954
Would it be interesting to include it as a dependency in moFF?

@bgruening @CarlosHorro . I pulled all your modification but  the test is still stucked here:
09:00:57,226 INFO  [galaxy.jobs.command_factory] Built script [/tmp/tmpVz3oVi/job_working_directory/000/5/tool_script.sh] for tool command [[ "$CONDA_DEFAULT_ENV" =<EMAIL_ADDRESS>] ||
MAX_TRIES=3
COUNT=0
while [ $COUNT -lt $MAX_TRIES ]; do
. /home/compomics/miniconda3/bin/activate<EMAIL_ADDRESS>> conda_activate.log 2>&1
if [ $? -eq 0 ];then
break
else
let COUNT=COUNT+1
if [ $COUNT -eq $MAX_TRIES ];then
echo "Failed to activate conda environment! Error was:"
cat conda_activate.log
exit 1
fi
sleep 10s
fi
done ; echo 2.0.2 > /tmp/tmpVz3oVi/job_working_directory/000/5/COMMAND_VERSION 2>&1; mkdir ./out &&  mkdir ./ident_inputs && cp '/tmp/tmpVz3oVi/files/000/dataset_1.dat' './ident_inputs/mbr_test1.mzml' && cp '/tmp/tmpVz3oVi/files/000/dataset_2.dat' './ident_inputs/mbr_test2.mzml' &&   mkdir ./raws && ln -s '/tmp/tmpVz3oVi/files/000/dataset_3.dat' './raws/mbr_test1.mzml' && ln -s '/tmp/tmpVz3oVi/files/000/dataset_4.dat' './raws/mbr_test2.mzml' &&  moff_all.py  --tsv_list './ident_inputs/mbr_test1.mzml' './ident_inputs/mbr_test2.mzml'   --raw_list './raws/mbr_test1.mzml' './raws/mbr_test2.mzml'  --tol 10.0 --mbr on --xic_length 3.0 --rt_peak_win 1.0 --rt_peak_win_match 1.2 --loc_out ./out --peptide_summary && mv ./out/peptide_summary_intensity_moFF_run.tab '/tmp/tmpVz3oVi/files/000/dataset_5.dat']
2019-03-07 09:00:57,339 DEBUG [galaxy.tools.deps] Using dependency bcftools version 1.5 of type conda
2019-03-07 09:00:57,340 DEBUG [galaxy.tools.deps] Using dependency bcftools version 1.5 of type conda
Any ideas? is it something related to my local conda enviroments  ?

I removed  some tests, just focus on mbr a and apex case.
About the second test (mbr):
I get this error :
File<EMAIL_ADDRESS>line 190, in
|  data_temp= pd.read_csv(args.tsv_list[0],sep="\t")
........
File b'./ident_inputs/Unnamed Collection.tabular' does not exist: b'./ident_inputs/Unnamed Collection.tabular'
The test part is :

The input expected file are 2 , this is why  it brokes at line 190 in moff_all.py
There is a way to print the exact command launched in the test ?
Moreover, I also get this error:
Please install pynumpress: pip install pynumpress
No module named 'brainpy._c.composition'
With the updated conda package , I would not expect this kind of messages.
Any inputs ?

Hi,
Is not the exact command
mkdir ./out &&  mkdir ./ident_inputs && cp '/tmp/tmpRLc3oF/files/000/dataset_6.dat' './ident_inputs/mbr_test1.tabular' && cp '/tmp/tmpRLc3oF/files/000/dataset_7.dat' './ident_inputs/mbr_test2.tabular' &&  moff_all.py  --tsv_list './ident_inputs/Unnamed Collection.tabular'  --mbr only --ext tabular --raw_list && mv ./ident_inputs/mbr_output/* ./out
?
(it's what is shown in the command area of the second tests in tool_test_output.html, when executing it in my local).

@CarlosHorro
-tsv_list './ident_inputs/Unnamed Collection.tabular'
moFF expects a list of files., here you have just one if I get it correctly. This  breaks moFf at line 190 (moff_all.py).  The mbr option must be specified  like  --tsv_list file1.tabulr file2.tabular`.
The error that I get is:
FileNotFoundError: [Errno 2] File b'./ident_inputs/Unnamed Collection.tabular' does not exist: b'./ident_inputs/Unnamed Collection.tabular'
when it creates all the output for mbr.
I am little bit confused, If I pass a collection in input (test 2) :
<param name="ident_input_file">
<collection type="list">
                 <element name="mbr_test1" value="input/mbr_test1.tabular"/>
                 <element name="mbr_test2" value="input/mbr_test2.tabular"/>
              </collection>
  </param>

Why do not I get two files in inputs  ? (e.g --tsv_list mbr_test1.tabular mbr_test2.tabular. ) ?

Um...  in the second test I see:
<param name="task|task_selector" value="mbr"/>
So, it should enter into
#else if $task.task_selector == "mbr":
           @WRANGLE_IDENT_INPUT_MULTIPLE@
           moff_all.py
                @IDENT_INPUT_ARG_SINGLE@
                --mbr $task.mbr
				--ext $task.ext
				--raw_list
           &&
           mv ./ident_inputs/mbr_output/* ./out

and use
<token name="@IDENT_INPUT_ARG_SINGLE@"><![CDATA[
            ## this is where the ident input gets passed to moff/moff_all/moff_mbr
            --tsv_list './ident_inputs/${task.ident_input.ident_input_file.element_identifier}$format'
        ]]></token>

?

@ieguinoa  The test is good also for me on Galaxy node. But on mbr case I still have the peptide summary file that keep running   and it should not be.
I also added the filtering part to the 'apex' case
Now we need to allow only one file and N raw file for the 'all' option.

After getting this error executing apex:
cannot find 'match_filter' while searching for 'task.match_filter.match_filter_selection'
I realized match_filter options were not present in "moff" option. I copied them there in the same way they were in "all".

I'm a little bit worried about the test coverage, this is a complex tool and we only have one test atm.
@ieguinoa @CarlosHorro @Maux82 do you have time to work on this?

About the test set, I have only quite big Thermo raw file to use it (1GB per file) . Maybe @CarlosHorro has some small raw file to use it ? l(e.g like the demo data used in PeptideShaker ? )
With mzml data, I still have some issues.
Using pymzml, it does not read the reduced mzml file (like the one used before in the test) so using small mzml file it seems not an option so far

I'm a little bit worried about the test coverage, this is a complex tool and we only have one test atm.
@ieguinoa @CarlosHorro @Maux82 do you have time to work on this?

About the test set, I have only quite big Thermo raw file to use it (1GB per file) . Maybe @CarlosHorro has some small raw file to use it ? l(e.g like the demo data used in PeptideShaker ? )

Recently I got a very small .raw file (about 70mb) but I am waiting for confirmation (today) that it may be shared publicly. I was also waiting for another public and even smaller raw file, I will try to tell you its status as soon as possible.

Hi,
@kevinkovalchik from RawTools has created a 1mb raw file which, at least, seems to work with its tool:
https://drive.google.com/open?id=14gLkAQlVLBDNbjli6sQQOW46YlK9Q11i
Its size seems to be little enough to be included as data test.
Greetings,
Carlos

https://drive.google.com/open?id=14gLkAQlVLBDNbjli6sQQOW46YlK9Q11i
Its size seems to be little enough (not bigger than 1mb...) to be included as data test

it sound interesting to me (also for moFF testin on Travis ), at least to try. @kevinkovalchik  can you give us some information ? like how it the cromatogram ? Do you have  search results on it ?  What the  sample contains (Human,e.Coli,yeast,etc) ?

@Maux82 It actually is a pretty bad file as far as quality of data and search results. There are only 100 scans in it, and 2/3 of them are MS1, which gives you an idea of the quality of the MS2 scans. I get a few hits out of X!Tandem on it, one is a decoy and the other two score worse than the decoy. The sample is a HeLa digest. Here is the MS1 TIC chromatogram:

The reason it is so bad is that calculating some of the chromatography metrics in RawTools involves a moving average along the MS1 index, and when I coded it I simply didn't consider that there could be fewer MS1 scans than the window size because it isn't something I expected to encounter. So to get around it for the small file I had to choose a slice of the raw file with mostly MS1 scans, e.g. there are no peptides triggering MS2 scans.
This can easily be fixed in the RawTools code, at which point I'll put together a more meaningful test file. But you can probably make one yourself if you are interested in using it for testing. You can get a package from the Thermo software portal called FT Programs, and part of it is an app called RecalOffline in which you can extract a slice from an existing raw file. You can cut down the file size a little bit by unchecking "Copy status log" in the slicer.
Kevin

Using pymzml, it does not read the reduced mzml file (like the one used before in the test) so using small mzml file it seems not an option so far

Is that reported upstream? Should we then disable mzml inputs here and only suppoer RAW for the time being?

@bgruening
I  would keep it like this, I assume the use of recduced mzML is just for testing in real case the user will not use  reduced files.
@kevinkovalchik  thanks a a lot for the clarification about your small raw files, but for my purpose you have too few MS2 events. I might consider to reduce thermo raw with the procedure that you described.
@CarlosHorro  The data used in PeptideShaker  tutorial is freely available ? Are  raw file so big ?
Otherwise I could have a possible dataset but for 2 raw file is about  2.8 GB  of space.

Ok, let's deploy that. Thanks all for your awesome work!

@CarlosHorro The data used in PeptideShaker tutorial is freely available ? Are raw file so big ?
Otherwise I could have a possible dataset but for 2 raw file is about 2.8 GB of space.

Although it may not be relevant anymore, I wanted to clarify that data used in PeptideShaker tutorial is freely available in PRIDE: https://www.ebi.ac.uk/pride/archive/projects/PXD000674


Hope to add new data type(s) to support exact results when applying sum or avg aggregate functions.

Use case:
Hope to add new data type(s) to support exact results when applying sum or avg aggregate functions. Thanks
Feature description:
Hope to add new data type(s) to support exact results when applying sum or avg aggregate functions. Thanks

Your description is not really clear to us, our aggregations always return exact results. Can you describe this more detailed please?

In "DATA TYPES" section in the crate's reference (https://crate.io/docs/reference/sql/data_types.html#numeric-types). The "float" and "double" data types are inexact, variable-precision numeric types.  The result of applying sum or avg aggregate functions may slightly vary between query.   So, are there any alternative ways to return exact results when applying aggregate functions with numeric data types like "double" ?      Thanks~~

Ah yes, we're currently missing a arbitrary precision numeric type like postgres's decimal type (https://www.postgresql.org/docs/9.6/static/datatype-numeric.html). We'll put it on our backlog. Any contributions are always welcome. If you need some help, please for it on our slack channel.

We added a numeric type that can be used in the context of aggregations (at runtime) (See https://github.com/crate/crate/pull/10854).
We also made a change to use the kahan summation algorithm to have more accurate sums. (See https://github.com/crate/crate/pull/10674)
Having a numeric type where a user can configure the precision is tracked via https://github.com/crate/crate/issues/11119.


Document Paused state

If I understand correctly, the ability to pause a task is not required behavior for a TES implementation, but if the implementation can pause a task, the Pause state allows that to be represented.
Did I get that right?
If so, I'll add documentation to that effect to make it crystal clear.
Just curious, is there a current TES stakeholder that is interested in implementing pausing? In other words, is someone actually going to use this state?

I'd be :-1: on any requirement for a Pause but I like having the ability to do so.
FWIW I am involved with a few projects where TES might possibly (emphasis on the use of possibly vs probably) be used. In none of those cases would pause be feasible as far as I know.

Added a comment in #39 that implementations may support this (they are not required).


chore(ci): change to a release trigger not tag

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 38.51%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
1091

Relevant Lines:
2833

💛  - Coveralls


[Question] Is Admin Consent mandatory in client credential flow ?

[Question] Is Admin Consent mandatory in client credential flow ?
I tried creating Application role and providing admin consent works fine.
Is Admin Consent step shown in Protocol Diagram is mandatory ?
Any way without admin consent to access APIs ?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e9e02a6a-cd93-700d-0073-cca2f6166d67
Version Independent ID: 215511e6-6599-4aac-5592-635640a635cb
Content: OAuth 2.0 client credentials flow on the Microsoft identity platform
Content Source: articles/active-directory/develop/v2-oauth2-client-creds-grant-flow.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@hammerstrike , Thank you for your feedback. We will investigate and get back to you shortly.

@hammerstrike No, Admin Consent is only required for those permissions that require administration consent. When you define your application and then select what permissions you want to give that application, you will see a column on that page "Admin Consent". If you see a "Yes" in that column, it means that you will need an AD Admin provide consent during the authentication workflow for things to work.
HOWEVER, if you have say 10 permissions added of which only 3 require Admin Consent, then the other 7 will work fine.
Do let me know if you need further explanation.


az cli fails with ModuleNotFoundError

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp create
Errors:
No module named 'decorator'
Traceback (most recent call last):
python3/dist-packages/fabric/connection.py, ln 5, in <module>
    from invoke.vendor.six import StringIO
ModuleNotFoundError: No module named 'invoke.vendor.six'

...

python3/dist-packages/fabric/connection.py, ln 10, in <module>
    from decorator import decorator
ModuleNotFoundError: No module named 'decorator'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Install Ubuntu 20.4 LTS on Windows WSL
Install az cli following these steps: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt?view=azure-cli-latest#set-release
az login
az webapp create --name --resource-group --plan --runtime {}

Expected Behavior
az commands work
Environment Summary
Linux-4.4.0-18362-Microsoft-x86_64-with-glibc2.29
Python 3.8.2
Shell: bash

azure-cli 2.0.81

Extensions:
azure-devops 0.17.0

Additional Context

webapp

No related to app service - see https://github.com/Azure/azure-cli/issues/13644

I read all that at the time, I still couldn’t make it work on a fresh install following all the instructions. Care to elaborate? Someone else’s job?

@fengzhou-msft could you help with this?

@cuzzlor you need to first remove the packages installed by the old 2.0.81 azure-cli that comes with the Ubuntu 20.4 LTS. Try sudo apt remove azure-cli and make sure /usr/lib/python3/dist-packages/azure is deleted.

Ok. At the time it was a brand new install of WSL and the azure cli install script. I’ll try again maybe something has changed. Thanks.

You may need to run sudo apt autoremove after sudo apt remove azure-cli to remove the old azure packages that azure-cli 2.0.81 depends on.

Duplicate with #14011


[bug] Box upgrade in 3.1.0 causes DynaBox signature change and  broke existing code

Hi @rochacbruno
Describe the bug
I was using the following code in an existing module, and the 3.1.0 release causes an error due to 59be115724f9d973229bc8e1b884a3ae3e4f9bd5 updating Box, which now requires the box_settings keyword argument.
>       data = DynaBox(settings.as_dict(internal=False))
E       TypeError: __new__() missing 1 required keyword-only argument: 'box_settings'

To Reproduce
pip install dynaconf==3.1.0

from dynaconf import settings
from dynaconf.utils.boxing import DynaBox
data = DynaBox(settings.as_dict())

Expected behavior
Should I add a default argument for box_settings for dynaconf versions >=3.1.0? Is DynaBox considered private? Or is this a bug and will DynaBox provide a default argument for box_settings in Box.__new__?
Cheers,
Andreas 😃

@RonnyPfannschmidt is that the same thing you mentioned about?

No, i can link you to a back trace once I return to the computer

This may be related to what I just hit.
...
 File "/home/jake/Programming/venvbroker/lib64/python3.8/site-packages/broker/settings.py", line 3, in <module>
    from dynaconf import Dynaconf, Validator
  File "/home/jake/Programming/venvbroker/lib64/python3.8/site-packages/dynaconf/__init__.py", line 6, in <module>
    from dynaconf.base import LazySettings  # noqa
  File "/home/jake/Programming/venvbroker/lib64/python3.8/site-packages/dynaconf/base.py", line 9, in <module>
    from dynaconf import default_settings
  File "/home/jake/Programming/venvbroker/lib64/python3.8/site-packages/dynaconf/default_settings.py", line 10, in <module>
    from dynaconf.utils.parse_conf import parse_conf_data
  File "/home/jake/Programming/venvbroker/lib64/python3.8/site-packages/dynaconf/utils/parse_conf.py", line 11, in <module>
    from dynaconf.utils.boxing import DynaBox
  File "/home/jake/Programming/venvbroker/lib64/python3.8/site-packages/dynaconf/utils/boxing.py", line 6, in <module>
    from dynaconf.vendor.box import Box
  File "/home/jake/Programming/venvbroker/lib64/python3.8/site-packages/dynaconf/vendor/box/__init__.py", line 7, in <module>
    from box.box import Box
ModuleNotFoundError: No module named 'box.box'; 'box' is not a package

thats it

@rochacbruno interestingly upgrading python-box seems like it fixed the above issue. python-box-5.1.0

i suspect a unintended problem with the vendoring mechanism, but i dont have enough time to substantiate the hunch

Hi everyone,
I'm not sure if I got my main issue across correctly. I think I chose a wrong title, because I was trying to over-analyse what's happening here.
My actual issue is:
with dynaconf==3.0.0 I could instantiate DynaBox without providing box_settings and now it's required. I was assuming that DynaBox is considered public and was not expecting that it would change its required call arguments or public interface with a minor version increase.
I hope I didn't cause too much confusion. Sorry for that 🙇 😊
Cheers,
Andreas 😃


⚠ Jenkins Plugins Artifactory has degraded performance

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

HTTP code: 200
Response time: 1308 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 31ca5ff after 1 hour, 4 minutes.


Document how React treats different attributes

This issue was originally reported by @MMeent via facebook/react/issues/9220
Please refer to the original issue for the related discussion thread.
Text of original issue:
As of #9106 there are quite a lot of tests for HTML's boolean properties on tags. According to these tests HTML properties should get rendered into empty strings or not set, e.g.
 should render to
 and
 should render to
.
But when I look further, there are other tests which do similar things:  should render to . This means that if I take true as my property value, I will not know what the result will be.
The issue being: React currently does not have a clearly-defined and documented way with which they handle their props. Could the docs be updated to specify which type of prop will result in what? e.g. "any number gets parsed to a string (using Number.toString()), an object gets stringified by using arg => Object.entries(arg).map(([key, val]) => ${key}: ${val};).join(), and booleans toggle the property."
In short, these are the bugs/undocumented features/contradictions that the tests expect to happen, plus my expectations:

prop={true} gets parsed to prop="" or prop="true" for select properties
expected: either prop="" or prop="prop", not both // as per checked=checked HTML standard
prop="" gets parsed as prop="" or
expected: prop=""
prop="prop" might get parsed as either prop="prop", prop="" or even
expected: prop="prop"
prop="foo" => prop="" or prop="foo"
expected: prop="foo"
prop={false} =>   or prop="false"
expected:
prop={['foo', 'bar']} => prop="" or prop="foo,bar" (hand-tested, no automatic test available)
expected: prop="foo bar"
prop={{foo: 'bar', baz: 5}} => prop="" or prop="foo: bar; baz: 5;" or prop="[object Object]" (hand-tested, no automatic test available)
expected: prop="foo: bar; baz: 5" // as per style object transform

Hacky showcase: https://jsfiddle.net/ox8a7vfe/3/
Are these features or are these bugs?
If they are bugs, and work is going to be done on the props value parsing, then the following might be a nice addition:

prop={{foo: true, bar: true, baz: false}} => prop="foo bar" // render all true keys, disregard false keys, like classNames.

It looks like this blog post: https://reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html addresses a lot of the concerns in this particular issue.
Do we want to create a new docs page that summarizes what the blog post talks about and reference the blog post?

Perhaps, or perhaps we could add to this page: https://reactjs.org/docs/dom-elements.html
To be honest, I moved this issue from the old repo over the weekend along with a lot of others. I didn't read too deeply into it.
Would you be interested in working on this @mrscobbler ?

Sure! I can work on it. I think adding to the existing page would be great.

This issue is all yours! 😄
I've added an "in-progress" label so that others will know not to start work on the issue. If you change your mind about the issue, no worries! Just let me know so that I can remove the label and free it up for someone else to claim.
Cheers!

Hey @mrscobbler! Just wanting to confirm that this issue is still being worked on.
No hurry of course. I'm just going through in-progress issues to see if any have been dropped. 😄

Yes! Still planning on working on it. I'll make sure to comment on this if for some reason I can't get to it.

Great! Thanks!


Failed by timeout on a large number of files

We use this action to upload reports after building projects.
Upload fails in one of the big projects. After 8 minutes, an error occurs:
Error: Multiple errors occurred during the request. Please see the `errors` array for complete details.

    1. Request Timeout
    2. <!DOCTYPE html>

  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 408 (Request Timeout)!!1</title>

408. That’s an error.

Your client has taken too long to issue its request.  That’s all we know.

Characteristics of the directory for uploading:
# find target/site/clover -type f | wc -l
    3645
# du -sh target/site/clover
107M	target/site/clover

For other smaller projects, this action works perfectly.
If I setup google-github-actions/setup-gcloud and run gsutil -mq cp -r <path> <destination> then the uploading is successful within 2 minutes.
I can't link to the code because the repository is not public.

Hi @levonet
We recently added a few features on main that may help.  Previously we were not limiting concurrency and for 3k files, this would mean potentially 3k requests in flight.
Now we set default concurrency to 10 and you can also control it if needed. Uploads are also resumable by default which should help.  Let us know if these help or if this issue still happens.

Thank you very much for the correction, we will try to check soon.

@levonet feel free to reopen if still an issue

For history https://github.com/google-github-actions/upload-cloud-storage/pull/33


Out-of-order output from Zed program with conditional logic

Repro is with Zed commit f1be6a4.
The simplified program in #5076 is based on the program shown here, so perhaps fixing one of these issues will explain or fix the other.
This issue was found when working on a response to a community user's question in a Slack thread. The user's question in their own words:

Is there way to run some sort of type assertion in a function?
op flatten_array(a): (over this | over this | collect(this))`

I want to ensure a is an array of arrays

While working my way up to the full response, I got this far, which works as expected on individual inputs:
$ cat maybe_flatten.zed
op maybe_flatten(a): (
  switch kind(a) (
    case "array" => over a with val=a => (
      and(kind(this) == "array")
      | switch this (
        case true => yield "It's an array of arrays, so I would flatten"
        case false => yield "It's an array containing some non-array values, so I would not flatten"
      )
    )
    default => yield "It's not even an array, so I ain't touchin' that"
  )
)

$ zq -version
Version: v1.14.0-17-gf1be6a4a

$ echo '[[1,2],[3,4]]' | zq -I maybe_flatten.zed 'maybe_flatten(this)' -
"It's an array of arrays, so I would flatten"

$ echo '"hello"' | zq -I maybe_flatten.zed 'maybe_flatten(this)' -
"It's not even an array, so I ain't touchin' that"

$ echo '[1,2,3,4]' | zq -I maybe_flatten.zed 'maybe_flatten(this)' -
"It's an array containing some non-array values, so I would not flatten"

However, now look what happens if I combine all three of those values in a single input file.
$ cat input.zson
[[1,2],[3,4]]
"hello"
[1,2,3,4]

$ cat input.zson | zq -I maybe_flatten.zed 'maybe_flatten(this)' -
"It's not even an array, so I ain't touchin' that"
"It's an array of arrays, so I would flatten"
"It's an array containing some non-array values, so I would not flatten"

As we can see, the first output is the one associated with the middle "hello" input, which is unexpected. If I was using fork in my flowgraph I'd not have been surprised. However, as a user, I don't see how conditional logic or anything else about this program would cause values to be processed out-of-order.

On further reflection I now recognize that is behavior is divulged in the docs and therefore is not a bug. It would seem I have a blind spot here because while I'm accustomed to not expecting same-order output after things like fork and aggregations, for some reason I didn't expect this from switch. I'll discuss with the team at some point, but closing this issue.


[pubsub-pulasr] Pulsar namespace setting is invalid

1.6.0 up 1.7.0
created producer  does not use a namespace
time="2022-04-11T01:37:21.575456241Z" level=debug msg="creating producer for topic testEvent, full topic name in pulsar is persistent://public/mcrp-production/testEvent" app_id=mediinfo-mcrp-yanfa instance=test-3.0.94-7c84798747-5dfql scope=dapr.contrib type=log ver=1.7.0
time="2022-04-11T01:37:21Z" level=info msg="[Created producer]" cnx="<IP_ADDRESS>:38536 -> xxxxxx:30205" producerID=1 producer_name=pulsar-mini-373-115 topic="persistent://public/default/testEvent"

I suspect the tenant settings have also failed -_-

The issue looks to be due to passing req.Topic instead of topic. The latter contains tenant and namespace information too.
https://github.com/dapr/components-contrib/blob/03e0c667baafc27ff99ce00d4122084421f15381/pubsub/pulsar/pulsar.go#L181-L184
It was changed in https://github.com/dapr/components-contrib/commit/00c99a4027de26b393a2c087767628d7e150675b
@saber-wang do you want to send in a fix?

This will be a small fix but is high priority for pulsar users.

@shubham1172 I can do this


module 'config' has no attribute 'colors'  Is there a request towards python version?

Do you have config files? Thank you! @alwayslj

I think you have wrong config version.

what is the 'right' version of config? please advise. Thanks.


Prevent vscode from exiting the Python interpreter a script completes

Discussed in https://github.com/microsoft/vscode-python/discussions/16082

Originally posted by larsoner April 29, 2021
The way I have used Python for years (through Spyder, directly from a bash terminal, etc.) is to execute a script in interactive mode such that once it's done, you can interact with it, e.g.:
python -i script.py

VSCode's debugger does not give a way to get this behavior currently. And it seems like I am not the only one looking for it:

https://stackoverflow.com/questions/56568304/how-to-run-my-python-module-in-visual-studio-code-in-interactive-mode
https://stackoverflow.com/questions/54609806/how-to-prevent-vscode-from-exiting-python-environment-after-running-code
https://www.reddit.com/r/vscode/comments/8uv8xc/how_to_keep_python_running_after_script_execution/
https://github.com/microsoft/vscode-python/issues/5497

One workaround is to put a breakpoint at the end of your file, but this requires extra work.
Another workaround is to add "env": {"PYTHONINSPECT": "true"}, to the launch configuration with integratedTerminal, but this doesn't work properly as any input is captured and newlines aren't treated properly while printing, which makes it pretty unusable.
I could see at least two potential solutions (the first would be better I think):

Make it so that in PYTHONINSPECT mode, the terminal could be interacted with properly, possibly by adding a new inspectOnExit or something that ran in -i / PYTHONINSPECT mode and returned proper input/output when the script completes. Based on https://github.com/microsoft/vscode-python/issues/5497 it sounds like this is a no-go, though.
Add a stopOnExit debug option to mirror stopOnEntry in the debugger. This way at least variables could be inspected using the vscode debugger.

Good to see some interest here :)
I would be more than happy with a config setting.
Many IDEs for other languages have the setting "stop on main when launched", this for python would kind of be the opposite version of that one "don't stop when exit"

Would it be a setting you could enable or a specific type of run & debug where you would specify that you want to stay in the interpreter?

To me either way would work. One advantage of a separate command is then you can choose which one to use on the fly without needing to switch a config var. But in practice I personally would always just leave it set to "don't exit on completion" so it wouldn't affect my workflow much either way.

@eleanorjboyd debugpy has following two settings available, they are hidden. We may need to expand this capability.
https://github.com/microsoft/debugpy/blob/34cc53b2ac31b9de89a5445bbcfb0daddf33146e/tests/debug/config.py#L66-L67


[LWRP] ocean shadows are broken.

Maybe my bad .... but it appears that even in unity v2019.1 the shadows arent shown correctly . No error . But no shadows ! ^^

My bad . Be carefull to check the LWRP settings !


Added new documentation to reflect ApiAsync method

This PR has sat here for 6 years, it's a simple documentation update for something that was missed in the README. I'm just going to close this out and delete my fork.


Unable to use kube-image-keeper - Calico in eBPF doesn't support Host Ports

System

Ubuntu version: 22.04
k3s version: 1.26.1
Kube Image Keeper version: 1.0.1
Cert-manager version: 1.11.0

Helm values
controllers:
  image:
    repository: quay.io/enix/kube-image-keeper
  webhook:
    objectSelector:
      matchExpressions:
        - key: kube-image-keeper.enix.io/image-cache
          operator: In
          values: ["enabled"]
proxy:
  image:
    repository: quay.io/enix/kube-image-keeper
registry:
  image:
    repository: public.ecr.aws/docker/library/registry
  persistence:
    enabled: true
    storageClass: ceph-filesystem
    size: 20Gi

Test command
kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot --labels "kube-image-keeper.enix.io/image-cache=enabled"

YAML of generated pod
apiVersion: v1
kind: Pod
metadata:
  annotations:
    cni.projectcalico.org/containerID: 1a6d1ef12006195eabcb97ea295b9f14ab9eccbd7b8788dc8b64e0dbb2398ee7
    cni.projectcalico.org/podIP: <IP_ADDRESS>/32
    cni.projectcalico.org/podIPs: <IP_ADDRESS>/32
    original-image-tmp-shell: nicolaka/netshoot
  creationTimestamp: "2023-02-06T20:00:03Z"
  finalizers:
  - pod.kuik.enix.io/finalizer
  labels:
    kube-image-keeper.enix.io/image-cache: enabled
    kuik.enix.io/images-rewritten: "true"
  name: tmp-shell
  namespace: default
  resourceVersion: "31901361"
  uid: f77f1bc3-9e3a-4913-8bac-6f6f69be605c
spec:
  containers:
  - image: localhost:7439/nicolaka/netshoot
    imagePullPolicy: Always
    name: tmp-shell
    resources: {}
    stdin: true
    stdinOnce: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    tty: true
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-2gp2j
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  nodeName: k8s-0
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: default
  serviceAccountName: default
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 20
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 20
  volumes:
  - name: kube-api-access-2gp2j
    projected:
      defaultMode: 420
      sources:
      - serviceAccountToken:
          expirationSeconds: 3607
          path: token
      - configMap:
          items:
          - key: ca.crt
            path: ca.crt
          name: kube-root-ca.crt
      - downwardAPI:
          items:
          - fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
            path: namespace
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2023-02-06T20:00:03Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2023-02-06T20:00:03Z"
    message: 'containers with unready status: [tmp-shell]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2023-02-06T20:00:03Z"
    message: 'containers with unready status: [tmp-shell]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2023-02-06T20:00:03Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - image: localhost:7439/nicolaka/netshoot
    imageID: ""
    lastState: {}
    name: tmp-shell
    ready: false
    restartCount: 0
    started: false
    state:
      waiting:
        message: 'rpc error: code = Unknown desc = failed to pull and unpack image
          localhost:7439/nicolaka/netshoot:latest": failed to resolve reference "localhost:7439/nicolaka/netshoot:latest":
          failed to do request: Head "http://localhost:7439/v2/nicolaka/netshoot/manifests/latest":
          dial tcp <IP_ADDRESS>:7439: connect: connection refused'
        reason: ErrImagePull
  hostIP: <IP_ADDRESS>
  phase: Pending
  podIP: <IP_ADDRESS>
  podIPs:
  - ip: <IP_ADDRESS>
  qosClass: BestEffort
  startTime: "2023-02-06T20:00:03Z"

Events
❯ k describe pod tmp-shell
Name:             tmp-shell
Namespace:        default
Priority:         0
Service Account:  default
Node:             k8s-0/<IP_ADDRESS>
Start Time:       Mon, 06 Feb 2023 15:00:03 -0500
Labels:           kube-image-keeper.enix.io/image-cache=enabled
                  kuik.enix.io/images-rewritten=true
Annotations:      cni.projectcalico.org/containerID: 1a6d1ef12006195eabcb97ea295b9f14ab9eccbd7b8788dc8b64e0dbb2398ee7
                  cni.projectcalico.org/podIP: <IP_ADDRESS>/32
                  cni.projectcalico.org/podIPs: <IP_ADDRESS>/32
                  original-image-tmp-shell: nicolaka/netshoot
Status:           Pending
IP:               <IP_ADDRESS>
IPs:
  IP:  <IP_ADDRESS>
Containers:
  tmp-shell:
    Container ID:
    Image:          localhost:7439/nicolaka/netshoot
    Image ID:
    Port:           <none>
    Host Port:      <none>
    State:          Waiting
      Reason:       ImagePullBackOff
    Ready:          False
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-2gp2j (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  kube-api-access-2gp2j:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 20s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 20s
Events:
  Type     Reason     Age              From               Message
  ----     ------     ----             ----               -------
  Normal   Scheduled  6s               default-scheduler  Successfully assigned default/tmp-shell to k8s-0
  Normal   Pulling    5s               kubelet            Pulling image "localhost:7439/nicolaka/netshoot"
  Warning  Failed     5s               kubelet            Failed to pull image "localhost:7439/nicolaka/netshoot": rpc error: code = Unknown desc = failed to pull and unpack image "localhost:7439/nicolaka/netshoot:latest": failed to resolve reference "localhost:7439/nicolaka/netshoot:latest": failed to do request: Head "http://localhost:7439/v2/nicolaka/netshoot/manifests/latest": dial tcp <IP_ADDRESS>:7439: connect: connection refused
  Warning  Failed     5s               kubelet            Error: ErrImagePull
  Normal   BackOff    4s (x2 over 5s)  kubelet            Back-off pulling image "localhost:7439/nicolaka/netshoot"
  Warning  Failed     4s (x2 over 5s)  kubelet            Error: ImagePullBackOff

Cached Images
✖ k get cachedimages -A
NAME                                                                                CACHED   EXPIRES AT             PODS COUNT   AGE
docker.io-nicolaka-netshoot-latest                                                                                true                            1            5m57s

Logs of kube-image-keeper
❯ stern -n kuik-system kube-image
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.295Z	INFO	controller-runtime.manager.controller.pod	reconciling pod	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.296Z	INFO	controller-runtime.manager.controller.pod	adding finalizer	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.607Z	ERROR	controller-runtime.manager.controller.pod	Reconciler error	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default", "error": "Operation cannot be fulfilled on pods \"tmp-shell\": the object has been modified; please apply your changes to the latest version and try again"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/internal/controller/controller.go:253
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.2
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/internal/controller/controller.go:216
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 	/go/pkg/mod/k8s.io/apimachinery@v0.20.6/pkg/util/wait/wait.go:185
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 	/go/pkg/mod/k8s.io/apimachinery@v0.20.6/pkg/util/wait/wait.go:155
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager k8s.io/apimachinery/pkg/util/wait.BackoffUntil
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 	/go/pkg/mod/k8s.io/apimachinery@v0.20.6/pkg/util/wait/wait.go:156
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager k8s.io/apimachinery/pkg/util/wait.JitterUntil
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 	/go/pkg/mod/k8s.io/apimachinery@v0.20.6/pkg/util/wait/wait.go:133
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 	/go/pkg/mod/k8s.io/apimachinery@v0.20.6/pkg/util/wait/wait.go:185
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager k8s.io/apimachinery/pkg/util/wait.UntilWithContext
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 	/go/pkg/mod/k8s.io/apimachinery@v0.20.6/pkg/util/wait/wait.go:99
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.607Z	INFO	controller-runtime.manager.controller.pod	reconciling pod	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.607Z	INFO	controller-runtime.manager.controller.pod	adding finalizer	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.733Z	INFO	controller-runtime.manager.controller.cachedimage	reconciling cachedimage	{"reconciler group": "kuik.enix.io", "reconciler kind": "CachedImage", "name": "docker.io-nicolaka-netshoot-latest", "namespace": ""}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.733Z	INFO	controller-runtime.manager.controller.cachedimage	caching image{"reconciler group": "kuik.enix.io", "reconciler kind": "CachedImage", "name": "docker.io-nicolaka-netshoot-latest", "namespace": "", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.746Z	INFO	controller-runtime.manager.controller.cachedimage	image already present in cache, ignoring	{"reconciler group": "kuik.enix.io", "reconciler kind": "CachedImage", "name": "docker.io-nicolaka-netshoot-latest", "namespace": "", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.748Z	INFO	controller-runtime.manager.controller.pod	cachedimage patched	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default", "cachedImage": "docker.io-nicolaka-netshoot-latest", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.748Z	INFO	controller-runtime.manager.controller.pod	reconciled pod	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.748Z	INFO	controller-runtime.manager.controller.pod	reconciling pod	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.751Z	INFO	controller-runtime.manager.controller.cachedimage	reconciling cachedimage	{"reconciler group": "kuik.enix.io", "reconciler kind": "CachedImage", "name": "docker.io-nicolaka-netshoot-latest", "namespace": ""}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.751Z	INFO	controller-runtime.manager.controller.cachedimage	caching image{"reconciler group": "kuik.enix.io", "reconciler kind": "CachedImage", "name": "docker.io-nicolaka-netshoot-latest", "namespace": "", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-0 kube-image-keeper <IP_ADDRESS> - - [06/Feb/2023:20:03:17 +0000] "GET /v2/ HTTP/1.1" 200 2 "" "Go-http-client/1.1"
kube-image-keeper-0 kube-image-keeper <IP_ADDRESS> - - [06/Feb/2023:20:03:17 +0000] "HEAD /v2/docker.io/nicolaka/netshoot/manifests/latest HTTP/1.1" 200 3258 "" "go-containerregistry/v0.6.0"
kube-image-keeper-0 kube-image-keeper time="2023-02-06T20:03:17.741363587Z" level=info msg="response completed" go.version=go1.16.15 http.request.host="kube-image-keeper-service:5000" http.request.id=b2526ee2-a358-4873-8959-3533d2c42b7b http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:39176" http.request.uri="/v2/" http.request.useragent="Go-http-client/1.1" http.response.contenttype="application/json; charset=utf-8" http.response.duration=2.899653ms http.response.status=200 http.response.written=2
kube-image-keeper-0 kube-image-keeper time="2023-02-06T20:03:17.745966131Z" level=info msg="response completed" go.version=go1.16.15 http.request.host="kube-image-keeper-service:5000" http.request.id=a68b214a-54ea-4245-9e6c-de5d3b0df0ae http.request.method=HEAD http.request.remoteaddr="<IP_ADDRESS>:39176" http.request.uri="/v2/docker.io/nicolaka/netshoot/manifests/latest" http.request.useragent="go-containerregistry/v0.6.0" http.response.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.response.duration=4.100674ms http.response.status=200 http.response.written=3258
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.758Z	INFO	controller-runtime.manager.controller.pod	cachedimage patched	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default", "cachedImage": "docker.io-nicolaka-netshoot-latest", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.758Z	INFO	controller-runtime.manager.controller.pod	reconciled pod	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.763Z	INFO	controller-runtime.manager.controller.cachedimage	image already present in cache, ignoring	{"reconciler group": "kuik.enix.io", "reconciler kind": "CachedImage", "name": "docker.io-nicolaka-netshoot-latest", "namespace": "", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-0 kube-image-keeper <IP_ADDRESS> - - [06/Feb/2023:20:03:17 +0000] "GET /v2/ HTTP/1.1" 200 2 "" "Go-http-client/1.1"
kube-image-keeper-0 kube-image-keeper <IP_ADDRESS> - - [06/Feb/2023:20:03:17 +0000] "HEAD /v2/docker.io/nicolaka/netshoot/manifests/latest HTTP/1.1" 200 3258 "" "go-containerregistry/v0.6.0"
kube-image-keeper-0 kube-image-keeper <IP_ADDRESS> - - [06/Feb/2023:20:03:17 +0000] "GET /v2/ HTTP/1.1" 200 2 "" "Go-http-client/1.1"
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.767Z	INFO	controller-runtime.manager.controller.cachedimage	reconciled cachedimage	{"reconciler group": "kuik.enix.io", "reconciler kind": "CachedImage", "name": "docker.io-nicolaka-netshoot-latest", "namespace": "", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.768Z	INFO	controller-runtime.manager.controller.cachedimage	reconciling cachedimage	{"reconciler group": "kuik.enix.io", "reconciler kind": "CachedImage", "name": "docker.io-nicolaka-netshoot-latest", "namespace": ""}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.768Z	INFO	controller-runtime.manager.controller.cachedimage	caching image{"reconciler group": "kuik.enix.io", "reconciler kind": "CachedImage", "name": "docker.io-nicolaka-netshoot-latest", "namespace": "", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.772Z	INFO	controller-runtime.manager.controller.cachedimage	image already present in cache, ignoring	{"reconciler group": "kuik.enix.io", "reconciler kind": "CachedImage", "name": "docker.io-nicolaka-netshoot-latest", "namespace": "", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:17.778Z	INFO	controller-runtime.manager.controller.cachedimage	reconciled cachedimage	{"reconciler group": "kuik.enix.io", "reconciler kind": "CachedImage", "name": "docker.io-nicolaka-netshoot-latest", "namespace": "", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-0 kube-image-keeper <IP_ADDRESS> - - [06/Feb/2023:20:03:17 +0000] "HEAD /v2/docker.io/nicolaka/netshoot/manifests/latest HTTP/1.1" 200 3258 "" "go-containerregistry/v0.6.0"
kube-image-keeper-0 kube-image-keeper time="2023-02-06T20:03:17.759935355Z" level=info msg="response completed" go.version=go1.16.15 http.request.host="kube-image-keeper-service:5000" http.request.id=5b7191a5-634d-4038-9d8c-6e1856e280db http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:39176" http.request.uri="/v2/" http.request.useragent="Go-http-client/1.1" http.response.contenttype="application/json; charset=utf-8" http.response.duration=6.610741ms http.response.status=200 http.response.written=2
kube-image-keeper-0 kube-image-keeper time="2023-02-06T20:03:17.763121611Z" level=info msg="response completed" go.version=go1.16.15 http.request.host="kube-image-keeper-service:5000" http.request.id=7c3b9363-6ea0-4bd2-8349-ce35d67d5a08 http.request.method=HEAD http.request.remoteaddr="<IP_ADDRESS>:39176" http.request.uri="/v2/docker.io/nicolaka/netshoot/manifests/latest" http.request.useragent="go-containerregistry/v0.6.0" http.response.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.response.duration=2.824996ms http.response.status=200 http.response.written=3258
kube-image-keeper-0 kube-image-keeper time="2023-02-06T20:03:17.770377364Z" level=info msg="response completed" go.version=go1.16.15 http.request.host="kube-image-keeper-service:5000" http.request.id=c4f8fed4-48d6-4874-b423-23e67f68c0c3 http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:39176" http.request.uri="/v2/" http.request.useragent="Go-http-client/1.1" http.response.contenttype="application/json; charset=utf-8" http.response.duration="517.371µs" http.response.status=200 http.response.written=2
kube-image-keeper-0 kube-image-keeper time="2023-02-06T20:03:17.772022859Z" level=info msg="response completed" go.version=go1.16.15 http.request.host="kube-image-keeper-service:5000" http.request.id=09051b63-1f64-480b-8db1-f9f0ea281de2 http.request.method=HEAD http.request.remoteaddr="<IP_ADDRESS>:39176" http.request.uri="/v2/docker.io/nicolaka/netshoot/manifests/latest" http.request.useragent="go-containerregistry/v0.6.0" http.response.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.response.duration=1.416951ms http.response.status=200 http.response.written=3258
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:18.122Z	INFO	controller-runtime.manager.controller.pod	reconciling pod	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:18.146Z	INFO	controller-runtime.manager.controller.pod	cachedimage patched	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default", "cachedImage": "docker.io-nicolaka-netshoot-latest", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:18.146Z	INFO	controller-runtime.manager.controller.pod	reconciled pod	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:19.173Z	INFO	controller-runtime.manager.controller.pod	reconciling pod	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:19.200Z	INFO	controller-runtime.manager.controller.pod	cachedimage patched	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default", "cachedImage": "docker.io-nicolaka-netshoot-latest", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:19.200Z	INFO	controller-runtime.manager.controller.pod	reconciled pod	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:20.181Z	INFO	controller-runtime.manager.controller.pod	reconciling pod	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:20.204Z	INFO	controller-runtime.manager.controller.pod	cachedimage patched	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default", "cachedImage": "docker.io-nicolaka-netshoot-latest", "sourceImage": "nicolaka/netshoot"}
kube-image-keeper-controllers-6c5b6d4d47-66p4c cache-manager 2023-02-06T20:03:20.204Z	INFO	controller-runtime.manager.controller.pod	reconciled pod	{"reconciler group": "", "reconciler kind": "Pod", "name": "tmp-shell", "namespace": "default"}

Hi,
It seems you are unable to pull images on localhost:7439.
As mentionned in the README, you need to enable HostPort feature in your CNI configuration. Hostport are disabled according to your Calico configuration : https://github.com/onedr0p/home-ops/blob/main/kubernetes/apps/tigera-operator/tigera-operator/app/helmrelease.yaml#L38
I hope it will solve your issue.

Ah, darn. I'm using eBPF with Calico and they explicitly tell you to disable host ports since it's not supported.
https://projectcalico.docs.tigera.io/maintenance/ebpf/enabling-ebpf

you must also clear the hostPorts setting because host ports are not supported in BPF mode:

May the docs be outdate ? According to this issue https://github.com/projectcalico/calico/pull/6766, it should works ?

Doesn't appear to be possible :(
    - lastTransitionTime: "2023-02-07T13:49:12Z"
      message: 'Invalid Installation provided: spec.calicoNetwork.hostPorts is not
        supported with the eBPF dataplane'

If I ever decide to drop ebpf in my homelab I'll be sure to check out this project again.

What calico version are you using ?
https://github.com/projectcalico/calico/issues/6522 suggest that it should indeed be ok now ? (starting from 3.24.2)

I am on 3.25.

Damn :-)

You can close this issue, or keep it open if you think there's a way around those using eBPF. I am not sure if other CNIs have this issue with eBPF e.g. Cilium

Hi @onedr0p, i didn't catch if Cilium has this kind of limitation.
Anyway, i've update the Chart to deploy the daemonSet with hostNetwork: true instead of using hostPort.
Would you mind test it on your setup please ? https://github.com/enix/kube-image-keeper/tree/test-proxy-hostnet
Thanks !

I had the same issue running on cilium / talos. I was able to get it to work by deleting the hostIP from the daemonset. That means that port 7439 is a little more visible since the proxy is listening on all devices, but it is able to resolve the localhost:7439/image...

Is there any update?

Hi @NicoJDE , kuik v1.3.0-beta.2 is running fine on the following environment :
Ubuntu / K8s 1.24 / Cilium 1.14.1
Talos 1.4.6 / K8s 1.27 / Cilium 1.13.4
I use a small values file for kuik :
---
controllers:
  podMonitor:
    create: false
minio:
  enabled: false
  persistence:
    size: 5Gi
proxy:
  podMonitor:
    create: false
registry:
  replicas: 1
  persistence:
    enabled: false

Could you please give more details on your environment, helm values, OS version, cilium status etc ?
Thanks

@donch i testet you values. Its not working in my environment
K3s 1.26.7/ Cilium 1.14.1/ Ubuntu
Pod Description
  Warning  Failed     101s (x4 over 3m9s)  kubelet            Failed to pull image "localhost:7439/quay.io/prometheus/node-exporter:v1.6.0": rpc error: code = Unknown desc = failed to pull and unpack image "localhost:7439/quay.io/prometheus/node-exporter:v1.6.0": failed to resolve reference "localhost:7439/quay.io/prometheus/node-exporter:v1.6.0": failed to do request: Head "http://localhost:7439/v2/quay.io/prometheus/node-exporter/manifests/v1.6.0": dial tcp <IP_ADDRESS>:7439: connect: connection refused
  Warning  Failed     101s (x4 over 3m9s)  kubelet            Error: ErrImagePull
  Warning  Failed     90s (x6 over 3m8s)   kubelet            Error: ImagePullBackOff
  Normal   BackOff    77s (x7 over 3m8s)   kubelet            Back-off pulling image "localhost:7439/quay.io/prometheus/node-exporter:v1.6.0"

My Cilium Values
agent: "true"
hubble:
  enabled: true
  metrics:
    enabled:
    - drop
    - tcp
    - flow
    - policy:sourceContext=app|workload-name|pod|reserved-identity;destinationContext=app|workload-name|pod|dns|reserved-identity;labelsContext=source_namespace,destination_namespace
    - icmp
  podLabels:
    kyverno-allow-root-fs: "true"
  relay:
    enabled: true
    podLabels:
      kyverno-allow-root-fs: "true"
  ui:
    enabled: true
    podLabels:
      kyverno-allow-root-fs: "true"
ipam:
  mode: kubernetes
operator:
  enabled: "true"
  podLabels:
    kyverno-allow-root-fs: "true"
  replicas: 2
prometheus:
  enabled: "true"

The Image is present in the the cachedimages.kuik.enix.io crd

Hi @NicoJDE
I've tested 'kuik' using Cilium version 1.14.1 and the configuration values you've provided. I noticed that with your current Cilium configuration, the KubeProxyReplacement by Cilium isn't activated, which means the 'portmap' feature is also disabled.
As per the kuik's documentation, the 'portmap' feature is a prerequisite for kuik's functionality.
You have two options to address this:

Enable the KubeProxyReplacement in Cilium to natively support the 'portmap' feature.
If you choose to keep KubeProxyReplacement set to false, you can still manually activate the 'portmap' feature.

For detailed steps on how to enable this feature, please consult the official Cilium documentation.


No access to sign-up email anymore. Need to reset my password.

Hi everyone. The help page (https://pypi.org/help/ page) redirect me here. My PyPI sign-up email expired and I need to reset my password. How can I do so? Thanks a lot.

@dcolombo Are you able to request a password reset from https://pypi.org/account/request-password-reset/ ?

Unfortunately not. I cannot access anymore the mail connected to my account ...

@dcolombo Send me an email at<EMAIL_ADDRESS>with the name of the account in question.


Allow multiple interfaces to request same dependency.

The added test displays the missing behavior.

Thanks! Good find.


send monthly notifications for new data submitted by authors to curators

Set up cron jobs that query the DB and search for new data submitted by authors.
Send list of paper ids and links to the form for papers positive to specific datatypes.
List of email addresses to be notified per data type in column 'curator email' of this document:
https://docs.google.com/spreadsheets/u/2/d/1sS_uAjBJ2r5H90Lam62Ai0HunjwvfjnklkFNrDoNXeU/edit#gid=1601232973

Can you confirm that the pipeline is working correctly @draciti @vanaukenk? From the logs I see that the digests have been emailed out on August 4th.

e-mail from August 4th received. This is good to close


Update create-your-app-by-reserving-a-name.md

This is a high priority PR for the following reasons:

The link to Partner Center apps and games page is incorrect.
Due to Bug 37310090 logged due to Partner Center migrating from Carbon flighting to ECS stack, ISVs will not be able to access MSI or EXE app publishing experience unless they toggle on Workspaces mode.

Made changes accordingly. Please review and approve.

@tejaswi-vinnakota : Thanks for your contribution! The author(s) have been notified to review your proposed change.


not compatible with latest CLI 0.2.0 + Node 0.12.0 deprecation of the vendor directory in favor of bower_components directory

index.js says:
EmberCLIEmberComponentsAjax.prototype.included = function included(app) {
  this.app = app;
  var options = this.app.options.emberComponentsOptions || {enabled: true};

  if (options.enabled) {
    this.app.import('vendor/ember-components/vendor/ic-styled/main.js');
    this.app.import('vendor/ember-components/vendor/ember-utils/dist/globals/main.js');
    this.app.import('vendor/ember-components/dist/globals/main.js');
  }
};

Haven't tested it all yet, but got it to compile and run ember serve OK changing it to:
EmberCLIEmberComponentsAjax.prototype.included = function included(app) {
  this.app = app;
  var options = this.app.options.emberComponentsOptions || {enabled: true};

  if (options.enabled) {
    this.app.import('bower_components/ic-styled/main.js');
    this.app.import('bower_components/ember-utils/dist/globals/main.js'); <--- not sure where this was supposed to point...I think it was a bug maybe in and of itself
    this.app.import('bower_components/ember-components/dist/globals/main.js');
  }
};

if you don't do this then you get: Path or pattern "vendor/ember-components/vendor/ic-styled/main.js" did not match any files because of course the /vendor directory is no more.

Adding output from ember serve:
Livereload server on port 35729
Serving on http://localhost:4200/
Path or pattern "vendor/ember-components/vendor/ic-styled/main.js" did not match any files
Error: Path or pattern "vendor/ember-components/vendor/ic-styled/main.js" did not match any files
    at Object.multiGlob (/Users/rneville/loft-mobile/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/node_modules/broccoli-kitchen-sink-helpers/index.js:202:13)
    at Class.module.exports.CachingWriter.extend.addFiles (/Users/rneville/loft-mobile/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/concat-with-maps.js:74:13)
    at Class.module.exports.CachingWriter.extend.updateCache (/Users/rneville/loft-mobile/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/concat-with-maps.js:52:12)
    at /Users/rneville/loft-mobile/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/node_modules/broccoli-caching-writer/index.js:92:34
    at lib$rsvp$$internal$$tryCatch (/Users/rneville/loft-mobile/node_modules/ember-cli/node_modules/promise-map-series/node_modules/rsvp/dist/rsvp.js:489:16)
    at lib$rsvp$$internal$$invokeCallback (/Users/rneville/loft-mobile/node_modules/ember-cli/node_modules/promise-map-series/node_modules/rsvp/dist/rsvp.js:501:17)
    at lib$rsvp$$internal$$publish (/Users/rneville/loft-mobile/node_modules/ember-cli/node_modules/promise-map-series/node_modules/rsvp/dist/rsvp.js:472:11)
    at lib$rsvp$asap$$flush (/Users/rneville/loft-mobile/node_modules/ember-cli/node_modules/promise-map-series/node_modules/rsvp/dist/rsvp.js:1290:9)
    at process._tickCallback (node.js:355:11)

Okay, I see several references saying you have to do each component separately or else you get this problem....gents, your own website does NOT make this clear at all [http://indexiatech.github.io/ember-components/#/getstarted] shows you just doing npm install on the ember-cli-components, [https://github.com/indexiatech/ember-components] in installation section shows the same thing and in fact references the getting started page I linked earlier. Only I click on one of the components and scroll down to it's installation section do you see installing the component individually.
Strongly recommend cleaning up main readme file.


Missing vim plugins

Motivation for this change
I've added some missing vim plugins using update.py:
rhysd/git-messenger.vim
peitalin/vim-jsx-typescript
mhinz/vim-crates
jaxbot/semantic-highlight.vim
mhartington/oceanic-next
joshdick/onedark.vim
Things done

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

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

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

should be one update commit, then one commit per package addition.
you can use git rebase -i if you just need to drop some of the commits

Thanks, fixed


[SWIFT] Does anybody test this?

Can someone confirm that is ever worked? Thanks

We received this snippet from an OCR API user who said it worked for him, but we (a9t9) have not tested it ourself. We have no Swift knowledge in-house. So if someone can help out, that will be great.

Ok, thanks for response. I will post here my method for swift 4.

@miff Can you please copy your working code in swift4 here?

For support please ask in our free OCR forum


New Comment Added

Dear human,
Here's a new entry for your approval. :tada:
Merge the pull request to accept it, or close it to send it away.
:heart: Your friend Staticman :muscle:

Field
Content

replying_to

name
Website Traffic

email
981f6b9eaa444f7cadc4d256014b5e34

url
http://0nulu.com/rjv

message
I discovered your Updated - Service Fabric with Windows Containers – Justin Wendlandt's Blog page and noticed you could have a lot more traffic. I have found that the key to running a website is making sure the visitors you are getting are interested in your subject matter.  Get over 1,000 targeted visitors per day to your website. Start your free trial: http://0nulu.com/opx		 																	Unsubscribe here: http://0nulu.com/nbz

date
1516904913

Closing because of Spam


SegFault without error message when mixing Godot versions

Godot version:
3.1
OS/device including version:
Ubuntu 18.04
Issue description:
Running a 3.1 export .pck using 3.1.1 server binary results in segfault without message as to why.
Original issue:
Game server runs fine in editor and as exported executable, but not when running .pck file via server binary.
I have game client and server. In editor both run fine, exported and executed directly, both run fine. However when using the server template from https://godotengine.org/download/server I get segfault.
Minimal reproduction project:
Can follow the original ones. The server .pck provided was exported using 3.1-stable, and if run with official 3.1.1 server binary you'll see segfault.
What's curious is as far as I can tell, you still have to click the "Lets go" button on client to trigger crash.
Original steps:
Not sure what issue is, so included my client/server in addition to exports of both. Instructions in zip on how to run and achieve segfault.
Note if you want to export my project, be sure to include *.json resources.
Zip for download at https://menip.itch.io/deathmatch. Password is "godot"

I can confirm this in the example project when running a self-compiled server binary built from commit https://github.com/godotengine/godot/commit/e2375f487c2b6857ba7300ed1d460f43cef8cc59. The segfault only occurs when using DeathMatch Server.pck as a main pack, not DeathMatch.pck.

@Calinou Thanks for confirm! Good to know it's not just my system.
I hadn't considered running client with server binary, but also good to know it's unaffected.

Something I noticed was I'm using Godot 3.1, but server binary provided is 3.1.1.
Compiling server binary from 3.1-stable and everything works great!
Compiling server binary from e2375f4 results in unrelated crash. Assuming something about how scripts are parsed.
Exporting game client and server using official 3.1.1 binary and running server with official server binary results in correct behavior.
Issue seems to of therefore been due to user error. As such, I will close this issue within the next several days. I'm not sure why a minor version change would result in segfault. It may also be useful to print message when have mismatch between .pck and binary versions.

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?

@KoBeWi Just tested with a project exported via 3.1.1. Runs fine on 3.1.1 server binary, seg faults on 3.2.3. No error message is provided.

To clarify, it's normal that a PCK exported with an older Godot version might not work with a newer version. If there's any change in the parsing of scenes, resources or GDScript bytecode (the latter being the most likely), the game will error out.
 In this case I can confirm that the server build does segfault instead of throwing errors, which is the issue that should be fixed.
This is from running with my distro-provided server (headless) binary for 3.2.3-stable.
Thread 1 "godot-server" received signal SIGSEGV, Segmentation fault.
0x0000000000852080 in GDScriptFunctions::call(GDScriptFunctions::Function, Variant const**, int, Variant&, Variant::CallError&) ()
(gdb) bt
#0  0x0000000000852080 in GDScriptFunctions::call(GDScriptFunctions::Function, Variant const**, int, Variant&, Variant::CallError&) ()
#1  0x0000000000856c66 in GDScriptParser::_reduce_expression(GDScriptParser::Node*, bool) ()
#2  0x00000000008569bb in GDScriptParser::_reduce_expression(GDScriptParser::Node*, bool) ()
#3  0x00000000008569bb in GDScriptParser::_reduce_expression(GDScriptParser::Node*, bool) ()
#4  0x0000000000861076 in GDScriptParser::_parse_and_reduce_expression(GDScriptParser::Node*, bool, bool, bool) ()
#5  0x0000000000862e05 in GDScriptParser::_parse_block(GDScriptParser::BlockNode*, bool) ()
#6  0x0000000000863542 in GDScriptParser::_parse_block(GDScriptParser::BlockNode*, bool) ()
#7  0x0000000000867df7 in GDScriptParser::_parse_class(GDScriptParser::ClassNode*) ()
#8  0x0000000000890dec in GDScriptParser::_parse(String const&) ()
#9  0x000000000082a3fc in GDScript::load_byte_code(String const&) ()
#10 0x000000000082ca78 in ResourceFormatLoaderGDScript::load(String const&, String const&, Error*) ()
#11 0x0000000001701726 in ResourceLoader::_load(String const&, String const&, String const&, bool, Error*) [clone .constprop.0] ()
#12 0x0000000001611517 in ResourceLoader::load(String const&, String const&, bool, Error*) ()
#13 0x000000000065b440 in Main::start() ()
#14 0x0000000000637e5c in main ()

Here's the output from running the same PCK with a normal (non headless) X11 editor build:-
$ godot --main-pack DeathMatch_Server.pck
Godot Engine v3.2.3.stable.mageia - https://godotengine.org
OpenGL ES 2.0 Renderer: Mesa Intel(R) HD Graphics 630 (KBL GT2)
OpenGL ES 2.0 Batching: ON

SCRIPT ERROR: GDScript::load_byte_code: Parse Error: Too few arguments for 'range_lerp' intrinsic function.
   At: res://ScriptsGlobal/gamestate.gdc:74.
ERROR: load_byte_code: Method failed. Returning: ERR_PARSE_ERROR
   At: modules/gdscript/gdscript.cpp:801.
ERROR: load: Cannot load byte code from file 'res://ScriptsGlobal/gamestate.gdc'.
   At: modules/gdscript/gdscript.cpp:2282.
ERROR: _load: Failed loading resource: res://ScriptsGlobal/gamestate.gdc. Make sure resources have been imported by opening the project in the editor at least once.
   At: core/io/resource_loader.cpp:278.
ERROR: start: Can't autoload: res://ScriptsGlobal/gamestate.gd
   At: main/main.cpp:1757.
SCRIPT ERROR: GDScript::load_byte_code: Parse Error: The class "Gaussian" conflicts with the AutoLoad singleton of the same name, and is therefore redundant. Remove the class_name declaration to fix this error.
   At: res://ScriptsGlobal/Gaussian.gdc:4.
ERROR: load_byte_code: Method failed. Returning: ERR_PARSE_ERROR
   At: modules/gdscript/gdscript.cpp:801.
ERROR: load: Cannot load byte code from file 'res://ScriptsGlobal/Gaussian.gdc'.
   At: modules/gdscript/gdscript.cpp:2282.
ERROR: _load: Failed loading resource: res://ScriptsGlobal/Gaussian.gdc. Make sure resources have been imported by opening the project in the editor at least once.
   At: core/io/resource_loader.cpp:278.
ERROR: start: Can't autoload: res://ScriptsGlobal/Gaussian.gd
   At: main/main.cpp:1757.
SCRIPT ERROR: GDScript::load_byte_code: Parse Error: Too few arguments for 'range_lerp' intrinsic function.
   At: res://World/World.gdc:150.
ERROR: load_byte_code: Method failed. Returning: ERR_PARSE_ERROR
   At: modules/gdscript/gdscript.cpp:801.
ERROR: load: Cannot load byte code from file 'res://World/World.gdc'.
   At: modules/gdscript/gdscript.cpp:2282.
ERROR: _load: Failed loading resource: res://World/World.gdc. Make sure resources have been imported by opening the project in the editor at least once.
   At: core/io/resource_loader.cpp:278.
ERROR: poll: res://World/World.tscn:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://World/World.gd
   At: scene/resources/resource_format_text.cpp:440.
ERROR: load: Failed to load resource 'res://World/World.tscn'.
   At: core/io/resource_loader.cpp:208.
ERROR: _load: Failed loading resource: res://World/World.tscn. Make sure resources have been imported by opening the project in the editor at least once.
   At: core/io/resource_loader.cpp:278.
ERROR: start: Failed loading scene: res://World/World.tscn
   At: main/main.cpp:1944.
ERROR: ~List: Condition "_first != __null" is true.
   At: ./core/self_list.h:112.
ERROR: ~List: Condition "_first != __null" is true.
   At: ./core/self_list.h:112.
ERROR: ~List: Condition "_first != __null" is true.
   At: ./core/self_list.h:112.
ERROR: ~List: Condition "_first != __null" is true.
   At: ./core/self_list.h:112.
WARNING: cleanup: ObjectDB instances leaked at exit (run with --verbose for details).
   At: core/object.cpp:2135.
ERROR: clear: Resources still in use at exit (run with --verbose for details).
   At: core/resource.cpp:477.

The output is not pretty but that's outside the scope of this issue, here it behaves as expected (has errors due to GDScript bytecode being incompatible, and fails to error out nicely so it leaks memory, which is a separate error - but might be related to why the headless build crashes).


Error: Invalid value for  attribute cx="NaN"

Hello,
I'm trying to use EventDrops 1.0.1 without a Module Bundler. When the chart renders all the drops are stuck on the left side of the graph. The the console logs I see JavaScript error
Error: Invalid value for <circle> attribute cx="NaN"

It seems like there is something wrong calculating the x-axis value. Here is a repro of the issue. Any ideas?

It seems you have forgotten to specify the date function. Here is the fixed version.
var chart = eventDrops({
	range: {
	  start: new Date('03/01/2018 6:55:11 PM'),
    end: new Date('03/05/2018 6:55:11 PM')
  },
  drop: {
+    date: d => d.date,
  }
});

Thanks that fixed the issue.