anchore feeds list/sync cause certificate verify failed

Hello, I have installed Anchore Scanner on my own centos7 host, all other commands are ok except the command "anchore feeds list/sync". It raised errors as follows:
$ anchore feeds list
| ERROR could not sync feed metadata from service: cannot get list of feeds from service
| Message from server: "connection timed out: increase anchore_auth_conn_timeout higher or try again"
Then I try to debug the code:
headers = {'x-anchore-password': password}
try:
import pdb;pdb.set_trace()
r = requests.get(url, headers=headers, timeout=conn_timeout)
except:
# print "request timed out"
ret['text'] = json.dumps("connection timed out: increase anchore_auth_conn_timeout higher or try again")
return (False, ret)
Then it raise the true error as follows:
$ anchore feeds list
| ERROR could not sync feed metadata from service: cannot get list of feeds from service
| Message from server: server error: HTTPSConnectionPool(host='ancho.re', port=443): Max retries exceeded with url<EMAIL_ADDRESS>(Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)'),))
I use all default config so I can not figure out this problem. so I need team's help, thanks!
I wonder if the user/pwd provided in code<EMAIL_ADDRESS>is expired?

@mkloveyy This project is the older command line analyzer which has since been merged into the Anchore Engine https://github.com/anchore/anchore-engine. This standalone scanner is effectively deprecated
Have you taken a look at the Engine?
re: your actual error with certificate validation failing, is there  a chance that there's some SSL interception going on (eg if you're in a corporate office that's doing SSL stripping for deep packet inspection?)

@acathrow Thank you for your prompt reply. It seems that Anchore Engine is more comprehensive and flexible and  I am going to try it.


multiple fixes

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

client/lib/amqp-common/auth/aad.ts
:white_check_mark:Succeeded

client/lib/amqp-common/errors.ts
:white_check_mark:Succeeded

client/lib/amqp-common/index.ts
:white_check_mark:Succeeded

client/lib/amqp-common/util/constants.ts
:white_check_mark:Succeeded

client/lib/eventHubClient.ts
:white_check_mark:Succeeded

client/lib/eventHubSender.ts
:white_check_mark:Succeeded

client/lib/linkEntity.ts
:white_check_mark:Succeeded

client/tsconfig.json
:white_check_mark:Succeeded

processor/tsconfig.json
:white_check_mark:Succeeded

processor/tslint.json
:white_check_mark:Succeeded

testhub/commands/receive.ts
:white_check_mark:Succeeded

testhub/commands/send.ts
:white_check_mark:Succeeded

testhub/utils/util.ts
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Maven Central Repo missing CVE-2016-0779 vulnerability info for Apache Tomcat

Maven's central repo does not list CVE-2016-0779 (or CVE-2015-8581, which NVD marked as a dupe of it) as a vulnerability of any version of Apache Tomcat, even though the PoV introduced by #16 proves its existence in several versions of both org.apache.openejb:apache-tomee (before 1.7.4), and org.apache.tomee:apache-tomee (before 7.0.0-M3). More details in the README for #16.
This issue is just a reminder that we should inform Maven Central about this.

Related: GitHub's GHSA for this is not yet "reviewed", and lists "Affected versions" and "Patched versions" as "Unknown". Prod them, or maybe review it ourselves?

I am not sure whether we can review them, I assume this has to be done by somebody from GitHub.  I guess what we could definitely do is to add the affected / patched versions using the improvement option in the GHSA entry.  This will create a PR.  @wtwhite  could you do this please ?

This is an interesting one as TomEE is a server, not just a library. As such I wonder how likely it is that we find copies. We had discussed at some stage to ignore frameworks, application servers etc to reduce the size of the dataset in a principled way, but now that the work is done we should definitely keep it. Let's see how much we find !

I am not sure whether we can review them, I assume this has to be done by somebody from GitHub. I guess what we could definitely do is to add the affected / patched versions using the improvement option in the GHSA entry. This will create a PR. @wtwhite could you do this please ?

I think we go with the best information we have in such cases, which is NVD here, and manually populate the pov-project.json as was done in #16. I would not((!) try to argue about vulnerable versions with db owners like GHSA, because our PoV analysis only approximates detection of the vulnerability and their team is probably aware of an ongoing analysis (thus the NVD status: "awaiting reanalysis")


Add failure handling to REST Call

Interesting side effect I found in testing this, depending on what the REST timeout call is set to, you may still get "FAILED" even though http-barista is there because of the random delay in responding.
Think it highlights everything nicely


help with custom animations

trying to code a custom animation, but it completely removes the clantag when activated, ideas would be appreciated
if (config->misc.customClanTag) {
    static std::string clanTag;
    size_t clantagSize = clanTag.size();
    std::string spacesText(clantagSize, ' ');

    if (config->misc.animatedClanTag) {
        clanTag = spacesText + clanTag + spacesText;
        for (int i = 0; i < clantagSize * 2; i++)
            std::cout << clanTag.substr(i, clantagSize) << std::endl;

        memory->setClanTag(clanTag.c_str(), clanTag.c_str());
    }

Do you even know what you're doing?

why else do you think i'm asking for help?

This is extremely incorrect. You are running a for statement with the clantagSize * 2, which makes no sense. You're also printing to console for no reason. Your clanTag variable is never assigned, you're doing clanTag = spacesText + clanTag + spacesText; which just makes the clantag 2 spaces...


Fix the Inspiring Blow ability, Add the Tremor stomp ability to the mammoth

Add the Ragetotem Tribe quest


Added versioning to the UBamCollectionService

… before it's merged into develop.
Since this endpoint will always require a version, doesn't need extra checking if the version optionally is there or not.

@ssaucedo This PR adds versioning to your branch, used in the other PR. Please review the changes, and merge and/or close this PR as you'd like after adding versioning to your branch.


Module directory checking and updating

After seeing a update message, I thought about updating my container and checked your repo first to see if it handled updating the default modules.
Looking at this script, you are checking if /opt/magic_mirror/modules is a regular file, not a directory
https://github.com/bastilimbach/docker-MagicMirror/blob/0d92ce00bbf014606ebf784bdf77a52c5124ef62/docker-entrypoint.sh#L3
This means every time the entry script is invoked it will copy over everything from /opt/default_modules/. This also does not account for files that are not present anymore in the defaults
I forked your repo to see if I could come up with a way of solving the issue, so far i have changed the check to see if the /opt/magic_mirror/modules/default folder exists and move all my modules in a sub folder, but that makes adding modules also more complicated, requiring the subdir in the name or compiling a js file that defines all modules like the default folder has (this would involve making a script to compile this file each boot).
Another idea was to store and check for a version file in the module directory to see if it needs updating.
What do you think would be a good idea to go about solving this?

Thanks for reporting the issue. I'll take a look at this next week 👍


Added glowing dots effects

Description
Added glowing dot effects
Fixes:  #666

Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have made this from my own
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

do you want to say anything @aaryahjolia ?


No ESP8266_01 network

Hi,
Just flashed the sketch on a nodemcu and on a wemos d1 mini, unfortunately not ESP8266_01 network is visible on first boot.
What could I be missing?
Thanks !

Hi Zangaby,
Follow the steps:
https://youtu.be/T1Ul7iN72lI?t=243
Our check the full video.
It has to work!
Best regards,
Lampenschakelen

Hi Lampenschakelen,
Thank you for your reply!
I used these boards with a different project before and it seems that the credentials were not overwritten because I noticed the board was automatically connecting to the AP (thanks for the video where it was showing that it's going thru the rainbow effect when connected).
Marry Christmas !
Best regards,
zangaby


[SPARK-17761][SQL] Remove MutableRow

What changes were proposed in this pull request?
In practice we cannot guarantee that an InternalRow is immutable. This makes the MutableRow almost redundant. This PR folds MutableRow into InternalRow.
This might be somewhat controversial, so feedback is appreciated.
How was this patch tested?
Existing tests.

Test build #66270 has started for PR 15333 at commit 7321c05.

cc @cloud-fan we have discussed this in your MutableProjection PR.

Test build #66270 has finished for PR 15333 at commit 7321c05.

This patch fails to build.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class MutableUnsafeRow(val writer: UnsafeRowWriter) extends BaseGenericInternalRow(null)

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66270/
Test FAILed.

Test build #66275 has started for PR 15333 at commit 8f2a17d.

Test build #66275 has finished for PR 15333 at commit 8f2a17d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66275/
Test FAILed.

Test build #66277 has started for PR 15333 at commit c1eb96c.

Test build #66277 has finished for PR 15333 at commit c1eb96c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66277/
Test FAILed.

Test build #66286 has started for PR 15333 at commit 09d533a.

Test build #66286 has finished for PR 15333 at commit 09d533a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66286/
Test PASSed.

Would be nice to add a simple example to illustrate why we can't ensure that a GenericInternalRow is immutable. For example, for a GenericInternalRow with a StructType field, it's legal to put a MutableRow into the cell. This essentially makes the outer GenericInternalRow mutable. (In fact, we are already doing this in Spark, either intentionally or unintentionally.)

Test build #66327 has started for PR 15333 at commit 6d83f58.

Test build #66327 has finished for PR 15333 at commit 6d83f58.

This patch fails to build.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class UnsafeAlignedOffset
case class ColumnStat(statRow: InternalRow)
case class NumericColumnStat[T <: AtomicType](statRow: InternalRow, dataType: T)
case class StringColumnStat(statRow: InternalRow)
case class BinaryColumnStat(statRow: InternalRow)
case class BooleanColumnStat(statRow: InternalRow)
case class AnalyzeColumnCommand(
case class AnalyzeTableCommand(

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66327/
Test FAILed.

Merged build finished. Test FAILed.

Test build #66330 has started for PR 15333 at commit b650c86.

This seems like a reasonable simplification to me.  A little bit of history (though this has diverged significantly, so don't take this authoritative):  I think this complexity all stems from SpecificMutableRow, which had nothing to do with Immutable vs Mutable, but instead about having a more efficient row that you could mutate without boxing.  This was back before Tungsten/codegen, so is probably obsolete now.

Test build #66330 has finished for PR 15333 at commit b650c86.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66330/
Test PASSed.

Merging to master. Thanks for commenting.


[BZ-1276311] improve PatternBuilder performances

Mario, +1 to merge. It is a good step forward.
I wonder if we can improve it even more by sharing a StringBuilder among the methods to prevent local concatenation (that behind the scenes is instantiating its own string builder every time)?

I'm not doing this because I need to store the different subexpressions in the respective descriptors. This allows me to avoid resplitting the original complex constraint using regular expressions like it did before (probably in a bugged way as you made me notice).


No title on printed data table

If a user prints a data table using the "print this table" button, the resulting printout does not carry forward the information about which location it is.

Fix deployed to dev server

Print outs now include location information as a header, happy to close


what's the value of the per_gpu_train_batch_size in the process of  trainning the model?

training_args = TrainingArguments(
    output_dir="./",
    overwrite_output_dir=True,
    num_train_epochs=5,
    per_gpu_train_batch_size=8,
    save_steps=10_000,
    save_total_limit=2,
)

what's the value of the per_gpu_train_batch_size when train the model?

We used 16 as per_gpu_train_batch_size and trained on a single GPU.

We used 16 as per_gpu_train_batch_size and trained on a single GPU.
Thank you!

How many of P100 GPU cards you used?
I have 4 p100 cards, when I set the value to 16,it will raise "out of gpu memory".


How to set minemagic with old version in Rails 6?

Run rails server/rails console
/home/patrick/.rvm/gems/ruby-3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require': cannot load such file -- mimemagic/overlay (LoadError)
    from /home/patrick/.rvm/gems/ruby-3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
    from /home/patrick/.rvm/gems/ruby-3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:89:in `register'
    from /home/patrick/.rvm/gems/ruby-3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
    from /home/patrick/.rvm/gems/ruby-3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:44:in `require'
    from /home/patrick/.rvm/gems/ruby-3.0.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:332:in `block in require'
    from /home/patrick/.rvm/gems/ruby-3.0.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /home/patrick/.rvm/gems/ruby-3.0.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:332:in `require'
 ...

mimemagic was removed, so how to set old version?, please!

sorry, I have resolved.


add image for twitter

Add meta image that will display on twitter card https://cards-dev.twitter.com/validator
Currently no image displays :(

The below image can be used:

Hi, I'd like to work on this! This is what I get on the card validator though 😕 Will dig into the issue.

This was resolved in https://github.com/react-ladies/React-Ladies/pull/71


requote: check end of spans too

Just when I thought we addressed all corner cases...

Updated the test example


Cache ctxUser in retrieveFeeds(..)

It is common for at least one of the actions to have ctxUser as the actor, so we might as well populate the unameAvatars cache with ctxUser.

Please ignore this


GenerateLineupException: Can't generate lineups. Following constraints are not valid

This used to work. Now I run it (new version, 3.5) and only get the result:
This is the simplified command I ran:
for lineup in optimizer.optimize(n=10):
print(lineup)
*** Error text***
Traceback (most recent call last):
File "/xxx/lib/python3.9/site-packages/pydfs_lineup_optimizer/lineup_optimizer.py", line 394, in optimize
solved_variables = solver.solve()
File "/xxx/lib/python3.9/site-packages/pydfs_lineup_optimizer/solvers/pulp_solver.py", line 57, in solve
raise SolverInfeasibleSolutionException(invalid_constraints)
SolverInfeasibleSolutionException: ['positions_P', 'positions_C', 'positions_1B', 'positions_2B', 'positions_3B', 'positions_SS', 'positions_OF', 'total_players']
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
for lineup in optimizer.optimize(n=10):
File "/xxx/lib/python3.9/site-packages/pydfs_lineup_optimizer/lineup_optimizer.py", line 411, in optimize
raise GenerateLineupException(solver_exception.get_user_defined_constraints())
GenerateLineupException: Can't generate lineups. Following constraints are not valid: positions_P,positions_C,positions_1B,positions_2B,positions_3B,positions_SS,positions_OF,total_players
**** End***
When I try reverting to v 3.3, the only result I get is: "GenerateLineupException: Can't generate lineups."
Any idea what's happening here? Like I said it worked in previous years.

If you compare the versions you'll see that the SolverInfeasibleSolutionException was added I'm assuming to provide more context to the errors, rather than just a generic one you now get more information on which to take the appropriate action.

Can you provide more information? What sport did you run? Did you have players for all positions?

I had the same issue for DraftKings and Fanduel NFL. I was trying to import players from a dataframe using a Player object rather than the load_players_from_csv function, using a similar function to row_to_player in issue #281. When using load_players_from_csv the optimiser works, but not when generating a custom Player object and calling optimizer.load_players. I didn't manage to solve this yet, however a workaround in the meantime is to revert to version 3.3 and ensure you have pulp==2.2 to avoid the "GenerateLineupException: Can't generate lineups." error.

Has anyone found a better solution for this, instead of reverting back to version 3.3 and pulp==2.2?
thanks

Can you provide the ful code your using to load from dataframe
On Tue, Jan 24, 2023, 12:10 PM dexter1964 @.***> wrote:

Has anyone found a better solution for this, instead of reverting back to
version 3.3 and pulp==2.2?
thanks
—
Reply to this email directly, view it on GitHub
https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/274#issuecomment-1402292973,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBWO7RPTAUB2L4YX645QDTWUAEHJANCNFSM46FIHVAQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I've actually opened an issue #402,
but here's my code.
My code is fairly generic:
Data returned from DB Query consists of: (Team, PlayerName, Position, Salary, FantasyPoints)
[('SFO', 'Brock Purdy', 'QB', 6900.0, 15.43), ('SFO', 'Christian McCaffrey', 'RB', 9000.0, 18.03), ('SFO', 'Elijah Mitchell', 'RB', 5600.0, 6.56),etc...]
optimizer = get_optimizer(Site.FANDUEL, Sport.FOOTBALL)
allPlayerInfo=mF.getNFLPlayerInfo('FanDuel')  ## Query database and return Player Data.
FDplayers = []
for i, player_info in enumerate(allPlayerInfo):
name = player_info[1].split(' ')
FDplayers.append(Player(
int(i),
name[0],        #First Name
name[1],        #Last name
player_info[2].split('-'),    # Split Positions: for Fanduel use '-' for Draftkings use '/'
player_info[0],                 # This should be TeamShort name.
float(player_info[3]),       #This should be Fantasy Salary
float(player_info[4])        #This should be Fantasy Points
))
optimizer.player_pool.load_players(FDplayers)
lineup_generator = optimizer.optimize(3)
and the errors that I'm getting...
pydfs_lineup_optimizer.solvers.exceptions.SolverInfeasibleSolutionException: ['positions_D', 'budget', 'total_players', '_C1']
pydfs_lineup_optimizer.exceptions.GenerateLineupException: Can't generate lineups. Following constraints are not valid: positions_D,budget,total_players
Thank you so much for taking a look.

Doesn't fanduel use / for position ?
RB/FLEX
On Tue, Jan 24, 2023, 12:54 PM dexter1964 @.***> wrote:

I've actually opened an issue #402
https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/402,
but here's my code.
My code is fairly generic:
Data returned from DB Query consists of: (Team, PlayerName, Position,
Salary, FantasyPoints)
[('SFO', 'Brock Purdy', 'QB', 6900.0, 15.43), ('SFO', 'Christian
McCaffrey', 'RB', 9000.0, 18.03), ('SFO', 'Elijah Mitchell', 'RB', 5600.0,
6.56),etc...]
optimizer = get_optimizer(Site.FANDUEL, Sport.FOOTBALL)
allPlayerInfo=mF.getNFLPlayerInfo('FanDuel') ## Query database and return
Player Data.
FDplayers = []
for i, player_info in enumerate(allPlayerInfo):
name = player_info[1].split(' ')
FDplayers.append(Player(
int(i),
name[0], #First Name
name[1], #Last name
player_info[2].split('-'), # Split Positions: for Fanduel use '-' for
Draftkings use '/'
player_info[0], # This should be TeamShort name.
float(player_info[3]), #This should be Fantasy Salary
float(player_info[4]) #This should be Fantasy Points
))
optimizer.player_pool.load_players(FDplayers)
lineup_generator = optimizer.optimize(3)
and the errors that I'm getting...
pydfs_lineup_optimizer.solvers.exceptions.SolverInfeasibleSolutionException:
['positions_D', 'budget', 'total_players', '_C1']
pydfs_lineup_optimizer.exceptions.GenerateLineupException: Can't generate
lineups. Following constraints are not valid:
positions_D,budget,total_players
Thank you so much for taking a look.
—
Reply to this email directly, view it on GitHub
https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/274#issuecomment-1402354905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBWO7RB4VK53CQHUEODEDDWUAJOTANCNFSM46FIHVAQ
.
You are receiving this because you commented.Message ID:
@.***>

I think I figured it out, but haven't had a chance to test yet.
The data that I scraped, didn't have any Team Defense Data in it, I think that's why that Position_D" constraint was popping up.
I may have found a site with all the data pydfs needs.
I'm going to try to scrape tomorrow, and retry Optimizing.
as for the "-" vs. "/" delimiter, I'll give both a try, once I get the new data.


General Issue: Review ahead of 1.0 release of admiral and admiralophtha

Background Information
Need to review admiral changelog to evaluate whether any breaking changes require changes in admiralophtha.
Definition of Done
No response

Findings

derive_param_computed() needs amending in templates and vignettes to replace analysis_value and analysis_var with set_values_to. See #207
check_type argument will be renamed to check_unique - see this admiral issue. Once change is live, edits will be required for all three templates and vignettes in admiralophtha
derive_summary_records() needs amending in templates and vignettes to replace summary_fun and analysis_var arguments. See this admiral issue.


[SPARK-9521] [BUILD] Require Maven 3.3.3+ in the build

Enforce Maven 3.3.3+ in the build. (Also update the scala compiler plugin while we're at it.)

Merged build triggered.

Merged build started.

Test build #39350 has started for   PR 7852 at commit 3093039.

Test build #39350 has finished for   PR 7852 at commit 3093039.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
 public static final class BytesToBytesMapIterator implements Iterator<Location>
public abstract class UnsafeKeyValueSorter
      class SpecificUnsafeProjection extends $
abstract class UnsafeRowJoiner
       |class SpecificUnsafeRowJoiner extends $
case class SortArray(base: Expression, ascendingOrder: Expression)
case class SubstringIndex(strExpr: Expression, delimExpr: Expression, countExpr: Expression)
public abstract class KVIterator<K, V>

Merged build finished. Test PASSed.

LGTM, especially given that we've run into problems with Maven versions in the recent past; better to fail-fast here.

For the record, this PR is kind of a follow up to #6770.


Feat: Ensure all features return built-in types

Fixes #1062

Codecov Report

Merging #1064 (41e0d78) into master (acbba0f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #1064   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           33        33
  Lines         2270      2271    +1
=========================================
+ Hits          2270      2271    +1


INFO:app.server:No SSL certificate or key found

Hello all,
For some reason caldera can't find my openssl keys I created them using the following command.
openssl req -new -x509 -days 3652 -nodes -out conf/cert.pem -keyout conf/key.pem
Here is the full error message:
req: Unrecognized flag fqdn)/OU
req: Use -help for summary.
ERROR:app.server:Could not locate certificate chain. Please generate with openssl and add to configuration file.
        e.g. 'openssl req -new -x509 -days 3652 -subj /CN=$(hostname --fqdn)/OU=Servers/O=$(hostname --fqdn)/C=US -nodes -out conf/cert.pem -keyout conf/key.pem'
DEBUG:app.server:Planner has started
DEBUG:asyncio:Using selector: SelectSelector```

Any suggestions? Thanks.

Closing due to inactivity. If this is still and issue, feel free to re-open this issue or create a new one after upgrading to the most recent version of Caldera.


about web-padawan's awesome-lit (previously awesome-lit-html)

hello everyone,
@web-padawan changed the repo name from awesome-lit-html to awesome-lit.
When this repo was first added it was named as lit-html with description "HTML templating library for JavaScript."
on https://github.com/sindresorhus/awesome/pull/1357 / https://github.com/sindresorhus/awesome/commit/137dee5ea2b1c1e0a439af2b5f392ea00fbbcc06
but, now this link redirects to https://github.com/web-padawan/awesome-lit
❯ curl -I https://github.com/web-padawan/awesome-lit-html
HTTP/2 301
server: GitHub.com
...
location: https://github.com/web-padawan/awesome-lit
...

and its about reads "A curated list of awesome Lit resources."
so, now what should be done ??
can i just change the like and the description and make a pull request ??
or should it be moved to some other category other than Front-End Development ??

or should it be moved to some other category other than Front-End Development

Lit is just a newer version of lit-html that ships with a new npm package lit. Check out the release blog post.
I would appreciate a PR to update the link and description 👍

Lit is just a newer version of lit-html that ships with a new npm package lit. Check out the release blog post.

awesome post. 👍

I would appreciate a PR to update the link and description 👍

what the description should be ??
i'm thinking about "Templating library" only.

I would suggest to use something along these lines to mention web components:

Library for building web components with a declarative template system.

This covers both key parts of Lit, namely lit-html and lit-element.

I would suggest to use something along these lines to mention web components:

Library for building web components with a declarative template system.

This covers both key parts of Lit, namely lit-html and lit-element.

i'm going with yours one for now.


Build out activities routes

Team @misterigl , @jarobgilliam , @witygass : after pulling down: migrate db forward with npm start backend then run knex seed:run.  Take a look at all routes in spreadsheet in postman as more relational data has been added to most existing routes


pre-trained model

Hi,
May I ask why there are five .pt file for each datasets in the pre-trained model. I have tried the model on the default customer video and all five file provides quite different results. Which one should I choose? Thanks in advance.

Because we train our model 5 times on each dataset config, and each time the dataset is randomly split into training & validation sets. The dataset is too small to train a stable model. Maybe you could train it on a larger dataset.


search and replace cardinality checks with emptiness checks

#239

Sorry just realised this was being worked on already.

Coverage decreased (-0.008%) to 91.188% when pulling 982bf66177e91a6993b40e7e5c265678bce60cd9 on richardstartin:cardinality-isempty into a677b01e28210eae8be618f0a78bf982dd66a3e6 on RoaringBitmap:master.

Ping @amitdesai03

@amitdesai03 Do you recommend we pull it?

@richardstartin no worries, I didnt get time to go much far with it anyways.

@lemire Bit unfamiliar here.
I did look at at line by line changes, but as part of recommending PR merger, do I need to run benchmarks? I believe CI takes care of sanity test.

It'd be odd if it made the code slower. Maybe we can assume that it is safe, performance-wise.

@lemire absolutely, i dont belive it would have any -ve impact, i was just not familiar whats part of process we follow.
Please go ahead with merge.
Tx @richardstartin

Merged as requested.


etcd-tester: fix lease checker logging format.

lease checker used a wrong print format for a variable. this change fixes it.

lgtm

lgtm.


Changed return value of Minitest::Display.recorders to suppress warni…

Hi @quirkey, thanks for the great gem.  I was getting a lot of warnings related to @recorders being uninitialized in the recorders function.  I have changed the return value to do an additional check using the defined? method.  Please have a look and incorporate if you like.

Please see revisions, and a related StackOverflow question.


Releasing lock only when all resourcers are deleted

Type of change

Bugfix

Description
It should fix #290 releasing lock only when all resources are deleted. It also add debug level logs about lock acquired/released.
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[x] Write tests
[x] Make sure all tests pass
[x] Update documentation
[x] Check RBAC rights for Kubernetes / OpenShift roles
[x] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[x] Reference relevant issue(s) and close them after merging

@scholzj yes I think that's good.

@ppatierno In that case please do not forget to squash the commits, so that it is easier to pick up into the release branch.

@scholzj squashed ! ;)


Inference the model

After training, I got the POMNet weight saved in work_dirs. I want to use it to infer with my own test images, but this model always takes the support and query images in the inference time. So how I can test this with a single image?

POMNet can not test a single query image without the support image. The inference process is similar to training, except for the MSE loss supervision. The support image provides the keypoint definition to be predicted, so it is needed.

Yeah, thank you for your response.


Bug(AdaptiveTabs): Unnecessary ellipsis in safari with page zoom

When zooming the screen, the text in the captions may be cut off, although there is enough space for it
Playable in Safari Version 16.5.1 (186<IP_ADDRESS>.7)

@artemipanchuk Check this out please


Data loader security

hello @markherringer
i already finished the data loader security. Now data loader just can be loaded if the csv and uploader are already given permission.
if it is ok, i will merge it to staging.
here is the procedure:

uploader will ask as to check the csv

if we agree, we register the permission in admin.
with : accepted csv is csv that we accept
uploader : the uploader

After it is registered, there will be a record for that. just download the file in accepted_csv and give it to uploader

If the uploader is registered, in the homepage, the "how it work" will change to "upload data" and will go to upload form page

note:
uploader just can use the downloaded file from permission from admin.

If the uploader isn't given permission by admin, upload-form page cannot be accessed (upload data will be failed too)
If uploader is already given permission by admin, but the file is different with file from permission, the upload data will be failed and will receive email "file is not authenticated"
If uploader is already given permission by admin, but the file from admin is modified, the upload data will be failed and will receive email "file is not authenticated"
If uploader is already given permission by admin, and use the file from admin, data loader will be success

merging it to staging to be tested


Move to dash

This PR aims at moving from the Streamlit to the Dash MVP.
The Dash MVP is not finalised yet. The following remains to be done:

Connection to the back-end
Improving the response of the layout to the type of device being used
Adding some design elements
Re-organising the code in separate modules to improve readability (?)

@frgfm, when reviewing, do you think you could look into the Docker set-up now that we have a Dash app, instead of a Streamlit one? I tried to adapt what was done for the pyro-platform, but I did not manage to make it work. I went for another solution found online, which might not allow to split the code in different Python files... Many thanks in advance!

Changes done for the spaces in the layout
Re-deployed the app on Heroku
Added pictures for documentation in the first message above

Thanks for the comments!


Deprecate surveys

we probably want to update the documentation as well

@pchien @patedit
This commit is causing my host project to show the mixpanel deprecation warnings even though the host project doesn't use the deprecated APIs.  Is there any way to silence the deprecation warnings from the perspective of the host project?

@wileykestner which version are you on? We had issues with this on 3.0.8 right after we deprecated but fixed them shortly after. See https://github.com/mixpanel/mixpanel-iphone/issues/629. If you still have an issue with it, could you create an issue with integration method, version, etc so we can track it better? Thanks!


Configure se050 backend on boot

Depends on:

https://github.com/Nitrokey/trussed-se050-backend/pull/31
https://github.com/trussed-dev/trussed/pull/165

No significant changes.

Insignifcant changes

metric
value

change

binary-size-nk3am
1,414,823
:white_check_mark:
-8,447 (-0.59%)

binary-size-nk3am-test
2,013,697
:white_check_mark:
-8,477 (-0.42%)

binary-size-nk3xn
507,520
:white_check_mark:
-2,752 (-0.54%)

binary-size-nk3xn-test
544,692
:white_check_mark:
-2,464 (-0.45%)

binary-size-nkpk
736,434
:red_circle:
+13 (+0.00%)

This is actually difficult to do. The Service used by usbip is pub struct Service<S: StoreProvider, D: Dispatch>(Rc<RefCell<trussed::Service<Platform<S>, D>>>);, so there is no sound way to have a &mut trussed::Service at the same time as the ClientBuilder.
Maybe we need to change the make_client to be a trait implementation with a build method, and also a method to get a mut access to the trussed::Service.
That requires also updating the pc_usbip_runner crate.

I think i'll just put it behind an option and pass None in the usbip runner, with an unwrap.
Worst case in the future if an new update expects it to always be available, it only breaks the usbip runner.

We can get rid of the option once https://github.com/Nitrokey/nitrokey-3-firmware/pull/505 is merged.


Request credentials for an os-climate bucket

Requesting credentials for github user:
Requesting credentials for the bucket:
Email address to send a credential download link:
Request checklist:

[x] User can establish connection with the bucket
[x] User can read files from the bucket
[ ] User can write files to the bucket

Hi @archangelj - welcome to OS-Climate!  Please let me know if I can help you with on-boarding.  Also if you can share your particular areas of interest, I can connect you with the right stakeholders.


v1.0.1 is just not working

The git-blame sidebar where all the commit hashes and names belong is empty on v1.0.1.
I reverted to v0.4.12 which is working again.
Currently on the latest version of Atom v1.16.0 x64.

This looks like a duplicate of #174

closing as dupe of #174 which is now resolved


Overnigth tests are failing: too many client connections to a specific repo

See original issue on GitLab
In GitLab by [Gitlab user @jjardon] on Oct 31, 2018, 17:06
This is the error:
[00:00:00] FAILURE elfutils.bst: tar source at elfutils.bst [line 58 column 2]: Error mirroring ftp://sourceware.org/pub/elfutils/0.173/elfutils-0.173.tar.bz2: <urlopen error ftp error: error_perm('530 Sorry, the maximum number of clients (3) from your host are already connected.',)>

Job #114575697 failed for c7ac7e7d70e9a0a266c935505696c23f8c23f244:

In GitLab by [Gitlab user @toscalix] on Nov 5, 2018, 09:22
assigned to [Gitlab user @valentindavid]

In GitLab by [Gitlab user @valentindavid] on Nov 5, 2018, 12:15
mentioned in commit 62942bfd246361c3ed43b44664fcbdc6c372fa3c

In GitLab by [Gitlab user @valentindavid] on Nov 5, 2018, 12:16
mentioned in merge request !929

In GitLab by [Gitlab user @valentindavid] on Nov 5, 2018, 12:17
[Gitlab user @jjardon] Something like that? !929

In GitLab by [Gitlab user @jjardon] on Nov 5, 2018, 12:41
closed via merge request !929

In GitLab by [Gitlab user @jjardon] on Nov 5, 2018, 12:41
mentioned in commit 442da2f9467b9191ee3acd4bd90afc37d611d41a

In GitLab by [Gitlab user @jjardon] on Nov 14, 2018, 14:38
Seems this is still not fixed, for example:

1.2: https://gitlab.com/BuildStream/buildstream/pipelines/36565965:

https://gitlab.com/BuildStream/buildstream/-/jobs/120366073
https://gitlab.com/BuildStream/buildstream/-/jobs/120366075

master: https://gitlab.com/BuildStream/buildstream/pipelines/36565969

https://gitlab.com/BuildStream/buildstream/-/jobs/120366086

In GitLab by [Gitlab user @jjardon] on Nov 14, 2018, 14:38
reopened

In GitLab by [Gitlab user @valentindavid] on Nov 19, 2018, 14:48
I would like to let the overnight builds to run for a bit more time now we use DO builders for that. It is unlikely we get more than 2 connections from the same IP.

In GitLab by [Gitlab user @valentindavid] on Nov 23, 2018, 14:43
The builds seem to work correctly now.

In GitLab by [Gitlab user @jjardon] on Jan 15, 2019, 17:02
Yeah (https://gitlab.com/BuildStream/buildstream/pipelines/43322844), lets close this

In GitLab by [Gitlab user @jjardon] on Jan 15, 2019, 17:02
closed

In GitLab by [Gitlab user @nanonyme] on Jan 15, 2019, 17:19
Note we also mirrored pretty much all sourceware sources due to stability issues.


Curriculum Review: Day 3- Docs

Prior Knowledge
This tutorial doesn't seem to assume much prior knowledge, other than familiarity with docstrings.
Content
Things look good overall! However there is one typo in the README that causes import errors:
In step 7 , we should add "sphinx.ext.napoleon" instead of "sphinx.ext.napolean" to extensions in conf.py. The file in sphinx.ext is called napoleon, so the current instructions lead to import errors. Changing the spelling fixed the issue.
Other than that, the tutorial is informative and easy to follow!
Learning Goals
All met!

good catch, fixed!


[SPARK-34502][SQL] Remove unused parameters

What changes were proposed in this pull request?
Remove unused parameters
Why are the changes needed?
Clean up
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing tests

LGTM if tests are passed. My bad. I probably introduced those in files CoalesceBucketsInJoin and ShuffledHashJoinExec. Also checked CartesianProductExec and the change makes sense to me.

jira opened @dongjoon-hyun

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135363/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39943/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39943/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39943/

Thanks. Merging to master.

Thanks, everyone!

Thank you, @huaxingao and all!


Reference document correction - switch ribbon to spring-cloud-loadbalancer

The document is as follows:
2.8. Disabling Ribbon with Eureka Server and Client starters
spring-cloud-starter-netflix-eureka-server and spring-cloud-starter-netflix-eureka-client come along with a spring-cloud-starter-netflix-ribbon. Since Ribbon load-balancer is now in maintenance mode, we suggest switching to using the Spring Cloud LoadBalancer, also included in Eureka starters, instead.
In order to that, you can set the value of spring.cloud.loadbalancer.ribbon.enabled property to false.
You can then also exclude ribbon-related dependencies from Eureka starters in your build files, like so:
<dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework.cloud</groupId>
                    <artifactId>spring-cloud-starter-ribbon</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.netflix.ribbon</groupId>
                    <artifactId>ribbon-eureka</artifactId>
                </exclusion>
            </exclusions>
</dependency>

The documentation states that two ways to disable ribbon are to enable OnNoRibbonDefaultCondition. code show as below :
        @Configuration(proxyBeanMethods = false)
	@ConditionalOnClass(RestTemplate.class)
	@Conditional(OnNoRibbonDefaultCondition.class)
	protected static class BlockingLoadbalancerClientConfig {

		@Bean
		@ConditionalOnBean(LoadBalancerClientFactory.class)
		@Primary
		public BlockingLoadBalancerClient blockingLoadBalancerClient(
				LoadBalancerClientFactory loadBalancerClientFactory) {
			return new BlockingLoadBalancerClient(loadBalancerClientFactory);
		}

	}

	private static final class OnNoRibbonDefaultCondition extends AnyNestedCondition {

		private OnNoRibbonDefaultCondition() {
			super(ConfigurationPhase.REGISTER_BEAN);
		}

		@ConditionalOnProperty(value = "spring.cloud.loadbalancer.ribbon.enabled",
				havingValue = "false")
		static class RibbonNotEnabled {

		}

		@ConditionalOnMissingClass("org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerClient")
		static class RibbonLoadBalancerNotPresent {

		}

	}

Class as a judgment condition: org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerClient is defined in spring-cloud-netflix-ribbon,  spring-cloud-starter-netflix-archaius also depends on spring-cloud-netflix-ribbon,  spring-cloud-starter-netflix-eureka-client depends on spring-cloud-netflix-ribbon.
So only Excluding spring-cloud-starter-ribbon is not enough.

Hello, @lanmolsz Thanks for reporting this. Yes, you actually need to exclude that from wherever it's used so that it's no longer in the classpath. Thought that was understandable, but state it there more explicitly.

Have looked at it in the doc: it actually sais: You can then also exclude ribbon-related dependencies from Eureka starters meaning that you can also exclude them after disabling with the flag if you like. So it's correct. Will leave it as is.


Please document explicitly that cachier does not work for methods

Given that pickle files are named ".{module}.{func}", two methods with the same name in different classes will both try to save to the same file.
A work-around would be to try to parse func.__qualname__ to see if it contains a class name and, if so, add the class name to the file name. But I understand that's hacky and you may want to just not deal with method caching at all.

Actually that sounds like a good solution!

Ok, if you're good with that approach then I'll submit a PR.

I've already have a commit on master. You be credited as a contributor just the same!

@jdidion Please check this now works for you.


Input placeholdertextcolor while theming

Hello there,
Someone know how to change the placeholderTextColor while theming? actually cant  find how to and also remove the underlineTextColor

Please follow issue template

@SupriyaKalghatgi any link please?

https://github.com/GeekyAnts/NativeBase/issues/new


BCI java test with cassandra

Improve the BCI tests using a real application as cassandra DB.
https://progress.opensuse.org/issues/115043
VR: http://openqa.suse.de/tests/9622447

The VR is green. This could be merged if no more reviews

The VR is green. This could be merged if no more reviews

github actions are not, please fix them.

@ilausuch Please rebase on main before you push the next change, that should fix the lint job :crossed_fingers:

@ilausuch LGTM, but the CI still fails with:
>       assert found
E       assert False

PTAL

@ilausuch LGTM, but the CI still fails with:
>       assert found
E       assert False

PTAL

It has to be that it needs more time on the CI machines. I testing to increase the delay for timeout

@ilausuch rebasing on main will resolve the openjdk-devel test failures

I am doing and anaylisis and trying to reproduce the errors. One interesting case is docker + 15.4 (Only for this case)
Unrecognized VM option 'UseConcMarkSweepGC'\nError: Could not create the Java Virtual Machine.\nError: A fatal exception has occurred. Program will exit

I am doing and anaylisis and trying to reproduce the errors. One interesting case is 15.4 with java 17
Unrecognized VM option 'UseConcMarkSweepGC'\nError: Could not create the Java Virtual Machine.\nError: A fatal exception has occurred. Program will exit

The concurrent mark & sweep garbage collector has been removed in JDK 15 or 16, so it will not be available in java 17. And we have no Java 17 in 15.3, so that's why this error appears only for SP4

This is ready


IE7 positioning issue

Are there any known issues with IE7 and the tooltips position.
I have a page that has enough content to scroll.   By default the tooltip appears to position properly, but if I scrolled say 200 pixels down, and use the tooltip then the tip is 200 pixels higher than it needs to be.
I suspect it's the HTML we've used that's causing this, but any idea if there are any particular CSS properties that should be avoided when using this?
I can give me details if required.

This issue is old, but I did try tooltipsy in IE7 win XP and didn't find any issue regarding the "200px" gap. You might want to close this issue.


Django 2.1 update causing for error, renderer()

Hey there!
I saw your work and would love to be able to use it, yet it seems like the new Django update (2.1) has caused for a new parameter to be needed, at least I think that's it?
The error I am getting is: get_context() got an unexpected keyword argument 'renderer'
View this page for a possible solution:
https://stackoverflow.com/questions/52039654/django-typeerror-render-got-an-unexpected-keyword-argument-renderer

+1 same here
and it looks like this is really old issue https://github.com/gregmuellegger/django-floppyforms/issues/192
is there any chance this would be fixed anytime soon?

there is PR created by @rtpg and it works like a charm https://github.com/gregmuellegger/django-floppyforms/pull/203
I'm going to use their version until it gets merged here

The latest release (1.8.0) should support 2.1 cleanly. Closing this for now

confirm that it works well for Django 2.2.6 too.
thanks guys!


Uploading broken in 2023.9.1

This error comes from inside our real world usage. I'll try to isolate it. In the meantime, here's the partial stack trace:
…
  File "/tmp/tmp.p8s9bHhhf3/lib/python3.9/site-packages/fsspec/core.py", line 121, in __exit__
    self.close()
  File "/tmp/tmp.p8s9bHhhf3/lib/python3.9/site-packages/fsspec/core.py", line 141, in close
    f.close()
  File "/tmp/tmp.p8s9bHhhf3/lib/python3.9/site-packages/fsspec/spec.py", line 1944, in close
    self.flush(force=True)
  File "/tmp/tmp.p8s9bHhhf3/lib/python3.9/site-packages/fsspec/spec.py", line 1815, in flush
    if self._upload_chunk(final=force) is not False:
  File "/tmp/tmp.p8s9bHhhf3/lib/python3.9/site-packages/s3fs/core.py", line 2267, in _upload_chunk
    self.commit()
  File "/tmp/tmp.p8s9bHhhf3/lib/python3.9/site-packages/s3fs/core.py", line 2285, in commit
    write_result = self._call_s3("put_object", **kw)
  File "/tmp/tmp.p8s9bHhhf3/lib/python3.9/site-packages/s3fs/core.py", line 2133, in _call_s3
    return self.fs.call_s3(method, self.s3_additional_kwargs, *kwarglist, **kwargs)
  File "/tmp/tmp.p8s9bHhhf3/lib/python3.9/site-packages/fsspec/asyn.py", line 118, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/tmp/tmp.p8s9bHhhf3/lib/python3.9/site-packages/fsspec/asyn.py", line 103, in sync
    raise return_result
  File "/tmp/tmp.p8s9bHhhf3/lib/python3.9/site-packages/fsspec/asyn.py", line 56, in _runner
    result[0] = await coro
  File "/tmp/tmp.p8s9bHhhf3/lib/python3.9/site-packages/s3fs/core.py", line 341, in _call_s3
    await self.set_session()
  File "/tmp/tmp.p8s9bHhhf3/lib/python3.9/site-packages/s3fs/core.py", line 502, in set_session
    self.session = aiobotocore.session.AioSession(**self.kwargs)
TypeError: __init__() got an unexpected keyword argument 'auto_mkdir'

Seems like https://github.com/fsspec/filesystem_spec/pull/1358 is potentially implicated by the stack trace and change log, as downgrading to 2023.9.0 makes uploads work again.

Versions of likely-relevant packages in the venv that stack trace is from:
s3fs 2023.9.1
fsspec 2023.9.1
botocore 1.31.17
boto3 1.28.17
aiobotocore 2.5.4

Please show a code snippet of how s3fs was called.

    with fsspec.open(object_url(remote_workdir), "wb", auto_mkdir = False) as remote_file:
        with ZipFile(remote_file, "w") as zipfile:

fsspec.open here is getting a string like s3://bucket/key. The auto_mkdir arg has been in place from when this code was added in early 2021.
I suppose auto_mkdir doesn't make sense for S3 and so we could remove it for S3, but in testing I'd swapped in non-S3 fsspec filesystems and it was useful there.

Yes, this has turned out to cause problems elsewhere ( https://github.com/dask/dask/issues/10515 ) so I'll see what I can do. Since only LocalFS actually has this option on the implementation class, I can make a special case.

Ok. Thank you!


Support multiple Carousel indicators lists

Carousel now supports multiple carousel-indicators lists to switch .active class on all of them simultaneously.

Maybe you can add a preview of this feature and fix CI issues please

@Johann-S   Created a demo of this feature here: https://codepen.io/MikhailRoot/full/VbEPwy/
The idea and need was to support multiple carousel slides indicators.
Before my edits it just took the first set of indicators and removed .active class from any other.
Also updated code to use jQuery each iterator instead of for loop.

Travis CI for some reason fails with "Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES"

Bootstrap 3 is essentially in maintenance mode as we focus on working towards a stable v4. As such, we're only accepting changes to v3's code on a case-by-case basis, usually only for critical bug fixes or docs improvements.
If you want you can submit your PR for our v4 release


LIR Parcel updates - Annual

Benefit Hypothesis
Acceptance Criteria

Sprint 2 Tasks:

[ ] Continue obtaining info/data from State Auditor's Office

Check in with Auditor about iterating back and forth with counties to request the latest data

8/22/2023 - Spoke with Alex in State Auditors office about discrepancies with the data he provided and what Davis County has on their website. Waiting to hear back from Davis Co.
In https://github.com/agrc/planning-queue/issues/131#issuecomment-1680839152 Matt told me to move forward with what the State Auditor (Alex) can provide.

[ ] Find out what Davis Co says about the discrepancies
[ ] Get latest data from Alex
[ ] Find out if the HB433 attribute should be in the LIR parcels or Basic parcels or both
[ ] Develop new code to use the data from Alex
[ ] Update LIR datasets

Working on new code but finding issues such as parcel IDs that got altered during the processing to create the St. Auditor's table

18 counties completed with a few more to come
https://github.com/agrc/gis.utah.gov/pull/2369

@rkelson Please enter some closing comments and close this Q1 task down. Do you want to track the continuation of this with a new Q2 task?

waiting for the remaining counties to become available. This task needs to continue into Q2

...This task needs to continue into Q2

@rkelson when you're ready, please use the planning-queue new feature template to create a Q2 task for this

I am actually thinking to keep this closed and not create A Q2 task. Not sure when the other counties, if at all, will become available


Possible GPU code path issue

When running tests, sometimes I get errors like
AssertionError: The zero state alchemical and nonalchemical energy absolute difference 5.939734222693005e-06 is greater than the threshold of 1e-06.
               assert 5.939734222693005e-06 < 1e-06
                +  where 5.939734222693005e-06 = abs(5.939734222693005e-06)

(this example the difference is pretty small but I've seen OOM differences in others)
Since they didn't show up in CI I figured that it was just a flaky test or something that wasn't completely deterministic.
However, this test fails consistently when on my laptop (with an nvidia GPU)
pytest -vv -k test_flattenedHybridTopologyFactory_energies
When running on a CPU (setting CUDA_VISIBLE_DEVICES= is required when you have a GPU to get openmm to run on the CPU)
CUDA_VISIBLE_DEVICES= pytest -vv -k test_flattenedHybridTopologyFactory_energies
The test passes.
Will investigate this further, as of now creating this issue so I don't lose track of this.

@mikemhenry , this might be a precision/platform issue. if a Reference platform is used (see here ), then there shouldnt be a problem. also, this discrepancy is still very small, so perhaps one can just increase the tolerance if a gpu is running the test.

That sounds like it! I'll use this issue to track support for detecting the platform when running tests on a GPU since the plan is eventually to run all the tests on GPUs so that we can run the longer running tests. Thanks @dominicrufa


resource.repo.repositories is not optional

Describe the bug
When creating artifactory_permission_target, it is not possible to make this permission applicable to Any local/remote/distribution repository, like it is possible through the UI.
Artifactory Version: 7.46.11
Terraform Version: 1.3.4
Artifactory Provider Version: 6.19.2
Code snippet:
resource "artifactory_permission_target" "deploy_permission" {
  name = "deploy-permission"

  repo {
    includes_pattern = ["**"]

    actions {
      groups {
        name        = "name"
        permissions = ["read", "write", "annotate", "managedXrayMeta"]
      }
    }
  }

  build {
    includes_pattern = ["**"]
    actions {
      groups {
        name        = "name"
        permissions = ["read", "write", "annotate", "managedXrayMeta"]
      }
    }
  }
}

Outcome:
╷
│ Error: Missing required argument
│
│   on permissions.tf line 4, in resource "artifactory_permission_target" "deploy_permission":
│    4:   repo {
│
│ The argument "repositories" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│
│   on permissions.tf line 15, in resource "artifactory_permission_target" "deploy_permission":
│   15:   build {
│
│ The argument "repositories" is required, but no definition was found.
╵

Requirements for and issue

[X] A description of the bug
[X] A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue). If this is not supplied, this issue will likely be closed without any effort expended.
[X] Your version of artifactory (you can curl it at $host/artifactory/api/system/version
[X] Your version of terraform
[X] Your version of terraform provider

Expected behavior
According to the documentation, one is supposed to be able to omit repositories field.
https://github.com/jfrog/terraform-provider-artifactory/blob/master/docs/resources/permission_target.md?plain=1#L67

@renan-alm Looks like the documentation is incorrect. The Artifactory JSON schema shows repositories is a required field.

@alexhung Is there a way to set repositories to mimic UI option Any Local Repostiory or Any Remote Repository?

@stasostrovskyi Per the API schema documentation, you can use ANY, ANY_LOCAL, ANY_REMOTE in the repositories attribute.
{
    "name": "alex-test",
    "repo": {
        "actions": {},
        "repositories": [
            "ANY LOCAL",
            "ANY REMOTE"
        ],
        "include-patterns": [
            "**"
        ],
        "exclude-patterns": []
    }
}

Closed by mistake.

@alexhung Thank you for a quick answer!


Incorrect answers in DeviceDrivers-ReachSafety

In the following two benchmarks, we answer false(unreach-call). According to sv-benchmarks repo, the correct answer is true. I tried to disable slicing, but it has no effect on it. Even klee error path replay confirms the violation. CPAchecker witness checker is unable to confirm the violation. Since debugging this is painful, I don't consider fixing this a high priority.
http://arran.fi.muni.cz:3000/files?&incorrect=on&run=591&run=590&benchmarks=64&filter=false

Pass -prepare deletes body of ldv_is_err. As a result, nondet value is assigned to the function's return value.  ldv_is_err(ptr) is defined as ptr ><PHONE_NUMBER>3709547521UL. When ldv_is_err(0) should also return 0, but klee assigns it 1 because it is extern at that point. This leads to assertion violation, but I believe the path is infeasible because ptr == 0 && ptr ><PHONE_NUMBER>3709547521UL is infeasible.
This problem occurs in m0_drivers-usb-gadget-g_printer-ko--106_1a--2b9ec6c-1.yml.
Implementing pointer comparison in klee should help us avoid this problem, since klee will be able to interpret ldv_is_err and we won't have to remove it.

Good catch! Will you provide a patch or should I do that?

I'd like to help, but I'm not sure how to implement it.

We still need to test it on a bigger scale. If the patch does not work as expected, we re-open (or open a new) issue.


As the library suggest human readable dates, it must support following...

The library fails to parse following format: "the 20 day of September 2021"
import dateparser
dateparser.parse("the 20 day of September 2021")

It also does not detect "next tuesday" or "coming tuesday"


Side content fails to correctly update active tab in Redux store

[Bug] Side content fails to correctly update active tab in Redux store
Major bug.
Bug description
After the refactor of SideContent to support dynamic tabs in PR #1352, the value of the selected tab of the current workspace (sideContentActiveTab prop) in the Redux store is no longer correctly updated whenever the selected tab is changed by the user.
This breaks the run-all functionality of the Autograder when it is the currently selected tab, since this is executed via a condition in the saga for EVAL_EDITOR which checks that the value of the selected tab of the current workspace is SideContentTypes.Autograder. This can be verified by logging the value of the side content tab observed in the saga below (see activeTab in the relevant code section below).
https://github.com/source-academy/cadet-frontend/blob/8f617f50885e1f282f7ede6a9fc2379372614c58/src/commons/sagas/WorkspaceSaga.ts#L710-L716
Replication instructions

Navigate to any assessment or submission, then proceed to any programming (not MCQ) question
Bring up the side-content Autograder (airplane icon), and evaluate the editor's contents, and verify that none of the testcases are run

Last updated 18 Jul 2020, 11:45PM

I believe this bug still exists in a more subtle form: when navigating from 1 page in an assessment to another (not sure if I got the terminology right), if I'm on the test cases tab in the first page, upon navigation to the second page the test cases tab will still be shown, but the expected behaviour of clicking run to evaluate test cases will not work. Only after manually switching tabs back and forth to test cases again would this work.
I'm guessing the easiest way to fix this might be to update https://github.com/source-academy/cadet-frontend/blob/5bf07b67b3dac4676a99a9c95657c6698523e353/src/commons/sideContent/SideContent.tsx#L60-L64 to either reset the tab to the default tab on page change or set it to the same tab as before, although I'm not too sure how the redux store is structured to make it do so on page change.


directline takes too long to get response.

hi,
I use bot framework+ luis to provide the bot service and with directline 3.0 to access the ms framework.
But it takes too long to get response around 12-20 seconds, each test takes different response time with the same query. I try to deploy the botframework on  aws and azure in China and the result is similar. I wonder is there some way to take shorter response time ?  Anyway, 20 secs is bad experience for user to wait the response.

hi,
The same issue persists with me as well. Response time is too high

hi @PrasadGautham Can you tell me how long do you take to get response commonly?

@zhou-xinghai  I think that is almost similar to yours.... 12-20 seconds and sometimes even more, it varies

Have you determined if the latency is in your bot?  Depending on the services you talk to you can incur a lot of latency inside of the bot.  For example, the State API that we have is only in West US and really only for prototyping.  If you want better performance you should have state storage in a data center close to your bot.  You can easily do this by plugging in a state provider to the bot SDK
We have a nuget library with a number of implementations of the IBotDataStore storage provider for TableStorage, redis, DocumentDB, etc. https://www.nuget.org/packages/Microsoft.Bot.Builder.Azure/
Your latency can also be compromised by round-trips to LUIS.  So start with your bot and figure out the latency for your bot.  (Easy way of testing is to have a special word like "ECHOME" which the bot simple replies back with without using any language understanding etc.  That will give you a sense of overall transport latency.  Anything that takes longer is because of secondary services or logic inside of your bot.

Closing due to no response.  Feel free to create a new issue as appropriate if you're still experiencing the problem.


make_magic_plots test seems to be failing

long test quits silently at some point, need to find out why.

Well, looks like it works now.  Mysterious.


update: build and serving process update with a make file

I have update the build process to add a make file for the build process.

Great job on the Makefile updates! Everything works smoothly


Warn about time format change only once

Description
Warn only once, when u is found in format string of the __time function.
Motivation
There could be other reasons, why u is contained in the format string. So use the format with a known date and check the result, if u might have been used.
The warning will be issued only once.
This implementation has a few loopholes/problems:

u could still be used for something different and the year could be coming from a YYYY format string
we add a volatile variable, which adds overhead

I start to believe that it is probably better to revert to the old logic and live with the IDE warnings.
Part of #5694
How Has This Been Tested?
Used two different format strings in the GUI and watched the logs.
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.

Reworked the fix in https://github.com/apache/jmeter/pull/5934


Seal header contents

Stops external direct accesses of the inner header struct type. Will make for an easier transition away from hyperx in the future.

Since we're waiting for #582 and I now have a bit more time available I think I should be able to work and finish the  hyperx replacement before the 0.10.0 release.


chore: circuits abis - migrate cbdin routines to msgpack

Rather makes sense to perform this task after #1998
Routines to migrate are in aztec3/circuits/abis/c_bind.[h, cpp]

Not relevant anymore since kernel circuits were migrated in noir.


_sendStats() during CkExit() sends per-pe messages to pe 0

Original issue: https://charm.cs.illinois.edu/redmine/issues/452

Calling CkExit() on, e.g., 240,000 cores of Blue Waters, yields the following error:
WallClock: 251.544098  CPUTime: 251.544098  Memory: 7621.382812 MB
------------- Processor 240000 Exiting: Called CmiAbort ------------
Reason: GNI_RC_CHECK
charm> Please use +useRecvQueue 327680 in your command line, if the error comes again, increase this number
[240000] Smsg_rx_cq full; err=GNI_RC_ERROR_RESOURCE
aborting job:
GNI_RC_CHECK

This is almost certainly due to _sendStats(), which bombards pe 0 with one message per pe rather than using a reduction tree, all to pass it to _printStats(), which is a no-op unless CMK_WITH_STATS && ( _printSS || _printCS ).
static inline void _sendStats(void)
{
  DEBUGF(("[%d] _sendStats\n", CkMyPe()));
#if CMK_WITH_STATS
  envelope *env = UsrToEnv(CkpvAccess(_myStats));
#else
  envelope *env = _allocEnv(StatMsg);
#endif
  env->setSrcPe(CkMyPe());
  CmiSetHandler(env, _exitHandlerIdx);
  CmiSyncSendAndFree(0 /* destPE */, env->getTotalsize(), (char *)env);
}

The all-to-zero point-to-point sends should be transformed to a reduction operation

Original date: 2014-05-26 05:19:55

This appears to be duplicate. Rejecting.

Original date: 2014-05-26 14:33:24

This was intentionally duplicated, to reflect different aims. See #425-6: #425 resolved the immediate hardship, and this is about making the stats-collection usable at scale.


[Number input] When user enters comma (,) or period (.) in field, it gets emptied

[Number input] When user enters comma (,) or period (.) in assigned value field, it gets emptied
Detailed description
Component should not delete users input in field automatically.
Steps to reproduce the issue

Open the link https://angular.carbondesignsystem.com/?path=/story/components-number--basic
Enter any number
Enter comma (,) or period (.)

https://github.com/carbon-design-system/carbon-components-angular/assets/20360162/9411da22-f35f-4389-81db-c0a3ffa7ca80
Actual Result: Field gets emptied
Expected Result: we should prevent users from entering comma (,) or period (.) chars instead if only integers are allowed
Additional information
I've opened this bug for my developers and they mentioned it's Carbon's default behavior.
I could see it happen on Storybook above, but not sure if there should be a special implementation for that when field only allows integers.
Don't know either how to test with a different implementation where decimals only were allowed.

I believe this is a browser issue.
Played around with it & noticed it's working fine on Chrome but on Firefox the text is reset when entering a period. Another odd thing is that, when we enter a period first and enter the numbers, it works. 😅
We are listening for input events on the number input, on inputChange, the browser returns an empty string for event.target.value. Our logic is set so that when it is an empty string, we make the assumption that the user has cleared the text 🤔.
I'm assuming you started seeing this issue recently? Could be caused by a Firefox update -Perhaps we may have to report this issue to Firefox.

I don't use Firefox actually, I'm in Chrome all the time 😅 (you can see it in the recording)
It's the first time we use this component in our apps, so must confess I don't how recent this behavior is.
At least is not related to cache, cause the tests I did were in anonymous mode.

Hi @camilasb, this should be resolved now - it will not clear the number input on decimal or comma enter.


⚠ Bofrost.com has degraded performance

In c5551f4, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 532 ms

Resolved: Bofrost.com performance has improved in 0574686.


Manga galaxy url change/update required

Source information
"Manga Galaxy 1.4.39"
Source language
English
Source new URL
https://mangagalaxy.org/home
Other details
No response
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I will fill out all of the requested information in this form.

The issue was closed but not solved previously


Allow advanced users to enforce JSON response types in XHRs.

Add support for setting the XHR responseType property to "json".  This
defines the response data as JSON and prevents the browser from handling other
types of data.  It allows JSON parsing to be done off of the main thread,
reducing CPU contention that can happen with large responses and low-power
devices; this can yield smoother animations during navigation, for example.
However, it prevents processing chunked responses on-the-fly (i.e.
pseudo-streaming), effectively eliminating most of the benefits of multipart
responses.  Guard this behavior behind an "advanced" config flag and provide
no default to prevent accidental usage.  Setting advanced-response-type-json
to true will enable the feature.
Closes #317.

LGTM


fetch_buffer keeps running until kernel dies and I can't get the data from hyperspectral camera

Describe the Bug
I have the hyperspectral camera Specim FX17, GigE version. The camera captures hyperspectral images and I need: (i) to capture images continuously and save them in the hard drive disk, with all the spectral layers (not only 3, like and RGB would be); and (ii) to capture the images and send to my python code so I can classify them with my A.I. models.
My camera do not have .cti files, but I'm trying to use the software of another camera vendor (specifically the Baumer camera software, which the Harvester site validates) and see if it is compatible with acquiring from the Specim camera; I expect it to work, given that everything should be truly GigEVision compliant and not manufacturer-specific.
When I add the Baumer .cti file and run the h.device_info_list[0] I get the Specim info printed into my code:
There are 1 devices in the list.
 first device:
 (id_='devicemodul70_f8_e7_b0_02_b3', vendor='Specim', model='FX17e', tl_type='GEV', user_defined_name=None, serial_number='076900041531', version=None)

Also, the Windows Task Manager shows a brief activity trough the Ethernet port which the camera is connected.
When I run ia.start_acquisition()  sometimes the kernel dies, with no error messages.
When it do not crashes and I try to get images using ia.fetch_buffer(is_raw=True) , the code remains running for some time, showing no activity through Ethernet port, until eventually the kernel dies.
As my data is expected to be hyperspectral, I would need to reshape it after data acquisition, into many layers, but that's not a problem, once I could get the raw data.
I'd love to know if someone has a similar configuration or could give me some advice on how could I successfully get the data from the camera.
To Reproduce
To reproduce the behavior I run this code in Jupyter Notebook on Anaconda with Python 3.6, Windows 10:
from harvesters.core import Harvester
import numpy as np

h = Harvester()

h.add_file(r'C:\...\bgapi2_gige.cti') #my path to cti file
h.update()
ia = h.create_image_acquirer(list_index=0)

ia.remote_device.node_map.get_node('AcquisitionMode').value = 'SingleFrame'

# Then start image acquisition.
ia.start_acquisition(run_in_background = True)
ia.fetch_buffer(is_raw=True)
with ia.fetch_buffer(is_raw=True) as buffer:
    component = buffer.payload.components[0]

Expected Behavior
I expect that the kernel do not die and that running ia.fetch_buffer(is_raw=True)  and then buffer.payload.components[0]  I could acquire raw data captured by the camera.
Screenshots
Here's the ethernet activity;

1st peak happens when I run ia = h.create_image_acquirer(list_index=0)
2nd peak happens when I run ia.start_acquisition()  (which crashes sometimes)

Configuration

OS: Windows 10
Python: 3.6
Harvester: 1.3.2]
Camera: Specim FX17

Reproducibility
This phenomenon can be reproduced by other versions:

[ ] Yes

Actions You Have Taken

[X] I've read the Harvester FAQ page.

Additional context
Add any other context about the problem here.

@AlmeidaAlin3 Hi, this is just out of curiosity, could you tell me why your code has two fetch_buffer calls? Is that intentional, or just a typo?
ia.fetch_buffer(is_raw=True)
with ia.fetch_buffer(is_raw=True) as buffer:
    component = buffer.payload.components[0]

Regards, Kazunari.

If you have an option, I’d recommend to give it a try with a GenTL Producer from MATRIX VISION.

And, even if your camera is a hyper-spectral, it can be reasonably arranged by Harvster if the layout follows the standard. Of course, I admit a case where it can’t be parsed due to a defect that Harvster has. If so, please excuse me!

Though it is not the issue at all, here's one more tip; you can rewrite the following code:
ia.remote_device.node_map.get_node('AcquisitionMode').value = 'SingleFrame'

with:
ia.remote_device.node_map.AcquisitionMode.value = 'SingleFrame'

There could have been a reason but this way should make your code more or less compact.

The fetch_buffer method call tries to wait until data is delivered to a buffer by default. The reason why no data is delivered is not the responsibility of the GenTL consumer side where Harvester resides; the data may not be delivered because a packet was dropped by an unexpected accident. If you can accept such a technical difficulty then you can pass the timeout parameter to the fetch_buffer method call. The unit is second, so if you call fetch_buffer(timeout=1.5) and no data is delivered until it passes 1.5 seconds, then it will throw genicam.gentl.TimeoutException.  If you are not willing to catch any exception, then please give it a try with the try_fetch method. It also takes the timeout parameter, the unit is the same. It will return None instead of throwing an exception.

Note that the start_acquisition(run_in_background=True) method call lets an image acquisition thread run in the background; in the thread, the acquirer will keep fetching data until the image acquisition is stopped. If you do not have any particular reason to keep it running, just calling start_acquisition() should be the way to go.

Hi, thank you for the update. Here are two questions:

Could you tell me the expected pixel format name? Which value do you set to node_map.PixelFormat.value?
Does the "kernel dies" phenomenon still occur?

I'd interpret that the data is Mono12Packed as far as I see the result from MATRIX VISION but I would like to make sure if it is the right answer you want to get.

In addition, with the following code you can check how the payload is interpreted by the GenTL Producer:
with ia.fetch() as buffer:
    print(buffer.payload.components[0])

For example, a typical Mono8 payload, you will see:
512 x 512, Mono8, 262144 elements,
[  0   1   2 ... 252 253 254]

By the way, to achieve the expected result, we need to understand in advance that:

The camera must follow the GigE vision so that any GenTL Producer can parse the hyper-spectral data as expected, and
The GenTL Producer must be able to parse the hyper-spectral data as expected so that it can provide sufficient information to its consumer such as Harvester.

As far as I know, Harvester can handle multiple components; there could be an exception but I do not see a use case that brings up multiple components is not special at all. However, I know I will never be able to tell you that Harvester is perfect; please excuse me in advance!
If you fail at case no. 1, then it would take some time until they fix it; otherwise, you will need to stick with the SDK the camera manufacturer offers. If you fail at case no. 2, then you will need to try out another GenTL Producer but it may be more or less promising. If the issue is in Harvester, it should be much easier and I will try to take some time to fix the issue.

@AlmeidaAlin3 Hi, I have just resolved an issue that was revealed by the same camera model as yours. See #318. I have not yet officially released a version that fixes the issue but you can give that a try on the master branch. Thanks.

Hi @kazunarikudo! what great news! 😍 🥇  thank you! I've been trying to use harvesters with this camera since I've posted but with no success. I'm still getting the jupyter freezing sometimes, though.  @TouchTheFishy, we both are using FX17, I was wondering if would you mind sharing your code to access and get data from the camera, so I can test in my camera device?

Hi, concerning the issue where the fetch method call blocks you, this comment may improve the situation. As I mentioned there, Harvester can't prevent a situation where a buffer is dropped by accident but I would like to offer you a way to not have kept you waiting for a buffer that will never come.

Ah, excuse me, I had forgotten that I mentioned the timeout on a fetch method call. So do you mean it freezes even if the timeout parameter is set?

Exactly, not always, but mostly of the time, it freezes then the kernel dies. Even if I set a high value for timeout, it crashes instantly.

Hey @AlmeidaAlin3 I've worked quite extensively with both the FX17e and the FX10e and I know that they can be a piece of work 😅
I just need to check with my company if I'm allowed to share my code to outsiders but otherwise I can still give you some advices.
About the .cti I used the one from MvImpact. I don't know which OS you are using but on Ubuntu it was kinda tricky to find it once I installed it

@AlmeidaAlin3 Hi, excuse me, I had unintentionally interpreted that you've been observing "freeze" when it crashes. I have just finished reading the original description on the top and got some ideas for further investigation:

I can confirm the activity monitor says NI's name. Could you disable all of the filter drivers except MATRIX VISION? I do not want to involve unnecessary interference.
 Version 3.6 has reached its end of support at the end of last year.
Could you try running the script on ipython instead of Jupyter Notebook? I just would like to check the reproducibility.

I have one more thing that I had overlooked a fact that the crash can be observed when the start method call is executed. Once the call is executed, the buffers (memory) are allocated and the GenTL Producer starts to fill up the data in the background so I expect you should see constant network activity as long as the device transmits the data to the GenTL Producer. When the fetch call is executed, Harvester just points out the buffer that is ready to be passed to you so it does not involve any network activity because the data has been already delivered to your computer.
If you could put every Python script line into a *.py file and then execute the following command from Visual Studio (or other popular debuggers), then you could catch the exact location or library where the crash happened. However, it'd be too much for now. Let's try the above three items first.

Hey Kazunari,
The only crashes I experienced was when I ran out of memory. But this happened only when I had quite large pictures (around 1600 x 1024 x 224 pixels) At that moment python just threw a 'Killed' at me and died. Other than that nothing as severe as a kernel crash.

Hey @AlmeidaAlin3 I've worked quite extensively with both the FX17e and the FX10e and I know that they can be a piece of work 😅 I just need to check with my company if I'm allowed to share my code to outsiders but otherwise I can still give you some advices.
About the .cti I used the one from MvImpact. I don't know which OS you are using but on Ubuntu it was kinda tricky to find it once I installed it

Please tell me what version of mvimpact do you use. I am using Specim FX10e and download mvimpact version 2.46.2. So my program freeze at step ia = h.create(0)

@pers972 Please use the latest Harvester version first for the suggested reproducibility test above.

@kazunarikudo I try MV 2.34.0 version and all working good. Thank you for your job!

Hi all,
I´m new to work with Harvester and the FX10e camera. I´m trying to perform acquisition of hyperspectral channels. For now, when I run the code, it can get the camera information, but after that it seems that the code freezes.
Follow some additional information:
OS: Windows 10
Harvesters version: 1.3.8
Python version: 3.7
Code:
from harvesters.core import Harvester
import numpy as np
h = Harvester()
h.add_file(r'C:\Program Files\MATRIX VISION\mvIMPACT Acquire\bin\x64\mvGenTLProducer.cti')
h.update()
print("device_info_list:", h.device_info_list)
ia = h.create()
with ia.fetch() as buffer:
Print(buffer.payload.components[0])
Python console:
device_info_list: [{'access_status': 1, 'display_name': 'Specim FX10e(70:f8:e7:b0:04:cb)', 'id_': 'FX10e(70:f8:e7:b0:04:cb)', 'model': 'FX10e', 'parent': <genicam.gentl.Interface; proxy of <Swig Object of type 'std::shared_ptr< GenTLCpp::TLInterface > *' at 0x000001FF8F623B10> >, 'serial_number': '057000049029', 'tl_type': 'GEV', 'user_defined_name': ' ', 'vendor': 'Specim', 'version': 'Version 1.3'}]
I appreciate any help that you can give me.

Hi all,
I´m new to work with Harvester and the FX10e camera. I´m trying to perform acquisition of hyperspectral channels. For now, when I run the code, it can get the camera information, but after that it seems that the code freezes.
Follow some additional information:
OS: Windows 10
Harvesters version: 1.3.8
Python version: 3.7
Code:
from harvesters.core import Harvester
import numpy as np
h = Harvester()
h.add_file(r'C:\Program Files\MATRIX VISION\mvIMPACT Acquire\bin\x64\mvGenTLProducer.cti')
h.update()
print("device_info_list:", h.device_info_list)
ia = h.create()
with ia.fetch() as buffer:
Print(buffer.payload.components[0])
Python console:
device_info_list: [{'access_status': 1, 'display_name': 'Specim FX10e(70:f8:e7:b0:04:cb)', 'id_': 'FX10e(70:f8:e7:b0:04:cb)', 'model': 'FX10e', 'parent': <genicam.gentl.Interface; proxy of <Swig Object of type 'std::shared_ptr< GenTLCpp::TLInterface > *' at 0x000001FF8F623B10> >, 'serial_number': '057000049029', 'tl_type': 'GEV', 'user_defined_name': ' ', 'vendor': 'Specim', 'version': 'Version 1.3'}]
I appreciate any help that you can give me.

Hi, @Eduardo-Assuncao-hub. I met with a similar problem. Try to change ia = h.create() on ia = h.create(0), or it will be problem with version of cti_file.

Hi all,
I´m new to work with Harvester and the FX10e camera. I´m trying to perform acquisition of hyperspectral channels. For now, when I run the code, it can get the camera information, but after that it seems that the code freezes.
Follow some additional information:
OS: Windows 10
Harvesters version: 1.3.8
Python version: 3.7
Code:
from harvesters.core import Harvester
import numpy as np
h = Harvester()
h.add_file(r'C:\Program Files\MATRIX VISION\mvIMPACT Acquire\bin\x64\mvGenTLProducer.cti')
h.update()
print("device_info_list:", h.device_info_list)
ia = h.create()
with ia.fetch() as buffer:
Print(buffer.payload.components[0])
Python console:
device_info_list: [{'access_status': 1, 'display_name': 'Specim FX10e(70:f8:e7:b0:04:cb)', 'id_': 'FX10e(70:f8:e7:b0:04:cb)', 'model': 'FX10e', 'parent': <genicam.gentl.Interface; proxy of <Swig Object of type 'std::shared_ptr< GenTLCpp::TLInterface > *' at 0x000001FF8F623B10> >, 'serial_number': '057000049029', 'tl_type': 'GEV', 'user_defined_name': ' ', 'vendor': 'Specim', 'version': 'Version 1.3'}]
I appreciate any help that you can give me.

Hi, @Eduardo-Assuncao-hub. I met with a similar problem. Try to change ia = h.create() on ia = h.create(0), or it will be problem with version of cti_file.

Hi @pers972. Thank you for the tip. The problem was the version of cti_file. I have another question that is not a Harvester issue . Do you have any information about how to convert Digital Number (DN) from the FX10e to reflectance?

I'm having similar problems with a SPCIM FX10. I tried using the current (3.03) mvAcquire and had the same problem - hanging when I try to create(). I downgraded to the most recent 2.X version (2.50.1) and wasn't able to see the device anymore after an h.update(). Finally I downgraded again to 2.34.0 as per @pers792's comment above and had the same problem (unable to connect).
Rolling forward again to 3.0.3, I still have the problem where it seems to hang indefinitely.
The below code will not print past "before create"
import os
from harvesters.core import Harvester

h = Harvester()

gentl_file = r"C:\Program Files\Balluff\ImpactAcquire\bin\x64\mvGenTLProducer.cti"

print(os.path.exists(gentl_file))

h.add_file(gentl_file)
h.update()
print(h.device_info_list)

print("before create")
with h.create() as ia:
    print("after create")
    with ia.fetch_buffer(is_raw=True) as buffer:
        print("after fetch")
        component = buffer.payload.components[0]
        print(component)


Crashes on Android due to error "libmain.so not found" with RN > 0.60

While everything works fine with React Native below any version under 0.60, on Android the application will crash upon activating the UnityView with RN > 0.60.
The final error happens because of a "libmain.so" could not be loaded:
E Unity   : Failed to load 'libmain.so', the application will terminate.
D AndroidRuntime: Shutting down VM
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.rnunitydemo, PID: 16887
E AndroidRuntime: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.rnunitydemo-bKGyotdcwjVnBxuR9zLE4Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.rnunitydemo-bKGyotdcwjVnBxuR9zLE4Q==/lib/arm64, /data/app/com.rnunitydemo-bKGyotdcwjVnBxuR9zLE4Q==/base.apk!/lib/arm64-v8a, /system/lib64, /product/lib64]]] couldn't find "libmain.so"

According to a crash-report in the official Unity-Forum, we took care to use the same settings in both build.gradle for ndk-abiFilter:
android {
    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 28
        ndk {
            abiFilters 'armeabi-v7a', 'x86'
        }
        multiDexEnabled true
        versionCode 1
        versionName '0.1'
    }
}

but it won't fix the issue. There is a big chance that the issues https://github.com/f111fei/react-native-unity-view/issues/120 and https://github.com/f111fei/react-native-unity-view/issues/129 might be related to this one.
Anybody found a proper solution for this?

Apparently this issue is not only related to React Native and its gradle-files, but a common issue nowadays according to StackOverflow, like this: https://stackoverflow.com/questions/58751549/unable-to-load-libmain-so-in-android-studio-and-unity-as-library

https://stackoverflow.com/questions/58877735/how-to-solve-libmain-so-not-found-while-using-unity-as-a-library-in-android-ap

Confirm that problem, can't find solution

Found it. Bevor building for Android, we need to adjust some settings in "Player Settings" in order to make ARM64 Bit available:

Switching "Scripting Backend" from Mono to ILCPP, which enables us to:
Select "ARM64" under Target Architectures

If you run into an Error like "NDK not found", ensure that Unity has downloaded and installed its own copy of NDK:

Having all this in mind will enable us to link against these libraries without failing to find "libmain.so"

It works, thanks

It works, thanks

Found it. Bevor building for Android, we need to adjust some settings in "Player Settings" in order to make ARM64 Bit available:

Switching "Scripting Backend" from Mono to ILCPP, which enables us to:
Select "ARM64" under Target Architectures

If you run into an Error like "NDK not found", ensure that Unity has downloaded and installed its own copy of NDK:

Having all this in mind will enable us to link against these libraries without failing to find "libmain.so"


Task: Implement Sign API feature

What is the task about?
This task is about adding an API to support metadata signatures.
This API will get the signature status and post signature tasks to the RSTUF broker. These tasks are computed by RSTUF Worker(s)
Endpoint: /api/v1/metadata/sign
Method GET

Get a list of existent {ROLE}_SIGNING from RSTUF Redis (settings Repository)
The {ROLE}_SIGNING can be None when there is no pending signatures, or contains the current metadata to add the signature
For example, ROOT_SIGNING. This key can be None which means no signature pending, or it contains the current metadata.
If it is None, it will not be included.
It will retrieve a body as:
{
   "metadata": {
         "<role name>": {"<metadata>"}
   }
}

Method POST

Send the signature to be included to the Metadata
It will accept a payload like:
{
  "role": "role name",
  "signature": {
      "keyid": "secure systems lib key id",
      "sig": "signature hash"
  }
}

Parent feature

https://github.com/repository-service-tuf/repository-service-tuf/issues/327

References
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I have a working prototype here:

https://github.com/kairoaraujo/repository-service-tuf-api/blob/distributed_async_sign/repository_service_tuf_api/api/metadata.py

It will also require implementing the issue below

[ ] https://github.com/repository-service-tuf/repository-service-tuf-api/issues/342

Implementing the distributed async signing in the worker will give us three different states for RSTUF Bootstrap:

None: The RSTUF has not bootstrap
pre-<task id>: The RSTUF received a bootstrap, and it is locked but not finished
signing-<task id>: The RSTUF received a bootstrap request. It was processed but still waiting for signatures
<task id>: RSTUF has a bootstrap


Replication 403 if swift as registry storage

Our harbor has swift as registry backend storage, replication gets error 403.
Sep 16 06:36:27 <IP_ADDRESS> jobservice[1024]: 2017-09-16T06:36:27Z [DEBUG] [transport.go:51]: 403 | GET http://swift.datayes.com/v1/AUTH_XXXXX/files/docker/registry/v2/blobs/sha256/aa/aab39f0bc16d3c109d7017bcbc13ee053b9b1b1c6985c432ec9b5dde1eb0d066/data?temp_url_sig=111111111111111&temp_url_expires=1505544987
Harbor's PullBlob function is using http.client, so I did some tests, if the http.client/request has auth info, 403 is returned when getting the swift temp url for the blob. If http.client/request has no auth info. 200 is returned.
So, could you please check swift and remove auth info in the http.client/request in PullBlob? Thanks.

@mervynzhang could you clarify does this issue only happen when the "source" registry points to swift?
Did you try the case when the "target" registry is set to swift?

@reasonerjt this error occured when pulling blobs from source registry, it didn't reach the target registry yet.
Based on my tests, when pulling blobs, registry swift driver return a temp url for the blobs, if the http.client/request visiting the temp url has auth info, swift will use the auth info wich is incorrect swift user/password and return 403. But if http.client/request has no auth info, swift will treat the visiting to temp url correctly and return 200.

What is the version of Harbor that you are testing? There is a similar issue #1006 in the early version of Harbor, but it's has been fixed.

@ywk253100 It looks like fix for 1006 only works for aws s3, before filterReq use v2Index := strings.Index(req.URL.Path, "/v2/") as the filter, but swift url also has v2
Sep  6 02:27:19 <IP_ADDRESS> jobservice[1024]: 2017-09-06T02:27:19Z [DEBUG] [transport.go:51]: 403 |
GET http://swift.datayes.com/v1/datayes/harbor/files/docker/registry/v2/blobs/sha256/aa/aab39f0bc16d3c109d7017bcbc13ee053b9b1b1c6985c432ec9b5dde1eb0d066/data?temp_url_sig=7ae07f3997a1d918fc8a9074c7a6fc76f0d70a32&temp_url_expires=1504666039
while registry using local storage:
Sep 18 13:35:58 <IP_ADDRESS> jobservice[946]: 2017-09-18T05:35:58Z [DEBUG] [transport.go:50]: 200 | GET http://registry:5000/v2/test/test/blobs/sha256:df74c0cea8ad6b25004db74b9829d513990ac7e219128594eb2b7df2d785f961

It does not only check the existence of "/v2/" but also check the host, scheme and URL path.

@ywk253100 we're using version 0.5.

@ywk253100  @reasonerjt  I just tested with version 1.20. replication with with swift.
Sep 18 16:31:35 <IP_ADDRESS> jobservice[946]: 2017-09-18T08:31:35Z [DEBUG] [tokenauthorizer.go:61]: the request http://swift.wmcloud.com/v1/AUTH_datayes/harbor-test/files/docker/registry/v2/blobs/sha256/e4/e485506b272ee957f6e0fe7b62bb4a2e1d5d2b5de3771029d0309af97dadd7c9/data?temp_url_sig=09996c1e113ba597efc76d0a8d1249b0e66e4421&temp_url_expires=1505724695 is not sent to registry, skip
Sep 18 16:31:35 <IP_ADDRESS> jobservice[946]: 2017-09-18T08:31:35Z [DEBUG] [transport.go:50]: 200 | GET http://swift.wmcloud.com/v1/AUTH_datayes/harbor-test/files/docker/registry/v2/blobs/sha256/e4/e485506b272ee957f6e0fe7b62bb4a2e1d5d2b5de3771029d0309af97dadd7c9/data?temp_url_sig=09996c1e113ba597efc76d0a8d1249b0e66e4421&temp_url_expires=1505724695


Sample (python/wip/python_tornado/02.echo-bot) fails due to not finding the aiohttp module

Context
For more information, see the parent issue. #3436
Sample information

Sample type: Samples
Sample language: python
Sample name: python/wip/python_tornado/02.echo-bot

Describe the bug
The Bot throw the error ModuleNotFoundError: No module named 'aiohttp'. at startup time.

Bots
Status

samples/python/wip/python_tornado/02.echo-bot
• Work in Progress folder.  • Fails due to, ModuleNotFoundError: No module named 'aiohttp'.

Expected behavior
Being able to communicate with the bot.
Actual behavior
Fails at startup due to the missing aiohttp module.

Removed sample


Regression due to ruamel.yaml

Potentially dangerous regression in config box, due to the new ruamel.yaml dependency.
>>> from box import ConfigBox
>>> b = ConfigBox.from_yaml("kill_all_humans_mode: no")
>>> if b.kill_all_humans_mode:
...     print("ok, killing all humans...")
...
ok, killing all humans...

Same problem with box.Box. Our test suite caught this, but others might not be so lucky.  ruamel isn't exactly a drop-in replacement for yaml, despite claims to the contrary (ruamel defaults to spec 1.2 and yaml is spec 1.1).
I would advise to make the toml and ruamel.yaml dependencies optional (or "soft" dependencies, like it was in 3.x) since users might prefer other providers such as pytoml and PyYAML and you don't want to tie their hands here.
Personally, I can not use box>=4 at all because the ruamel.yaml has an insane installer which, for various reasons, does not work in the prod environment at $EMPLOYER.

For ruamel.yaml it is possible to use version 1.1 by passing that argument to the loader which should remove any differences that I am aware of.
Box.from_yaml("kill_all_humans_mode: no", version='1.1')
<Box: {'kill_all_humans_mode': False}>

I am against the soft dependencies as it makes it more cumbersome for the 95% percent case, and also makes it so dependencies like that can exist due to external libraries (aka with Box 3.x if someone has PyYAML on one machine and ruamel.yaml on another can produce different results.)
However, as there is no way to monkey patch PyYAML in without having ruamel.yaml imported successfully that does cause a conundrum in the case where one cannot install ruamel.yaml at all. I will need to think of a way to allow for fallbacks if those other dependencies are already on the system, or somehow manually flagged to use instead of the defaults.

Testing this out https://github.com/cdgriffith/Box/commit/92439a7889ac493e3aa9b3d80565d0efac53ed9a
I can't think of an easy way other than checking on install if PyYAML is alraedy installed and ruamel.yaml is not. I am going to sleep on this, but let me know if you have any other ideas for it!
Also not planning to bother to do that to toml as pytoml is depreciated.
To be honest when working on 4.x initially, before the PyYAML 5.1 release, I was blindly assuming that we wasn't going to see another major release, so it's nice to see that both projects are still alive and well!

https://github.com/cdgriffith/Box/commit/92439a7889ac493e3aa9b3d80565d0efac53ed9a is really not the right way to go about it. Since you are shipping .whl distributions, the setup.py is typically not executed at all for the end user. The distribution dependencies are determined at build time, not at install time (unless you're shipping source distributions only, forcing the end user to execute a setup.py at install time).
Maybe it's best to just make the toml/yaml supported as optional "extras". Perhaps not every user even wants these features, and just wants to use Box in pure Python without loading from markup language.
Then the syntax for end user will look like this:
pip install python-box  # pure python version
pip install python-box[yaml]   # with yaml support
pip install python-box[toml]  # with toml support
pip install python-box[toml,yaml]  # with both yaml and toml support

This allows you to choose your preferred yaml/toml providers in the metadata, but also allows users who have some other preference to use some other one without getting a dependency conflict.

I actually have not seen that syntax / usage before. How do you access or use that metadata info? (Have a handy link with examples perhaps?)
Thanks!

See https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies

documentation updates slated for 4.1 https://github.com/cdgriffith/Box/pull/132

Addressed in 4.1.0

As an update to this, Box 5.0 will go back to being able to be pure python, and installing additional extras as requested.  https://github.com/cdgriffith/Box/wiki/Installation