Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return          a prompt right away.
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Creating Domain
Adding Templates
Creating Resources
Error: cd() failed. Do dumpStack() to see details.
STDERR: Problem invoking WLST - Traceback (innermost last):
File "/etc/ge/corp/local-mode-cache/cache/new_domain-12c.py", line 66, in ?
File "/etc/ge/corp/local-mode-cache/cache/new_domain-12c.py", line 16, in alterDatasource
File "/tmp/WLSTOfflineIni8269976080529373646.py", line 23, in cd
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:56)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2279)
at com.oracle.cie.domain.script.jython.WLScriptContext.cd(WLScriptContext.java:1069)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: java.lang.UnsupportedOperationException: Could not create          generic operation:JDBCDriverParams
---- End output of /home/oracle-fmw/fmw/12c/wlserver/common/bin/wlst.sh /etc/ge/corp/local-mode-cache/cache/new_domain-12c.py ----
Ran /home/oracle-fmw/fmw/12c/wlserver/common/bin/wlst.sh /etc/ge/corp/local-mode-cache/cache/new_domain-12c.py returned 1
[2016-01-15T17:44:49+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Any thing i am missing here.

I am trying to connect to remote machine, where i have installed oracle database.

Hi Jeqo,
I have tried installing all the softwares in the same box. than it throws the error saying username/password invalid
below is the stacktrance.
[2016-01-16T00:43:16-05:00] ERROR: Running exception handlers
[2016-01-16T00:43:16-05:00] ERROR: Exception handlers complete
[2016-01-16T00:43:18-05:00] FATAL: Stacktrace dumped to /etc/ge/corp/local-mode-cache/cache/chef-stacktrace.out
[2016-01-16T00:43:18-05:00] ERROR: execute[/home/oracle-fmw/fmw/12c/wlserver/common/bin/wlst.sh /etc/ge/corp/local-mode-cache/cache/new_domain-12c.py] (oracle-fmw::create-domain-12c line 61) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /home/oracle-fmw/fmw/12c/wlserver/common/bin/wlst.sh /etc/ge/corp/local-mode-cache/cache/new_domain-12c.py ----
STDOUT: Initializing WebLogic Scripting Tool (WLST) ...
Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Creating Domain
Adding Templates
Creating Resources
[EL Severe]: ejb: 2016-01-16 00:43:14.938--ServerSession(1798762074)--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Error Code: 1017
Error: updateDomain() failed. Do dumpStack() to see details.
STDERR: Problem invoking WLST - Traceback (innermost last):
File "/etc/ge/corp/local-mode-cache/cache/new_domain-12c.py", line 79, in ?
File "/tmp/WLSTOfflineIni9152967428586174691.py", line 103, in updateDomain
Domain Location: /home/oracle-fmw/work/domains/DefaultDomain
Reason: oracle.security.opss.tools.lifecycle.LifecycleException: Error during configuring DB security store. Exception oracle.security.opss.tools.lifecycle.LifecycleException: oracle.security.jps.service.policystore.PolicyStoreException: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Error Code: 1017
Exception:
oracle.security.opss.tools.lifecycle.LifecycleException: Error during configuring DB security store. Exception oracle.security.opss.tools.lifecycle.LifecycleException: oracle.security.jps.service.policystore.PolicyStoreException: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Error Code: 1017
    at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:56)
    at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2279)
    at com.oracle.cie.domain.script.jython.WLScriptContext.updateDomain(WLScriptContext.java:827)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)

com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: Domain Extension Application Failed!
Domain Location: /home/oracle-fmw/work/domains/DefaultDomain
Reason: oracle.security.opss.tools.lifecycle.LifecycleException: Error during configuring DB security store. Exception oracle.security.opss.tools.lifecycle.LifecycleException: oracle.security.jps.service.policystore.PolicyStoreException: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Error Code: 1017
Exception:
oracle.security.opss.tools.lifecycle.LifecycleException: Error during configuring DB security store. Exception oracle.security.opss.tools.lifecycle.LifecycleException: oracle.security.jps.service.policystore.PolicyStoreException: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Error Code: 1017
---- End output of /home/oracle-fmw/fmw/12c/wlserver/common/bin/wlst.sh /etc/ge/corp/local-mode-cache/cache/new_domain-12c.py ----
Ran /home/oracle-fmw/fmw/12c/wlserver/common/bin/wlst.sh /etc/ge/corp/local-mode-cache/cache/new_domain-12c.py returned 1
[

@sujansonly: did you manage to fix this? By default 11g and 12c domain creation scripts use a password: "welcome1" defined by this property: ['domain-12c']['db_repo_password']
Did you try to change it before running into this?
Cheers!

initially i used different password, which i used while installing the database.
but later i changed it to welcome1 still it throws me the same error.

once installation fail, could you connect to your machine and check the wlst script generated (create_domain_py = File.join(Chef::Config[:file_cache_path], "new_domain-12c.py")), check if the password is ok and run it manually: "#{wl_home}/common/bin/wlst.sh #{create_domain_py}"

u know, i also made the same password for weblogic.
below is the script content created.
DOMAIN_MODE='Expanded'
DOMAIN_PATH='/home/oracle-fmw/work/domains/DefaultDomain'
APP_PATH='/home/oracle-fmw/work/apps/DefaultDomain'
DOMAIN='DefaultDomain'
START_MODE='dev'
CROSSDOMAIN_ENABLED=true
ADMIN_USERNAME='weblogic'
ADMIN_PASSWORD='welcome1'
REPOS_DBURL='jdbc:oracle:thin:@localhost:1521:XE'
REPOS_DBUSER_PREFIX='DEV01'
REPOS_DBPASSWORD='welcome1'
def alterDatasource(datasource_name, schema_sufix, driver_name):
cd('/JDBCSystemResource/' + datasource_name + '/JdbcResource/' + datasource_name + '/JDBCDriverParams/NO_NAME_0')
set('URL',REPOS_DBURL)
set('PasswordEncrypted',REPOS_DBPASSWORD)
if driver_name:
set('DriverName', driver_name)
cd('Properties/NO_NAME_0/Property/user')
set('Value',REPOS_DBUSER_PREFIX+'_'+schema_sufix)
def defineServer(default_name, new_name, machine_name, address, port):
cd('/Servers/' + default_name)
if machine_name:
set('Machine', machine_name)
if address:
set('ListenAddress', address)
set('ListenPort',port)
set('Name',new_name)
print 'Creating Domain'
readTemplate('/home/oracle-fmw/fmw/12c/wlserver/common/templates/wls/wls.jar', DOMAIN_MODE)
setOption('ServerStartMode', START_MODE)
setOption('AppDir', APP_PATH )
cd('/')
cd('Security/base_domain/User/weblogic')
set('Name',ADMIN_USERNAME)
cmo.setPassword(ADMIN_PASSWORD)
"
i m going to run it manually.

oh it returned saying this...
[root@ip-10-227-83-104 gecloud]# /home/oracle-fmw/fmw/12c/wlserver/common/bin/wlst.sh /etc/ge/corp/local-mode-cache/cache/new_domain-12c.py
Initializing WebLogic Scripting Tool (WLST) ...
Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Creating Domain
Error: writeDomain() failed. Do dumpStack() to see details.
Problem invoking WLST - Traceback (innermost last):
File "/etc/ge/corp/local-mode-cache/cache/new_domain-12c.py", line 54, in ?
File "/tmp/WLSTOfflineIni7129978096444931467.py", line 73, in writeDomain
60302: A domain already exists at the specified location.
60302: Change the domain location.
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:56)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2279)
at com.oracle.cie.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:1392)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: 60302: Domain already exists.
60302: A domain already exists at the specified location.
60302: Change the domain location.
Can you pls advice me, which folders do i have to remove to clean up the failed domain.

i just changed the location and ran the script... it throws the same error.
[root@ip-10-227-83-104 gecloud]# /home/oracle-fmw/fmw/12c/wlserver/common/bin/wlst.sh /etc/ge/corp/local-mode-cache/cache/new_domain-12c.py
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Creating Domain
Adding Templates
Creating Resources
[EL Severe]: ejb: 2016-01-18 14:15:41.404--ServerSession(703896178)--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Error Code: 1017
Error: updateDomain() failed. Do dumpStack() to see details.
Problem invoking WLST - Traceback (innermost last):
File "/etc/ge/corp/local-mode-cache/cache/new_domain-12c.py", line 79, in ?
File "/tmp/WLSTOfflineIni2038411101033053708.py", line 103, in updateDomain
Domain Location: /home/oracle-fmw/work/domains/DefaultDomain2
Reason: oracle.security.opss.tools.lifecycle.LifecycleException: Error during configuring DB security store. Exception oracle.security.opss.tools.lifecycle.LifecycleException: oracle.security.jps.service.policystore.PolicyStoreException: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Error Code: 1017
Exception:
oracle.security.opss.tools.lifecycle.LifecycleException: Error during configuring DB security store. Exception oracle.security.opss.tools.lifecycle.LifecycleException: oracle.security.jps.service.policystore.PolicyStoreException: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Error Code: 1017
    at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:56)
    at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2279)
    at com.oracle.cie.domain.script.jython.WLScriptContext.updateDomain(WLScriptContext.java:827)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)

com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: Domain Extension Application Failed!
Domain Location: /home/oracle-fmw/work/domains/DefaultDomain2

Is it because the i created the oracle with oracle user and this script runs from root ?

which username does it picks up by default ?

[root@ip-10-227-83-104 gecloud]# sqlplus
SQL*Plus: Release <IP_ADDRESS>.0 Production on Mon Jan 18 14:29:45 2016
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
Enter user-name: sys
Enter password:
ERROR:
ORA-28009: connection as SYS should be as SYSDBA or SYSOPER
Enter user-name: system
Enter password:
Connected to:
Oracle Database 11g Express Edition Release <IP_ADDRESS>.0 - 64bit Production
SQL>

wlst is trying to connect database schemas that are created by RCU. Those schemas exist in you database? for instance: DEV_SOAINFRA or DEV_MDS (where DEV is the prefix that you choose in RCU)

i have not ran the BPM Setup.
Can i make the domain setup with out BPM ?

Check this variable:
default['domain-12c']['apps'] = [
	{"name" => "OSB", "enabled" => false},
	{"name" => "SOA", "enabled" => false},
	{"name" => "BPM", "enabled" => false},
	{"name" => "BAM", "enabled" => false}
]

these vars let you decide which templates will be applied to your domain.

Hi Jeqo,
RCU seems to be installed form BPM setup file, isnt it ?
Can i have RCU setup without running BPM ? also i do not find BPM setup file for 12.1.3 which i am using for SOA setup.
Regards
Sujan

i was trying to run this role.
i want to install the soa domain
{
"name" : "demo-soa-12c",
"json_class" : "Chef::Role",
"default_attributes" : {
"fmw-12c": {
"os_user": "oraclefmw"
},
"soa_qs-12c": {
"url": "file:///data/fmw_<IP_ADDRESS>.0_soaqs_Disk1_1of1.zip"
},
"domain-12c": {
"name": "demo-soa-domain",
"mode": "Compact",
"apps": [
{"name" : "SOA", "enabled" : true},
{"name" : "BPM", "enabled" : false},
{"name" : "BAM", "enabled" : false},
{"name" : "OSB", "enabled" : false}
],
"machines": [
],
"admin_server": {
"base_name" : "AdminServer",
"new_name" : "soa-server",
"port" : "7001"
},
"managed_servers": [
]
}
},
"run_list" : [
"recipe[oracle-fmw::install-soa_qs-12c]",
"recipe[oracle-fmw::create-domain-12c]"
]
}
SOA has installed and Create domains fails in this.
I have not put anything else in this run list.
do i have to add install RCU or BPM Scripts also to setup SOA domain ?

Compact mode uses derby database instead of Oracle Database, but https://github.com/jeqo/oracle-fmw/blob/master/templates/default/domain-12c.py.erb still update datasource. That could be causing this problem.
Could you try to add a conditional to update datasources if DOMAIN_MODE is compact? Hopefully I will have time this weekend to test this cookbook.

@sujansonly this is resolved also?

yah... i added rcu in the runlist.
rcu home has bpm directory i made change the path nd it executed well.
how can i start the soa server inside the console. what are all the settings i need more to startup the soa server ?

This cookbook does not include a "startup" service defined. You can start it as any other domain installation by running [domain home]/startWebLogic.sh if you have all services in AdminServer.


feat: Added Responsive contact page

Fixes Issue #19
Closes #19
Changes proposed

Added Contact Page
Made it Responsive

Screenshots

Hey @zelfroster , Excellent job but could  you change the contact me button functionality like when user clicks on the contact me that  should scroll to this contact form.

Oops forgot to do that 😅, just a min

Hey @zelfroster , Excellent job but could you change the contact me button functionality like when user clicks on the contact me that should scroll to this contact form.

Done


Code cleanup and various tools implemented

-Junit Testing
-CircleCI
-Gradle

Hey @lcombs15,
Apologies for not seeing this earlier, I'm not sure if Github wasn't sending me emails or how this got lost.
Well today I had some free time and ended up adding gradle support. The app still needs some updates to run which I might get to sometime.
Anyhow, sorry for not seeing this and thanks for the pull request


Update to Swift 3.1.1, add Xcode 9 and 6-29 snapshot to Travis IBM-Sw…

…ift/Kitura#1121

Codecov Report

Merging #93 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #93   +/-   ##
=======================================
  Coverage   85.73%   85.73%
=======================================
  Files          43       43
  Lines        3546     3546
=======================================
  Hits         3040     3040
  Misses        506      506

Flag
Coverage Δ

#SwiftKuery
85.73% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


⚠ PrivateHD has degraded performance

In c992c86, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1270 ms

Resolved: PrivateHD performance has improved in a3f7e06.


Moveignore[override] annotation to method signature

Moves the # type: ignore[override] comment to the method signature in cases where it appeared on another line, in agreement with https://github.com/Lightning-AI/lightning/pull/19025#discussion_r1398252687.

@awaelchli In the case of this PR, an error does arise when moving the ignore annotation to the line of the method signature (https://github.com/Lightning-AI/lightning/pull/19025#discussion_r1398251405). It seems the difference (w.r.t. the referenced comment) is the presence of the @property decorator. Do you suggest keeping the ignore annotation on the method line whenever possible, whilst bringing it to the top line when there is an @property decorator?

Do you suggest keeping the ignore annotation on the method line whenever possible, whilst bringing it to the top line when there is an @property decorator?

Yes, it was not my intention to be so pedantic about it. Whenever possible would be great. It was just awkward to have a # type ignore[override] next to the @override annotation, that's all.

Okay great. With that, this PR can be closed.


Fixed bug - Error: someFunction is not defined

Description:
Fixed bug Error: someFunction is not defined
Related issue (if exists):
Site stackblitz

Warnings
commit message does not follows conventional change log (1)

(1) : RxJS uses conventional change log to generate changelog automatically. It seems some of commit messages are not following those, please check contributing guideline and update commit messages.

Generated by  dangerJS

I updated the comment

Thank you, @peteichuk!!


fix(adapters/controllers): track changes to views

We're adding a new adapter event here: 'clear'. For the time being, rather
than attempt to keep track of internal views at the DOM layer, we'll be
clearing and rebuilding the tree model whenever a change is observed.
This reduces a lot of the complexity involved in reconciling the view
listener's world and that of the resultant DOM.
I've also done some code cleanup.

@bertrandk looks good :ship:


SEGFAULT when calling ArchitectureHook::GetInstructionLowLevelIL from ArchitectureExtension plugin.

Version and Platform (required):

Binary Ninja Version: 4.0.4958 Personal, ddff9339
OS: windows/linux
OS Version: 11
CPU Architecture: x86_64

Bug Description:
When processing some binaries with an architecture extension plugin, the Binary Ninja crashes with segfault. this happens only in some binaries. The crash does not happen if the return ArchitectureHook::GetInstructionLowLevelIL(data, addr, len, il); line of code is not used inside my GetInstructionLowLevelIL. When the extension does not call the original implemenation via the ArchitecrtureHook all is stable (although not usable since this means that instructions are not lifted).
Steps To Reproduce:
The plugin can be found here, I can share the binary in private.
Expected Behavior:
Not crash.
Screenshots:

Additional Information:

@Martyx00 please share with us the binary. You can either send it to us on our slack https://slack.binary.ninja/, or email it to us via<EMAIL_ADDRESS>

File has been shared in private

v35 folks should search for beard mass meet cage sure to find the binary

That PR fixes the crash, but then it gets a recursion overflow at https://github.com/Vector35/binaryninja-api/blob/dff192e3bd6d5737633a740988c31e4ecba92998/lowlevelilinstruction.cpp#L1849-L1851
...coming from vle_ext.cpp:4117

I have another binary that does this. If it is going to help, let me know.


How is the progress of opensource?

May I ask how is the progress of opensource?
I think there are many guys like me, who look forward to seeing it. :+1:

@chenwei-tw Thanks for your interest. Due to higher priority internal deadlines I could not spend time on this task.
Progress-wise we are almost ready to opensource the framework and if time permits, I'd like to finish this item within the next month.
We'll keep you posted in that regard,
Thanks,

Microprobe released. Sorry for the delay :P

Source code repo: https://github.com/IBM/microprobe
Documentation: https://ibm.github.io/microprobe/
Installation packages: https://pypi.org/search/?q=Microprobe


enable flow control window auto-tuning for the first WindowUpdate

fixes #499

Codecov Report

Merging #504 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #504      +/-   ##
==========================================
- Coverage   90.75%   90.75%   -0.01%
==========================================
  Files          81       80       -1
  Lines        5419     5415       -4
==========================================
- Hits         4918     4914       -4
  Misses        321      321
  Partials      180      180

Impacted Files
Coverage Δ

flowcontrol/flow_controller.go
97.73% <100%> (+0.05%)
:arrow_up:

crypto/config_for_client_1.8.go

Continue to review full report at Codecov.

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


Update dependencies in build hook (main)

yes

The following are referenced as dependencies in the build hook.

irods-externals-cpr1.3.0-1
irods-externals-elasticlientd68e30e3-0

We need to figure out what to do about #128.

See comment at https://github.com/irods/irods_capability_indexing/issues/128#issuecomment-1757880333 for current plan.

Do we need this anymore since #128 has been resolved?

This isn't needed anymore.
Why isn't github reporting a conflict or that this is a no-op? Am I blind or something?

Well, it is only a one-line change. Maybe it can rebase cleanly?

Well in any case, this PR isn't needed.
I'm going to close it unless you have opinions.

Yep, agreed. Close it


Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installer hash mismatch.
Brief description of your issue
Attempted this specific package several times, each time returning the same hash mismatch error.
Steps to reproduce

open powershell as admin
run winget upgrade PurpleI2P.i2pd

Actual behavior
winget returns Installer hash does not match; this cannot be overridden when running as admin
Expected behavior
I expect the hash to be correct and the installation to proceed...
I don't think it's my network as the file has been re-downloaded several times.
Environment
Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.2364
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

Screenshots and Logs

This is related to

https://github.com/microsoft/winget-cli/issues/2666


how to sign in with linkedin to download lynda videos

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.07.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.07.01

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '--username', 'PRIVATE', '--password', 'PRIVATE', 'https://www.lynda.com/Illustrator-tutorials/Pixel-Playground/122998-2.html']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.07.01
[debug] Python version 3.4.4 - Windows-10-10.0.10586
[debug] exe versions: none
[debug] Proxy map: {}
[lynda:course] Downloading signin page
[lynda:course] Submitting email
ERROR: Unable to login: Please use the "Sign in with LinkedIn" option to sign in.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\common.py", line 390, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\YoutubeDL.py", line 1950, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
urllib.error.HTTPError: HTTP Error 500: Internal Server Error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\lynda.py", line 53, in _login_step
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\common.py", line 535, in _download_json
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\common.py", line 503, in _download_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\common.py", line 410, in _download_webpage_handle
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\common.py", line 399, in _request_webpage
youtube_dl.utils.ExtractorError: Unable to download JSON metadata: HTTP Error 500: Internal Server Error (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\common.py", line 390, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\YoutubeDL.py", line 1950, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
urllib.error.HTTPError: HTTP Error 500: Internal Server Error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\lynda.py", line 53, in _login_step
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\common.py", line 535, in _download_json
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\common.py", line 503, in _download_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\common.py", line 410, in _download_webpage_handle
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\common.py", line 399, in _request_webpage
youtube_dl.utils.ExtractorError: Unable to download JSON metadata: HTTP Error 500: Internal Server Error (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\YoutubeDL.py", line 676, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\common.py", line 342, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\common.py", line 336, in initialize
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\lynda.py", line 26, in _real_initialize
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\lynda.py", line 85, in _login
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\lynda.py", line 58, in _login_step
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcna42527\build\youtube_dl\extractor\lynda.py", line 34, in _check_error
youtube_dl.utils.ExtractorError: Unable to login: Please use the "Sign in with LinkedIn" option to sign in.
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
Please explain a way to download lynda videos if I have signed in with my linkedin account.

It's not implemented yet. See #9819


Formula insertion results in “???” being added to the text

As reported by Giuliano. We should improve this and either pre-fill the formula with some default or provide a more appropriate placeholder.

Maybe we can apply the 'Placeholder' pattern? I.e. an informative message, such as Edit formula

We could similar to the other placeholders let the inline-node render sm-empty and data-placeholder=... and again use CSS.


mullvad-browser: 12.5 -> 12.5.1

Description of changes
https://github.com/mullvad/mullvad-browser/releases/tag/12.5.1

Updated Firefox to 102.13.0esr
Bug 192: Rebase Mullvad Browser 12.5 stable on top of 102.13esr [mullvad-browser]
Bug 41854: Download Spam Protection cannot be overridden to allow legitimate downloads [tor-browser]

Adding the "security" label because of the Firefox update.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

1 package built:

mullvad-browser

Result of nixpkgs-review pr 241626 run on x86_64-linux 1

1 package built:

mullvad-browser

@felschr those labels are managed automatically, you don't need to add them.

@felschr those labels are managed automatically, you don't need to add them.

@SuperSandro2000 I noticed that it takes a while for them to be added automatically, so I've been adding them myself in some cases.

@panicgh I think we should add the GitHub release archive as an additional source, since they have switched to the "normal" version number for the tags:
diff --git a/pkgs/applications/networking/browsers/mullvad-browser/default.nix b/pkgs/applications/networking/browsers/mullvad-browser/default.nix
index 84ddc3e7584..b8815cbf141 100644
--- a/pkgs/applications/networking/browsers/mullvad-browser/default.nix
+++ b/pkgs/applications/networking/browsers/mullvad-browser/default.nix
@@ -82,7 +82,10 @@ let

   sources = {
     x86_64-linux = fetchurl {
-      url = "https://cdn.mullvad.net/browser/${version}/mullvad-browser-linux64-${version}_ALL.tar.xz";
+      urls = [
+        "https://cdn.mullvad.net/browser/${version}/mullvad-browser-linux64-${version}_ALL.tar.xz"
+        "https://github.com/mullvad/mullvad-browser/releases/download/${version}/mullvad-browser-linux64-${version}_ALL.tar.xz"
+      ];
       hash = "sha256-yG22oyTDb7i1OnM7L9uOSaMhDytONAxE68Tg5XQSYq4=";
     };
   };

I'd suggest we do that with the next version update. I just wanted to let you know so if you're faster with the PR again you can apply those changes as well. I'm not currently aware of any other mirrors.


Add tests to load an actual spec

Without using an actual spec, we only tested spec generated by our code. If we mess up with the types, we will fail to notice it. The sample.json taken directly from `opencontainer/runtime-spec.
Hook timeout should not be Duration. Duration implies a much richer structure. Here, the timeout means number of seconds, represented by an i64 integer. We can't parse that to a Duration without custom parser.

Codecov Report

Merging #78 (81d931e) into main (19c26ca) will decrease coverage by 0.06%.
The diff coverage is 16.66%.

@@            Coverage Diff             @@
##             main      #78      +/-   ##
==========================================
- Coverage   26.93%   26.87%   -0.07%
==========================================
  Files          19       20       +1
  Lines        1344     1362      +18
  Branches      694      706      +12
==========================================
+ Hits          362      366       +4
+ Misses        374      367       -7
- Partials      608      629      +21


Tag setting page displays abnormally

IEMobile 11
Windows Phone 8.1
Small screen. Only 4 inch, 480x800.

Not only the tag setting page.


fix: pinner to use env vars for config + default values

This commit makes the pinner cli a bit more usable for infra-folks to be able to deploy peer-star-app easily.
cc @jimpick
License: MIT
Signed-off-by: Victor Bjelkholm<EMAIL_ADDRESS>

Making to tracking link on https://github.com/protocol/infra/issues/398

@victorb thanks! This landed in v0.10.1.


travis: test against go 1.9

@marcopeereboom Fails due to https://github.com/golang/go/issues/21963

old


Compatibility data: copay data bech32

https://github.com/bitcoinops/bitcoinops.github.io/issues/212

Untested ACK.


Document MMIO register layout

There should be a reference document for the standard / expected MMIO register layout to clarify which implementations are "correct".
Current standard registers (needs to be verified):

control
status
return 0
return 1
idx_first
idx_last
column 0 address low  (which goes first for list column, offsets or data?)
column 0 address hi
column 1 address low
column 1 address hi
column 2 ...

This is a good point.
The flattening of Schema's and arrow::Array buffers should probably also be centralized. Currently this takes place in several tools; the run-time lib and fletchgen. It's perhaps good to set up some common code directory to share stuff between the sub-projects. Also things like logging come to mind.

A description is now available here https://github.com/johanpel/fletcher/blob/develop/docs/mmio.md


Update the static page about this project on my website

It still mentions Java 6 and is too fragmented.

I've decided it should mirror the README to alleviate the maintenance cost.
So first we will work on the README a bit more, then copy it there.

Done by https://github.com/mafagafogigante/mafagafogigante.github.io/commit/419b6d627ee1d495e74574965b9d02eb2df10508


go to definition in java sources

@rmzs0711

Please review my corrections in bb93f9f879e5d0d8750fc838dfcb4cb05f7e7f0d.
Fix your IDE settings (2 character tabs instead of 4, turn on remove unused import on commit).
Are you sure you've committed all needed files?


Request: Option to toggle the "green styling"

It makes it very hard to read with darkmode on

As an "older gentleman" it kinda all blurs into one colour!

The main problem is the text color, which we will improve upon. But we have been working toward centralizing styling colors so it might be possible in the future (not yet) to have themes.
Baby steps...
... but for now we'll fix the text which is badly colored as you showed in your screenshots.
Thank you for giving feedback, some of those area haf not occured to me, so this is definitely helpful.

I'll address this if you want

Fixed.


Conda Environment: Disable E2E test that fails on the hosted build machines

The test "CondaEnvironment L0 Suite fails when a Conda installation is not found" succeeds on my dev box but fails in the official build.
It fails on Linux and Windows but not macOS.  Even though the call to taskLib.which('conda') is supposed to be mocked, I suspect there's an issue with it actually finding Conda on the build machine.
This area has coverage in unit tests and I have tested it manually, so I am confident it works correctly.  I've commented out the test with a TODO to fix and re-enable it.

LGTM


updated code completion to reduce inadvertent completions after array braces

Updated code completion to reduce inadvertent completions after array braces.
@thso

lgtm

Nevermind, we want to keep suggesting after ) for things like async, etc.

It might make sense to dis-allow ); we could still allow ) . I'll experiment to see how well that works.


hash-identifier: init at 1.2

Motivation for this change
https://gitlab.com/kalilinux/packages/hash-identifier
Related to #81418
Things done

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Near pkgs/tools/security/hash-identifier/default.nix:14:3:
   |
14 |   installPhase = ''
   |   ^

Worth noting I still can't figure out patchShebangs, as in this doens't work yet. It stays as /usr/bin/env python in the final script.


Groupheadertext doesnt show up on deeper fields

If i define a column like
{name: 'Author', field: 'author.name'}
and group by that column, the row-group-headertext is empty.
Reason: field is not on the root level of the datasctructure (like author.name)

This is known and documented in the grouping tutorial.

Grouping will still be beta in 3.0, moving to 3.1

Fixed a wee while back in the grouping refactor.


Add 404 + Fix spelling mistakes

Hey sir! I have added the 404 functionallity and solved some spelling mistakes, may be misspelled. If you want to change the 404 page look, Edit the 404.html file. Note that the 404 functionallity will work only on VS Code Live Server, and not on file protocol.

Also, Now Whenever anyone go into a random page or a subpage in your domain, the user will now see 404 page.

Thanks sir!


Early stopping on custom metric without validation_step

What is your question?
I have a metric that I can only define using every predictions on the validation split, so I cannot use validation_step since it only operates on batches of data.
I have a callback that computes and log this metric in on_train_epoch_end.
I am not executing the validation loop because it's useless in my case.
My question is: How can I properly use the EarlyStopping callback ? (Same question for ModelCheckpoint)
What have you tried?
I have tried manually calling pl_module.on_validation_epoch_end() in my callback but it doesn't seem to work because EarlyStopping never stops the model even though the patience should have dropped to 0.
What's your environment?

OS: Kubuntu 20.04
Packaging: pip
Version: 1.1.4

If I understood you correctly, you just need to make sure to create your instance as:
EarlyStopping(monitor="your_metric")
And then, in your LightningModule's on_validation_epoch_end do self.log("your_metric", value)

Seems like that works, thank you.
I just had to define an empty validation_step method in my lightning module so the fake validation would be quick.


Error in Resize Image

when run main.py
cv2.error: OpenCV(4.5.5) /io/opencv/modules/imgproc/src/resize.cpp:4052: error: (-215:Assertion failed) !ssize.empty() in function 'resize'

when run main.py
cv2.error: OpenCV(4.5.5) /io/opencv/modules/imgproc/src/resize.cpp:4052: error: (-215:Assertion failed) !ssize.empty() in function 'resize'

Can you explain more about your error?

video_path: "/content/drive/MyDrive/multi-camera-people-tracking/Sample_Input/EXP2" object_detection_model_path: "./pretrained_models/yolov4-tiny.onnx" object_detection_classes_path: "./pretrained_models/coco.names" feature_extraction_model_path: "./pretrained_models/osnet_ain_x1_0_M.onnx" size_each_camera_image: [640, 480] resize_all_camera_image: 0.8 object_detection_threshold: 0.7 feature_extraction_threshold: 0.42 inference_model_device: "cpu" max_gallery_set_each_person: 512 display_video_camera_tracking: false save_video_camera_tracking: true fps_save_video_camera_tracking: 30.0 output_path_name_save_video_camera_tracking: "./" output_name_save_video_camera_tracking: "output"
this my config.yaml I change those
display_video_camera_tracking: false save_video_camera_tracking: true
File "/content/drive/MyDrive/multi-camera-people-tracking/object_detection.py", line 60, in preprocessing_img cv2.error: OpenCV(4.5.5) /io/opencv/modules/imgproc/src/resize.cpp:4052: error: (-215:Assertion failed) !ssize.empty() in function 'resize'

I think there are errors in your video_path. You must have at least a video total that is even, not odd.

Yes , it's already two videos in my path

Yes , it's already two videos in my path

I think their errors in your videos or your python version not matched with a readme or you don't follow the readme fully. I recently tried this code a few minutes ago on the collab and it's worked normally.

Hi Hafidh!
I'm having the same error here. I'm also using Google Colab. I had to make some changes to the library versions because when I used:
!pip3 install -r requirements.txt
I received:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. sqlalchemy 2.0.29 requires typing-extensions>=4.6.0, but you have typing-extensions 4.1.1 which is incompatible. arviz 0.15.1 requires scipy>=1.8.0, but you have scipy 1.7.3 which is incompatible. bigframes 1.2.0 requires scikit-learn>=1.2.2, but you have scikit-learn 1.0.2 which is incompatible. chex 0.1.86 requires numpy>=1.24.1, but you have numpy 1.21.5 which is incompatible. chex 0.1.86 requires typing-extensions>=4.2.0, but you have typing-extensions 4.1.1 which is incompatible. dask 2023.8.1 requires importlib-metadata>=4.13.0, but you have importlib-metadata 4.2.0 which is incompatible. flax 0.8.2 requires numpy>=1.22, but you have numpy 1.21.5 which is incompatible. flax 0.8.2 requires typing-extensions>=4.2, but you have typing-extensions 4.1.1 which is incompatible. google-ai-generativelanguage 0.4.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-api-core 2.11.1 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0.dev0,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-cloud-aiplatform 1.47.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-cloud-bigquery 3.12.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-cloud-bigquery-connection 1.12.1 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-cloud-bigquery-storage 2.24.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-cloud-datastore 2.15.2 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-cloud-firestore 2.11.1 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-cloud-functions 1.13.3 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-cloud-iam 2.14.3 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-cloud-language 2.13.3 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-cloud-resource-manager 1.12.3 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-cloud-translate 3.11.3 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. google-colab 1.0.0 requires requests==2.31.0, but you have requests 2.27.1 which is incompatible. googleapis-common-protos 1.63.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0.dev0,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. grpc-google-iam-v1 0.13.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.19.4 which is incompatible. ibis-framework 8.0.0 requires typing-extensions<5,>=4.3.0, but you have typing-extensions 4.1.1 which is incompatible. imbalanced-learn 0.10.1 requires joblib>=1.1.1, but you have joblib 1.1.0 which is incompatible. jax 0.4.26 requires numpy>=1.22, but you have numpy 1.21.5 which is incompatible. jax 0.4.26 requires scipy>=1.9, but you have scipy 1.7.3 which is incompatible. jaxlib 0.4.26+cuda12.cudnn89 requires numpy>=1.22, but you have numpy 1.21.5 which is incompatible. jaxlib 0.4.26+cuda12.cudnn89 requires scipy>=1.9, but you have scipy 1.7.3 which is incompatible. numba 0.58.1 requires numpy<1.27,>=1.22, but you have numpy 1.21.5 which is incompatible. pandas-stubs <IP_ADDRESS>814 requires numpy>=1.25.0; python_version >= "3.9", but you have numpy 1.21.5 which is incompatible. plotnine 0.12.4 requires numpy>=1.23.0, but you have numpy 1.21.5 which is incompatible. pydantic 2.7.0 requires typing-extensions>=4.6.1, but you have typing-extensions 4.1.1 which is incompatible. pydantic-core 2.18.1 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.1.1 which is incompatible. tensorboard 2.15.2 requires protobuf!=4.24.0,>=3.19.6, but you have protobuf 3.19.4 which is incompatible. tensorflow 2.15.0 requires flatbuffers>=23.5.26, but you have flatbuffers 2.0 which is incompatible. tensorflow 2.15.0 requires numpy<2.0.0,>=1.23.5, but you have numpy 1.21.5 which is incompatible. tensorflow 2.15.0 requires protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3, but you have protobuf 3.19.4 which is incompatible. tensorflow-datasets 4.9.4 requires protobuf>=3.20, but you have protobuf 3.19.4 which is incompatible. tensorflow-hub 0.16.1 requires protobuf>=3.19.6, but you have protobuf 3.19.4 which is incompatible. tensorflow-metadata 1.14.0 requires protobuf<4.21,>=3.20.3, but you have protobuf 3.19.4 which is incompatible. torchaudio 2.2.1+cu121 requires torch==2.2.1, but you have torch 1.11.0 which is incompatible. torchdata 0.7.1 requires torch>=2, but you have torch 1.11.0 which is incompatible. torchtext 0.17.1 requires torch==2.2.1, but you have torch 1.11.0 which is incompatible. xarray-einstats 0.7.0 requires numpy>=1.22, but you have numpy 1.21.5 which is incompatible. xarray-einstats 0.7.0 requires scipy>=1.8, but you have scipy 1.7.3 which is incompatible. yfinance 0.2.38 requires requests>=2.31, but you have requests 2.27.1 which is incompatible. Successfully installed Pillow-9.0.1 PyWavelets-1.3.0 PyYAML-6.0 albumentations-1.1.0 beautifulsoup4-4.11.1 black-22.1.0 certifi-2021.10.8 charset-normalizer-2.0.12 click-8.0.4 colorama-0.4.4 coloredlogs-15.0.1 filelock-3.7.1 flake8-4.0.1 flatbuffers-2.0 gdown-4.5.1 humanfriendly-10.0 idna-3.3 imageio-2.16.1 importlib-metadata-4.2.0 joblib-1.1.0 mccabe-0.6.1 mypy-extensions-0.4.3 networkx-2.6.3 numpy-1.21.5 onnxruntime-1.12.0 onnxruntime-gpu-1.12.0 opencv-python-<IP_ADDRESS> opencv-python-headless-<IP_ADDRESS> packaging-21.3 pathspec-0.9.0 platformdirs-2.5.1 protobuf-3.19.4 pycodestyle-2.8.0 pyflakes-2.4.0 pyparsing-3.0.7 requests-2.27.1 scikit-image-0.19.2 scikit-learn-1.0.2 scipy-1.7.3 soupsieve-2.3.2.post1 threadpoolctl-3.1.0 tifffile-2021.11.2 torch-1.11.0 torchvision-0.12.0 tqdm-4.63.0 typed-ast-1.5.2 typing-extensions-4.1.1 urllib3-1.26.8 zipp-3.7.0 WARNING: The following packages were previously imported in this runtime:   [PIL,certifi,charset_normalizer,google,idna,numpy,packaging,platformdirs,pyparsing,requests,tqdm,urllib3] You must restart the runtime in order to use newly installed versions.
Could you help me with the conversion of these libraries? Your repository is amazing and I really want to make it work here.

I thought that might be it, but regardless, there's a library conflict. I ran it as you indicated and received:
ERROR: Could not find a version that satisfies the requirement onnxruntime==1.10.0 (from versions: 1.12.0, 1.12.1, 1.13.1, 1.14.0, 1.14.1, 1.15.0, 1.15.1, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.17.0, 1.17.1, 1.17.3)
ERROR: No matching distribution found for onnxruntime==1.10.0

Which version should I change to?

I thought that might be it, but regardless, there's a library conflict. I ran it as you indicated and received:
ERROR: Could not find a version that satisfies the requirement onnxruntime==1.10.0 (from versions: 1.12.0, 1.12.1, 1.13.1, 1.14.0, 1.14.1, 1.15.0, 1.15.1, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.17.0, 1.17.1, 1.17.3)
ERROR: No matching distribution found for onnxruntime==1.10.0

Which version should I change to?

What Python version do you have? I use Python 3.7.9, I mention it on README.md. You said you used google colab and google colab I think use a higher version Python, so my onnxruntime version is not compatible. Maybe you can use onnxruntime==1.12.0

It was that, the colab is running version 3.10, but as you had indicated in the read-me that it could be a newer one, I thought it could be any LOL but it worked.. thank you so much for this code, it's really a find, it works great! Is it possible to run it with a webcam?

It was that, the colab is running version 3.10, but as you had indicated in the read-me that it could be a newer one, I thought it could be any LOL but it worked.. thank you so much for this code, it's really a find, it works great! Is it possible to run it with a webcam?

I though a higher version of python would support my onnxruntime, but it doesn't LOL. You can use it on your webcam, you can change a little bit the code, because the code specific for file videos, not webcam but the concept is same.

OK.. I'll venture into this LOL, and if successful, I'll comment here for you to know 😊.. Also, I have a YouTube channel where I promote this computer vision field. Can I record a video about your repository?

Sure, you can use whatever you want, as long as you comply the license code is MIT License.


Transactions with PDO::ATTR_EMULATE_PREPARES = 0

What steps will reproduce the problem?
db.conf:
return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=<IP_ADDRESS>;dbname=db',
    'username' => 'username',
    'password' => 'pass',
    'charset' => 'utf8',
    'tablePrefix' => '',
    'attributes' => [
        \PDO::ATTR_EMULATE_PREPARES => false,
        \PDO::ATTR_STRINGIFY_FETCHES => false,
    ],
];

Code in controller:
        $boilerTest1 = new Boiler();
        $boilerTest2 = new Boiler();
        $boilerTest3 = new Boiler();
        $boilerTest4 = new Boiler();
        $boilerTest1->title = 'test1';
        $boilerTest2->title = 'test2';
        $boilerTest3->title = 'test3';
        $boilerTest4->title = 'test4';

        $outerTransaction = \Yii::$app->db->beginTransaction();
        $boilerTest1->save();

        $innerTransaction = \Yii::$app->db->beginTransaction();
        $boilerTest2->save();
        $innerTransaction->rollBack();

        $innerTransaction2 = \Yii::$app->db->beginTransaction();
        $boilerTest3->save();
        $innerTransaction2->rollBack();

        $boilerTest4->save();
        $outerTransaction->commit();

Where Boiler is some model.
What is the expected result?
Code should finish without exception
What do you get instead?
In this line rise exception:
$innerTransaction = \Yii::$app->db->beginTransaction();
Exception message:
"SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active.  Consider using PDOStatement::fetchAll().  Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.\nThe SQL being executed was: SAVEPOINT LEVEL1"
Additional info

Q
A

Yii version
2.0.12

PHP version
7.1.8 NTS

Operating system
Linux 4.12.8-2

I also met the same problem, I changed the yiisoft/yii2 / db/Transaction. PHP 】 this file
`<?php
/**

@link http://www.yiiframework.com/
@copyright Copyright (c) 2008 Yii Software LLC
@license http://www.yiiframework.com/license/
*/

namespace yii\db;
use Yii;
use yii\base\InvalidConfigException;
use yii\db\mssql\PDO;
/**

Transaction represents a DB transaction.

It is usually created by calling [[Connection::beginTransaction()]].

The following code is a typical example of using transactions (note that some

DBMS may not support transactions):

$transaction = $connection->beginTransaction();

try {

$connection->createCommand($sql1)->execute();

$connection->createCommand($sql2)->execute();

//.... other SQL executions

$transaction->commit();

} catch (\Exception $e) {

$transaction->rollBack();

throw $e;

} catch (\Throwable $e) {

$transaction->rollBack();

throw $e;

}

Note: in the above code we have two catch-blocks for compatibility

with PHP 5.x and PHP 7.x. \Exception implements the \Throwable interface

since PHP 7.0, so you can skip the part with \Exception if your app uses only PHP 7.0 and higher.

@property bool $isActive Whether this transaction is active. Only an active transaction can [[commit()]] or

[[rollBack()]]. This property is read-only.

@property string $isolationLevel The transaction isolation level to use for this transaction. This can be

one of [[READ_UNCOMMITTED]], [[READ_COMMITTED]], [[REPEATABLE_READ]] and [[SERIALIZABLE]] but also a string

containing DBMS specific syntax to be used after SET TRANSACTION ISOLATION LEVEL. This property is

write-only.

@property int $level The current nesting level of the transaction. This property is read-only.

@author Qiang Xue<EMAIL_ADDRESS>

@since 2.0
/
class Transaction extends \yii\base\BaseObject
{
/*

A constant representing the transaction isolation level READ UNCOMMITTED.
@see http://en.wikipedia.org/wiki/Isolation_(database_systems)#Isolation_levels
/
const READ_UNCOMMITTED = 'READ UNCOMMITTED';
/*
A constant representing the transaction isolation level READ COMMITTED.
@see http://en.wikipedia.org/wiki/Isolation_(database_systems)#Isolation_levels
/
const READ_COMMITTED = 'READ COMMITTED';
/*
A constant representing the transaction isolation level REPEATABLE READ.
@see http://en.wikipedia.org/wiki/Isolation_(database_systems)#Isolation_levels
/
const REPEATABLE_READ = 'REPEATABLE READ';
/*
A constant representing the transaction isolation level SERIALIZABLE.
@see http://en.wikipedia.org/wiki/Isolation_(database_systems)#Isolation_levels
*/
const SERIALIZABLE = 'SERIALIZABLE';

/**

@var Connection the database connection that this transaction is associated with.
*/
public $db;

/**

@var int the nesting level of the transaction. 0 means the outermost level.
*/
private $_level = 0;

/**

Returns a value indicating whether this transaction is active.
@return bool whether this transaction is active. Only an active transaction
can [[commit()]] or [[rollBack()]].
*/
public function getIsActive()
{
return $this->_level > 0 && $this->db && $this->db->isActive;
}

/**

Begins a transaction.

@param string|null $isolationLevel The isolation level to use for this transaction.

This can be one of [[READ_UNCOMMITTED]], [[READ_COMMITTED]], [[REPEATABLE_READ]] and [[SERIALIZABLE]] but

also a string containing DBMS specific syntax to be used after SET TRANSACTION ISOLATION LEVEL.

If not specified (null) the isolation level will not be set explicitly and the DBMS default will be used.

Note: This setting does not work for PostgreSQL, where setting the isolation level before the transaction

has no effect. You have to call [[setIsolationLevel()]] in this case after the transaction has started.

Note: Some DBMS allow setting of the isolation level only for the whole connection so subsequent transactions

may get the same isolation level even if you did not specify any. When using this feature

you may need to set the isolation level for all transactions explicitly to avoid conflicting settings.

At the time of this writing affected DBMS are MSSQL and SQLite.

@throws InvalidConfigException if [[db]] is null.
*/
public function begin($isolationLevel = null)
{
if ($this->db === null) {
throw new InvalidConfigException('Transaction::db must be set.');
}
$this->db->open();
if ($this->_level === 0) {
if ($isolationLevel !== null) {
$this->db->getSchema()->setTransactionIsolationLevel($isolationLevel);
}
Yii::debug('Begin transaction' . ($isolationLevel ? ' with isolation level ' . $isolationLevel : ''), METHOD);
 $this->db->trigger(Connection::EVENT_BEGIN_TRANSACTION);
 $this->db->pdo->beginTransaction();
 $this->_level = 1;

 return;

}
$schema = $this->db->getSchema();
if ($schema->supportsSavepoint()) {
Yii::debug('Set savepoint ' . $this->_level, METHOD);
 $this->db->pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
 $schema->createSavepoint('LEVEL' . $this->_level);
 $this->db->pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);

} else {
Yii::info('Transaction not started: nested transaction not supported', METHOD);
}
$this->_level++;
}

/**

Commits a transaction.

@throws Exception if the transaction is not active
*/
public function commit()
{
if (!$this->getIsActive()) {
throw new Exception('Failed to commit transaction: transaction was inactive.');
}
$this->_level--;
if ($this->_level === 0) {
Yii::debug('Commit transaction', METHOD);
$this->db->pdo->commit();
$this->db->trigger(Connection::EVENT_COMMIT_TRANSACTION);
return;
}
$schema = $this->db->getSchema();
if ($schema->supportsSavepoint()) {
Yii::debug('Release savepoint ' . $this->_level, METHOD);
 $this->db->pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
 $schema->releaseSavepoint('LEVEL' . $this->_level);
 $this->db->pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);

} else {
Yii::info('Transaction not committed: nested transaction not supported', METHOD);
}
}

/**

Rolls back a transaction.

@throws Exception if the transaction is not active
*/
public function rollBack()
{
if (!$this->getIsActive()) {
// do nothing if transaction is not active: this could be the transaction is committed
// but the event handler to "commitTransaction" throw an exception
return;
}
$this->_level--;
if ($this->_level === 0) {
Yii::debug('Roll back transaction', METHOD);
$this->db->pdo->rollBack();
$this->db->trigger(Connection::EVENT_ROLLBACK_TRANSACTION);
return;
}
$schema = $this->db->getSchema();
if ($schema->supportsSavepoint()) {
Yii::debug('Roll back to savepoint ' . $this->_level, METHOD);
 $this->db->pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
 $schema->rollBackSavepoint('LEVEL' . $this->_level);
 $this->db->pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);

} else {
Yii::info('Transaction not rolled back: nested transaction not supported', METHOD);
// throw an exception to fail the outer transaction
throw new Exception('Roll back failed: nested transaction not supported.');
}
}

/**

Sets the transaction isolation level for this transaction.

This method can be used to set the isolation level while the transaction is already active.
However this is not supported by all DBMS so you might rather specify the isolation level directly
when calling [[begin()]].
@param string $level The transaction isolation level to use for this transaction.
This can be one of [[READ_UNCOMMITTED]], [[READ_COMMITTED]], [[REPEATABLE_READ]] and [[SERIALIZABLE]] but
also a string containing DBMS specific syntax to be used after SET TRANSACTION ISOLATION LEVEL.
@throws Exception if the transaction is not active
@see http://en.wikipedia.org/wiki/Isolation_(database_systems)#Isolation_levels
*/
public function setIsolationLevel($level)
{
if (!$this->getIsActive()) {
throw new Exception('Failed to set isolation level: transaction was inactive.');
}
Yii::debug('Setting transaction isolation level to ' . $level, METHOD);
$this->db->getSchema()->setTransactionIsolationLevel($level);
}

/**

@return int The current nesting level of the transaction.
@since 2.0.8
*/
public function getLevel()
{
return $this->_level;
}
}
`

Thanks for your solution, but could you please correctly cover code to make it more readable?

https://note.youdao.com/share/?id=4741bb67a66f137b899530fa65762518&type=note#/


Removing unneeded code

many of the things in cmd/ were not needed after development of the library was done.
also, the code used to build a machine was never used.

/lgtm

I checked that https://github.com/crc-org/crc/pull/3824 still builds with this change. The PR does not use anything from cmd and does not use the machine code, so it's not impacted by this change.


Assignment 1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Completion of Assignment 1
What did you learn from the changes you have made?
I learn a lot, int terms of how to read the parquet files and how to solve lot's of issues in the production :)
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
There is not other approach right now I can think of.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Yes, I understand production is much different than regular pandas operations. I get lo'ts support from the learning staff.
How were these changes tested?
I print the data frame of DASK or pandas to make sure every change is inplace.
A reference to a related issue in your repository (if applicable)
Checklist

[ X] I can confirm that my changes are working as intended

sorry


Bible message popups meant for chaplain are seen by everyone

Description
Bible message popups meant for chaplain are seen by everyone. Stuff like Your familiar will arrive once a willing soul comes forth. should be seen by chaplain only. It is not my bat, chappy is summoning one, I am just watching.
Reproduction

Watch chaplain fiddle with familiar summon

Replicated.


Ubuntu ppa not updated since version 23.0.2

Description
Hello, I've found a similar issue  stating the same problem, but in a different moment.
The last version on http://ppa.launchpad.net/serge-rider/dbeaver-ce/ubuntu/ was last updated on 2022-11-07.
Thank you
DBeaver Version
23.0.2
Operating System
No response
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Updated with 23.0.4

Thank you!


The Crew doesn't hook

Added The Crew executable as game exe, upc.exe as launcher. UPlay starts, The Crew starts, overlay doesn't get hooked in.
Disabled all other programs with overlay, tried with both UPlay overlay set on and off in UPlay settings
Using a Steam Controller, so can use that to somewhat diagnose. I set "desktop configuration in launcher" as off in steam controller options. I get my ingame config (can feel the joystick haptics) while still in overlay, got controller button prompts but controller buttons did nothing (found when UPlay warned me about not having UPlay overlay on). When game starts, Steam Controller switches back to desktop configuration.
Closing The Crew closes UPlay. as expected.

I happen to have The Crew. I'll look into it and get back to you ASAP.


Created Cloudflare cache APIs

Closes #292
Closes #628

Created a GET API /cache that returns the latest meta data of Cloudflare cache purged in the last 24 hours of the logged-in user
Created a POST API /cache that purges the cache of the specific page
Added tests for the controller, model and util functions

As discussed if I enter a random username as a superuser the message I get is cache purged that should not happen. Reason:
Let's say I am the superuser and I am trying to clear randhir's cache his username is randhir but by mistake I type in as randir. In this case I will get the message as cache purged successfully but actually, it did not clear

As discussed if I enter a random username as a superuser the message I get is cache purged that should not happen. Reason:
Let's say I am the superuser and I am trying to clear randhir's cache his username is randhir but by mistake I type in as randir. In this case I will get the message as cache purged successfully but actually, it did not clear

Screencast from 2023-01-05 09-10-48.webm

the Get for super user can have a user parameter to get the purged cache for specific user.

Can i say super user can not clear their cache more than 3 times?

Yes, that's the limitation if we use the same API

the Get for super user can have a user parameter to get the purged cache history for specific users.

Here, the GET endpoint works a bit differently, it returns only the count and when it was last cleared within the time span of last 24 hours. Because these are only details needed on frontend to display.
Superuser can get the logs of it using the GET logs API as eventually the details for cache GET endpoints, comes from the logs itself

Can you provide me with the links to API contract and the schema


Replace structopt by clap (#155)

This pull request is a draft, waiting for the official release of clap v3. However, if needed, It can already be reviewed as the api shouldn't drastically change.
The doc comments on top of structs deriving clap::Args or clap::Parser is still an issue with Clap v3. So I let the workaround in place.
Closes #155

@theredfish from https://github.com/clap-rs/clap/issues/2869 it seems they'll wait a month before making release candidate stalble.
I'd opt out to finish this PR and merge it now. Either way we'll introduce a bc break switching to stable 3.0 release. But, at least, it would be smaller to go from rc to stable, rather than from structopt to clap.
Also, way we may first release an rc version too.

Ok perfect @tyranron , I have some failing jobs that are connected to clap itself. I will check the error and see if I can do anything.

@tyranron what is exactly the need of building with minimal versions for transitive dependencies there? I'm not used to this so any details could help me.
I tried locally cargo update -Z minimal-versions and termcolor is downgraded : Updating termcolor v1.1.2 -> v1.1.0.
This dependency of clap doesn't contain the function set_dimmed in the minimal version.

@theredfish your PR is fine, but there is a problem with clap, where minimal version of the termcolor crate is 1.1.0, but set_dimmed doesn't appear until 1.1.1.

@theredfish

what is exactly the need of building with minimal versions for transitive dependencies there?

To ensure that minimal versions are specified correctly, so the code will actually compile for the range versions declared in the manifest. Due to the ecosystem mostly not doing this check from the start (so their manifests are oftenly broken), sometimes we have such inconveniences with transitive dependencies. So we're trying to fix them where we can. Usually, these are non-blockers, as you always can temporary pin-point the version of bad transitive dependency in your crate's manifest.

Ok great ! Thank you for your help and the explanations. I will wait for the merge and the new RC version of clap 👌.

@theredfish fix for minimal-version has been released as part of clap 3.0.0-rc.7

    Compiling gherkin v0.11.1
    Checking cucumber v0.11.0-dev (/home/runner/work/cucumber/cucumber)
error[E0405]: cannot find trait `StructOpt` in this scope
   --> src/cli.rs:296:18
    |
296 |     L: Colored + StructOpt,
    |                  ^^^^^^^^^ not found in this scope
    |
help: consider importing this trait
    |
30  | use clap::StructOpt;
    |

I suppose that I'm hitting a cache, because it doesn't make sense and I don't have the same number of lines.

@theredfish would yo be so kind to make this PR editable for maintainers, so I can push some changes before merging it?

@theredfish would you be so kind to make this PR editable for maintainers, so I can push some changes before merging it?

Done!

@theredfish thanks! I usually do use it al the time for maintainers being able to pick up and adjust the stuff. I cannot recall any situations where I've wanted to forbid maintainers to edit my PRs. I don't know about recommendations, though.

Thank you for your time. I took a look to your corrections, it's instructive 👍.


Database Management - Add Migrations

Description
As a Developer, I would like to have migrations, so that I can keep data after schema changes.
Trello card
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[x] Existing tests pass

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[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
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

Looks good. I presume this has been tested on Staging already?

Yes, I was able to use the CLI in the staging env, and from manual testing, everything appears to be working: https://deploy-preview-26--story-squad.netlify.com/


Use uv to install dependencies in CI

uv is the new cool kid in the town of Python packaging, from the creators of ruff. It currently serves as a much faster drop-in replacement for pip.
For the aiidalab package, this drops installation time from ~15s to ~2s, which nearly halves the workflow time since the tests we have here are pretty quick.
Couple other small changes (feel free to push back)

Remove pre-commit section from CI since we use the pre-commit.ci anyway.
Don't run tests on both push and pull_request event, this leads to duplication for pull requests coming from origin.
remove bumpver and pre-commit from direct dev dependencies, as proposed on Discourse
get rid of incidental pyyaml dependency, see comment below

Going to merge this, we've got good experience with uv in AWB.


Improve some creators

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (f017099) 100.00% compared to head (96fcfd6) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #48   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           29        29
  Lines          456       456
  Branches        23        23
=========================================
  Hits           456       456

Impacted Files
Coverage Δ

src/gtvision/creators/dataflow/dataloader.py
100.00% <100.00%> (ø)

src/gtvision/creators/dataset/vanilla.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Error on build

Hi,
I really like your project, especially now that I can control it directly from an ESP and not have to use it near my HA instance.
But I ran into some issues on build. I don't know if the problem is on my side because I'm not very experienced, but I would appreciate a reply from you.
Error:
Processing esp32dev (platform: espressif32; board: esp32dev; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (5.4.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-arduinoespressif32 @ 3.20006.221224 (2.0.6)
 - tool-esptoolpy @ 1.40400.0 (4.4.0)
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 35 compatible libraries
Scanning dependencies...
Dependency Graph
|-- AsyncTCP @ 1.1.1
|-- PubSubClient @ 2.8.0
|-- BluetoothSerial @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- WiFi @ 2.0.0
Building in release mode
Compiling .pio\build\esp32dev\src\hardware\bluetoothctl.cpp.o
Generating partitions .pio\build\esp32dev\partitions.bin
Compiling .pio\build\esp32dev\lib67e\AsyncTCP\AsyncTCP.cpp.o
Compiling .pio\build\esp32dev\libb5a\PubSubClient\PubSubClient.cpp.o
Compiling .pio\build\esp32dev\lib68c\BluetoothSerial\BTAddress.cpp.o
Compiling .pio\build\esp32dev\lib68c\BluetoothSerial\BTAdvertisedDeviceSet.cpp.o
Compiling .pio\build\esp32dev\lib68c\BluetoothSerial\BTScanResultsSet.cpp.o
Compiling .pio\build\esp32dev\lib68c\BluetoothSerial\BluetoothSerial.cpp.o
Compiling .pio\build\esp32dev\lib824\WiFi\WiFi.cpp.o
Compiling .pio\build\esp32dev\lib824\WiFi\WiFiAP.cpp.o
Compiling .pio\build\esp32dev\lib824\WiFi\WiFiClient.cpp.o
Compiling .pio\build\esp32dev\lib824\WiFi\WiFiGeneric.cpp.o
Compiling .pio\build\esp32dev\lib824\WiFi\WiFiMulti.cpp.o
src/hardware/bluetoothctl.cpp: In static member function 'static void BluetoothHandler::setup()':
src/hardware/bluetoothctl.cpp:19:37: error: no matching function for call to 'BluetoothSerial::register_callback(void (&)(esp_spp_cb_event_t, esp_spp_cb_param_t*))'
     serialBT.register_callback(event);
                                     ^
In file included from src/hardware/bluetoothctl.h:8,
                 from src/hardware/bluetoothctl.cpp:2:
C:/Users/k104j/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src/BluetoothSerial.h:56:19: note: candidate: 'esp_err_t BluetoothSerial::register_callback(void (**)(esp_spp_cb_event_t, esp_spp_cb_param_t*))'
         esp_err_t register_callback(esp_spp_cb_t * callback);
                   ^~~~~~~~~~~~~~~~~
C:/Users/k104j/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src/BluetoothSerial.h:56:19: note:   no known conversion for argument 1 from 'void(esp_spp_cb_event_t, esp_spp_cb_param_t*)' to 'void (**)(esp_spp_cb_event_t, esp_spp_cb_param_t*)'
src/hardware/bluetoothctl.cpp: In static member function 'static bool BluetoothHandler::check(bool)':
src/hardware/bluetoothctl.cpp:53:45: error: no matching function for call to 'BluetoothSerial::register_callback(void (&)(esp_spp_cb_event_t, esp_spp_cb_param_t*))'
             serialBT.register_callback(event);
                                             ^
In file included from src/hardware/bluetoothctl.h:8,
                 from src/hardware/bluetoothctl.cpp:2:
C:/Users/k104j/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src/BluetoothSerial.h:56:19: note: candidate: 'esp_err_t BluetoothSerial::register_callback(void (**)(esp_spp_cb_event_t, esp_spp_cb_param_t*))'
         esp_err_t register_callback(esp_spp_cb_t * callback);
                   ^~~~~~~~~~~~~~~~~
C:/Users/k104j/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src/BluetoothSerial.h:56:19: note:   no known conversion for argument 1 from 'void(esp_spp_cb_event_t, esp_spp_cb_param_t*)' to 'void (**)(esp_spp_cb_event_t, esp_spp_cb_param_t*)'
*** [.pio\build\esp32dev\src\hardware\bluetoothctl.cpp.o] Error 1
========================================================= [FAILED] Took 10.58 seconds =========================================================

You tried to build it with Espressif 32 (5.4.0) and framework-arduinoespressif32 @ 3.20006.221224 (2.0.6), which both are a bit outdated by now. somewhere in between these versions and the latest versions, someone changed the definition of that callback, where you get an error now.
I fixed it by also adding concrete versions to the platformio.ini for both. therefore PlatformIO should automatically download and install the correct versions for you. 😎


❓ How Can I stream Camera feed in Apple device using Apple Air Play(Only camera feed not entire screen)

Question
How Can I stream Camera feed in Apple device using Apple Air Play(Only camera feed not entire screen)
What I tried
No response
VisionCamera Version
2.13.3
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

Hi! This is possible in a Frame Processor plugin. You need to write the streaming code in the Plugin, which is in Swift just like any other iOS app. I'm sure Stackoverflow has useful resources for "sending a CMSampleBuffer over AirPlay" (Maybe this?)


How is it going?

How is the development..?

I don't have much spare time at the moment, so I can't really work on new features.
As for the current state of development, I made some small changes and bug fixes a while ago, but they are not yet released. I will probably release a new version so that everyone has the latest fixes. However, there will be no major updates in the next weeks.
As soon as I have time (and motivation) to continue working on Kitsune, I have planned to refactor the internal library cache to make updating library entries more responsive. Another big update would be to migrate the UI to Material 3.
Since this is only a hobby project, I hope you can understand the slow development.


Capa explorer fails to run

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed: search

Description
Getting Error while invoking ida_capa_explorer.py using IDApro.
Steps to Reproduce

Load a file into IDA
then Alt+F7
Navigate to ida_capa_explorer.py and open it

Expected behavior:
It should open the capa explorer with the results.
Actual behavior:
the explorer is opening without the results.
Versions
Latest capa and python 2.7 on IDA Pro 7.0
Additional Information
I know the capa is meant to be working on 7.4 or 7.5 but looking at the error it seems capa can't locate rules path.
This is the following error thrown by IDA Pro:
INFO:capa:--------------------------------------------------------------------------------
INFO:capa: Using default embedded rules.
INFO:capa:
INFO:capa: You can see the current default rule set here:
INFO:capa:     https://github.com/fireeye/capa-rules
INFO:capa:--------------------------------------------------------------------------------
IDAPython: Error while calling Python callback <OnCreate>:
Traceback (most recent call last):
  File "C:/python27-x64/Lib/site-packages/capa/ida/ida_capa_explorer.py", line 104, in OnCreate
    self.load_capa_results()
  File "C:/python27-x64/Lib/site-packages/capa/ida/ida_capa_explorer.py", line 362, in load_capa_results
    rules = capa.main.get_rules(rules_path)
  File "C:\python27-x64\lib\site-packages\capa\main.py", line 304, in get_rules
    raise IOError("rule path %s does not exist or cannot be accessed" % rule_path)
IOError: rule path C:/python27-x64/Lib/site-packages/capa/ida\../..\rules does not exist or cannot be accessed
INFO:capa:form closed.

Can you ensure you've downloaded capa-rules either directly or via loading the git submodule (see https://github.com/fireeye/capa/blob/master/doc/installation.md#2-check-out-source-code)?

yes I later on downloaded the capa rules directly and placed them under C:\python27-x64\Lib\site-packages and the previous error was resolved but got some other following errors:
INFO:capa:--------------------------------------------------------------------------------
INFO:capa: Using default embedded rules.
INFO:capa:
INFO:capa: You can see the current default rule set here:
INFO:capa:     https://github.com/fireeye/capa-rules
INFO:capa:--------------------------------------------------------------------------------
IDAPython: Error while calling Python callback <OnCreate>:
Traceback (most recent call last):
  File "C:/python27-x64/Lib/site-packages/capa/ida/ida_capa_explorer.py", line 104, in OnCreate
    self.load_capa_results()
  File "C:/python27-x64/Lib/site-packages/capa/ida/ida_capa_explorer.py", line 368, in load_capa_results
    rules, capa.features.extractors.ida.IdaFeatureExtractor(), True
  File "C:\python27-x64\lib\site-packages\capa\main.py", line 106, in find_capabilities
    function_matches, bb_matches, feature_count = find_function_capabilities(ruleset, extractor, f)
  File "C:\python27-x64\lib\site-packages\capa\main.py", line 63, in find_function_capabilities
    for feature, va in extractor.extract_insn_features(f, bb, insn):
  File "C:\python27-x64\lib\site-packages\capa\features\extractors\ida\__init__.py", line 75, in extract_insn_features
    for (feature, ea) in capa.features.extractors.ida.insn.extract_features(f, bb, insn):
  File "C:\python27-x64\lib\site-packages\capa\features\extractors\ida\insn.py", line 347, in extract_features
    for (feature, ea) in inst_handler(f, bb, insn):
  File "C:\python27-x64\lib\site-packages\capa\features\extractors\ida\insn.py", line 76, in extract_insn_number_features
    if capa.features.extractors.ida.helpers.is_sp_modified(insn):
  File "C:\python27-x64\lib\site-packages\capa\features\extractors\ida\helpers.py", line 229, in is_sp_modified
    if op.reg == idautils.procregs.sp.reg and is_op_write(insn, op):
  File "C:\python27-x64\lib\site-packages\capa\features\extractors\ida\helpers.py", line 218, in is_op_write
    return idaapi.has_cf_chg(insn.get_canon_feature(), op.n)
AttributeError: 'module' object has no attribute 'has_cf_chg'
INFO:capa:form closed.

Any work around for this issue?
And I think downloading capa rules should also be documented under https://github.com/fireeye/capa/blob/master/doc/installation.md#method-2-using-capa-as-a-python-library

And I think downloading capa rules should also be documented under https://github.com/fireeye/capa/blob/master/doc/installation.md#method-2-using-capa-as-a-python-library

Oh I see this is already in discussion, +1 from me!

Any work around for this issue?

I can't currently test in IDA 7.0. What output do you get for idaapi.has_cf_chg in the Python console (Output window)?

Output: AttributeError: 'module' object has no attribute 'has_cf_chg'

Looks like this API call is not yet supported or maybe in a different module? @mike-hunhoff may be able to provide some help here (likely next week though).
We'll try to support older IDA versions, but will mostly focus on the current versions.

Thanks!

Hi guys, first thanks for all the work done to capa so far.
I have the same setup than r0ny, did all the steps and got the same error :
AttributeError: 'module' object has no attribute 'has_cf_chg'
I checked on the web and i saw that 'has_cf_chg' belong to ida_idp module.
So i changed all idaapi calls in helpers.py to ida_idp.
Now i got a new error, i don't now if thats due to the modification but that seems different.
I know that you're making a great work actually, but i think many people use IDA 7.0 nowadays and are stuck.
(Pardon my english, i'm french)
INFO:capa:-------------------------------------------------------------------------------- INFO:capa: Using default embedded rules. INFO:capa:  INFO:capa: You can see the current default rule set here: INFO:capa:     https://github.com/fireeye/capa-rules INFO:capa:-------------------------------------------------------------------------------- WARNING:capa:skipping non-.yml file: LICENSE.txt IDAPython: Error while calling Python callback <OnCreate>: Traceback (most recent call last):   File "C:/python27-x64/Lib/site-packages/capa/ida/ida_capa_explorer.py", line 104, in OnCreate     self.load_capa_results()   File "C:/python27-x64/Lib/site-packages/capa/ida/ida_capa_explorer.py", line 365, in load_capa_results     meta = capa.ida.helpers.collect_metadata()   File "C:\python27-x64\lib\site-packages\capa\ida\helpers\__init__.py", line 66, in collect_metadata     "sha256": capa.features.bytes_to_str(idaapi.retrieve_input_file_sha256()),   File "C:\python27-x64\lib\site-packages\capa\features\__init__.py", line 18, in bytes_to_str     return codecs.encode(b, "hex")   File "C:\python27-x64\Lib\encodings\hex_codec.py", line 24, in hex_encode     output = binascii.b2a_hex(input) TypeError: b2a_hex() argument 1 must be string or buffer, not None

I did some digging in an older IDA 7.0:

My version (7.0.170914 Windows x64) does not even include any reference to has_cf_chg, can you try $ grep -Eir has_cf_chg <IDADIR>? We may need an alternative way to check operand writes/reads.
For the failing bytes_to_str it looks like retrieve_input_file_sha256 is failing (likely a bug, I saw some discussions online), to circumvent, can you try adding this to the start of bytes_to_str in capa\features\__init__.py?

if not b:
    return ""

Again, unfortunately this will be very hard to support for all (especially older) IDA versions given the differences in Python, IDA SDK, and IDAPython versions. Hopefully, we'll find ways to make it work though.

we should version check at the start of the script and bail if an unsupported version of IDA is encountered.

1 : Nothing happens

2 :
IDAPython: Error while calling Python callback <OnCreate>: Traceback (most recent call last):   File "C:/python27-x64/Lib/site-packages/capa/ida/ida_capa_explorer.py", line 104, in OnCreate     self.load_capa_results()   File "C:/python27-x64/Lib/site-packages/capa/ida/ida_capa_explorer.py", line 368, in load_capa_results     rules, capa.features.extractors.ida.IdaFeatureExtractor(), True   File "C:\python27-x64\lib\site-packages\capa\main.py", line 106, in find_capabilities     function_matches, bb_matches, feature_count = find_function_capabilities(ruleset, extractor, f)   File "C:\python27-x64\lib\site-packages\capa\main.py", line 63, in find_function_capabilities     for feature, va in extractor.extract_insn_features(f, bb, insn):   File "C:\python27-x64\lib\site-packages\capa\features\extractors\ida\__init__.py", line 75, in extract_insn_features     for (feature, ea) in capa.features.extractors.ida.insn.extract_features(f, bb, insn):   File "C:\python27-x64\lib\site-packages\capa\features\extractors\ida\insn.py", line 347, in extract_features     for (feature, ea) in inst_handler(f, bb, insn):   File "C:\python27-x64\lib\site-packages\capa\features\extractors\ida\insn.py", line 120, in extract_insn_string_features     found = capa.features.extractors.ida.helpers.find_string_at(ref)   File "C:\python27-x64\lib\site-packages\capa\features\extractors\ida\helpers.py", line 164, in find_string_at     found = idaapi.get_strlit_contents(ea, -1, idaapi.STRTYPE_C)   File "C:\Program Files\IDA 7.0\python\ida_bytes.py", line 2087, in get_strlit_contents     return _ida_bytes.get_strlit_contents(*args) OverflowError: in method 'get_strlit_contents', argument 2 of type 'size_t'

Yeah 😞 Looks like your version does not support this API call (1) and that the get_strlit_contents (2) behaves buggy/unexpected as well.

As mentioned before, given API differences we won't be able to support all versions of IDA Pro. We'll add a check to clarify what is supported to the plugin; tracked in https://github.com/fireeye/capa/issues/179.
For older versions using the importer script is a good workaround: https://github.com/fireeye/capa/blob/master/scripts/import-to-ida.py

I am gonna try that import script.

Anyone familiar with the errors below  when running capa against PE file:
ERROR : Capa: default embedded rules not found (maybe you installed capa as a library )
ERROR: Provide your own rule set via the -r option

Yes, you need to download the rules as well. Please see the plugin documentation for details.

Previously downloaded capa-rules :   https://github.com/mandiant/capa-rules
still encounters the same error.
At the very least if I can run capa  from the command line using default embedded rules.
Where's the plugin documentation  detail is located?

De : Moritz @.>
Envoyé : mardi 23 juillet 2024 05:04
À : mandiant/capa @.>
Cc : Dextera0007 @.>; Comment @.>
Objet : Re: [mandiant/capa] Capa explorer fails to run (#165)
Yes, you need to download the rules as well. Please see the plugin documentation for details.
—
Reply to this email directly, view it on GitHubhttps://github.com/mandiant/capa/issues/165#issuecomment-2244659864, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGOJ7M7NJAO6EDDDYNYOP23ZNYMC5AVCNFSM6AAAAABLJGJURWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBUGY2TSOBWGQ.
You are receiving this because you commented.

https://github.com/mandiant/capa/tree/master/capa/ida/plugin#getting-started

Anyone familiar with this error message  " ERROR: capa: provide  your own rule set via the -r option "