COD1380 -  InsertBatchParameterMapEntry to Global/External

Hi,
could you please set the InsertBatchParameterMapEntry in COD1380 to global and external.
Also we would need a function an external function to set a specific BatchID from outside.
Background is, that we would like to add and Redirect posting Parameters.

I would like to add an additional wish. Could the AddParameter-function rebuilded so that it is possible to overwrite an existing parameters? It would be enough to check if there is already an existing Parameter and delete this before insert the new one.

Hi SKeiler.
Does your request have any relation to the bug or the problem you faced? Do you try to resolve any problems with setting a specific BatchID? Or could you describe the scenario you are trying to cover.
I ask because of first, mentioned area will change a little in the nearest time due to some hotfixes, the second I cannot understand what you are going to achieve.

Hi Roman,
do you mean the possibility to set the Batch-ID from outside or do you mean the rebuild of the AddParameter-function?
For the SetBatchID-Procedure: We would like to add new (own) posting parameters from other system parts where we don't have the access to the originial instance of the codeunit (for example directly out of codeunit 80 to read them later in posting process). So we would try to read if there some other parameters recording to the RECORDID and than we would set the BatchID same to the existing processing Parameters BatchID. If there are no existing Batch Processing Parameters, we create a new set (with Batch Processing Parameter and Batch Processing Parameter Map). With pleasure you Can also implement a function which exactly does this). That seems the only way to add parameters subsequently.

For the rebuild of the AddParameter-Function: We have the requirement to force the update of the Posting date. In this case we would like to only set the Parameters in the Batch Processing Parameters to replace the Posting Date out of an Event function. Unfortunately in batch Posting this parameters are already set (with the replace Posting date Parameter is set to false) so that we need a possibility to overwrite the Parameter. It would be helpful if the AddParameter-Function could already handle this.

Hi SKeiler. Thanks for your reply. I think I understand what you are asking about AddParameter function, but still don't fully understand about SetBatchId function. Can you describe your case in terms of steps to reproduce, something like user has 5-10 invoices, he posts them all at one time, some of the invoices should be corrected with the new posting date while posting in dependency on some parameters... and so on and so on. Is it acceptable for you, does it make sense?

Hi SKeiler, will you provide any information?

Hi Roman,
today you need the one instance of COD1380 which hold the global BatchID-variable to add a parameter. That's the reason while the instance is copied through the whole batch processing process (for example from Report 296 to Codeunit 1371, than two times to new instances of Codeunit 1371).
Now we have to targets.
The first is to add a completly new (own) parameter in Codeunit 80. But that is not possible because if we create a new variable for Codeunit 1371 in Codeunit 80 (or in one of our Event Subscribers), the global BatchID is not set in this new instance. It is possible to read the current BatchID out of TAB53 for the current Sales Header, but there are no possibilities to get this BatchID to the created new instance of Codeunit 1371 in codeunit 80 (or the Event Subscriber) to use the AddParameter-Function.
The second is, that we want force the update auf the Posting Date to the current Workdate. We book 10 invoices and always want to ensure in COD80, that the Posting Date is set to the last date of the period. But it is not possible to overwrite the replace Posting Date-Parameter in TAB53 by using the existing functions. First the AddParameter-procedure do not allow to overwrite an existing parameter und second it is not possible to set an explicit BatchID in COD1371 (see above).

Hi SKeiler.
You can create your instance of COD1380, add any number of parameters you needed and then pass it to COD1371.

Hi SKeiler. Can we somehow move our discussion to its logical end in order you have some solution from our side or we agree on something? Let's summarize what we have at this moment.

I think this is not a good idea to have a possibility to set BatchId from any place.
Agree that Add-Parameter function can update parameter value in the case it already exists.
If I'm not mistaken you can add any number of your own parameters via Add-Parameter function.
You can run COD1371 directly if it is needed.
Still your case is not clear.
a) Do you use MS batch posting solution, fully or partially or just objects for your own solution?
b) Do you need to update parameters of batch posting procedure when you already come into codeunit 80?
c) You didn't answer on the question of your business case, what user is doing? Is this sensitive information you cannot share with me?
SKeiler, I really want to help you to resolve the issue, but cannot do this without information from your side. Please answer the questions so we can move further or close the issue if the theme exhausted.

Hi SKeiler. Any update from side, I plan to close this issue?

Any update?

Let's close it for now. Feel free to reopen issue if you have more details or other input.


ReactorExecutionListener is being fired twice when a serviceTask is being listened too

I've been your code for about a year now, and just hooked up serviceTasks. It works flawlessly with every other execution type I might be listening to.
This is with the latest release of camunda-bpm-reactor and camunda 7,8.
I can provide you with materials that will help you reproduce the error if it helps.

Yes, if there is a bug with the listeners, please provide an example to verify, thanks for reporting.

I've attached a project.  Here's the README,md:
You need java 1.8 and maven.  I'm sure you have it.
Build it:
mvn clean install

Runt it!
java -jar target/camunda-1.0-SNAPSHOT.jar

You should see something like this in the logs:
2018-06-21 12:57:21.139 ERROR 2357 --- [           main] com.stripmall.bpm.ServiceTaskListener    : I am here---------------------29b713b9-7574-11e8-b5bb-922014a9f425
2018-06-21 12:57:21.140 ERROR 2357 --- [           main] com.stripmall.bpm.ServiceTaskListener    : I am here---------------------29b713b9-7574-11e8-b5bb-922014a9f425

You can toggle back and forth in the main class:  com.stripmall.bpm.RestApplication postDeployment listener to try a userTask. The listener is only called once then!
@EventListener
public void processPostDeploy(PostDeployEvent event) {
	runtimeService.startProcessInstanceByKey("sandbox_servicetask1");
    //runtimeService.startProcessInstanceByKey("sandbox_userTask");
}

reactor-sample.zip

Jan: Is there a high or low likelihood of you getting to look at this?

Very busy at the moment.  I will look into it, but can’t promise for this week

OK. Thanks.

Thanks for reporting, I had a look into it. As soon as we have a error event on the task (no matter if service- or user), the executionLIstener is called twice. I guess this is because in the camunda execution graph there are two entries (one for the task, one for the error event) ...  you can reproduce this when you add an error event to the user task and change the task type on the ServiceTaskLIstener to "userTask" ....
I will flag this as bug.


Add email sending capabilities

Required for account operations, such as activation or "forgot password" functionalities.
Consider doing something to make this resistant to failures, such as some sort of queue or something of this kind. Possibly a tiny microservice with Kafka just for emails?

Since this microservice is responsible for storing user emails anyways, I don't think we should split this functionality further.
With that in mind, I will add email sending as part of this microservice, so that other microservices can just post to Kafka along with a user id and it will send this message.
It will kinda create this weird "posting messages to self" scenario, but things would need to be posted anyway, so that's not a big deal.


feat: add basic templ support

Added basic support for templ files. Docs for templ commenting here: https://templ.guide/syntax-and-usage/comments
In general we are using html-style comments inside components, and go-style comments outside.

Something like this would be awesome out of the box, thanks!
I've added the solution to my own dotfiles here for the time-being. It works great except for one thing - the templ builtin function templ myComponent() { will be commented like . Is that something we could accommodate for?

Hey, thanks for the PR! Supporting templ makes a lot of sense since it seems to be very similar to JSX.
In order to handle the templ myComponent() { line correctly, I think that we can use component_block instead of component_declaration as the node.
By the way, what should happen in the following lines?
package main

templ hello(name string) {

Howdy foks

        Hello, { name }

        <hr style="padding: 10px"
            if true {  <-- this line, for example, and the next one
                class="itIsTrue"
            }
        />

}

Here's how it would work with component_block:
https://github.com/JoosepAlviste/nvim-ts-context-commentstring/assets/9450943/516e05d6-ef4f-4f50-96e2-a4eef6ec7124

Hello! Any plan to merge this PR soon? :)

Merged and pushed the small fix myself, thanks for the reminder 👍


Possible bug in XSS threats

Threats CC.AuC.DFrXSS.3, CC.AuC.DFsXSS.3, CC.AuC.DSrXSS.3 and CC.AuC.DSsXSS.3 represent stored or reflected XSS attacks on the client or server side. They assume that the goal of the attacker will be to capture a client session cookie, allowing them to access the service at least temporarily irrespective of the client authentication mechanism (unless possibly X509 client authentication used at the transport connection level). Hence they lead to a Loss of Client Authenticity. This represents a worst-case assumption, as it allows the attacker to access anything the client can access using the affected client-service relationship.
The problem is that this affects any client channel, whether direct or indirect, whereas other threats to Client Authenticity are assumed only to affect connections to services that authenticate the client.
This should be reviewed in light of any changes to address #68.

The reason we get threats to client-service connection that are not authenticated (e.g., the service is a credential-forwarding proxy) is because there is no prohibition on this. We don't check if this client channel is to an intermediary, nor if there is a link signifying it is not authenticated. We really should check for such a link.
In principle, that means we should get XSS threats for any client channel. However, we don't because there is an assumption that such threats can only work if information can be sent from the client to a service established by the attacker, and that this means the client connection should go via an IP subnet, ideally via the Internet.
In reality, this may not be a consideration. It is necessary that the attacker can inject malicious content to exploit the service bug - but that is covered by the dependency on authenticity for an input to the browser. It is then necessary that the browser can access the attacker's service, but this need not be on a subnet between the client and the real service.
Conclusion: we just need a network path to exist from the client host to the attacker's subnet. In practice, threat likelihood would depend on the least trustworthy subnet for which there is such a network path.
Problem: there are lots of network paths so we could end up with a lot more threats of this type. One solution might be to restrict attention to cases where there is a path to the Internet. The other solution would be to construct links from the client host to each subnet accessible from that host, and formulate the threat using destinations but without using network paths.


classify() with text as argument

By now classify uses a path to the text as argument. Would be nice if it is possible to classify text as a string input.

This feature was added with 0c115c20fc61923a1c344e948c5bca59fdafcd84


remix-auth-oauth2 version 1.11 introduced a bug

Bug Report
Description:
The recent update in remix-auth-oauth2 has introduced a conflict with the library's scope setting functionality. Prior to version 1.11.0, the library was setting the scope in a way that is now being overwritten.
Steps to Reproduce:
Navigate to the remix-auth-oauth2 GitHub repository: Link to Repository
Review the changes made in the recent update to the library's scope setting mechanism.
Notice how the MicrosoftStrategy class sets this.scope as an array of scopes in the constructor: Link to Code
Current Behavior:
In version 1.11.0 of remix-auth-oauth2, the scope is being set based on the variable this.scope, which is an array in the library. However, the array is being concatenated to form a comma-separated list. This approach is not supported by Microsoft, as they require a space-separated list for the scope parameter.
Expected Behavior:
To ensure compatibility with Microsoft's requirements, it is suggested that the this.scope property be modified to a space-separated string. This adjustment will allow for seamless functionality with both version 1.10 and 1.11 of the library.
Code Reference:
The problematic lines of code can be found in the following locations:
MicrosoftStrategy class constructor: Link to Code
remix-auth-oauth2 library: Link to Code
Thanks in advance for your consideration

I've published version 2.0.1 with the fix you provided. Thanks again @bindermuehle


change sed delimiter to allow slashes in strings

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/infinitered/publish-docs?version=0.4.1


Remove disk distribution from C++ part of vdslib.

@vekterli : please review

Travis error is unrelated:
[ERROR] Failures:
[ERROR]   NodeRebooterTest.testRebootScheduling:44->assertReadyHosts:108 expected:<15> but was:<14>


_WD_SetElementValue - warning: $iMethod - not declared not used

Thanks for the report. Obvious cut and past snafu. Will fix ASAP


Reconcile for occupancy model

Added support for:

min_class_sample.

This allows the user to specify the threshold of "not training this base model", for the classification and hurdle tasks. In the past, this is hard coded as 1, meaning that the base model is only trained if there is at least 1 sample from a different class. Now users can set it to, e.g., 3, so that a stixel with 100 data points -- 98 0s and two 1s, will not be trained (instead, a dummy model that always predict zero will be used here), and a stixel will 100 data points -- 97 0s and three 1s will be trained.
This feature can be useful if you need to do cross-validation at base model level.


d3-mitch-tree padding between nodes with children

how to avoid spaces between blocks if node has children?

Had this issue, have a look here -> https://github.com/deltoss/d3-mitch-tree/issues/129


Ensure routeid protection works even if no session cookie is present

If there is no session cookie, the request is beeing processed without an auth check.
This can lead to Security vulnerabilities if the auth is not check in the load function or form actions either. example

Thanks for the pull request.  It has been merged.


Added new ACL for integration environment

This PR adds the ACL https://embedded.certificationapplications.integrationcerner.com so that Smart apps can display their content in Mpages apps on M18DV

As recommended by @kolkheang this public repository should not be updated with a cert-int acl because clients only use non-prod and prod domains


set default workspaceIndexMode to image index for 3D pooling

Fix for issue #365

@ce1adon This is straight forward. Questions: Is this a breaking change for MIOpen? What was the previous behavior and what is the impact to PyTorch and Caffe2?


Start on Boot

First
Great Toll ( for me Beginner)
Can Somebody tell me how i Start a  on every Boot a Ap without Internet sharing?
I dont Unstrstand how I write my Conifg Files  create_ap -n wlan0 MyAccessPoint MyPassPhrase  in systemd
Thx

Really a great tool. Saved me a lot of trouble.
I'm using create_ap in a similar way to yours in that's what I did to Start ist on every Boot:

Maybe backup old config file (/etc/create_ap.conf)
Create a config with create_ap -n wlan0 MyAccessPoint MyPassPhrase --mkconfig /etc/create_ap.conf
Start the systemd service systemctl start create_ap
Enable the service for start on Boot systemctl enable create_ap

I think @AnianZ 's response should be added to the main README.

@mustafababil It already is inside the readme:
https://github.com/oblique/create_ap#start-service-immediately
You can edit the config file yourself at /etc/create_ap which is all self explaining similar to the command line parameters. Nothing to add here.

@NicoHood I do agree with @mustafababil that this would be a well suited addition readme. Perfectly fit for the section you referenced.
Currently the readme doesn't mention anything about how to create configuration files or more importantly the default config file location.
I was in search of just those items when I happened upon this issue. I found those points in @AnianZ response immensely helpful. Saved me time.

agreed, having a section on creating a persistent config would be helpfull!

@Well I have added @AnianZ config to my Local README file :) Thanks @AnianZ

@AnianZ you are the king, I can finally get rid of an extra keyboard and mouse on my desk, now that the AP starts on boot thanks to your info I can just ssh into my raspberry. Thanks!

I wanted to start the access point with no internet sharing and with static IP and auto start it at boot, so that the client devices can access the web server running on the linux.
To auto start the access point, some expert on this platform stated the following method.
edit /usr/lib/systemd/system/create_ap.service
Change “ExecStart” ,E.g:
ExecStart=/usr/bin/create_ap -g My_Static_IP -n My_network_interface My_SSID --daemon --config /etc/create_ap.conf
then,execute the following command:
systemctl daemon-reload
systemctl enable create_ap.service
systemctl start create_ap.service
It worked fine and on every reboot, I am getting the AccessPoint but the client devices that try to connect to the access point do not get the correct IP and some random number with no subnet mask mentioned.
When i open the terminal and just type Sudo Bash and type my root password,  immediately the client devices get the correct (desired) IP addresses i.e. 192.168.100.xx
Somehow the service is not loading as a root user.  I am using LXDE desktop environment on Ubuntu 18.04.2 with kernal 4.4.167-1138 (Ayufan build ).
What modification and where i should do , to make the create_ap load with root privileges for all the services it is using in the background to create the access point ..  Time is critical .. please help ..

AnianZ , u are a life saveeeer <3
Thank you so much, I literally have searched for that every f*** web page on the internet.
and noting!
till, I found this, thanks again you saved me, and I sign up on github just to write you this. I swear

@Ed-09 Maybe you should read the readme first, before searching online. What is missing here exactly? https://github.com/oblique/create_ap#start-service-immediately

@NicoHood
What is missing ? The mustafabil response...
Start the service required to edit /etc/create_ap.conf or why bother editing manually a file when a command can do it quickly ?


Test/playwright config test

Describe pull-request
A draft of a potential solution. Lets discuss in the draft, yay or nay.
Solving issue

Closing this one due to no activity.


Startup error when used with MPS

MTE is spamming the game log with a Target Exception Error that persists until the MTE GUI is opened for the first time.  See attached screen capture.
TargetException: Non-static field requires a target
at System.Reflection.MonoField.GetValue (System.Object obj) [0x00000] in :0
at COM3D2.MotionTimelineEditor_MeidoPhotoStudio.Plugin.MeidoPhotoStudioHack.get_maidIKPane () [0x00000] in :0
at COM3D2.MotionTimelineEditor_MeidoPhotoStudio.Plugin.MeidoPhotoStudioHack.get_releaseIKToggle () [0x00000] in :0
at COM3D2.MotionTimelineEditor_MeidoPhotoStudio.Plugin.MeidoPhotoStudioHack.get_isReleaseIK () [0x00000] in :0
at COM3D2.MotionTimelineEditor_MeidoPhotoStudio.Plugin.MeidoPhotoStudioHack.get_isPoseEditing () [0x00000] in :0
at COM3D2.MotionTimelineEditor.Plugin.StudioHackManager.Update () [0x00000] in :0
at COM3D2.MotionTimelineEditor.Plugin.MotionTimelineEditor.Update () [0x00000] in :0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
COM3D2.MotionTimelineEditor.Plugin.PluginUtils:LogException(Exception)
COM3D2.MotionTimelineEditor.Plugin.MotionTimelineEditor:Update()

MTE v<IP_ADDRESS>


Allow custom jinja filters to be used for parsing

Added an optional "filters" argument to loader.load that allows callers to supply a dictionary of filter name -> filter methods. This allows clients to use their own custom jinja2 filters while parsing maestro templates

@tedoc2000 What's going on with your branch? Does this need to be rebased?

Let me try again..


router-link is not transformed to a link

I followed http://router.vuejs.org/en/essentials/getting-started.html#, but got unexpected result. Router-link tag is not transformed to a tag.
vue version is ^2.0.1, and vue-router is ^2.0.0.

Please make sure Vue.use(VueRouter) is called and the router instance is given to the root vue instance. (new Vue({ router, ... })) If the problem persisits, please provide a repro on jsfiddle/codepen etc. Thanks!

@fnlctrl https://jsfiddle.net/1dmtv3f0/

Hi @david30xie ,
Apparently vue and vue-router are not linked in your repro, I linked the missing libraries and it seems to work: https://jsfiddle.net/VincentGarreau/1dmtv3f0/3/

↑ As above, @david30xie thanks for the explanation.

@VincentGarreau @fnlctrl
You guys misunderstood here.
I used vue-cli to create this project, and then I used npm to install vue-router. After copying code from http://router.vuejs.org/en/essentials/getting-started.html#, router-link are not transformed to a, that's the problem I got.
Commands I used:
vue init browserify-simple vue-temp
cd vue-temp
npm install vue-router --save
npm install
npm run dev

@david30xie
The example is using in-dom templates, which cannot be compiled by vue's runtime-only build (what you get by require('vue'), by default)
Therefore, you need to use the standalone build, check out the section here: https://vuejs.org/guide/installation.html#Standalone-vs-Runtime-only-Build
I'm sorry for any confusion caused by the docs, and we'll definitely improve it afterwards.

@fnlctrl Thank you for the explanation, it makes more sense.
Now I still have 2 questions:

if I should use aliasify for standalone build, is there any example though?
I saw errors for below code, which only happened on vuejs 2.0, any idea why?

const app = new Vue({
  router
}).$mount('#app')

No, but maybe it would be nicer if there were... /cc @chrisvfritz
For the same reason I explained before, runtime-only build cannot compile templates.

For 2, is below command a standalone build?
cross-env NODE_ENV=production browserify -g envify src/main.js | uglifyjs -c warnings=false -m > dist/build.js

standalone build is one of vue's two builds (standalone, runtime-only), it's not related to your own code.
https://vuejs.org/guide/installation.html#Standalone-vs-Runtime-only-Build

I understand there are 2 kinds of builds for vuejs, but I don't know how to tell which one I am using, and how to switch to another one, especially when I am using browserify.
I think I am gonna just give up here, because I tried so many ways, and none of them worked. Also I couldn't find anything helpful in your docs. But anyway, thank you for your help!

Sorry to reopen this thread. I'm having the same issue. I referred vue and vue-router in the above jsfiddle and it is still not working.
https://jsfiddle.net/1dmtv3f0/7/

I'm not sure why this thread only appeared in my notifications now, 😬  but for the future reference of anyone looking at this thread, check out:

These installation docs for explanations and examples of how to use each build.
This Browserify template for a more detailed example of how to use the various builds with Browserify.


[Storage] convert options to take pointer

Converts DownloadResponse.Body to take a pointer to an options struct.

I've created a release candidate for azblob 0.3.0 here. You can merge your branch to this one.


implement GetAll<>

subj

Should GetAll raise exception if no bindings available? Or it should return an empty list?

Q: Should GetAll("SomeName") raise exception if no SomeName exists?
E: Yes, it should.

new tests are coming.


Jedi go-to not working. Shows errors.

Environment data

VS Code version: 1.47.3 (from Snap)
Extension version (available under the Extensions sidebar): v2020.7.96456
OS and version: Ubuntu 18.04.4 LTS
Python version: The version of the used cond env is python 3.7.4
Type of virtual environment used: conda
Relevant/affected Python packages and their versions: jedi 0.17.1
Value of the python.languageServer setting: jedi

Expected behaviour
Right-Click on a Class name and "Go To Definition" should jump to the definition of the class.
Actual behaviour
If the class is defined in the same file, it worgs.
But if the class if defined somewhere else, the GUI tells me "No definitions found for 'YourClass'.
Also I can observe error messages / deprecation warnings in the output window.
Logs
Error 2020-08-07 12:48:42: stderr jediProxy Error (stderr) /home/me/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/completion.py:589: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).get_names instead.
  all_scopes=True,

Error 2020-08-07 12:49:37: stderr jediProxy Error (stderr) /home/me/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/completion.py:600: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  sys_path=sys.path,

Error 2020-08-07 12:49:37: stderr jediProxy Error (stderr) /home/me/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/completion.py:600: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  sys_path=sys.path,
/home/me/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/completion.py:600: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  sys_path=sys.path,

Error 2020-08-07 12:49:37: stderr jediProxy Error (stderr) /home/me/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/completion.py:628: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]

Error 2020-08-07 12:49:47: stderr jediProxy Error (stderr) /home/me/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/completion.py:605: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).goto instead.
  script.goto_assignments(follow_imports=True), request["id"]

@DanielBiskup, thanks for letting us know about this.  Do you have some code we can look at?  In particular, what how are you importing YourClass into the file where you get the error?

I can't share code, but it probably looks something like this:
YourClass is defined in a different module but in the same package.
So YourClass might be defined in somepackage.aaa.yourclass and in somepackage.bbb.usingithere I import YourClass with from somepackage.aaa.yourclass import YourClass.
The somepackage is also installed to the environment with pip install --editable.
When I run the my program it runs as expected without errors.
Please let me know if this elaboration helped.

Same issue here:
Right click -> Go to definition -> Nothing happens

VS Code version: 1.49.2
Extension version : v2020.9.111407
OS and version: Windows 10
Python version: Python 3.8.5

Error 2020-09-28 13:59:19: stderr jediProxy Error (stderr) c:\Users\...\.vscode\extensions\ms-python.python-2020.9.111407\pythonFiles\completion.py:603: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).goto instead.   script.goto_assignments(follow_imports=True), request["id"]
In my case the error has something to do with Git. By deleting the hidden .git folder from the project I can get it working again.

Exact same issue with pyenv and python 3.9.0
Error 2020-11-03 21:12:21: stderr jediProxy Error (stderr) /home/user/.vscode-server/extensions/ms-python.python-2020.10.332292344/pythonFiles/completion.py:584: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).get_names instead.
  jedi.api.names(

Error 2020-11-03 21:12:22: stderr jediProxy Error (stderr) /home/user/.vscode-server/extensions/ms-python.python-2020.10.332292344/pythonFiles/completion.py:584: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).get_names instead.
  jedi.api.names(

Error 2020-11-03 21:12:24: stderr jediProxy Error (stderr) /home/user/.vscode-server/extensions/ms-python.python-2020.10.332292344/pythonFiles/completion.py:592: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/home/user/.vscode-server/extensions/ms-python.python-2020.10.332292344/pythonFiles/completion.py:592: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(

Error 2020-11-03 21:12:24: stderr jediProxy Error (stderr) /home/user/.vscode-server/extensions/ms-python.python-2020.10.332292344/pythonFiles/completion.py:592: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  script = jedi.Script(
/home/user/.vscode-server/extensions/ms-python.python-2020.10.332292344/pythonFiles/completion.py:603: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).goto instead.
  script.goto_assignments(follow_imports=True), request["id"]

Error 2020-11-03 21:12:24: stderr jediProxy Error (stderr) /home/user/.vscode-server/extensions/ms-python.python-2020.10.332292344/pythonFiles/completion.py:626: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]

Same issue using python Extension v2020.9.114305, Anaconda 4.9.2, Python 3.8.5 on Ubuntu 20.04
It seems like the ms-python.python extension is using a Deprecated API of Jedi

Error 2021-01-02 13:31:08: stderr jediProxy Error (stderr) /home/dante/.vscode/extensions/ms-python.python-2020.9.114305/pythonFiles/completion.py:626: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]

Error 2021-01-02 13:31:08: stderr jediProxy Error (stderr) /home/dante/.vscode/extensions/ms-python.python-2020.9.114305/pythonFiles/completion.py:592: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/home/dante/.vscode/extensions/ms-python.python-2020.9.114305/pythonFiles/completion.py:592: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(

Error 2021-01-02 13:31:08: stderr jediProxy Error (stderr) /home/dante/.vscode/extensions/ms-python.python-2020.9.114305/pythonFiles/completion.py:592: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  script = jedi.Script(

Error 2021-01-02 13:31:08: stderr jediProxy Error (stderr) /home/dante/.vscode/extensions/ms-python.python-2020.9.114305/pythonFiles/completion.py:603: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).goto instead.
  script.goto_assignments(follow_imports=True), request["id"]

Same issue using python Extension v2020.9.114305, Anaconda 4.9.2, Python 3.8.5 on Ubuntu 20.04
It seems like the ms-python.python extension is using a Deprecated API of Jedi

Error 2021-01-02 13:31:08: stderr jediProxy Error (stderr) /home/dante/.vscode/extensions/ms-python.python-2020.9.114305/pythonFiles/completion.py:626: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]

Error 2021-01-02 13:31:08: stderr jediProxy Error (stderr) /home/dante/.vscode/extensions/ms-python.python-2020.9.114305/pythonFiles/completion.py:592: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/home/dante/.vscode/extensions/ms-python.python-2020.9.114305/pythonFiles/completion.py:592: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(

Error 2021-01-02 13:31:08: stderr jediProxy Error (stderr) /home/dante/.vscode/extensions/ms-python.python-2020.9.114305/pythonFiles/completion.py:592: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  script = jedi.Script(

Error 2021-01-02 13:31:08: stderr jediProxy Error (stderr) /home/dante/.vscode/extensions/ms-python.python-2020.9.114305/pythonFiles/completion.py:603: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).goto instead.
  script.goto_assignments(follow_imports=True), request["id"]

We have a newer JediLSP language server setting which uses latest jedi engine, which should solve this problem. The setting Jedi uses older version of jedi engine with python 2.7 support. Please try with JediLSP and if you continue to run into issues please file a separate bug.


Add support of js-data-sql adapter

js-data-sql works really great browser-side. I use it for manipulate a WebSql database and it works like a charm !
js-data is pretty amazing!

In browserify context, if:
require('js-data')
window.DSHttpAdapter = require('js-data-http')
window.DSSqlAdapter = require('js-data-sql')
require('js-data-angular')

There is a bug in adapter registration:
null "new data store created" Defaults {…} null null
null "registerAdapter" "http" DSHttpAdapter {defaults: Defaults} Object {}
null "default adapter is http" null null null
null "registerAdapter" "sql" DSHttpAdapter {defaults: Defaults} Object {}
null "default adapter is http" null null null
null "registerAdapter" "http" DSHttpAdapter {defaults: Defaults} Object {default: true}
null "default adapter is http" null null null

In adapter registration loop (https://github.com/js-data/js-data-angular/blob/master/src/index.js#L205-L214), if the first adapter is well registrated, it continue to loop over next adapter when with a wrong object.
Adding a break fix the issue. (in 846c4c0)
(I added a commit to current PR, if separate PR is preferable, just tell me)

Wow, I didn't even realize js-sql-adapter would be useful in the browser. And thanks for the fix!

@jmdobry Yeah. I thought I was crazy to dig into it but it works!
Seems to fail in CircleCI tests. Bower issue... Perhaps resolution ? https://circleci.com/gh/js-data/js-data-angular/44
CircleCI does not test PR ?


added debounceInterval into frost-select

This project uses semver, please check the scope of this pr:

[ ] #none# - documentation fixes and/or test additions
[ ] #patch# - backwards-compatible bug fix
[x] #minor# - adding functionality in a backwards-compatible manner
[ ] #major# - incompatible API change

Closes #411
CHANGELOG

Added debounceInterval into frost-select

This should be a #minor# not a #patch# as it is adding a feature rather than fixing a bug.

Approved

@d-ashfield this is the PR I was mentioning

Approved

:+1:


Minor - Adding error message to EmptyDataframe exception

Issue #, if available:
#989
Description of changes:

Added error message to EmptyDataframe exception

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: 0f0a02fdfd05f0c74f6322a2360b617bd35aa9f9
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


FIX: Misleading error message in SSViewer

If SSViewer.theme is set, this error message implies that it’s searching in the theme even when SSViewer.theme_enabled is set to false.

Come to think of it, it might be more useful to set a different message if the theme is disabled? Something like:
if(Config::inst()->get('SSViewer', 'theme_enabled')) {
	user_error(
		"None of these templates can be found in theme '"
		. $theme . "': "
		. implode(".ss, ", $templateList) . ".ss",
		E_USER_WARNING
	);
} else {
	user_error(
		"None of these templates can be found (theme is disabled): "
		. implode(".ss, ", $templateList) . ".ss",
		E_USER_WARNING
	);
}

Great bug to fix, this has caught me out many times.

I think your second solution is best. The message needs to be as unambiguous as possible.
Also, a unit test would be good :)
$message = 'None of the following templates could be found';
if (!$theme) {
    $message .= ' (no theme in use)';
}
else {
    $message = ' (using theme "' . $theme . '")';
}
user_error($message . ': ' . impode('.ss', $templateList) . '.ss', E_USER_WARNING);

whoops, looks like I was a bit too slow with my reply ;)
I think it needs to be a bit more DRY :)

Heh, only a few seconds in it! Fixed that up now :)


Build failed creating a demo project project

[x ] bug report
OS and Version?
Windows 7
Generator Version
4.1.0
Tools Version
Output from: yo --version, 2.0.0
Output from: node --version, 6.11.3
Output from: npm -v 5.3.0
Targeted Angular version
2+
Repro steps.
Install Yeoman: npm install -g yo
Install Gulp: npm install -g gulp-cli
Install Angular CLI: npm install -g @angular/cli
Install -g generator-ngx-library
Once installed, simply run the following command:
$ yo ngx-library
The log given by the failure.
Project creation fails right away with following in the terminal window:
TestLibrary>yo ngx-library
C:\Users\jphillips\AppData\Roaming\npm\node_modules\generator-ngx-library\node_modules\chalk\index.js:8
const isSimpleWindowsTerm = process.platform === 'win32' && !process.env.TERM.toLowerCase().startsWith('xterm');
^
TypeError: Cannot read property 'toLowerCase' of undefined
at Object. (C:\Users\jphillips\AppData\Roaming\npm\node_modules\generator-ngx-library\node_modules\cha
lk\index.js:8:78)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\Users\jphillips\AppData\Roaming\npm\node_modules\generator-ngx-library\app\index.js:5:1
5)
at Module._compile (module.js:570:32)
Desired functionality.
An initial demo project

Same issue facing in Windows 10

Hi guys!
Thanks for reporting this.
The issue seems to only occur on Windows 10 and may be related to https://github.com/chalk/chalk/issues/164, (chalk is  is a core dependency of the generator).
It has been fixed in latest version of chalk (starting v2.0.1).
I have updated the generator's deps, and released 🎉 v4.1.1 that should fix the generation issue.
Please confirm and fill free to re-open if not (don't have windows 10, so cannot test myself).
Cheers!

Thank you!
It was reported also an issue with windows 7. Your 4.1.1 works for me now,
thank you!
Cheers!
On Fri, Sep 29, 2017 at 1:25 PM, Tine Kondo<EMAIL_ADDRESS>wrote:

Hi guys!
Thanks for reporting this.
The issue seems to only occur on Windows 10 and may be related to
chalk/chalk#164 https://github.com/chalk/chalk/issues/164, (chalk is is
a core dependency of the generator).
It has been fixed in latest version of chalk (starting v2.0.1).
I have updated the generator's deps, and released 🎉 v4.1.1
https://github.com/tinesoft/generator-ngx-library/releases/tag/v4.1.0
that should fix the generation issue.
Please confirm and fill free to re-open if not (don't have windows 10, so
cannot test myself).
Cheers!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tinesoft/generator-ngx-library/issues/89#issuecomment-333187094,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AApV11Zn6GtW_x9oJk5XiDMHM8nntIGlks5snSftgaJpZM4PoslL
.

Thank you!
It works for me now on Windows 10.


Support hybrid flow

As described in https://openid.net/specs/openid-connect-core-1_0.html#HybridFlowAuth , this now supports refresh tokens for client side apps using hybrid flow.
I'd really appreciate it if you could review/merge/release as soon as you're comfortable with it so I can use it in some of my apps - love this library!

if anyone is interested in this I've released a fork including this addition - https://www.npmjs.com/package/angular-oauth2-oidc-hybrid

Thanks @manfredsteyer. I can't see any comments on code though?

Pardon the interruption, how do you use this?

+1

@jimmidyson please resolve conflicts

I'm sorry but I don't use this any more and don't have time to do the merge - I'm more than happy to donate my work though so if anyone else wants to resolve conflicts and get it merged, then that's fine by me.

Hi,
thanks in advance for your effort. I really appreachiate it. As it is not my main use case and as I have really to take care about maintainability (which means limiting options), I would encourage you to create a fork with your additions.
Best wishes,
Manfred


running error of Searchlight with Anaconda3 and ICC

Using Anaconda3 and ICC to run the Searchlight example in examples/searchlight as mpirun -np 1 python example_searchlight.py, I received the following error:
ImportError: /path/to/anaconda3/lib/python3.5/site-packages/_multiprocess.cpython-35m-x86_64-linux-gnu.so: undefined symbol: __intel_sse2_strcpy
This error doesn't appear on my Macbook Pro with Anaconda3 and clang.

It is an issue about multiprocess, which can be fixed by reinstalling it via pip install -v --global-option=build_ext --global-option="-lirc" --global-option="-lintlc" multiprocess if you are using ICC/ICPC as the default C/C++ compiler

Is there no way to set those library options independently of Python, so that they are in effect when installing Multiprocess?

Have you had the change to look at setting the options? One way to deal with the issue and others that may arise with ICC is to create a Q&A document.

Closing because it is not specific to BrainIAK.


created CONTRIBUTION.md

#161 added contribution.md to Readme

Hey @Tushar-go thanks for the PR can you move the getting started and the prerequisites section to contributing.md as well?

Done


Tune up Coveralls

@dylangrafmyre @robwise Let's tune up Coveralls https://coveralls.io/github/shakacode/react_on_rails

I can't find react_on_rails_helper.rb listed in the coverage.
The coverage of some of the other files is a bit dubious. It seems that initialization of the gem is not getting flagged as covered.

@justin808 Are we good on this after #64 ?


Add Sepolia Testnet Integration

Description :
Fixes : issue #14
This pull request addresses issue #14  by introducing the Sepolia testnet integration into the project
The following changes have been made:

Configuration:

Added Sepolia testnet as an additional network configuration option.
Integrated the necessary endpoints and settings to connect to the Sepolia blockchain network.

Test Ether Allocation:

Sepolia testnet provides a higher allocation of test ethers per day compared to the existing Goerli testnet.
Users can now leverage the increased test ether availability for testing and development purposes without the requirement of any ETH on the mainnet.

Screenshots :
1. Before :

Displayed a transaction notification indicating "Transaction Failed" while using the Sepolia testnet for transactions.

2. After :

Displayed an updated transaction notification indicating "Transaction Complete" after the successful addition of the Sepolia testnet.

Hey @gurjeetsinghvirdee ,
I have updated the PR so kindly merge it!

Don't mention issue number twice and Write like this
Fixes: #77

Hey @gurjeetsinghvirdee ,
Updated the PR and will take care of this next time! 👍

Your branch is 7 commit behind
Sync it
@kirtiraj22


Getting the amount of revenue made for a certain period of time

Acceptance Criteria

[ ] AC-8.1: An admin should be able to determine the amount of revenue made by their company in a given unit of time using the Jobber API
[ ] AC-8.2: An admin who requests how much revenue their company has made without specifying the unit of time should get a response indicating how much money was made in the last week
[ ] AC-8.3: An admin who requests how much revenue their company has made within a specific unit of time should get a response indicating how much money was made within that unit of time
[ ] AC-8.4: If the admin specifies a bad time unit then the assistant should re-prompt the admin to specify a valid time range
[ ] AC-8.5: If the admin specifies a bad time unit 3 times in a row then the assistant should fall back to returning the amount of revenue made in the last week

How should we deal with the 3 bad tries. I think the assistant will end conversation if given 3 unrecognizable inputs?

Yeah Google Assistant automagically ends the conversation after 3 bad inputs.

Is this closeable?

Yeah this should be closable.
Don't really know if we can do AC-8.4 if we keep time unit as optional.
for AC-8.5 I think we mentioned that we can scrap it?

Yeah let's scrap those last two.


Catalog signature in 'PSScriptAnalyzer.cat' does not match the hash generated from the module

Hey guys, I wanted to check out the latest version of PSSA but ran into this issue with Win10 x64 AU.
Find-Module PSScriptAnalyzer  | Install-Module -Verbose
...
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/PSScriptAnalyzer/1.9.0'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/PSScriptAnalyzer/1.9.0'.
VERBOSE: Completed downloading 'PSScriptAnalyzer'.
VERBOSE: InstallPackageLocal' - name='PSScriptAnalyzer', version='1.9.0',destination='C:\Users\Administrator\AppData\Local\Temp\1433055360'
VERBOSE: Found the catalog file 'PSScriptAnalyzer.cat' in the module 'PSScriptAnalyzer' contents.
VERBOSE: Valid authenticode signature found in the catalog file 'PSScriptAnalyzer.cat' for the module 'PSScriptAnalyzer'.
VERBOSE: Validating the 'PSScriptAnalyzer' module files for catalog signing using the catalog file 'PSScriptAnalyzer.cat'.
PackageManagement\Install-Package : The module 'PSScriptAnalyzer' cannot be installed because the catalog signature in 'PSScriptAnalyzer.cat' does not match the hash generated from the module.
In C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\<IP_ADDRESS>\PSModule.psm1:1764 Zeichen:34
+ ...          $null = PackageManagement\Install-Package @PSBoundParameters
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
    + FullyQualifiedErrorId : InvalidCatalogSignature,ValidateAndGet-AuthenticodeSignature,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

Adding -SkipPublisherCheck which helped me with updating the Pester version that ships with Win10 also helped in this case.
Here's my PS version information.
PS > $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.14393.206
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.206
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

I'm seeing the same thing on my machine.  Same PSVersionTable as above.

It looks like the latest version of NuGet provider is not installed.
Please try again after installing the latest version of NuGet provider.
Install-PackageProvider Nuget –force
exit

More details can be found at https://github.com/PowerShell/PowerShellGet#get-the-latest-version-from-powershell-gallery .

Updated the readme to reflect the instructions.

For anyone reading this again, the new 1.17.0 release suffers from the same issue but cannot be resolved by updating the nuget provider. Using the -SkipPublisherCheck switch on Install-Module is currently the only known workaround.


Using RenderStaticComponentAsync in default template results in exception

Steps

Create a new blazor template dotnet new blazorserverside
Edit _Host.cshtml and replace RenderComponentAsync with RenderStaticComponentAsync
dotnet run

This results in an exception:
InvalidOperationException: GetAuthenticationStateAsync was called before Initialize.
Microsoft.AspNetCore.Components.Server.Circuits.FixedAuthenticationStateProvider.GetAuthenticationStateAsync()
Microsoft.AspNetCore.Components.CascadingAuthenticationState.OnInit()
Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
Microsoft.AspNetCore.Components.Rendering.HtmlRenderer.HandleException(Exception exception)

This is because StaticComponentRenderer doesn't use the same circuit initializing logic that RemoteRenderer does (via DefaultCircuitFactory). In turn, this is because static prerendering doesn't involve creating a circuit at all.
Suggested fix:
To avoid having to keep remembering to duplicate initialization logic across the two types of server-side execution environments, I suggest we have some static class StandardServiceInitialization in the M.A.Components.Server project, with a static method InitializeServices(HttpContext httpContext, string uriAbsolute, string baseUriAbsolute). It can then find and initialize both FixedAuthenticationStateProvider and RemoteUriHelper and anything else we add to the "standard" set of services in the future.
We then call this from both DefaultCircuitFactory and StaticComponentRenderer.PrerenderComponentAsync (replacing the existing calls from those places that initialize the services).


Don't force scrollbars to be shown unnecessarily

The inner code element needs to handle scrolling, otherwise the shown language will scroll out of view (which is fixed to the outer pre container) if the user has to scroll to see more highlighted code.
Fixes #559 and potentially #382.
Demo at http://nauzilus-prism.azurewebsites.net/plugins/show-language/

LGTM. Merged.


Replaced named entity with character number for XHTML comatibility.

Browsers have problems with HTML named entities when working in real XHTML mode (when page is served as application/xhtml+xml). It causes problems with innerHTML - throws exceptions about invalid pointer. This fixes the problem and still makes first element of innerHTML an whitespace entity.

This PR is outdated. The files changed alot so finding current place would be pointless. #38 is up-to-date PR.


Tests for most uses of sync list

Tests for most uses of sync list
renaming classes for existing test files

split up code from https://github.com/vis2k/Mirror/pull/1729

I don't like this,
Running the tests in my editor is already painfully slow ~75 seconds.

We only need weaver tests to check when the weaver is expected to fail.  The stuff that is expected to pass can be moved out of the weaver tests into normal tests to make them 100 times faster,  and I will be opening PRs for that shortly.


Constrained types and other types that were removed in Pydantic V2

Types that are listed in the migration guide will be added here?
I'm happy to add a PR implementing them here
Selected Assignee: @adriangb

No, not all of those will be added here. Many of them are replaced by a more composable approach using Annotated, eg Annotated[str, MinLen(16)]


Asyncio conversion

Description:
Convert the API to utilize aiohttp and asyncIO
I've spent some time converting to asyncIO - this is the first step toward updating the HA integration to asyncIO, and eventually if we figure out the subscription end points, will allow for event base updates.
It's a big change... so it will probably take some time to get through the proposed changes (assuming you agree with this direction).
Related issue (if applicable): fixes #
Checklist:

[x] Local tests with tox run successfully PR cannot be meged unless tests pass
[x] Changes tested locally to ensure platform still works as intended
[x] Tests added to verify new code works

Since you agree with the concept, I'm going to keep pecking away at the tests.  I've been finding a few coding errors as I them (Usually missing an await for one of the converted functions).

Overall the changes looks pretty easy to understand. There's a few questions I have related to my lack of understanding about how async works. Ultimately this is a pretty big shift so my plan will be to pull your changes down locally just so I can do some spot checking of functionality on my end, and then probably do an rc release for more wide-spread testing and stuff.

I totally agree - this is a HUGE change with lots of room for mistakes.  My first "goal" here is to get as close to 100% test coverage to dig out any missing await and async def issues.  As I've been build the tests I found several misses.  I hope to have the tests completed in the next week or so, then the PR should be a bit more "static".  Hope to only make changes we dig up with further reality testing.
Once I make it through the tests, I'll work on the HA integration conversion - running as a custom for a bit on my instance. Please run it through the paces.  I only have a couple of door bells and a sync module to work with IRL, so my real life test will have plenty of holes :)

I have the tests completed - probably a couple of mistakes around what is being tested.
I'm not sure why this:
https://github.com/fronzbot/blinkpy/blob/4e0c251ed14bd3eaf17d20c6c01c5bfc4fecef56/blinkpy/camera.py#L399
is a deepcopy.... following that, I'm not sure why this:
https://github.com/fronzbot/blinkpy/blob/4e0c251ed14bd3eaf17d20c6c01c5bfc4fecef56/blinkpy/camera.py#L420-L423
is removing the clips from the place it was copied from... why not just use self.recent_clips?  Probably my lack of understanding here.
Following on, I couldn't get a test for
https://github.com/fronzbot/blinkpy/blob/4e0c251ed14bd3eaf17d20c6c01c5bfc4fecef56/blinkpy/camera.py#L422-L426
ValueError because clip MUST exist to get into thefor clip in recent loop.
Maybe it's not needed, or I don't understand how it can happen.
Now on to the real world testing :)

Found a couple of mistakes in the image formatting while testing the HA integration.
If you're interested in testing, I have the HA integration "ready to go":
https://github.com/mkmer/HomeAssistant_Core.git
branch is "Blink_asyncio".
I punted with 0.23.0 in the manifest - just as a place holder.

After 3 weeks of running as a custom component, It looks like moving to asyncIO version fixes the partial picture downloads that was reported here: https://github.com/home-assistant/core/issues/91227.

Found the wrapper was removing force from the refresh function. It was impossible to force a refresh.  Then the usual failure to be complete on my part :)

In the process of trying to figure out why things are so slow to update, I discovered we need a data coordinator.  I've created a second branch in the repo with said data coordinator - please try that one out too...
https://github.com/mkmer/HomeAssistant_Core.git
Branch = coordinator

It has been running flawlessly for me, BUT I only have doorbells on a sync module.  I have no way to verify any other combinations IRL.  If the added tests are any good, everything "should" work, but it wouldn't hurt to try some other combinations.
If not, let her fly with a PyPi release and I'll see if we can get the HA integration update through.  If something is broken we can fix it on the fly :)
I've also added a user friendly wxPython based blinksync.py which can be used to download/delete files from a sync module via a selection dialog.  For now it only uses the first system found.

Thoughts on when we will be ready for a full release?  (I'll keep quiet till then :) )


Add banner that suggest to switch to preferred locale by user

Bug/issue #104924748, if applicable:
Summary
Add banner that suggest to switch to preferred locale by user
Dependencies
NA
Testing
Steps:

Add the following to theme-settings.json file at public folder

{
  "features": {
    "docs": {
      "i18n": {
        "enable": true
      }
    }
  }
}

Run npm run serve
Go to the bottom of the page and change the language in the locale selector Chinese for example
Delete localStorage
If you have your browser in English, you should assert that a banner is displayed

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran npm test, and it succeeded
[x] Updated documentation if necessary

@swift-ci test

Thanks Dobri! I've addressed your feedback. Give it another try :)

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test


Symlink Issue: "Access is Denied" and "SpectatorView (Missing Prefab)"

Hi all, spectator mode looks like a great feature! Unfortunately I haven't yet been able to get something to work. My goal is to get one of the samples up and running with my Hololens 1 and Android phone, mainly to create high-quality videos for marketing/demoing purposes.
I followed the documentation in the Samples ReadMe and in this PR.
Steps

Clone the release/1.0.0-beta branch of this repo in C:\sv
Right click "Run as Administrator" on ResetSamples.bat. This launches a powershell and clones some repositories. This takes about 2 minutes. The powershell closes again when it is done.
If I open the project in Unity 2018.3.14f1 I get "Access is Denied" errors in the console (shown below under Images)
If I open the Unity editor by finding the editor executable (.exe) file and right clicking "Run as Administrator" and then open the project, I do not get these errors. But then if I close and reopen Unity without right clicking "Run as Administrator", the errors are still gone (so I don't know what is going on there).
With the "Access is Denied" errors gone, open Demo/Scenes/Finished_Scene and click "Import TMP Essentials" when prompted.
Observe the following:
a. 	The SpectatorView prefab is missing in the scene hierarchy
b. 	There are errors in the console
c. 	The project hierarchy (it seems that the symlinks are not correctly followed?)

Images
3:

6a:

6b:

6c:

Thanks for reporting this! If you open a command prompt and run "git status", do you see pending changes in the repository for any of the symlinks? These pending changes might look like this.

If you are seeing these pending "typechange" changes, then this is an issue that is fixed in the master branch's SetupRepository script, but not in the release/1.0.0-beta. A quick fix while remaining on release/1.0.0-beta would be to run "git checkout -- ." from the root of the repository (this assumes you have no other changes). Git will then restore the symlinks automatically.
If that's not the issue, please let us know and we'll continue to try to help troubleshoot!

Thanks for the quick response! There was indeed a typechange which was removed when executing git checkout -- . However, the two errors (6b) are still present and the prefab (6a) is still missing.

If I look at the symlink C:\sv\samples\Build2019Demo.Unity\Assets\MixedReality-SpectatorView, it does point to C:\sv\src\SpectatorView.Unity which does contain the C:\sv\src\SpectatorView.Unity\Assets\SpectatorView\Prefabs\SpectatorView.prefab that is missing in the scene hierarchy.

I'm not sure why the prefab would still appear to be missing, but I think I would start with the errors first, and once those are resolved we can move on to the prefab if it's still not loading.
Regarding the errors in 6b: From 6c, it looks like the 4 symbolic link directories under MixedRealityToolkit-Unity are broken. They should appear as directories, like so.

I think one of two things could be wrong:

The submodule for the MixedRealityToolkit-Unity was not initialized or cloned correctly, and so the target directories for the symlink don't exist. Can you check under :/external/MixedRealityToolkit-Unity to see if the directory is populated? If the directory is empty, try running 'git submodule update --init --force' from the root of the repository. You should see this output, and you should have the submodule populated. If there are errors, that would be interesting to know.

If this was the issue, running ResetSamples.bat should now fix the symbolic links.

If the MixedRealityToolkit-Unity submodule is cloned, then for some reason the directory symlinks aren't being restored correctly by the ResetSamples script.  If you look at :/samples/Build2019Demo.Unity/Assets/MixedRealityToolkit-Unity in Windows Explorer, do you see those 4 symbolic links showing up as directories?

If they are not showing up as folders, and instead look like iconless files, try deleting all 4 manually from Windows Explorer. Then run 'git checkout -- .' from a command prompt to restore them.
Based on what is wrong in your case, we can look at how to make these scripts more robust.

Thanks! The submodule directories are populated. When removing the contents of the MixedRealityToolkit-Unity folder, running git checkout -- . restores it back to the same state:

I reinstalled git (now version 2.22.0) since I figured I might have an old version and stumbled upon this option in the git installer:

I checked the Enable symbolic links checkbox since it is unchecked by default, re-cloned the repository, switched branches to release/1.0.0-beta and ran ResetSamples.bat. The folder now looks like this, the Unity errors are gone and the prefab is found:

Now onto the next steps of running the BUILD2019 demo on my Hololens 1 and Android phone. Thanks a lot for the help and I will open a new issue if I stumble upon further problems.

Thank you, Bastiaan. We greatly appreciate this feedback and will work to improve our documentation/setup process.

I'm going to go ahead and close this for now. We have updated our documentation to describe how to setup submodules. In the master branch, SetupRepository.bat and FixSymbolicLinkedDirectories.bat should fix this issue. I tested things locally and we determined that skipping the enable symbolic linked directories git install option didn't seem to impact whether these bat scripts succeeded.
Please reopen this issue if you have additional suggestions or experience something similar again in the future. And most of all, thanks again for this feedback!


Feature/liayoo/multi cmd tool

Added a simple tool script & example command files for running multiple commands sequentially. I've been using this for recreating genesis blocks and executing gcloud commands for the 100 sandbox nodes. Hope it makes your life easier as well :)

wow, great. thanks!


Not Working in IE

The js is not getting loaded in IE browser even after setting the javascript setting as enabled

Please be more specific. Code example perhaps?

What version of IE?
Where are you loading the script; header, footer?
Have you included jQuery before the instaFilta script?

In IE 9
The script is loaded in the header
Yes

This is the start of my file:

And a console.log() stmt in my app.js on document.ready() is not getting executed

I just tested the plugin successfully in a native IE8 on Win XP. Seems to work just fine. There is probably something else in your architecture that is causing this.
...since your issue was created a long time ago, I'm sure you have already fixed it yourself. Adding this comment for the record. If I don't hear from you in a week or so, I will close this issue.


Pistol Detection

Deep Learning Simplified Repository (Proposing new issue)
:red_circle: Project Title : Pistol Detection
:red_circle: Aim : Create a DL model to identify the pistols.
:red_circle: Dataset : https://www.kaggle.com/datasets/vaibhavtalekar/pistol-classification
:red_circle: Approach : Try to use 3-4 algorithms to implement the models and compare all the algorithms to find out the best fitted algorithm for the model by checking the accuracy scores. Also do not forget to do a exploratory data analysis before creating any model.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
Email ID :
Participant ID (if applicable):
Approach for this Project :
What is your participant role? (Mention the Open Source program)

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Hey, @abhisheks008 I would love to work on this issue,
Please find all the details, mentioned for the issue to be assigned.
Full name : Piyush Bhujbal
GitHub Profile Link : https://github.com/PiyushBL45t
Email ID<EMAIL_ADDRESS>What is your participant role: contributor at SWOC 3.0
Approach for this project:

I would first perform some basic Exploratory Data Analysis on the Dataset.
Then visualize the images with various modifications.
Then implement Deep Learning Algorithms and check for the accuracy of the model.

Issue assigned to you @PiyushBL45t


relax elixir version requirement

from "~> 1.0.0" to "~> 1.0", specifying the entire 1.x series
tests pass against elixir 1.1.0-dev
can always retighten if incompatibilities show up later

Thanks!


dflow show

Action cli that takes a graph file in input and outputs an svg file to show the graph.

it could be named dflow svg or dflow show. Use it to generate hello world graph and replace the screenshot in README.


Size issue of embedded widget_class's sub widgets

If I create a widget_class with sub widgets (in an its own .fl file) and then I use its instance in another .fl file, the widget_class's sub widgets are drawn with the wrong size.
I made a little project which shows the issue (and propose a fix): ewc.tar.gz
Here is a picture of what I observe:

And this is what I expect:

I think the problem is in how the xywh fields of the widget_class are converted in the .rs output file:
$diff expected_my_class_ui.rs observed_my_class_ui.rs
28c28
< let mut base_group = Group::new(0, 0, 150, 150, label);
---
> let mut base_group = Group::new(x, y, w, h, label);
30c30
< let mut fl2rust_widget_2 = Frame::new(0, 0, 150, 25, None);
---
> let mut fl2rust_widget_2 = Frame::new(0 + x, 0 + y, 150 + w, 25 + h, None);
35c35
< let mut fl2rust_widget_3 = Group::new(0, 25, 150, 125, None);
---
> let mut fl2rust_widget_3 = Group::new(0 + x, 25 + y, 150 + w, 125 + h, None);
42c42
< let mut fl2rust_widget_4 = Frame::new(5, 30, 65, 115, None);
---
> let mut fl2rust_widget_4 = Frame::new(5 + x, 30 + y, 65 + w, 115 + h, None);
47c47
< let mut fl2rust_widget_5 = Frame::new(80, 30, 65, 115, None);
---
> let mut fl2rust_widget_5 = Frame::new(80 + x, 30 + y, 65 + w, 115 + h, None);
52d51
< base_group.resize(x,y,w,h);

I made a patch which makes fl2rust produces the .rs output I expect (see the file 0001-Fix-size-of-embedded-widget_class-sub-widgets.patch that I put it in the attached ewc.tar.gz).
Indeed the expected output for Rust shall be in par with the C++ output produced by fluid

Hi
The proposed fix looks good. Would you like to create a pull request with the suggested changes?

Done.
Thank you!


The page isn't redirecting properly

Hello, I have Nginx and i have this error on dashboard.php :
"The page isn't redirecting properly"
I have the same probleme with apache2 ! Help me please :(

Ok, i do : "Ensure the web server user has write access to the main MCHP and data/ directories."
and i REBOOT my vps

This should be fixed in 603d3794066658a35fabd6e511eeeeaa0539804c.


fix enforce_path_sanity being set to true

Obvious bug.  Prioritizing fixing this for now over figuring out where to add testing.

manual testing against this branch worked.


not supported in EVE App?

In the EVE App only a switch occours-
while in Home my Panasonic Camera works pretty fine...

solved: camera and switch accessory are getting created. camera item can only be visible on the startpage, not in the rooms.


Add Data Structures Visualization to this project

Data Structure Visualization
Hello, I would like to add some data structure visualizer(like the stack, queue, link list) in this project.. I already worked on it in python Tkinter(You can check it out on my account), but I have knowledge of how to implement it in flutter... Can I go forward with this? I am also a gssoc'21 participant....... If you give permission to forward with my ideas.... Please assign me to here.... Thanks, @coded-org .....
Data Structure Visualization [Data Structure]
My GitHub account: https://github.com/SamarpanCoder2002

@SamarpanCoder2002 , As I mentioned, don't open a PR until you share the branch on discord or gitter.
@yashugarg Let's keep this a tracker issue for DS simulations and open other issue linked to this for various DS.

C


More efficient loading of external resources

TODO

If I don't get back to this soon, I'll go ahead and close this.

@jerelmiller do you want this closed?

@jerelmiller do you want this closed?


updating to allow IRSA capability

bumping the aws-sdk-go package to v1.29.22
Fixes #3097

@dmcgowan can someone look into getting this merged it does pass all existing tests.

We're looking to use this functionality. Rather than building our own binaries and containers, it would be nice if this PR can get merged. Or perhaps this can be considered for the next release?

Closing as https://github.com/distribution/distribution/commit/e1464fd3172be169bfaf5f2f16479568c7f0f024 was merged in and updates to a higher version of AWS SDK.


add attestation for falco

What type of PR is this?
/kind feature
/kind release
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:

add attestation for falco
we need to hold this PR until the action supports the pushes to non ghcr.io registries
see Issue https://github.com/actions/attest-build-provenance/issues/80

/hold
/assign @LucaGuerra @leogr
Which issue(s) this PR fixes:

Fixes #2649
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

add attestation for falco

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: cpanato
Once this PR has been reviewed and has the lgtm label, please assign mstemm for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone TBD
(@LucaGuerra feel free to change the milestone!)

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

@cpanato @LucaGuerra
any news on this?

i was in pto, returned today :) i will re-check this soon

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closed this PR.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@cpanato should we reopen this? :thinking:

/reopen

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: cpanato
Once this PR has been reviewed and has the lgtm label, please ask for approval from leogr. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

PTAL @leogr

/remove-lifecycle rotten

LGTM label has been added.  Git tree hash: cba9a690339d8b1e37df296457a652f4ec7d1b9c

/milestone 0.40.0

PTAL @leogr @LucaGuerra

LGTM label has been added.  Git tree hash: 7d92b4298a1ac914aea6ec3e651bdad6f97dd9f8

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cpanato, FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/unhold


Ads is not showing

When I compile your apk it showed ads but when I am using your same buildozer.spec file to compile my apk the apk is compiling but ads is not showing and in the logcat it is saying the ads is not loaded yet please halp to solve this issue

Please share the part of your code that is using KivAds. There might be something wrong in how you are calling the functions and classes

I am trying to compile your kivy code in my pc

Have you added the permission INTERNET, ACCESS_NETWORK_STATE in permissions section for buildozer. I forgot to add it in the demo buildozer. Add those two permissions and see if it works?

Yes I did it
And 1 more information
I compiled your demo app in your demo folder it was showing the ads on Android
But when I changed it to new folder and recompiled it it's compiling but not showing ads and in logcat it is showing "The ads hasn't loaded yet, not showing" and so none of the ads are shown

When you copied the buildozer spec file to another folder did you do any of these...

Change the main,py code
Change the python for android directory to correctly reflect the one installed on your system
Copy over the files in src folder.
If you are using your own code one of the reasons you are getting this error is that you are creating the a object and then immediately calling the show() function on it. This doesnt give enough time for the ad object to be loaded. You should create the ad object a few seconds before you need to show it. So for example...

self.ads = IntersitialAd()

* after a few seconds *

self.ads.show()

Yes I have given a button one for loading ads and one for showing and I have done that also loaded ads waited for few seconds and then tried to show ad

nsjsja

Jahszhzjz
Zuzjsj
he he

Here's the code of main.py
from kivy.utils import platform
`#if platform=='android':
from kivads import (
BannerAd,
InterstitialAd,
KivAds,
RewardedAd,
RewardedInterstitial,
TestID,
)
from kivy.core.window import Window
from kivy.lang import Builder
from kivy.uix.screenmanager import Screen
from kivy.uix.button import Button
from kivy.utils import platform
from kivymd.toast import toast
from kivy.app import App
from kivy.uix.relativelayout import RelativeLayout
class apnaApp(App):
def reward_callback(self,*args):
pass
def shows(self,*args):
toast("trying to show ads")
self.reward.show()
toast("shown ads")
def build(self):
self.ads = KivAds()
self.reward = RewardedAd(TestID.REWARD, self.reward_callback)
content=RelativeLayout()
content.add_widget(Button(size_hint=(0.5,0.2),pos_hint={"x":0.25,"y":0.7},text="Reload",on_release=self.reload_ads))
content.add_widget(Button(size_hint=(0.5,0.2),pos_hint={"x":0.25,"y":0.3},text="Show",on_release=self.shows))
return content
def reload_ads(self, *args):
    toast("Reloading Ads")
    self.reward = RewardedAd(TestID.REWARD, self.reward_callback)

apnaApp().run()`

Here's buildozer.spec
`
(str) Title of your application
title = My Application
(str) Package name
package.name = myapp
(str) Package domain (needed for android/ios packaging)
package.domain = org.test
(str) Source code where the main.py live
source.dir = .
(list) Source files to include (let empty to include all the files)
source.include_exts =
#py,png,jpg,kv,atlas,tar.gz,know,points,sh,proot-arm
(list) List of inclusions using pattern matching
#source.include_patterns = assets/,images/.png
(list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec
(list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin
(list) List of exclusions using pattern matching
#source.exclude_patterns = license,images//.jpg
(str) Application versioning (method 1)
version = 0.1
(str) Application versioning (method 2)
version.regex = version = '"['"]
version.filename = %(source.dir)s/main.py
(list) Application requirements
comma separated e.g. requirements = sqlite3,kivy
requirements = python3,kivy,pygments,kivmob,jnius,android,pillow,kivymd
(str) Custom source folders for requirements
Sets custom source for any requirements with recipes
requirements.source.kivy = ../../kivy
(list) Garden requirements
#garden_requirements =
(str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png
(str) Icon of the application
#icon.filename = %(source.dir)s/data/icon.png
(str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
orientation = all
(list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY

OSX Specific

author = © Copyright Info
change the major version of python used by the app
osx.python_version = 3
Kivy version to use
osx.kivy_version = 1.9.1

Android specific

(bool) Indicate if the application should be fullscreen or not
fullscreen = 0
(string) Presplash background color (for new android toolchain)
Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
olive, purple, silver, teal.
#android.presplash_color = #FFFFFF
(list) Permissions
android.permissions = INTERNET,ACCESS_NETWORK_STATE
(int) Target Android API, should be as high as possible.
android.api = 30
(int) Minimum API your APK will support.
#android.minapi = 21
(int) Android SDK version to use
#android.sdk = 20
(str) Android NDK version to use
#android.ndk = 19b
(int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
#android.ndk_api = 21
(bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True
(str) Android NDK directory (if empty, it will be automatically downloaded.)
#android.ndk_path =
(str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =
(str) ANT directory (if empty, it will be automatically downloaded.)
#android.ant_path =
(bool) If True, then skip trying to update the Android sdk
This can be useful to avoid excess Internet downloads or save time
when an update is due and you just want to test/build your package
android.skip_update = False
(bool) If True, then automatically accept SDK license
agreements. This is intended for automation only. If set to False,
the default, you will be shown the license when first running
buildozer.
android.accept_sdk_license = False
(str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity
(str) Android app theme, default is ok for Kivy-based app
android.apptheme = "@android:style/Theme.NoTitleBar"
(list) Pattern to whitelist for the whole project
#android.whitelist =
(str) Path to a custom whitelist file
#android.whitelist_src =
(str) Path to a custom blacklist file
#android.blacklist_src =
(list) List of Java .jar files to add to the libs so that pyjnius can access
their classes. Don't add jars that you do not need, since extra jars can slow
down the build process. Allows wildcards matching, for example:
OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
(list) List of Java files to add to the android project (can be java or a
directory containing the files)
android.add_src = src
(list) Android AAR archives to add (currently works only with sdl2_gradle
bootstrap)
#android.add_aars =
(list) Gradle dependencies to add (currently works only with sdl2_gradle
bootstrap)
android.gradle_dependencies = "com.google.android.gms:play-services-ads:20.3.0"
(list) add java compile options
this can for example be necessary when importing certain java libraries using the 'android.gradle_dependencies' option
see https://developer.android.com/studio/write/java8-support for further information
android.add_compile_options = "sourceCompatibility = 1.8", "targetCompatibility = 1.8"
(list) Gradle repositories to add {can be necessary for some android.gradle_dependencies}
please enclose in double quotes
e.g. android.gradle_repositories = "maven { url 'https://kotlin.bintray.com/ktor' }"
#android.add_gradle_repositories =
(list) packaging options to add
see https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.PackagingOptions.html
can be necessary to solve conflicts in gradle_dependencies
please enclose in double quotes
e.g. android.add_packaging_options = "exclude 'META-INF/common.kotlin_module'", "exclude 'META-INF/*.kotlin_module'"
#android.add_gradle_repositories =
(list) Java classes to add as activities to the manifest.
#android.add_activities = com.example.ExampleActivity
(str) OUYA Console category. Should be one of GAME or APP
If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME
(str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
(str) XML file to include as an intent filters in  tag
#android.manifest.intent_filters =
(str) launchMode to set for the main activity
#android.manifest.launch_mode = standard
(list) Android additional libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/.so
#android.add_libs_armeabi_v7a = libs/android-v7/.so
#android.add_libs_arm64_v8a = libs/android-v8/.so
#android.add_libs_x86 = libs/android-x86/.so
#android.add_libs_mips = libs/android-mips/*.so
(bool) Indicate whether the screen should stay on
Don't forget to add the WAKE_LOCK permission if you set this to True
#android.wakelock = False
(list) Android application meta-data to set (key=value format)
android.meta_data = com.google.android.gms.ads.APPLICATION_ID=ca-app-pub-3940256099942544~3347511713
(list) Android library project to add (will be added in the
project.properties automatically.)
#android.library_references =
(list) Android shared libraries which will be added to AndroidManifest.xml using  tag
#android.uses_library =
(str) Android logcat filters to use
android.logcat_filters = *:S python:D
(bool) Copy library instead of making a libpymodules.so
#android.copy_libs = 1
(str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
android.arch = arm64-v8a
(int) overrides automatic versionCode computation (used in build.gradle)
this is not the same as app version and should only be edited if you know what you're doing
android.numeric_version = 1

Python for android (p4a) specific

(str) python-for-android fork to use, defaults to upstream (kivy)
#p4a.fork = kivy
(str) python-for-android branch to use, defaults to master
p4a.branch = develop
(str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
p4a.source_dir = /home/yash/Downloads/python-for-android
(str) The directory in which python-for-android should look for your own build recipes (if any)
#p4a.local_recipes =
(str) Filename to the hook for p4a
#p4a.hook =
(str) Bootstrap to use for android builds
p4a.bootstrap = sdl2
(int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
#p4a.port =

iOS specific

(str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios
Alternately, specify the URL and branch of a git checkout:
ios.kivy_ios_url = https://github.com/kivy/kivy-ios
ios.kivy_ios_branch = master
Another platform dependency: ios-deploy
Uncomment to use a custom checkout
#ios.ios_deploy_dir = ../ios_deploy
Or specify URL and branch
ios.ios_deploy_url = https://github.com/phonegap/ios-deploy
ios.ios_deploy_branch = 1.7.0
(str) Name of the certificate to use for signing the debug version
Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer:   ()"
(str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s
[buildozer]
(int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2
(int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 1
(str) Path to build artifact storage, absolute or relative to spec file
build_dir = ./.buildozer
(str) Path to build output (i.e. .apk, .ipa) storage
bin_dir = ./bin
-----------------------------------------------------------------------------
List as sections

You can define all the "list" as [section:key].
Each line will be considered as a option to the list.
Let's take [app] / source.exclude_patterns.
Instead of doing:

#[app]
#source.exclude_patterns = license,data/audio/.wav,data/images/original/

This can be translated into:

#[app:source.exclude_patterns]
#license
#data/audio/.wav
#data/images/original/

-----------------------------------------------------------------------------
Profiles

You can extend section / key with a profile
For example, you want to deploy a demo version of your application without
HD content. You could first change the title to add "(demo)" in the name
and extend the excluded directories to remove the HD content.

#[app@demo]
#title = My Application (demo)

#[app:source.exclude_patterns@demo]
#images/hd/*

Then, invoke the command line with the "demo" profile:

#buildozer --profile demo android debug
`

Here's buildozer.spec
(str) Title of your application
title = My Application
(str) Package name
package.name = myapp
(str) Package domain (needed for android/ios packaging)
package.domain = org.test
(str) Source code where the main.py live
source.dir = .
(list) Source files to include (let empty to include all the files)
source.include_exts =
#py,png,jpg,kv,atlas,tar.gz,know,points,sh,proot-arm
(list) List of inclusions using pattern matching
#source.include_patterns = assets/,images/.png
(list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec
(list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin
(list) List of exclusions using pattern matching
#source.exclude_patterns = license,images//.jpg
(str) Application versioning (method 1)
version = 0.1
(str) Application versioning (method 2)
version.regex = version = '"['"]
version.filename = %(source.dir)s/main.py
(list) Application requirements
comma separated e.g. requirements = sqlite3,kivy
requirements = python3,kivy,pygments,kivmob,jnius,android,pillow,kivymd
(str) Custom source folders for requirements
Sets custom source for any requirements with recipes
requirements.source.kivy = ../../kivy
(list) Garden requirements
#garden_requirements =
(str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png
(str) Icon of the application
#icon.filename = %(source.dir)s/data/icon.png
(str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
orientation = all
(list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY

OSX Specific

author = © Copyright Info
change the major version of python used by the app
osx.python_version = 3
Kivy version to use
osx.kivy_version = 1.9.1

Android specific

(bool) Indicate if the application should be fullscreen or not
fullscreen = 0
(string) Presplash background color (for new android toolchain)
Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
olive, purple, silver, teal.
#android.presplash_color = #FFFFFF
(list) Permissions
android.permissions = INTERNET,ACCESS_NETWORK_STATE
(int) Target Android API, should be as high as possible.
android.api = 30
(int) Minimum API your APK will support.
#android.minapi = 21
(int) Android SDK version to use
#android.sdk = 20
(str) Android NDK version to use
#android.ndk = 19b
(int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
#android.ndk_api = 21
(bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True
(str) Android NDK directory (if empty, it will be automatically downloaded.)
#android.ndk_path =
(str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =
(str) ANT directory (if empty, it will be automatically downloaded.)
#android.ant_path =
(bool) If True, then skip trying to update the Android sdk
This can be useful to avoid excess Internet downloads or save time
when an update is due and you just want to test/build your package
android.skip_update = False
(bool) If True, then automatically accept SDK license
agreements. This is intended for automation only. If set to False,
the default, you will be shown the license when first running
buildozer.
android.accept_sdk_license = False
(str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity
(str) Android app theme, default is ok for Kivy-based app
android.apptheme = "@android:style/Theme.NoTitleBar"
(list) Pattern to whitelist for the whole project
#android.whitelist =
(str) Path to a custom whitelist file
#android.whitelist_src =
(str) Path to a custom blacklist file
#android.blacklist_src =
(list) List of Java .jar files to add to the libs so that pyjnius can access
their classes. Don't add jars that you do not need, since extra jars can slow
down the build process. Allows wildcards matching, for example:
OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
(list) List of Java files to add to the android project (can be java or a
directory containing the files)
android.add_src = src
(list) Android AAR archives to add (currently works only with sdl2_gradle
bootstrap)
#android.add_aars =
(list) Gradle dependencies to add (currently works only with sdl2_gradle
bootstrap)
android.gradle_dependencies = "com.google.android.gms:play-services-ads:20.3.0"
(list) add java compile options
this can for example be necessary when importing certain java libraries using the 'android.gradle_dependencies' option
see https://developer.android.com/studio/write/java8-support for further information
android.add_compile_options = "sourceCompatibility = 1.8", "targetCompatibility = 1.8"
(list) Gradle repositories to add {can be necessary for some android.gradle_dependencies}
please enclose in double quotes
e.g. android.gradle_repositories = "maven { url 'https://kotlin.bintray.com/ktor' }"
#android.add_gradle_repositories =
(list) packaging options to add
see https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.PackagingOptions.html
can be necessary to solve conflicts in gradle_dependencies
please enclose in double quotes
e.g. android.add_packaging_options = "exclude 'META-INF/common.kotlin_module'", "exclude 'META-INF/*.kotlin_module'"
#android.add_gradle_repositories =
(list) Java classes to add as activities to the manifest.
#android.add_activities = com.example.ExampleActivity
(str) OUYA Console category. Should be one of GAME or APP
If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME
(str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
(str) XML file to include as an intent filters in  tag
#android.manifest.intent_filters =
(str) launchMode to set for the main activity
#android.manifest.launch_mode = standard
(list) Android additional libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/.so
#android.add_libs_armeabi_v7a = libs/android-v7/.so
#android.add_libs_arm64_v8a = libs/android-v8/.so
#android.add_libs_x86 = libs/android-x86/.so
#android.add_libs_mips = libs/android-mips/*.so
(bool) Indicate whether the screen should stay on
Don't forget to add the WAKE_LOCK permission if you set this to True
#android.wakelock = False
(list) Android application meta-data to set (key=value format)
android.meta_data = com.google.android.gms.ads.APPLICATION_ID=ca-app-pub-3940256099942544~3347511713
(list) Android library project to add (will be added in the
project.properties automatically.)
#android.library_references =
(list) Android shared libraries which will be added to AndroidManifest.xml using  tag
#android.uses_library =
(str) Android logcat filters to use
android.logcat_filters = *:S python:D
(bool) Copy library instead of making a libpymodules.so
#android.copy_libs = 1
(str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
android.arch = arm64-v8a
(int) overrides automatic versionCode computation (used in build.gradle)
this is not the same as app version and should only be edited if you know what you're doing
android.numeric_version = 1

Python for android (p4a) specific

(str) python-for-android fork to use, defaults to upstream (kivy)
#p4a.fork = kivy
(str) python-for-android branch to use, defaults to master
p4a.branch = develop
(str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
p4a.source_dir = /home/yash/Downloads/python-for-android
(str) The directory in which python-for-android should look for your own build recipes (if any)
#p4a.local_recipes =
(str) Filename to the hook for p4a
#p4a.hook =
(str) Bootstrap to use for android builds
p4a.bootstrap = sdl2
(int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
#p4a.port =

iOS specific

(str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios
Alternately, specify the URL and branch of a git checkout:
ios.kivy_ios_url = https://github.com/kivy/kivy-ios
ios.kivy_ios_branch = master
Another platform dependency: ios-deploy
Uncomment to use a custom checkout
#ios.ios_deploy_dir = ../ios_deploy
Or specify URL and branch
ios.ios_deploy_url = https://github.com/phonegap/ios-deploy
ios.ios_deploy_branch = 1.7.0
(str) Name of the certificate to use for signing the debug version
Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer:   ()"
(str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s
[buildozer]
(int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2
(int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 1
(str) Path to build artifact storage, absolute or relative to spec file
build_dir = ./.buildozer
(str) Path to build output (i.e. .apk, .ipa) storage
bin_dir = ./bin
-----------------------------------------------------------------------------
List as sections

You can define all the "list" as [section:key].
Each line will be considered as a option to the list.
Let's take [app] / source.exclude_patterns.
Instead of doing:

#[app]
#source.exclude_patterns = license,data/audio/.wav,data/images/original/

This can be translated into:

#[app:source.exclude_patterns]
#license
#data/audio/.wav
#data/images/original/

-----------------------------------------------------------------------------
Profiles

You can extend section / key with a profile
For example, you want to deploy a demo version of your application without
HD content. You could first change the title to add "(demo)" in the name
and extend the excluded directories to remove the HD content.

#[app@demo]
#title = My Application (demo)

#[app:source.exclude_patterns@demo]
#images/hd/*

Then, invoke the command line with the "demo" profile:

#buildozer --profile demo android debug

I found out that setting the package domain to org.test somehow breaks the Google Admob SDK. Change the package domain to anything else. Eg org.demo or org.app etc. and it will work.


fix(select): enable hiding the asterisk even when required

This allows the user to hide the required marker (asterisk) from mdSelect even when the selection is required.
Fixes #4745

CLA check

Made changes, ready for review. :)

Closing since #6488 will make this obsolete