[Bug]: Failed to query available provider packages

Welcome to Amazon EKS Blueprints!

[X] Yes, I've searched similar issues on GitHub and didn't find any.

Amazon EKS Blueprints Release version
latest
What is your environment, configuration and the example used?
Terraform version = 1.1.8
What did you do and What did you see instead?
The latest merge through that error and working fine with previous commit 854974d80304d736fce537699f86b8657c5fde98
Error: Failed to query available provider packages
Could not retrieve the list of available versions for provider hashicorp/aws: no available releases match the given constraints >= 2.0.0, >= 2.23.0, >= 2.53.0,  >= 3.0.0, ~> 3.0, >= 3.2.0, >= 3.15.0, >= 3.34.0, >= 3.37.0, >= 3.63.0, >= 3.66.0, >= 3.72.0, >= 4.5.0

I don't know what the issue is exactly but after testing several times in another machine something is wrong with the latest 3 merges today. Thanks
Additional Information
No response

Hi @ZeroDeth
I have just tried running Terraform init and plan with Terraform Version 1.1.8 on the main branch and it works fine for me.
You may need to provide full example and the command you tried along with the logs. Have you done any further changes to the example you tried?

Hi @ZeroDeth
I have just tried running Terraform init and plan with Terraform Version 1.1.8 on the main branch and it works fine for me.
You may need to provide full example and the command you tried along with the logs. Have you done any further changes to the example you tried?

Hi @vara-bonthu
Working now after downgrade terraform-aws-s3-bucket https://github.com/terraform-aws-modules/terraform-aws-s3-bucket/pull/149
Apologies and Thank you!


CHB FIX 3 #25154

I'm submitting a ...
[1 ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

This is a valid merge. Please accept the modification.

Summary

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

CHB FIX 3 #25154 please check this pr! thank you


add option to sort albums by date added

it's more convenient to have albums sorted by date added since the latest albums i've added are the ones i'm more into at that time.
might be a good option for tracks/artists/playlists as well.

@bigmittens I think this is a great idea, especially as Spotify's default ordering is a bit... well crap.
I've lodged a request with Spotify to allow their web API to accept sort parameters, however I can't imagine this will happen quickly. The reason it needs to happen at Spotify's end is that the lazy-loading would create an unexpected user experience.
For example, sorted A-Z of 200 items. You scroll down the first 50 records (to F, let's say) and the the lazy-loader fetches the next 50 items. Some of these include items starting A-F, which would be injected further up the list. You can imagine the confusion it would create.
I'll harass Spotify again and start thinking about some alternative ways we can achieve this.

great answer, thanks.

PS. For reference here's the issue on the Spotify Issue Tracker: https://github.com/spotify/web-api/issues/75

@bigmittens I've recognised the need for this functionality to a point where I've decided to build it anyway. The obvious downside is as mentioned earlier, but with that in mind, sorting is fully operational on the develop branch and will be included in the next release.

Amended to use the new dropdown functionality


Not accurate when enter chinese prompt.

Not accurate when enter chinese prompt.

Stable Diffusion is trained on English text - I am unsure if there are models that use Chinese text as input.


Flash notification reappears when clicking back button in Admin interface or Chrome browser

Bug report
Title
Flash notification reappears when clicking back button in Admin interface or Chrome browser
Issue Description
When add/edit/delete the product successfully then go to product create/edit page and click back button, flash notification appears.
Preconditions
Please provide as detailed information about your environment as possible.
1. framework Version: v1.2.0 (on https://demo.bagisto.com)

Steps to reproduce
It is important to provide a set of clear steps to reproduce this bug.If relevant please include code samples.
1.  Go to Catalog > Product > Add product
3. Fill out the required information and click save product (add the product successfully)
4. Click add Product button (go to add Product page)
5. Click back button

Expected result

Flash notification not displaying after click back button

Actual result

Flash notification reappears for the second time after click back button.

Reason
Use history.go (-1) method so when clicking back it doesn't reload the page but loads data from disk cache of chrome browser.
Suggest fixing
Use window.location = document.referrer instead of history.go (-1).
 1 ? history.go(-1) : window.location = '{{ route('admin.dashboard.index') }}';">

to
 1 ? window.location = document.referrer : window.location = '{{ route('admin.dashboard.index') }}';">

or
 1 ? document.referrer : '{{ route('admin.dashboard.index') }}'">

This suggestion isn't the most optimal, but I hope to help the bagisto community.

I agree with you, I have the same issue when edit or delete content. I saw your PR and I think it's a good solution.

@HuynhHungManh
Verify it and it's working now.
Thanks


Used consistent styling for placeholder and variable text

Why:
Closes ISSUE

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

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

👋 @OlayinkaAtobiloye - Thanks for the PR! I'll get it up for review 💖


Using --gitignore parameter causes that line endings are changed

I am testing migration of TFVC repository to local git on a Windows 10 computer. When trying to use --gitignore=path I have noticed that line endings in my files (CRLF - 0DA) are changed to LF - 0A. When command is run without gitignore option the line endings remain unchanged.
Command is
git-tfs clone <TFS-SERVER> "<TFS-REPO>" --gitignore="C:\tfmigrace\.gitignore-exp"
The content of .gitignore-exp is:
# Ignore model files that are auto-generated
ModelIndex.xml
ExportedFiles.xml

The output is:
Found matching Visual Studio version at C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
Command run:git tfs clone http://xxx $/xxx --gitignore=C:\tfmigrace\.gitignore-exp -d
No authors file used.
git-tfs version <IP_ADDRESS> (TFS client library <IP_ADDRESS> (MS)) (64-bit)
git command: Starting process: git init
Initialized empty Git repository in C:/xxx/.git/

git command time: [00:00:00.0569728] init
.gitignore commit created: 9deb1500e7120042fe2e0308c06ada8e7df1f55c
Commits visited count:1
Looking for all branches...
Fetching from TFS remote 'default'...
Commits visited count:1
Commits visited count:1
info: refs/remotes/tfs/default: Getting changesets from 1 to -1 ...
Setting up a TFS workspace at .git\~w
get [C83107]$/xxx.vbp

.....

TFS Workspace 'git-tfs-1d5a0b9a-de8b-4e2f-a19a-3775784b8e6a;Ivan Hendrych' was removed.
C83151 = d7e485d80c1c4724d244b4260c9ee5d4273d1f30
GC Countdown: 185
Cleaning...
git command: Starting process: git gc

git command time: [00:00:00.2521827] gc

I had a quick look at the code (only from phone) but couldn't spot any obvious interaction between .gitignore and line ending conversion. The next step would be to try to reproduce here. In the meantime, can you perhaps answer the following questions:

Please provide the output of git config -l in a repo imported with & without the --gitignore=path/to/file file and also
a diff of the two if there is, e.g. run
git-tfs clone <TFS-SERVER> "<TFS-REPO>"  import1
cd import1
git config -l > ../config_withoutgitignore.txt
cd ..

git-tfs clone <TFS-SERVER> "<TFS-REPO>" --gitignore="C:\tfmigrace\.gitignore-exp" import2
cd import2
git config -l > ../gitconfig_withgitignore.txt
cd..

diff -u gitconfig_withoutgitignore.txt gitconfig_withgitignore.txt > gitconfig_diff.txt

and provide the files? In case there is confidential information in it you don't like to sure,
make sure you at least keep everything with starting with core., git-tfs and tfs in the files.

Do you have any .gitattributes or .git/info/attributes configured? Or is e.g. a .gitattributes file perhaps in the TFS history
you are importing?

Can you perhaps provide the output of git ls-files --eol in both repos, one imported with .gitignore, one without?

1/gitconfig_withgitignore.txt
config_withoutgitignore.txt
The information I have considered to be personal is replaced by 'removed'. To my great regrete diff is not present in windows
2/I am not aware of any .gitattributes being present
3/git ls-files --eol with .gitignore:
i/lf    w/crlf  attr/                   .gitignore
and the same i/lf    w/crlf  attr/ for all the files of the project. It would be possible to add it because it is testing project, but there is no useful information in it.
git ls-files --eol without .gitignore:
i/crlf  w/crlf  attr/                   ExperimentalNet/ExperimentalNet.sln
and the same i/lf    w/crlf  attr/ for all the files of the project.
4/Here are two files with/without saved from .git changes by Visual Studio (the extension changed .vbp -> .txt)
VB6Editing.without.txt
VB6Editing.with.txt
5/ You may be also iterested in global config

I can reproduce here. What is also interesting is that both git config have core.autocrlf is set to true and false (the later is probably from the repository itself)
$ for i in config_withoutgitignore.txt gitconfig_withgitignore.txt; do echo "## File $i ##"; grep -e core.autocrlf -e core.eol $i; done
## File config_withoutgitignore.txt ##
core.autocrlf=true
core.autocrlf=false
## File gitconfig_withgitignore.txt ##
core.autocrlf=true
core.autocrlf=false

For your point (3), the
with       gitignore: i/lf w/crlf attr/ .gitignore  # i/lf     = File in index has LF line ending
without  gitignore: i/lf w/crlf attr/ .gitignore  # i/crlf  = File in index has CRLF line ending

so it fits the overall pictuare, that with the gitignore file you have line ending conversion.
From a first step in the debugger through the code it seems that we are setting core.autocrlf = false for the repo to overwrite any global setting (like e.g. in your case). So at least the error doesn't look like something obvious :-(

Debugging shows that we are setting core.autocrlf to false, but only after commiting the .gitignore file.
My current suspicion is that libgit2 somehow caches the initial state (core.autocrlf = true) on the first commit and then later on when it is set to false it ignores it.


Fix dist kvstore for trainer and flaky dist kvstore test

Description
Previously there were no unit tests for trainer with dist kvstore. #11429 introduced a bug for dist kvstore in trainer, where it calls pull(ignore_sparse=False) which is NOT implemented for dist kvstore. This PR corrects the API call and adds unit test for it. Now ignore_sparse is set to False for non-distributed kvstore.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Hello Haibin,
please take note that integrationtest_ubuntu_gpu_dist_kvstore is currently disabled due to this test throwing exceptions (which strangely don't cause the run to fail). This is tracked at #11441

I see an error for gluon_step, but the other two pass. I ran ../../tools/launch.py -n 7 --launcher local python dist_sync_kvstore.py --type=gluon_step. The error log is attached dist_kvstore_error.txt.

The three nightly tests now pass. LGTM

@marcoabreu I've fixed and enabled the test.

Thank you. Did you investigate why there were errors thrown in the log but the test has not been marked as failed?

Re: "Did you investigate why there were errors thrown in the log but the test has not been marked as failed?"
Yes, i found init_kv() was called twice and throwing that exception. Now it is called only once.

Sure, but I mean why the script did not terminate with an error code. The exceptions were logged but the script did not actually fail with an error.

I thought @rahul003 fixed that? Could you confirm?

@rahul003 and I figured that the timeout was due to significant launch overhead of omp auto tuning. This is extremely slow when launching the test in local mode and all 15 processes are doing omp tuning, sharing the same instance. Creating kvstore takes 2 minutes when n=3.

Awesome! Am I right in assuming that nobody would run this locally?

nobody except CI :)

Okay excellent


How to inspect a taxonomy db?

When creating a taxonomy database via:
mmseqs createdb target.fasta targetDB
mmseqs createtaxdb targetDB tmp

...how can the user know what taxonomy is given to each sequence in the tax database? There doesn't seem to be a subcommand for inspecting the taxonomy database. One could maybe to it with the mmseqs filtertaxdb command, but it requires a "targetDB" and a "taxaDB"; however, the mmseqs createtaxdb doesn't seem to create any specific "taxaDB" file.
It appears that mmseqs createtaxdb doesn't warn about missing uniprot identifiers. It really doesn't provide any summary at all. I just tried provided a full seqID <--> uniprot mapping file versus a truncated file, and I got the same "Database created" output message, so it seems that even if there's really little to no taxonomic info in the taxonomy database, the database will still be created without the user knowing what info is actually in it.
I'm using version 9.d36de

Just to better clarify why I want to inspect the taxonomy database created by mmseqs createtaxdb:
The docs state that mmseqs createtaxdb will automatically create the taxDB by downloading NCBI taxdump and getting uniprot taxID mapping. It seems to do this and then state "Database created", but I don't know if any of my sequences were actually mapped to any taxonomy info. All my sequences should just be uniprot IDs; for example:
>A0A1Q6BRU5
MAKITVFSPVKNFSGVSVGITFSHGVGVVEEGSAAHKYFQRRGYAFSLEEDRASQSPGASQDLPEGGKTAEKEGASTPPDIDIPGMPGAKALRSEWIAFAESLGIETESLTIPQIRERIIVEHLNAPNV
>A0A2V1A9G4
MSSRNQFRKNIGSVGPFGEPFLNGVPGFGENFTIPFALCDKDEYLLWLFHFIGQLRTQYGENVARYVVEYINGNDVQQIMIRNLASSVIYSTLGYGVCMVYNQKYCDTALGPMDCFRKFHQNFCKYKLEDLEEWFSNWAVVMTKLRAEGEIEAYEFSQELNGFTDEELELMDNMQYGLYDKKELIRRYLQGSGSDVIDLSKRAYDVNSKHGQPPLHKKAIDGSWFLSKPLSEAVGPE
>A0A0A9U2E6
MLDALSIFSKVSLGLVVVREPLGRSLSLSLVAALPIALQHGSEWCRMALAQTRMLS

but I don't know mmseqs createtaxdb is actually parsing these UniProt IDs correctly and mapping them to taxonomy info.

The database base produced by createtaxdb contains a file called _mapping that maps the internal mmseqs id to an taxonomical id MMseqsId TaxId. It is possible to inspect this mapping file by merging it with the .lookup file (this file contains MMseqsId FastaId.
awk 'FNR==NR{f[$1]=$0; next} $1 in f{ print $2" has taxid"} !($1 in f){print $2" has no taxid"} ' DB_mapping DB.lookup

So, if the the *_mapping file is empty, that means that mmseqs createtaxdb didn't map any tax info to the sequences? I didn't get any warning from mmseqs createtaxdb stating that there was a mapping issue for any of my sequences. All of my sequences are just labeled with UniProt identifiers (see the fasta snippet above), so I thought that mmseqs createtaxdb could handle that mapping automatically so that I didn't have to manually creating a seqID <--> taxID mapping file (ie., mmseqs createtaxdb --tax-mapping-file my_custom_mapping_file)

Yes if its empty than it could not map any identifier. It can handle the mapping of Uniprot sequences automatically. createtaxdb performs the following code to retrieves the mmseqs identifiers to tax. id mapping.
URL="ftp://ftp.expasy.org/databases/uniprot/current_release/knowledgebase/idmapping/idmapping.dat.gz"
wget -nv -O - "$URL" | zcat | awk '$2 == "NCBI_TaxID" {print $1"\t"$3 }' > taxidmapping
awk 'NR == FNR { f[$1] = $2; next } $2 in f { print $1"\t"f[$2] }' taxidmapping DB.lookup > DB_mapping

Thanks for the awk code! The code + your explanation really helps with determining which records in the taxDB actually have taxonomy info.

Hello!
I wanted to use also the taxonomy database, but I think in a similar situation to the one described here:
-rw-r--r-- 1 aauladell bio    0  2 oct 14:46 DB_mapping
-rw-r--r-- 1 aauladell bio 3,8M 10 set 15:25 delnodes.dmp
-rw-r--r-- 1 aauladell bio 991K 10 set 15:25 merged.dmp
-rw-r--r-- 1 aauladell bio 175M 10 set 15:25 names.dmp
-rw-r--r-- 1 aauladell bio 139M 10 set 15:25 nodes.dmp
-rw-r--r-- 1 aauladell bio    0 10 set 19:38 targetDB_mapping
-rw-r--r-- 1 aauladell bio    0 10 set 19:43 targetDB_mapping.complete
-rw-r--r-- 1 aauladell bio 2,8G  2 oct 13:33 taxidmapping
-rw-r--r-- 1 aauladell bio  43G  9 set 18:15 uniref90.fasta
-rw-r--r-- 1 aauladell bio  32G 10 set 15:17 unirefDB
-rw-r--r-- 1 aauladell bio    4 10 set 15:18 unirefDB.dbtype
-rw-r--r-- 1 aauladell bio 3,8M 10 set 19:43 unirefDB_delnodes.dmp
-rw-r--r-- 1 aauladell bio  12G 10 set 15:12 unirefDB_h
-rw-r--r-- 1 aauladell bio    4 10 set 15:13 unirefDB_h.dbtype
-rw-r--r-- 1 aauladell bio 2,3G 10 set 15:19 unirefDB_h.index
-rw-r--r-- 1 aauladell bio 2,3G 10 set 15:18 unirefDB.index
-rw-r--r-- 1 aauladell bio 2,9G 10 set 15:23 unirefDB.lookup
-rw-r--r-- 1 aauladell bio    0  2 oct 14:47 unirefDB_mapping
-rw-r--r-- 1 aauladell bio 991K 10 set 19:43 unirefDB_merged.dmp
-rw-r--r-- 1 aauladell bio 175M 10 set 19:43 unirefDB_names.dmp
-rw-r--r-- 1 aauladell bio 139M 10 set 19:43 unirefDB_nodes.dmp

My _mapping files are empty.
I tried to use the awk code you posted below but it didn't work. My opinion is that it is maybe I haven't downloaded the proper uniprot? In my case I downloaded uniref90.fasta
Maybe in the wiki page the example could be started with the specific ftp for uniprot, I don't know.
mmseqs2 version 15c7762

I don't know if this will appear, I am going to put some @
@milot-mirdita @martin-steinegger

Can you make a new issue please and post the commands you used to create the database?


refactor: drop check_identity from ExecutionSpec

Fixes: #1414
/claim 1414

Summary by CodeRabbit

New Features

Enhanced HTTP IO capabilities to support more robust network operations.
Added a call to enable_all() method before building the runtime to improve HTTP IO functionality.

Bug Fixes

Improved the document processing to exclude empty directives, ensuring cleaner and more accurate outputs.

Refactor

Optimized the print_directives function to filter out empty directive strings for a more streamlined output.
Introduced a new constant NONEMPTY_DIRECTIVES for checking non-empty directive values.
Updated the print_directive function to conditionally return an empty string based on NONEMPTY_DIRECTIVES.

closing in favor of #1850


[CORE] Improve merge fallback reason

What changes were proposed in this pull request?
A logical link can map to several physical plan which would cause the fallback reason loss. e.g., the logical link of FilterExec(FileSourceScanExec) is same with FileSourceScanExec. So this pr adds all reason into that logical link to make sure we do not lose any fallback reason.
Besides, this pr reduces the noisy fallback reason which is produced by ExpandFallbackPolicy if there already exists fallback reason.
How was this patch tested?
add tests

Run Gluten Clickhouse CI

Run Gluten Clickhouse CI

cc @PHILO-HE thank you

The CH backend CI is passed

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_3981_time.csv
log/native_master_12_12_2023_8c6f1643e_time.csv
difference
percentage

q1
32.39
33.75
1.359
104.20%

q2
24.08
24.88
0.806
103.35%

q3
37.68
37.71
0.022
100.06%

q4
40.49
37.86
-2.635
93.49%

q5
69.89
72.83
2.941
104.21%

q6
5.43
7.05
1.619
129.81%

q7
87.37
86.50
-0.873
99.00%

q8
86.79
86.24
-0.548
99.37%

q9
121.68
125.50
3.825
103.14%

q10
44.83
44.68
-0.150
99.67%

q11
19.61
20.21
0.605
103.09%

q12
26.91
25.06
-1.849
93.13%

q13
46.11
46.58
0.471
101.02%

q14
18.96
19.99
1.031
105.44%

q15
27.92
27.55
-0.376
98.65%

q16
15.85
15.86
0.007
100.05%

q17
104.99
103.27
-1.720
98.36%

q18
154.09
151.33
-2.759
98.21%

q19
13.28
13.89
0.608
104.57%

q20
27.44
28.68
1.248
104.55%

q21
226.93
229.12
2.193
100.97%

q22
13.79
13.95
0.159
101.15%

total
1246.51
1252.49
5.987
100.48%


Fix for null pointer exception with order by by array/object type

Fix issue: https://github.com/Azure/azure-sdk-for-java/issues/12520
Continuation token will not be supported for array/object type.

great work Annie. some minor comments

Thanks @moderakh . Has updated the PR with the style change.

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

Did tests locally:
queryDistinctDocuments
drainAllDocumentsUsingOffsetLimit
queryDocumentsWithCompositeContinuationTokens

/check-enforcer override


Rclone as target

Output of restic version
restic 0.9.5 compiled with go1.13beta1 on linux/amd64
What should restic do differently? Which functionality do you think we should add?
restic -r rclone:repository:directory backup rclone:target:directory should work ;)
..but restic doesn't see the target directory as rclone's, but as a local directory.
What are you trying to do?
Back up an rclone remote (feature 1). This also in theory adds a major feature to restic: backing up remote nodes (have (a) central backup node(s), this is useful because feature 2) you don't need to set up backup on every machine, feature 3) you don't need to trust the repo password to the remote machine)
Did restic help you today? Did it make you happy in any way?
Almost uncomplicated things on backing up 20 rclone remotes properly. Almost got happy.
Happy Python 2.7 retirement! ;)

Looks like a duplicate of #299 to me.

@MichaelEischer ha! I actually commented on the issue
Though #299 is related, this is not a duplicate.
#2529 closes #299 as a side-effect.

Use Case:

I have a Nextcloud Server
I do not have access to the linux server itself (hosted)
I do not want to sync the complete instance to my HDD (space requirements)

In this case backing up from rclone remotes would be extremely beneficial.

Also :+1: here. Backing up a elsewhere-hosted Nextcloud (I don't have access to the underlying storage, only a WebDav endpoint), and the current davfs2 mountpoint approach is no fun.
I'd assume restic getting support to back up files FROM a remote should be a major improvement.

Also a "needed" feature for us. Same szenario, hosted Nextcloud with WebDav access.

This would be very useful. Just one small comment: I think rclone would be the source in this case, not the target. In other words, it would be useful if restic can backup files from a remote (rclone / b2 / s3 etc.) to local or to another remote (rclone / b2 / s3 etc.). In my case this would be useful for "seeding" a repo from an existing remote storage provider to which a backup machine has up to now been backing up its files using plain old rclone. Instead of having to upload from scratch all the files to the new restic repo on the new remote, we could seed the repo from the existing remote...


Introduce pekko-based activemq connector

An attempt to fit pekko to replace Alpakka for JMS. The first step is to introduce a connector based on nightly pekko.

its kinda weird that we name it connector-activemq, although i think it is able to handle any JMS, didn't test :p. But this is another topic, approved


Treat the bot as a button

I installed your driver and was able to pair the bot (i just have the bot switch) without issues. However, when I bring it into webcore, none of the push, turn on, toggle work. Is there a way to get the function to actually toggle so that is presses the paddle switch which it is on?

I am not 100% sure, but I have hunch that push() wasn't working because I neglected to declare the PushableButton capability.  I made this change in version 0.9.9 of the SwitchBot Bot driver (in the main repo).  Will you please give this a try?
With this change, I think that a switch and button press should both work, assuming your Bot is put into a mode that would support those in the SwitchBot app.
I don't know what toggle might map to from webcore into Hubitat. Is there another community-supplied Hubitat driver that works with toggle that you know of so I could check it as an example?

Yes, I will try but I would also ask if you add this to hubitat package manager?

Yes, I updated the version on my HPM listing. So you can upgrade to the new version using HPM.

I tried and it just spins and doesn't see a new update.
No Updates Available
All packages are up to date, click Next to return to the Main Menu.

My mistake, I missed an edit. Please try again.

Update https://github.com/tomwpublic/hubitat_switchbot/blob/main/switchbotBot again?

You can update just that file, or you can upgrade to 0.9.9 with HPM.

I did that but it still isn't working.

What isn't working? Do you not have version 0.9.9 of the Bot driver? Does the action not work from webcore, and is there a debug print or anything that gives a clue? What mode do you have the Bot set to in the SwitchBot app?

I updated to the newest commit. The push or toggle or turn on does not activate the bot.
Change history:
0.9.9 - @tomw - Add PushableButton.
In webcore the piston fires but the device does not activate.
Switch mode in the app.

Ok, thanks for clarifying. Trying to narrow down where it might be failing- do any of the commands work if you run them from the Hubitat virtual device page? If so, I'll have to add some more logging to figure out what is coming in from webcore.

Sorry for the spam @tomw .

Ok, thanks for clarifying. Trying to narrow down where it might be failing- do any of the commands work if you run them from the Hubitat virtual device page? If so, I'll have to add some more logging to figure out what is coming in from webcore.

No they do not

Ok, something lower than webcore is the issue if it doesn't even work at the Hubitat level.
One thing to check: have you enabled the Cloud Service in the config page for your bot in the SwitchBot app?

Yes cloud service is enabled.

Are you on the Hubitat forums?  I'd like to contact you there so we can iterate more quickly on troubleshooting.  My name over there is 'tomw'.

I am but not that often. I think I might have fixed it. I removed
everything and did power cycles to both hubs. I did a test and was able to
get the piston to toggle. I don't think push works though. But toggle (not
on or off) did it once. I'll let it run for a day and report if the
issue persists. Feel free to close this in the meantime.
On Mon, Aug 9, 2021, 6:37 PM tomwpublic @.***> wrote:

Are you on the Hubitat forums? I'd like to contact you there so we can
iterate more quickly on troubleshooting. My name over there is 'tomw'.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tomwpublic/hubitat_switchbot/issues/9#issuecomment-895662386,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD53IKJY4ZQUI5YEZHE6URLT4B7F3ANCNFSM5BM4I2WA
.

I can't remember since it has been a while, but I recall some of the commands only work based on the mode you have set in the SwitchBot app.  So, for example, if you selected switch mode then only On/Off work.
Don't quote me on that, though, because it seemed to vary some depending on the specific mixture of settings I was using.  I found that it made sense to just support all possible SwitchBot API commands in this integration and then test to figure out which ones worked for the functionality that I wanted.  Then use that testing results to determine which to use in my external automations.
I'm glad that it seems to be working now.  Hopefully it stays that way, but post back here or on the Hubitat forums if not.


Add container-scanner

I would like to integrate https://github.com/aquasecurity/trivy
We use this as part of our CI/CD pipelines on Gitlab.

https://gitlab.com/mintel/satoshi/ci-cd/pipeline/-/blob/master/commands/container_scan

A few important notes:

We support all the trivy env-vars
We support the .trivyignore file
We support our shared CVE whitelist (which may not be appropriate for build-harness)

This would be great to get. Perhaps modules/trivy. Could we build a mintel/trivy image to Docker Hub? For the whitelist, we could add a generic command in the same module like trivy/whitelist that pulls a whitelist from a git repo you specify in your Makefile. (in otherwords, split the whitelist stuff out from the "running trivy as a docker image."

There's already an dockerized trivy: https://hub.docker.com/r/aquasec/trivy/


安装失败

error: could not create '/Library/Python/2.7/site-packages/markdown': Permission denied
Mac OS X 10.11.6
Python 3.5.2

You can't install python package directly by pip install <package> without root permission.
There are two way to solve this problem:

use virtualenv, then install python package(include simiki) in env;
or run pip install --user simiki to install package under your home directory.

It works,Thanks!


Local ip address is from Hyper-V switch when useLocalIp is true

I have a win-10 setup with Hyper-V installed and a NATting switch.
When live-server is set to use the local ip. It binds to the ip of the natting switch.
I expect it to use the ip-address of the hardware nic.

As a workaround I bind to <IP_ADDRESS>. This binds to all interfaces.
e.g. in .vscode/settings.json for the host:
{ "liveServer.settings.host": "<IP_ADDRESS>" }


PooledRedisClientManager holds on to closed sockets and doesn't recover

When using the PooledRedisClientManager, if Redis dies or becomes unavailable, the sockets in the socket pool get closed, and are never refreshed. Effectively leaving the SocketPool completely drained.
If a socket gets closed, there should be a mechanism for creating fresh sockets, should connectivity to Redis come back up.

This was misdiagnosed. I tested it and it works properly.


UI - Chat messages and response was not presented in the chat window until manual refresh.

I was chatting with an agent which was responding for queries as expected.
After couple of chat message , any chat message i sent was not getting displayed in the chat window and also there was no response displayed.
I see invoke calls succeed during this time
https://test.otto8.ai/api/invoke/a1r7z98/threads/t1wlc2n
Request Method:
POST
Status Code:
200 OK

Also see event stream show the responses. But chat window did not show message/responses.

https://github.com/user-attachments/assets/41f7a1fa-80d7-4ea6-a85c-886db9aa4544
Once i refreshed the thread , all the chat messages showed up.

if you have seen this since, can you close

I have not been able to reproduce this issue since the time I saw it.
Closing this issue for now.
Will open a new issue if I see this behavior again.


Memory leak in Java API due to missing TF_DeleteStatus

This is a leak confirmed on StackOverflow by ash.
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes.  There's a short example in the above StackOverflow link and a working JUNIT test written in a maven project on github that demonstrates the problem.

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OS Sierra using TF 1.1, and CentOS7 using both TF 1.1 and TF 1.2_rc0.

TensorFlow installed from (source or binary): binary from Maven

TensorFlow version (use command below): On Mac uses Maven <version>1.1.0</version>, on CentOS7 <version>1.2.0-rc0</version>

Bazel version (if compiling from source): N/A

CUDA/cuDNN version: N/A

GPU model and memory: N/A

Exact command to reproduce: See above for the short example on the StackOverflow link or the full Java file at the github example project.

Describe the problem
Running the example code given causes the process memory (outside the JDK, not heap space) to grow until the process exits.  Leaked was agreed to be in TensorFlow by ash at StackOverflow:

I believe there is indeed a leak (in particular a missing TF_DeleteStatus corresponding to the allocation in JNI code)

Source code / logs
The test file is here within the above reference github project.
Thank you for providing this amazing tool!

Thanks for pointing this out and the detailed report (and ability to reproduce).
This has been fixed internally and should be reflected in Github during our next sync (within the next day) and will be part of the next release candidate for 1.2.

Very glad to be able to give back a tiny bit!  Thanks again!

For the record, https://github.com/tensorflow/tensorflow/commit/24f243deee41d8008bf37ae98d825f8f9f050de4
fixes this.

Does this fix apply to the GPU version of the libraries as well? Specifically, I'm wonder about libtensorflow_jni-gpu-linux-x86_64-1.3.0-rc1.tar.gz. I run out of memory when running with that library on an Nvidia card.

Yes, the fix applies to both. You might be running into something else. Please file a new issue, ideally with steps to reproduce the problem. Thanks!

@asimshankar, see #11948


implementation of bi-rrt

Thanks !
By quickly looking at the code, I think we have a general issue (here and in many other classes). Copying the configuration shooter means it won't be updated later if it changes later. I saw the same thing in class DiffusingPlanner.
In my opinion, not copying the members of class Problem (except locally, of course) would be a better practice. This way, developers do not need to take care of updating pointer in their members.
What do you think ?

I get your point.
The issue I have is that I am actually interesting in changing the problem and keeping
the same ConfigurationShooter.
However I agree that this is not the default behaviour.
Let me update the code and make a new pull request


Filtering organisations in my profile view by type

PT-1074 PT-1088 Only organisations with a type provider are fetched in my profile view.

Codecov Report

Merging #195 (8296a2e) into PT-1074-free-text-3rd-party-org-field (90855c3) will not change coverage.
The diff coverage is 100.00%.

@@                          Coverage Diff                           @@
##           PT-1074-free-text-3rd-party-org-field     #195   +/-   ##
======================================================================
  Coverage                                  79.75%   79.75%
======================================================================
  Files                                        196      196
  Lines                                       3512     3512
  Branches                                    1079     1079
======================================================================
  Hits                                        2801     2801
  Misses                                       685      685
  Partials                                      26       26

Impacted Files
Coverage Δ

...c/domain/myProfile/myProfileForm/MyProfileForm.tsx
96.96% <100.00%> (ø)

Continue to review full report at Codecov.

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


Correct Google Analytics Tracker

Description
(Brief description on what this PR is about)
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Hi @szha - So the config for the ID should be here:
https://github.com/apache/incubator-mxnet/blob/master/docs/static_site/src/_config_prod.yml
It is there, so any mention of the tracker ID should be using the variable, not be statically defined.

It is setup to use it here: https://github.com/apache/incubator-mxnet/blame/master/docs/static_site/src/_includes/google-analytics.html
I'm not sure why there are two analytics files. Maybe this one should be deleted. I think the config is setup correctly because if you view source the ID is -1.

@aaronmarkham the python docs header is done through the theme which is loading the analytics file that @szha changed

Yeah agree, would be good to have these settings centralized


ITaskItem could have a way to access all non-well-known metadata

ITaskItem.MetadataNames returns a list of all metadata defined on a given item--including the you-can't-get-rid-of-it computed well-known metadata.
@blackdwarf thought it would be nice to be able to iterate over all of the custom metadata without the well-known stuff. That does seem reasonable (though it'd have to go into ITaskItem3, which is unfortunate).

Workarounds:

You can use only and explicitly metadata you expect on your inputs (this is the common case)
You can manually filter out the well-known items by consulting that MSDN page and making your own set of properties to ignore.
You can use ITaskItem.CloneCustomMetadata to get an IDictionary that contains only the custom metadata. You can (in the current implementation) cast that to Dictionary<string, string> and walk over that instead.

Thanks @rainersigwald! :)

There could be a new method ITaskItem3.CustomMetadataNames, or we could do something like JavaScript's Object.prototype.hasOwnProperty, which fulfills a similar need.

Is this a design time project item? Then you can use the subclass ProjectItem.DirectMetadata property: https://github.com/Microsoft/msbuild/blob/master/src/XMakeBuildEngine/Definition/ProjectItem.cs#L233-L236
That interface is quite disfunctional.

We haven't heard of a need for this since. Closing for now.


Fix a few leaked handles

Test failure: https://github.com/aspnet/IISIntegration/issues/1269

ping

Test failure: https://github.com/aspnet/IISIntegration/issues/1289


Seems getNftsForOwner allows 45 contractAddresses instead of documented 20

[REQUIRED] Environment

Browser version: Node.js v16.18.0
Alchemy SDK version: 2.4.2

[REQUIRED] Describe the problem
We found out that contractAddresses limit for getNftsForOwner seems to be 45 and not 20 that is in the docs https://docs.alchemy.com/reference/sdk-getnftsforowner#options-parameters
Unclear if your docs are wrong or there is bug in the implementation. Would prefer larger limit but if this will change then can go with 20.
How to reproduce:
Add over 20 but under 45 contractAddresses and api works fine. If over 45 then we get Error of "Contract address filter size of: 46 is greater than the maximum allowed of: 45!"

Thanks for pointing this bug @hixus, the limit is actually 45 and this was an error in our docs. We will update our docs


Negate help message of --no-color option

See: https://github.com/eslint/eslint/commit/741d0c1f83a877c51ce71773bb2c4041a808a1f2
The second commit update CLI doc in README with current help output.

@orangain Thanks


No instance found for Prelude.Semigroup (a6536 -> a6536 -> Prelude.Ordering)

Hi,
I am using purescript-contravariant with psc version 0.6.8 and it gives me:
Error at bower_components/purescript-contravariant/src/Data/Comparison.purs line 16, column 1 - line 19, column 1:
Error in declaration semigroupComparison
No instance found for Prelude.Semigroup (a6536 -> a6536 -> Prelude.Ordering)

Ah, the Semigroup instance for Ordering was added to the Prelude in psc 0.6.9.

Oh dang, must have miss that! Thank you!

I think we missed it from the psc release notes actually, I'll update them now.


Multiple clicks

Issue Type

[ ] Bug Report
[x ] Feature Request
[ ] Support Question

Description
I would like to have multiple clicks per second and able to specify the time in seconds that the click should take place.
Information

Command or Code

Environment, Platform, Device

Android
Version information

Checklist

[x] I searched for already existing GitHub issues about this
[x] I updated all Cordova tooling to their most recent version
[x] I included all the necessary information above

click?

Closing as it's unclear what you are asking


Fix for mousewheel to zoom in/out

Fixes #605
Signed-off-by: Chen Lihui<EMAIL_ADDRESS>

Hi, @jacobperron
From https://github.com/ros2/rviz/blob/323378a27047f66ce6823e99b5a45172af6c6601/rviz_common/include/rviz_common/viewport_mouse_event.hpp#L95-L96
and message in the status bar "Right-Click/Mouse Wheel:: Zoom.  ", I think we need to use e->angleDelta().y() to instead of e->angleDelta().x().
NOTE: https://doc.qt.io/qt-5/qwheelevent.html#angleDelta  (angleDelta().y() provides the angle through which the common vertical mouse wheel was rotated since the previous event)
If you agree with that, I'll continue to update the test.
https://github.com/ros2/rviz/blob/323378a27047f66ce6823e99b5a45172af6c6601/rviz_default_plugins/test/rviz_default_plugins/view_controllers/view_controller_test_fixture.hpp#L104-L116

friendly ping @jacobperron :no_bell:

Linux
Linux-aarch64
macOS
Windows


Colcon build for an STM32MP1 target

Dear ros community,
I'm an absolute beginner in the world of meta-ros, but I used to work with it on my ubuntu laptop. I wanted to create my own ros nodes and execute them on my STM32MP1 board, but I can't find any way to build them on it, that's why I wanted to add colcon build command. I've seen other issues talking about it but I don't understand what I'm doing wrong here.
Describe the bug
Unable to bitbake my image when including
TOOLCHAIN_HOST_TASK_append = " nativesdk-python3-colcon-common-extensions"
to my local.conf file.
To Reproduce
Using ROS2 foxy on Dunfell branch. I added meta-ros successfully to my image however, I'm unable to bitbake my image when adding colcon to the build process. Here is the error :
ERROR: Nothing RPROVIDES 'nativesdk-python3-coloredlogs' (but virtual:nativesdk:/home/chenal/Yocto-lab/meta-ros/meta-ros-common/recipes-devtools/colcon/python3-colcon-core_0.6.1.bb RDEPENDS on or otherwise requires it)
ERROR: Required build target 'mybot-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['mybot-image', 'buildtools-tarball', 'nativesdk-python3-colcon-common-extensions', 'nativesdk-python3-colcon-core', 'nativesdk-python3-coloredlogs']

Expected behavior
bitbake should successfully build "mybot-image" and colcon build command should be recognized.

There are two ways of using colcon:

Use colcon with a yocto SDK (preferred if you ask me)
Use colcon on the target device, and compile ros packages on the STM32MP1 core

In case of option 1, you would add the line you specified, and run bitbake -c populate_sdk mybot-image. The resulting SDK will end up in you deploy folder, and when installed and sourced should provide you with colcon on your host PC. This is not yet function, a pull request is waiting to be reviewed/merged, see for example this pull request: https://github.com/ros/meta-ros/pull/988
The problem you are facing specifically is that the python3-coloredlogs package does not have a BBCLASSEXTEND with nativesdk in it.
When choosing option 2, one should add the package python3-colcon-common-extensions to the mybot-image recipe.

Thanks a lot for your answer.
I went for option 1 as you recommended (and also because it is inconveniant to build on the target device)
However when calling bitbake -c populate_sdk mybot-image, I've got an error which I can't seem to solve (I know it's not related to the original issue but I don't know how to solve this)
Transaction Summary
================================================================================
Install  2764 Packages

Total size: 2.5 G
Installed size: 15 G
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
  file /usr/include/lauxlib.h conflicts between attempted installs of lua-vendor-dev-0.0.1+2-r0.cortexa7t2hf_neon_vfpv4 and lua-dev-5.3.6-r0.cortexa7t2hf_neon_vfpv4
  file /usr/include/lua.h conflicts between attempted installs of lua-vendor-dev-0.0.1+2-r0.cortexa7t2hf_neon_vfpv4 and lua-dev-5.3.6-r0.cortexa7t2hf_neon_vfpv4
  file /usr/include/luaconf.h conflicts between attempted installs of lua-vendor-dev-0.0.1+2-r0.cortexa7t2hf_neon_vfpv4 and lua-dev-5.3.6-r0.cortexa7t2hf_neon_vfpv4
  file /usr/include/lualib.h conflicts between attempted installs of lua-vendor-dev-0.0.1+2-r0.cortexa7t2hf_neon_vfpv4 and lua-dev-5.3.6-r0.cortexa7t2hf_neon_vfpv4
  file /usr/lib/libboost_chrono.so from install of boost-dev-1.72.0-r0.cortexa7t2hf_neon_vfpv4 conflicts with file from package microstrain-inertial-driver-2.0.6+1-r0.cortexa7t2hf_neon_vfpv4
  file /usr/lib/libboost_filesystem.so from install of boost-dev-1.72.0-r0.cortexa7t2hf_neon_vfpv4 conflicts with file from package microstrain-inertial-driver-2.0.6+1-r0.cortexa7t2hf_neon_vfpv4
  file /usr/lib/libboost_prg_exec_monitor.so from install of boost-dev-1.72.0-r0.cortexa7t2hf_neon_vfpv4 conflicts with file from package microstrain-inertial-driver-2.0.6+1-r0.cortexa7t2hf_neon_vfpv4
  file /usr/lib/libboost_system.so from install of boost-dev-1.72.0-r0.cortexa7t2hf_neon_vfpv4 conflicts with file from package microstrain-inertial-driver-2.0.6+1-r0.cortexa7t2hf_neon_vfpv4
  file /usr/lib/libboost_timer.so from install of boost-dev-1.72.0-r0.cortexa7t2hf_neon_vfpv4 conflicts with file from package microstrain-inertial-driver-2.0.6+1-r0.cortexa7t2hf_neon_vfpv4
  file /usr/lib/libboost_unit_test_framework.so from install of boost-dev-1.72.0-r0.cortexa7t2hf_neon_vfpv4 conflicts with file from package microstrain-inertial-driver-2.0.6+1-r0.cortexa7t2hf_neon_vfpv4

Error Summary
-------------

I also tried option 2 and it worked for me (I removed TOOLCHAIN_HOST_TASK_append = " nativesdk-python3-colcon-common-extensions" and added IMAGE_INSTALL_append = " cmake python3-colcon-common-extensions" instead)
However when calling colcon build it gives me the following errors : CMAKE_CXX_COMPILER not set, after EnableLanguage
But I would rather go for option 1 if I can.

Thats an interesting error, it looks like the boost dynamic libraries are included in the microstrain-inertial-driver package, clearly, the so files of boost should be contained in the boost package, so something odd is happening in the microstrain-initial-driver package. You could check its work folder, and inspect the contents of the image subfolder to see what's contained in this package.

Thanks for your reply.
SDK is now fully generated. I built the environment by running the .sh script, then sourced the output files without error.
I have an other error which is :
File "/home/chenal/Yocto-lab/Wellbot_environment/sysroots/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/usr/share/ament_cmake_core/cmake/package_templates/templates_2_cmake.py", line 21, in <module>
    from ament_package.templates import get_environment_hook_template_path
ModuleNotFoundError: No module named 'ament_package'

I tried adding some modules to my image but without success, do you have a clue of what's missing ?

Adding

I'm using Yocto to compile my nodes. I took examples of the files present in meta ROS and managed to compile an image with my packages.
I added the package bb recipe and bb append files to the meta-ros folder where other generated recipes are, and I added my package name to the superflore-ros-distro.inc file. I also tried adding IMAGE_INSTALL_append = " my-ros-package" to my image recipe.
When using the generated image on my STM32MP157C-DK2, I see some files named "my-ros-package" in the /usr/share/ament_index/resource_index/ folder but the folder /usr/share/my-ros-package/ isn't in my filesystem.
(all meta-ros ros packages and nodes are in the /usr/share/ folder with their relatives files eg : launch.py, install.sh, ...)
Do you have an idea of what am I missing for my-ros-package to be usable in my image ?
Once again thank you for your time and your help.

What finally did the trick for me was adding thoses lines to my bb append file (instead of the superflore-ros-distro.inc file) :
ROS_SUPERFLORE_GENERATED_RECIPES += " imu-sensor "
ROS_SUPERFLORE_GENERATED_RECIPE_BASENAMES_WITH_COMPONENT += " imu-sensor/imu-sensor_1 "
ROS_SUPERFLORE_GENERATED_WORLD_PACKAGES = " imu-sensor "
ROS_SUPERFLORE_GENERATED_RECIPES_FOR_COMPONENTS = " imu-sensor "

Hello, can may I ask you a question?
I entered the code below in the local.conf file and built the image.
'''
TOOLCHAIN_TARGET_TASK_append = "
ament-cmake
"
'''
However, the following error occurred. How can i solve this?
(wrlinuxsdk-x86_64-aarch64) wkdtjdqls@wkdtjdqls-MS-7C94:~/ros2_ws$ colcon build                                                                                Starting >>> cpp_pubsub                                                                                --- stderr: cpp_pubsub                                                                                Traceback (most recent call last):                                                                                File "/opt/windriver/wrlinux/21.20/sysroots/cortexa53-wrs-linux/usr/share/ament_cmake_core/cmake/package_templates/templates_2_cmake.py", line 21, in                                  from ament_package.templates import get_environment_hook_template_path                                                                                ModuleNotFoundError: No module named 'ament_package'                                                                                CMake Error at /opt/windriver/wrlinux/21.20/sysroots/cortexa53-wrs-linux/usr/share/ament_cmake_core/cmake/ament_cmake_package_templates-extras.cmake:41 (message):                                                                                execute_process(/opt/windriver/wrlinux/21.20/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/python3                                                                                /opt/windriver/wrlinux/21.20/sysroots/cortexa53-wrs-linux/usr/share/ament_cmake_core/cmake/package_templates/templates_2_cmake.py                                                            /home/wkdtjdqls/ros2_ws/build/cpp_pubsub/ament_cmake_package_templates/templates.cmake)                                                                                returned error code 1                                                                                Call Stack (most recent call first):                                                                                /opt/windriver/wrlinux/21.20/sysroots/cortexa53-wrs-linux/usr/share/ament_cmake_core/cmake/ament_cmake_coreConfig.cmake:41 (include)                                                         /opt/windriver/wrlinux/21.20/sysroots/cortexa53-wrs-linux/usr/share/ament_cmake/cmake/ament_cmake_export_dependencies-extras.cmake:15 (find_package)                                         /opt/windriver/wrlinux/21.20/sysroots/cortexa53-wrs-linux/usr/share/ament_cmake/cmake/ament_cmakeConfig.cmake:41 (include)                                                                   CMakeLists.txt:13 (find_package)                                                                                ---                                                                                Failed   <<< cpp_pubsub [0.07s, exited with code 1]                                                                                Summary: 0 packages finished [0.15s]                                                                                1 package failed: cpp_pubsub                                                                                1 package had stderr output: cpp_pubsub
Thank you.

There are two ways of using colcon:
Use colcon with a yocto SDK (preferred if you ask me)
Use colcon on the target device, and compile ros packages on the STM32MP1 core

Is there a reason why it would not be possible to use colcon in the do_compile() of a recipe?
When trying to simply build a project to be embedded, having to use the sdk or on the target is not really friendly.

  I think  it may negate the benefits from using bitbake. We currently use ament and CMake when executing the recipes.  What benefit would using colcon bring?

Agreed, I think you should use colcon or yocto as a top level build tool, not both. Running colcon inside a yocto recipe would probably cause colcon to build a whole lot of dependencies within a yocto recipe, so builds might be long, and artifacts my be cluttered or even corrupted with libraries build by colcon.

Sounds like a common problem that many ROS developers would want to address.
Can you provide instructions or a reference example so I can recreate what you are doing today?
Thanks,
Rob

a very minimalistic example could be clone from git@github.com:OznOg/example_meta_ros.git
A git project mono  with "all" the ROS projects in it (here they were added as git subtree)
example_meta_ros
├── catkin
└── message_generation

then in my work directory, I clone meta project, and I simply run colcon build (I ignore build and install options for this example). This eventually builds everything following the dependencies, and install all in install subdirectory.
This works well on fedora, but is hardly achievable on yocto for now.
I hope you it helps,
Thank you for your help
Sebastien


_pickle.PicklingError: Can't pickle <class 'numpy.core._exceptions.UFuncTypeError'>: it's not the same object as numpy.core._exceptions.UFuncTypeError

Sorry, I accidentally closed my question. Have you tried to use Python 3.8?
Traceback (most recent call last):
File "/usr/local/python38/lib/python3.8/multiprocessing/queues.py", line 239, in _feed
obj = _ForkingPickler.dumps(obj)
File "/usr/local/python38/lib/python3.8/multiprocessing/reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
_pickle.PicklingError: Can't pickle <class 'numpy.core._exceptions.UFuncTypeError'>: it's not the same object as numpy.core._exceptions.UFuncTypeError
^CTraceback (most recent call last):
File "/home/lab30201/sdb/lwb/3detr-main/main.py", line 430, in
launch_distributed(args)
File "/home/lab30201/sdb/lwb/3detr-main/main.py", line 418, in launch_distributed
main(local_rank=0, args=args)
File "/home/lab30201/sdb/lwb/3detr-main/main.py", line 403, in main
do_train(
File "/home/lab30201/sdb/lwb/3detr-main/main.py", line 179, in do_train
aps = train_one_epoch(
File "/home/lab30201/sdb/lwb/3detr-main/engine.py", line 74, in train_one_epoch
for batch_idx, batch_data_label in enumerate(dataset_loader):
File "/usr/local/python38/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 435, in next
data = self._next_data()
File "/usr/local/python38/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1068, in _next_data
idx, data = self._get_data()
File "/usr/local/python38/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1034, in _get_data
success, data = self._try_get_data()
File "/usr/local/python38/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 872, in _try_get_data
data = self._data_queue.get(timeout=timeout)
File "/usr/local/python38/lib/python3.8/multiprocessing/queues.py", line 107, in get
if not self._poll(timeout):
File "/usr/local/python38/lib/python3.8/multiprocessing/connection.py", line 257, in poll
return self._poll(timeout)
File "/usr/local/python38/lib/python3.8/multiprocessing/connection.py", line 424, in _poll
r = wait([self], timeout)
File "/usr/local/python38/lib/python3.8/multiprocessing/connection.py", line 930, in wait
ready = selector.select(timeout)
File "/usr/local/python38/lib/python3.8/selectors.py", line 415, in select
fd_event_list = self._selector.poll(timeout)

I have not tried Python 3.8. Can you just try evaluating the checkpoint dumped at this epoch since this error occurred during evaluation? That will help narrow it down.

CUDA Version: 11.1

I have not tried Python 3.8. Can you just try evaluating the checkpoint dumped at this epoch since this error occurred during evaluation? That will help narrow it down.

What reason did you say that might be caused by Python3.8？

Since I haven't seen this error, I was trying to rule out issues due to different versions of Python

My Environment:
OS: Ubuntu 18.04
GPU: GeForce GTX 1080
CUDA Version 11.1
pytorch Version 1.7.1
python 3.8.1

OK, I'm trying to solve this problem. If not, try Python3.6


Textarea is resizable horizontally

Textarea input is resizable horizontally in class "subsection chat". It can be enhanced with the "resize:vertical" css declaration

This should be resolved as of the redesign.


Hitting the tab key inserts

Issue Type: Bug
I am not completly sure what the root cause is. But when I open a file and start typing everything works as you'd expect. After going to another window or to another file and coming back to the orginal one hitting the tab-key will insert <tab></tab>
VS Code version: Code 1.27.2 (f46c4c469d6e6d8c46f268d1553c5dc4b475840f, 2018-09-12T07:04:11.329Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
16.00GB (0.18GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

githistory
don
0.4.3

terminal
for
0.0.10

vetur
oct
0.12.7

vim
vsc
0.16.6

gitblame
wad
2.4.4

@AndreSteenveld @skbolton This is being caused by the vim extension: https://github.com/VSCodeVim/Vim/issues/3096
Looks like a fix has already been checked in for it, not sure when the next release will be. In the meantime, the extension repo has the .vsix files of the previous releases, so you could downgrade to the previous version


Update LOCALIZATION_CONTRIBUTORS

Summary
Details and comments

question: I'm following these instructions here. When I get to the step 4/5 is the only option to contribute to JP only? I would like to start contributing to PT-PT.

@omarcostahamido That's because we haven't yet enabled Portuguese translations. Please create an Issue for PT translations. Thank you.

done ;)

Will reopen when PT translations are enabled

Thank you @SooluThomas and @derivation 😃


feat: lock specific items

Right click -> lock/unlock specific items from:

[x] Merchant
[ ] Manual Salvage
[x] Salvage All (Toolbox)
[ ] Drop
[ ] Trash

Still working on this; opened a draft PR to start receiving feedback.

How can I prevent Manual Salvage / Drop / Trash packets from being triggered when a locked item is the target?

What is a more optimal way to calculate a unique identifier for an item?

Currently merging the full mod_struct, is heavy

No easy way to generate a true identifier for an item, it depends on use case e.g dye info, customised to etc. A full mod struct combined with a model id is the most sane way to do this for most scenarios, but if you don’t care about mods then name id would be another option

Salvage, drop and trash actions (not packets) would need to be blocked further up the chain to avoid ui elements looking buggy, I’ll see if I can hook it in a good place at some point

I believe we will need to do full mod struct + model id to handle the use cases I see, I'll think about if name + model id works, but inscriptions & requirements aren't maintained in that case.
Noted on salvage/drop/trash actions, it's greatly appreciated.
Please let me know if there is anything I can do to assist.

For transparency, I won't be able to loop back to this until late November as I'm occupied preparing for WebSummit Lisbon.

no problem, feel free to finish it when you have the time


Compile error when including PutItemRequest.h header file

I compiled AWS SDK C++ for Windows .  I am using VS2013 and32-bit.  I am going to use DynamoDB.  When I include the header for PutItemRequest, I get the following compile error below.  This is without touching the code.  Can you help fix this compile error?  Thanks
D:\projects\GitHub\vc-logidpp\Logitech\Common\3rdparty\aws-1.1\aws/dynamodb/model/ComparisonOperator.h(31) : error C2059: syntax error : ','
D:\projects\GitHub\vc-logidpp\Logitech\Common\3rdparty\aws-1.1\aws/dynamodb/model/ComparisonOperator.h(31) : error C3805: ',': unexpected token, expected either '}' or a ','

There was a similar unanswered issue posted by someone on stackoverflow
https://stackoverflow.com/questions/39199111/putitemrequest-results-in-errors

Which version of the sdk are you using?
On Tue, Jul 18, 2017 at 5:53 PM Edwin Estrada<EMAIL_ADDRESS>wrote:

There was a similar unanswered issue posted by someone on stackoverflow
https://stackoverflow.com/questions/39199111/putitemrequest-results-in-errors
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316240560,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTsCMPMhuEOVvCV8RW6GyTYo0ABIO4kks5sPVOlgaJpZM4OcF91
.

--
Best Regards!
Liang.
Software Engineer
Game Developer

From VersionConfig.h in aws-cpp-sdk-core , it says 1.1.10
Regards,
-----
Edwin Estrada,
Office:
510.713.4821
Cellphone:408.429.3664
Skype:eestrada2011
Logitech, Inc.
On Tue, Jul 18, 2017 at 5:59 PM, Andrew (Liang) Tang <
<EMAIL_ADDRESS>wrote:

Which version of the sdk are you using?
On Tue, Jul 18, 2017 at 5:53 PM Edwin Estrada<EMAIL_ADDRESS>wrote:

There was a similar unanswered issue posted by someone on stackoverflow
https://stackoverflow.com/questions/39199111/putitemrequest-results-in-
errors
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316240560,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ADTsCMPMhuEOVvCV8RW6GyTYo0ABIO4kks5sPVOlgaJpZM4OcF91>
.

--
Best Regards!
Liang.
Software Engineer
Game Developer
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316241408,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3agZHmVlksffeNPoU8Gie3EyGaCDTGks5sPVTlgaJpZM4OcF91
.

It's not the version, there's probably a #define somewhere that's making the syntax invalid.  What windows headers have you included? If you move them below your aws includes what happens?
Sent from my iPhone

On Jul 18, 2017, at 6:05 PM, Edwin Estrada<EMAIL_ADDRESS>wrote:
From VersionConfig.h in aws-cpp-sdk-core , it says 1.1.10
Regards,
-----
Edwin Estrada,
Office:
510.713.4821
Cellphone:408.429.3664
Skype:eestrada2011
Logitech, Inc.
On Tue, Jul 18, 2017 at 5:59 PM, Andrew (Liang) Tang <
<EMAIL_ADDRESS>wrote:

Which version of the sdk are you using?
On Tue, Jul 18, 2017 at 5:53 PM Edwin Estrada<EMAIL_ADDRESS>wrote:

There was a similar unanswered issue posted by someone on stackoverflow
https://stackoverflow.com/questions/39199111/putitemrequest-results-in-
errors
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316240560,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ADTsCMPMhuEOVvCV8RW6GyTYo0ABIO4kks5sPVOlgaJpZM4OcF91>
.

--
Best Regards!
Liang.
Software Engineer
Game Developer
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316241408,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3agZHmVlksffeNPoU8Gie3EyGaCDTGks5sPVTlgaJpZM4OcF91
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The class I am creating is barely empty right now. I attached them, but I
have other classes that uses Windows headers for kernel streaming and hid
#include <windows.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include <stdio.h>
#define INLINE inline
#define DEBUG_DRVSYS _T("LVDMService")
#include <initguid.h>
#include <amstream.h>
#include <uuids.h>
#include <Setupapi.h>
#include <tlhelp32.h>
#include <ks.h>
#include <ksmedia.h>
#include <dbt.h>
#include <HidClass.h>
#include <HidUsage.h>
extern "C" {
#include <hidsdi.h>
#include <winioctl.h>
}
Regards,
-----
Edwin Estrada,
Office:
510.713.4821
Cellphone:408.429.3664
Skype:eestrada2011
Logitech, Inc.
On Tue, Jul 18, 2017 at 6:09 PM, Jonathan M. Henson <
<EMAIL_ADDRESS>wrote:

It's not the version, there's probably a #define somewhere that's making
the syntax invalid. What windows headers have you included? If you move
them below your aws includes what happens?
Sent from my iPhone

On Jul 18, 2017, at 6:05 PM, Edwin Estrada<EMAIL_ADDRESS>wrote:
From VersionConfig.h in aws-cpp-sdk-core , it says 1.1.10
Regards,
-----

Edwin Estrada,
Office:
510.713.4821 <(510)%20713-4821>
Cellphone:408.429.3664 <(408)%20429-3664>
Skype:eestrada2011
Logitech, Inc.
On Tue, Jul 18, 2017 at 5:59 PM, Andrew (Liang) Tang <
<EMAIL_ADDRESS>wrote:

Which version of the sdk are you using?
On Tue, Jul 18, 2017 at 5:53 PM Edwin Estrada <
<EMAIL_ADDRESS>wrote:

There was a similar unanswered issue posted by someone on
stackoverflow
https://stackoverflow.com/questions/39199111/
putitemrequest-results-in-
errors
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/aws/aws-sdk-cpp/issues/615#
issuecomment-316240560>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ADTsCMPMhuEOVvCV8RW6GyTYo0ABIO4kks5sPVOlgaJpZM4OcF91>
.

--
Best Regards!
Liang.
Software Engineer
Game Developer
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316241408
,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AH3agZHmVlksffeNPoU8Gie3EyGaCDTGks5sPVTlgaJpZM4OcF91>
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316242924,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3agaYY6QHN_DFiCpNN9Qkz8-Q-rJd3ks5sPVdLgaJpZM4OcF91
.

one of those header files has
#define IN
somewhere. If you can find it, we can find a solution for you.
Sent from my iPhone

On Jul 18, 2017, at 6:20 PM, Edwin Estrada<EMAIL_ADDRESS>wrote:
The class I am creating is barely empty right now. I attached them, but I
have other classes that uses Windows headers for kernel streaming and hid
#include <windows.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include <stdio.h>
#define INLINE inline
#define DEBUG_DRVSYS _T("LVDMService")
#include <initguid.h>
#include <amstream.h>
#include <uuids.h>
#include <Setupapi.h>
#include <tlhelp32.h>
#include <ks.h>
#include <ksmedia.h>
#include <dbt.h>
#include <HidClass.h>
#include <HidUsage.h>
extern "C" {
#include <hidsdi.h>
#include <winioctl.h>
}
Regards,
-----
Edwin Estrada,
Office:
510.713.4821
Cellphone:408.429.3664
Skype:eestrada2011
Logitech, Inc.
On Tue, Jul 18, 2017 at 6:09 PM, Jonathan M. Henson <
<EMAIL_ADDRESS>wrote:

It's not the version, there's probably a #define somewhere that's making
the syntax invalid. What windows headers have you included? If you move
them below your aws includes what happens?
Sent from my iPhone

On Jul 18, 2017, at 6:05 PM, Edwin Estrada<EMAIL_ADDRESS>wrote:
From VersionConfig.h in aws-cpp-sdk-core , it says 1.1.10
Regards,
-----

Edwin Estrada,
Office:
510.713.4821 <(510)%20713-4821>
Cellphone:408.429.3664 <(408)%20429-3664>
Skype:eestrada2011
Logitech, Inc.
On Tue, Jul 18, 2017 at 5:59 PM, Andrew (Liang) Tang <
<EMAIL_ADDRESS>wrote:

Which version of the sdk are you using?
On Tue, Jul 18, 2017 at 5:53 PM Edwin Estrada <
<EMAIL_ADDRESS>wrote:

There was a similar unanswered issue posted by someone on
stackoverflow
https://stackoverflow.com/questions/39199111/
putitemrequest-results-in-
errors
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/aws/aws-sdk-cpp/issues/615#
issuecomment-316240560>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ADTsCMPMhuEOVvCV8RW6GyTYo0ABIO4kks5sPVOlgaJpZM4OcF91>
.

--
Best Regards!
Liang.
Software Engineer
Game Developer
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316241408
,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AH3agZHmVlksffeNPoU8Gie3EyGaCDTGks5sPVTlgaJpZM4OcF91>
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316242924,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3agaYY6QHN_DFiCpNN9Qkz8-Q-rJd3ks5sPVdLgaJpZM4OcF91
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes.  Its a name colission.  I have several methods that looks like below.
The IN is defined in 'minwindef.h'.  Its from Microsoft.
extern "C"
{
__declspec(dllimport)

DWORD

WINAPI

CM_Get_Parent(

	OUT PDWORD pdwDevInst,

	IN DWORD dwDevInst,

	IN ULONG ulFlags

	);

}
Regards,
-----
Edwin Estrada,
Office:
510.713.4821
Cellphone:408.429.3664
Skype:eestrada2011
Logitech, Inc.
On Tue, Jul 18, 2017 at 6:41 PM, Jonathan M. Henson <
<EMAIL_ADDRESS>wrote:

one of those header files has
#define IN
somewhere. If you can find it, we can find a solution for you.
Sent from my iPhone

On Jul 18, 2017, at 6:20 PM, Edwin Estrada<EMAIL_ADDRESS>wrote:
The class I am creating is barely empty right now. I attached them, but I
have other classes that uses Windows headers for kernel streaming and hid
#include <windows.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include <stdio.h>
#define INLINE inline
#define DEBUG_DRVSYS _T("LVDMService")
#include <initguid.h>
#include <amstream.h>
#include <uuids.h>
#include <Setupapi.h>
#include <tlhelp32.h>
#include <ks.h>
#include <ksmedia.h>
#include <dbt.h>
#include <HidClass.h>
#include <HidUsage.h>
extern "C" {
#include <hidsdi.h>
#include <winioctl.h>
}
Regards,
-----
Edwin Estrada,
Office:
510.713.4821 <(510)%20713-4821>
Cellphone:408.429.3664 <(408)%20429-3664>
Skype:eestrada2011
Logitech, Inc.
On Tue, Jul 18, 2017 at 6:09 PM, Jonathan M. Henson <
<EMAIL_ADDRESS>wrote:

It's not the version, there's probably a #define somewhere that's
making
the syntax invalid. What windows headers have you included? If you move
them below your aws includes what happens?
Sent from my iPhone

On Jul 18, 2017, at 6:05 PM, Edwin Estrada<EMAIL_ADDRESS>

wrote:

From VersionConfig.h in aws-cpp-sdk-core , it says 1.1.10
Regards,
-----

Edwin Estrada,
Office:
510.713.4821 <(510)%20713-4821> <(510)%20713-4821>
Cellphone:408.429.3664 <(408)%20429-3664> <(408)%20429-3664>

Skype:eestrada2011
Logitech, Inc.
On Tue, Jul 18, 2017 at 5:59 PM, Andrew (Liang) Tang <
<EMAIL_ADDRESS>wrote:

Which version of the sdk are you using?
On Tue, Jul 18, 2017 at 5:53 PM Edwin Estrada <
<EMAIL_ADDRESS>wrote:

There was a similar unanswered issue posted by someone on
stackoverflow
https://stackoverflow.com/questions/39199111/
putitemrequest-results-in-
errors
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/aws/aws-sdk-cpp/issues/615#
issuecomment-316240560>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ADTsCMPMhuEOVvCV8RW6GyTYo0ABIO4kks5sPVOlgaJpZM4OcF91>
.

--
Best Regards!
Liang.
Software Engineer
Game Developer
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/aws/aws-sdk-cpp/issues/615#
issuecomment-316241408
,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AH3agZHmVlksffeNPoU8Gie3EyGaCDTGks5sPVTlgaJpZM4OcF91>
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316242924
,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH3agaYY6QHN_
DFiCpNN9Qkz8-Q-rJd3ks5sPVdLgaJpZM4OcF91>
.

—
You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316247439,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3agco5jFyXHE-3hbrRzRm3ChGQizZDks5sPV7cgaJpZM4OcF91
.

Have you tried to move includes of Windows headers after AWS headers as Jonathan suggested?

Hi
Moving is not possible since  these headers belong to other classes not
pertaining to my Aws class.  Also, as you can see from my previous
attachment, I dont have any Windows header from my Aws class.
I think there has to be other way to solve this issue.
Regards,
-----
Edwin Estrada,
Office:
510.713.4821
Cellphone:408.429.3664
Skype:eestrada2011
Logitech, Inc.
On Wed, Jul 19, 2017 at 10:29 AM, Andrew (Liang) Tang <
<EMAIL_ADDRESS>wrote:

Have you tried to move includes of Windows headers after AWS headers as
Jonathan suggested?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316459503,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3agRpIb-ENmMDxDxkAXwkF59GMU8UCks5sPjzogaJpZM4OcF91
.

Then move the headers where other classes in after AWS headers.

@logieestrada Are you able to solve the problem?

I tried moving the headers around but that didnt resolve anything. I was
getting the same build errors as before.
I tried below and seems to be working
#ifdef WIN32 // done this way since Aws has macro that collides with
Microsoft macros
#ifdef IN
#undef IN
#include <aws/dynamodb/model/PutItemRequest.h>
#else
#include <aws/dynamodb/model/PutItemRequest.h>
#endif
#endif
Regards,
-----
Edwin Estrada,
Office:
510.713.4821
Cellphone:408.429.3664
Skype:eestrada2011
Logitech, Inc.
On Thu, Jul 20, 2017 at 10:28 AM, Andrew (Liang) Tang <
<EMAIL_ADDRESS>wrote:

@logieestrada https://github.com/logieestrada Are you able to solve the
problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-316774476,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3agSk1LBx4bO_nu7wD5JL3sLvL9S8Vks5sP44vgaJpZM4OcF91
.

Why are you including PutItemRequest.h on both branches of "ifdef IN" ?
#ifdef IN
#undef IN
#endif
#include <aws/dynamodb/model/PutItemRequest.h>

(put #ifdef WIN32 around it if required).

Thanks for catching that.  I use the same header for Mac OS.  Here is my
updated header
#ifdef WIN32  // done this way since Aws has macro that collides with
Microsoft macros
#ifdef IN
#undef IN
#endif
#endif
#include <aws/dynamodb/model/PutItemRequest.h>
Regards,
-----
Edwin Estrada,
Office:
510.713.4821
Cellphone:408.429.3664
Skype:eestrada2011
Logitech, Inc.
On Mon, Jul 24, 2017 at 6:13 AM, Ráduly, Csaba<EMAIL_ADDRESS>wrote:

Why are you including PutItemRequest.h on both branches of "ifdef IN" ?
#ifdef IN
#undef IN
#endif
#include <aws/dynamodb/model/PutItemRequest.h>
(put #ifdef WIN32 around it if required).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/615#issuecomment-317418276,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3agXNUX6o_OOSkM2Bbtu9toxFB8pgFks5sRJhqgaJpZM4OcF91
.

Since you mentioned that windows headers are included by another header (say A) and your code include A and AWS header (say B). I am curious what errors would you meet if you include B before A.

@logieestrada are you still having an issue?

@logieestrada are you still having an issue?


OpenCV 3 not detect VTK with QT 5

When I install OpenCV 3.1 (HEAD) with homebrew OpenCV not detect VTK. When I tried without QT 5 that is detect.
Also says Your PYTHONPATH points to a site-packages dir for Python 2.x but you are running Python 3.x! and does not detect python3.
my installation code is;
brew -v install --with-contrib --with-cuda --with-ffmpeg --with-gphoto2 --with-gstreamer --with-java --with-libdc1394 --with-opengl --with-openni2 --with-python3 --with-qt --with-qt5 --with-vtk --with-tbb --without-tests --without-python  --HEAD opencv3
my system

OpenCV version: 3.1(HEAD)
Host OS: Mac OS X 10.11.3
VTK Version : 7.1
QT Version : 5

What is wrong and have any idea?

We don't maintain homebrew OpenCV package.
Try to check issues list there and ask/report problem if nothing is found: https://github.com/Homebrew/homebrew-science/issues

VTK 7 - duplicate of #6180
Python message - external problem, seems not related to OpenCV, because we don't touch PYTHONPATH


deployed project showing empty webpage

I followed steps in the document and was able to successfully deploy my dev environment:
Packaging project as zip...
Uploading zip (17.3MiB)...
Scheduling keep-warm..
Creating API Gateway routes (this only happens once)..
1008it [01:49,  9.35it/s]
Deploying API Gateway..
Deployed! [Link to my webpage]

But when I go to the link, the page is blank.
The only error in the console I found is: GET https://bvdv0ovtg5.execute-api.us-east-1.amazonaws.com/favicon.ico 403 (Forbidden)
I'm not sure what went wrong. My project is using Flask. It used external python libraries but all the libraries are included in requirements.txt. I used pip install -r requirements.txt to make sure all libraries are installed. In the virtual environment, I was able to successfully run the server (with host="<IP_ADDRESS>", I removed host="<IP_ADDRESS>" when deploying) and access my webpage. The client side uses JavaScript, html and css and is hosted as static files in Flask.

The URLs without domains will always be in the form
https://{{api_id}}.execute-api.us-east-1.amazonaws.com/{{project_stage}}
You can check the logs by typing zappa tail, what does it say?

Static files should be hosted on S3 directly using something like https://flask-s3.readthedocs.io/en/latest/, not served through APIGW.

the logs:
[1471481122139] Unable to import module 'handler': No module named werkzeug.wrappers [1471481181300] Unable to import module 'handler': No module named werkzeug.wrappers [1471481219644] Unable to import module 'handler': No module named werkzeug.wrappers [1471481316470] Unable to import module 'handler': No module named werkzeug.wrappers [1471481333828] Unable to import module 'handler': No module named werkzeug.wrappers [1471481348092] Unable to import module 'handler': No module named werkzeug.wrappers [1471481414519] Unable to import module 'handler': No module named werkzeug.wrappers [1471481475697] Unable to import module 'handler': No module named werkzeug.wrappers [1471481600894] Unable to import module 'handler': No module named werkzeug.wrappers [1471481714821] Unable to import module 'handler': No module named werkzeug.wrappers [1471481770002] Unable to import module 'handler': No module named werkzeug.wrappers [1471555707799] module initialization error: Attempted relative import in non-package [1471555767964] module initialization error: Attempted relative import in non-package [1471555774653] module initialization error: Attempted relative import in non-package [1471555788579] module initialization error: Attempted relative import in non-package [1471555818161] module initialization error: Attempted relative import in non-package [1471555837392] module initialization error: Attempted relative import in non-package [1471555882125] module initialization error: Attempted relative import in non-package [1471556004934] module initialization error: Attempted relative import in non-package [1471556071107] module initialization error: Attempted relative import in non-package [1471556206269] module initialization error: Attempted relative import in non-package [1471556727149] module initialization error: Attempted relative import in non-package [1471556790315] module initialization error: Attempted relative import in non-package [1471556813067] module initialization error: Attempted relative import in non-package [1471556850862] module initialization error: Attempted relative import in non-package [1471556924482] module initialization error: Attempted relative import in non-package [1471556974607] module initialization error: Attempted relative import in non-package [1471557026124] module initialization error: Attempted relative import in non-package [1471557080284] module initialization error: Attempted relative import in non-package [1471557189462] module initialization error: Attempted relative import in non-package [1471557221408] module initialization error: Attempted relative import in non-package [1471557227288] module initialization error: Attempted relative import in non-package [1471557326456] module initialization error: Attempted relative import in non-package [1471557386620] module initialization error: Attempted relative import in non-package [1471557520779] module initialization error: Attempted relative import in non-package [1471557627888] module initialization error: Attempted relative import in non-package [1471557641271] module initialization error: Attempted relative import in non-package [1471557659275] module initialization error: Attempted relative import in non-package [1471557684048] module initialization error: Attempted relative import in non-package

Ah.
Does this fix it? https://github.com/Miserlou/Zappa/issues/107
Related? https://github.com/Miserlou/Zappa/issues/260
https://github.com/Miserlou/Zappa/issues/177

Did you install with pip install -e?

I installed zappa in the global environment, I removed it and reinstalled it into my virtual environment and I'm trying to deploy it again

So now in the console of my browser it shows the error: GET https://r614tq1mid.execute-api.us-east-1.amazonaws.com/static/assets/css/style.css 403 (Forbidden)
It's because I'm hosting JavaScript and css files in Flask? And I need to use https://flask-s3.readthedocs.io/en/latest/ instead?
I have in my code:
# host the static files @app.route("/") def root():     return app.send_static_file("index.html")
All my JavaScript and css files are in ./static/assets/ folder

Yeah, you just need to use a different host for your static files like the one linked about, that's outside the scope of Zappa but could do with better documentation. Is everything else working?

Can I ask what you're using Zappa for here? Your research looks interesting!

I hosted my static files using flask_s3, but on the zappa side, it still cannot find the static files
GET https://r614tq1mid.execute-api.us-east-1.amazonaws.com/static/assets/css/style.css 403 (Forbidden)
I think it's because according to the document here: https://flask-s3.readthedocs.io/en/latest/ the static files will be in https://mybucketname.s3.amazonaws.com/static, I am able to retrieve my static files through this link (such as https://mybucketname.s3.amazonaws.com/static/css/style.css, it does not show the page, but pops up a download). But the above error shows that when I open https://r614tq1mid.execute-api.us-east-1.amazonaws.com/dev, it is looking for https://r614tq1mid.execute-api.us-east-1.amazonaws.com/static/assets/css/style.css. How do I fix it?
I'm using Zappa to deploy my project on AWS (I could just simply use python myProject.py to run the server and host the static files on a public server, but my mentor wants me to use AWS). The project is a web map that integrates Linked Data with geocoding services.

There are two issues there, one is that you need to have your apps templates point to your static files, using the url_for function, described here: https://flask-s3.readthedocs.io/en/latest/
The other issue is that you need to make sure that your S3 bucket is public and that the MIME-types are set correctly.
This should work locally before you deploy, so test that.

now I figured out how to host but I got this error when trying to do queries from the client side:

is there a way to use "http" or fix this error? or do I have to change all my http requests into https in my code?

Zappa can only operate over HTTPS. In 2016, you simply shouldn't use plain HTTP for anything ever.

Your urls are also wrong. You'll need to add your API stage as a trailing slash, or deploy to a domain.

in the client side javascript, I send requests to the flask server:
@app.route("/search", methods=["GET"]),
I guess this is causing the issue? I did include jquery as "https//.../"
When I run it locally, I can see in my log that it is using http:
2016-08-18 19:44:59,090 - werkzeug - INFO - <IP_ADDRESS> - - [18/Aug/2016 19:44:59] "GET /search?lat=37.78099559183637&lon=-122.47975630481376 HTTP/1.1" 200 -
So I need to change my flask code to make it https?

You'll need to add your API stage as a trailing slash, or deploy to a domain.

Could you explain what you mean?

In your zappa_settings, you called your stage something like "dev" or "production".
Your URL will be in the form https://blah-blah.execute-api.blah-region-blah.amazonaws.com/dev/search?lat=37.78099559183637&lon=-122.47975630481376

I used "dev" and deployed it using zappa deploy dev. So I need to add "/dev" before "search" in my jquery get request?
Sent from my mobile device. Apologies for the brevity.
On Aug 18, 2016, at 7:58 PM, Rich Jones <notifications<EMAIL_ADDRESS>wrote:
In your zappa_settings, you called your stage something like "dev" or "production".
Your URL will be in the form https://blah-blah.execute-api.blah-region-blah.amazonaws.com/dev/search?lat=37.78099559183637&lon=-122.47975630481376

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Miserlou/Zappa/issues/262#issuecomment-240915287, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALtp_yWQYEzghDKBu7mLmTPbarzPgN3Mks5qhRvUgaJpZM4Jn9VJ.

So what was your result?

it's sort of "working", but there is some issue with css, not sure what the problem is.
https://txr9m0r5e4.execute-api.us-east-1.amazonaws.com/dev
my "style.css" static file is loaded (shown in the network panel in chrome), but the styles are not applied. I you click somewhere on the map, there is supposed to be a snipper showing and make the background gray when doing the queries. But this one does not apply the css styles.
http://stko-testing.geog.ucsb.edu:5000/
This one is the same as the aws hosted one and the styles are applied successfully.

The error is pretty clear, S3 is serving your CSS with the wrong MIME-type.
14:12:14.816 The stylesheet
https://testldg1.s3.amazonaws.com/static/assets/css/style.css was not
loaded because its MIME type, "binary/octet-stream", is not "text/css".1 dev
On Fri, Aug 19, 2016 at 2:11 PM, Bo Yan<EMAIL_ADDRESS>wrote:

it's sort of "working", but there is some issue with css, not sure what
the problem is.
https://txr9m0r5e4.execute-api.us-east-1.amazonaws.com/dev
my "style.css" static file is loaded (shown in the network panel in
chrome), but the styles are not applied. I you click somewhere on the map,
there is supposed to be a snipper showing and make the background gray when
doing the queries. But this one does not apply the css styles.
http://stko-testing.geog.ucsb.edu:5000/
This one is the same as the aws hosted one and the styles are applied
successfully.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Miserlou/Zappa/issues/262#issuecomment-241136284, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIi07Q6lJuQFOlU551LrgM6xc9ZVpPeks5qhhv0gaJpZM4Jn9VJ
.

now I changed it to text/css

but it is still not applied.

did you hit save
On Fri, Aug 19, 2016 at 2:27 PM, Bo Yan<EMAIL_ADDRESS>wrote:

now I changed it to text/css
[image: image]
https://cloud.githubusercontent.com/assets/12282367/17824801/f8e1b89c-6618-11e6-9e13-2b9970abbf35.png
but it is still not applied.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Miserlou/Zappa/issues/262#issuecomment-241139727, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIi0weZzoipH3YcUsy2rVJsDLZftMKVks5qhh-vgaJpZM4Jn9VJ
.

yes....tried refreshing multiple times and tried zappa update dev as well

works for me, could just be cached on your machine
On Fri, Aug 19, 2016 at 2:30 PM, Bo Yan<EMAIL_ADDRESS>wrote:

yes....tried refreshing multiple times and tried zappa update dev as well
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Miserlou/Zappa/issues/262#issuecomment-241140352, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIi07Bq2loHDlEGCgbRKWMqFbYbhAVZks5qhiBdgaJpZM4Jn9VJ
.

Gonna close this now, none of this issues had anything to do with Zappa. Thanks for using!


New Workflow Submission - Migrate and transform large CSV data sets to Amazon DynamoDB using AWS Step Functions Distributed Map feature

To submit a workflow to the Step Functions Workflows Collection, submit an issue with the following information.
Pull request # 239
To learn more about submitting a workflow, read the publishing guidelines page.

Use the model template located at https://github.com/aws-samples/step-functions-workflows-collection/tree/main/_workflow_model to set up a README, template and any associated code.

All the information below must be provided in the "example-workflow.json" file cloned from the model **

Note the following information for the model:

Description (introBox.text) should be a 300-500 word explanation of how the pattern works.
Simplicity: must be 1 of (1 - Fundamental, 2 -  Pattern, 3 - Application )
Diagram: This must link to an Exported PNG of the workflow that shows any service integrations, you can export this from Workflow studio.
Type: Must be one of (Standard, Express)
Resources should link to AWS documentation and AWS blogs related to the post (1-5 maximum).
Framework: currently, we support SAM or CDK.
Author bio may include a LinkedIn and/or Twitter reference and a 1-sentence bio.

You must ensure that the sections of the model README.md are completed in full.

merged


The Julia SciML Ecosystem: Scientific Machine Learning as a Software Problem - Chris Rackauckas

References

Video: The Julia SciML Ecosystem: Scientific Machine Learning as a Software Problem
Speaker: @ChrisRackauckas (@SciML)

Timestamps
00:00 Overview
00:21 Objective: The aim of the SciML ecosystem
01:24 Definition: What is scientific machine learning
02:45 Example: An application to ocean columns modelling
07:25 Hard Problem: How to fit a neural network inside a simulator
10:59 No Silver Bullet: Different adjoint methods for different problems
13:24 SciML vs. The Rest: A comparison with other libraries in other languages
14:38 SciML Today: The current state of the SciML ecosystem
15:35 Conclusion: Further developments

Thank you, added!


feat: implement 0x47 - SELFBALANCE Opcode

SinceGroupIstanbulBlock InformationIndex 1 is top of the stack. See PUSH.NotesSemantically equivalent of calling BALANCE with ADDRESS as parameter, but with a reduced gas cost.Stack outputbalance: balance of the current account in wei.ExampleInputOutput19Reproduce in playground.Error casesThe state changes done by the current context are reverted in those cases:Not enough gas.Stack overflow.

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this link everytime you take an issue and check your issue isn't targeted by a known bug.

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this tracking issue everytime you take an issue and check your issue isn't targeted by a known bug. Will add this reminder in many places to make sure we keep track of known bugs.