Workflow trigger by Comments "integration-test"  itegration test

Workflow trigger by Comments "integration-test"  itegration test

integration-test

#integration-test

bors r+


Not Opening?

Roblox Game Client just sits in the background ._.
2023-08-19T02:55:13Z [Bootstrapper::SetStatus] Starting Roblox...
2023-08-19T02:55:13Z [Bootstrapper::StartRoblox] Started Roblox (PID 5488)
2023-08-19T02:55:16Z [ActivityWatcher::StartWatcher] Opening Roblox log file...
2023-08-19T02:55:16Z [ActivityWatcher::StartWatcher] Opened %UserProfile%\AppData\Local\Roblox\logs\0.590.0.5900679_20230819T025515Z_Player_6F172_last.log
2023-08-19T02:55:16Z [Bootstrapper::StartRoblox] Waiting for Roblox to close
2023-08-19T02:55:16Z [NotifyIconWrapper::InitializeContextMenu] Initializing context menu

It was the render engine -.-

It was some setting, idk which one, also the settings wouldn't update


Containers app and consumer constantly failing when APP_HOST is changed

Hi guys,
I don't know if it is only me, but when I change the APP_HOST to something different than repman.wip I constantly get
this error:

Thanks

Hi,
It's because you've set APP_ENV to dev and there are no dev packages installed in docker image (https://github.com/repman-io/repman/blob/master/Dockerfile#L44).

@karniv00l , thank you for the quick response. That was it. Changed APP_ENV to prod and now it started just fine.


Prometheus Alertmanager: Allow the definition of extra options on commandline

I stumbled upon an issue with the Alertmanager that required
an additional comand line option. See https://groups.google.com/forum/#!msg/prometheus-users/-5wd-P13xCI/lGLBHHgnBgAJ
Motivation for this change
Improve Prometheus'  Alertmanager configurability
Things done

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

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

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

cc @fpletz


Please add me as collaborator to the exercise repositories

added, please check your mail for the invite and accept it. Thanks!


[windows] hack the results of the pip install

What does this PR do?
Hacks the results of the various pip install so that the direct_url.json files for each wheel are removed.
Those files have hard-coded paths, and they're the hard-coded path of the install tree, so they result
in the agent integration install command failing.
Additional Notes
Should either take this PR or alternate solution (PR to be added here) but not both.

https://github.com/DataDog/datadog-agent/pull/7059

Closing since we merged #7059


Please mention that using IValueConverters for other cases than decimal->double is not for free.

This issue tracker is for documentation
For product issues, use https://github.com/aspnet/EntityFramework/issues
You recommend using a value converter for decimal only. I misread this and used it for DateTime values. This does not play well with comparisions:
modelBuilder.Entity<Record>().Property(e => e.Dt3).HasConversion(new DateTimeToTicksConverter());  and var tmp2 = db.Records.Where(r => r.Dt3 < DateTime.Now).ToList(); results in
      SELECT "r"."Id", "r"."Dt", "r"."Dt2", "r"."Dt3", "r"."Dto"
      FROM "Records" AS "r"
      WHERE "r"."Dt3" < rtrim(rtrim(strftime('%Y-%m-%d %H:%M:%f', 'now', 'localtime'), '0'), '.')

Not sure whether this is an implementation bug (e.g. as long as converters do not support comparison, this should be evaluated on the client side) or else maybe a documentation bug (the limitations chapter) or else just my lack of understanding.

Duplicate of #718


Image dimensions do not match

I've just downloaded your jupyter notebook and got an error that the dimensions do not match. I'm talking about the very first cell in pytorch_fcn.ipynb.
Printed output: "(3,192,192,3) (3,6,192,192)"
Thanks in advance for your help. 👍

Ok, I've commented out the transpose function in generate_random_data() in simulation.py. In order to see the black pixels, one has to change the calculation of input_images_rgb. Remove " * -255 +255".

@Arktius Thanks for posting your solution!


Bugfix, wrong variable name

Hi,
I found a bug. There is a variable named se, but it does not exist --> error.
And if user has object named se, information is stored there instead of input object, so it can cause that kind of problems also.
-Tuomas

Seems good.

Can you bump the version?

Can you sync with master? 0.99.19 was created by yesterdays merge


⚠ Bofrost.at has degraded performance

In 8b9fe60, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 891 ms

Resolved: Bofrost.at performance has improved in 5a95b87 after 1 hour, 12 minutes.


In support of workload-aware streaming state management

https://www.usenix.org/system/files/hotstorage20_paper_kalavri.pdf
ref:

Find from homeage of Vasiliki (Vasia) Kalavri: https://www.bu.edu/cs/profiles/vasiliki-kalavri/

https://zhuanlan.zhihu.com/p/506869449


Add REST Endpoint for Tweetfetching

Is your feature request related to a problem? Please describe.
The Application should check new tweets with Hashtag '#devdaydd' in a short interval, the fetched tweets should be served via API REST Endpoint to use it in the Twitterwall.
Describe the solution you'd like
API Endpoint which serves Tweets like the Twitter API but without restrictions.

{
 id : number;
 text : string;
 profileImage: string;
 screenName: string;
 location: string;
 time: string;
}


Ff 357 sop

Have added to sop_map schema and set up methods to populate a mapid field based on info in the schema to allow linking of the map to the schema that it maps to.  Have added calculated property in experiment class to make the link.  Will need to add similar methods to biosample or biosample_cell_culture once sops are set and fields that should be used as identifiers for differences.

Coverage increased (+0.3%) to 51.013% when pulling c306aec6b554e7d57b65f8d68c104206b247d9a7 on FF-357_sop into d7d5e868d78f3d3327e3402d6b0407eef426a4a5 on master.

Coverage increased (+4.4%) to 56.329% when pulling bba52fd0d1943c492977c912f8c578864979c8cf on FF-357_sop into 41248c78be404b6a2460af004d89780763b14789 on master.

Coverage increased (+0.9%) to 52.909% when pulling 06262725b8f67413579df0e5ba3419dc7d075cd9 on FF-357_sop into 41248c78be404b6a2460af004d89780763b14789 on master.


new_page

@Viprakshi hi, what is the url you want me to run to check the search page?

@Viprakshi hello?

http://localhost:8080/search_recipes.html

okay give me some time to look at it

hi i'm getting errors can you please check. i would liek you to keep the search html file inside the static folder. you'll also need to create an endpoint to call this

@Viprakshi hi i'd like an update??


No search results in localsearch. The search animation is on loop.

When I did npm serve to implement I get this.
I added a plugin in the config file. Can someone help me.
plugins:[
[
require.resolve("@easyops-cn/docusaurus-search-local"),
({hashed: true, }),
]
],
added this plugin on the config file

@weareoutman

Same issue,
The devtools console showed an error
Failed to load resource: the server responded with a status of 404 (Not Found) :3000/search-index.json?_=32082eef:1  17:39:57.648 User%20Profile:1 Uncaught (in promise) SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON

Can anyone share a repro link? Also have a look at #406

Same issue


M3-4883 'bug' - Update TransferDisplay.tsx

Cloud Manager shows transfer allotment based on the customer's TZ. This can cause confusion as Linode resets Transfer based on EST. This locks the Monthly Network Transfer Pool reset timeline to match EST.
M3-4883

@ztemqnoj it was easier for me to add this line separately than to resolve the conflicts. Marking this as close but the change is now in develop and will go out next week 🤞


Markdown not rendering any styles - Using Tailwind?

For some reason in my project I just get plain text even if I try to render the markdown. I've created a new project where it works fine, but in my particular project it don't do anything. Where should i start looking to debug?

If you're importing your markdown into React, make sure tailwind knows to scan your markdown source files for tailwind classes


iso: also write sha256sum file

With this change, merfi iso will create both an ISO file and a matching .SHA256SUM file with the checksum of the ISO.

Tested this on a real Ceph ISO today, and it works


Openin SQL Connection in Async

Hey Guys!
Will we ever get Async support in any SQL connection code? I would love to get opening new connection by using Serenity out of the box methods instead of creating my own, like:
SqlConnections.NewByKey(Constants.ConnectionKeys.DEFAULT)
SqlConnections.NewByKeyAsync(Constants.ConnectionKeys.DEFAULT, cancellationToken)
Is there any chance to implement and support this kind of opening connections?
Thank you

You may create the connection with NewByKey and open it async as you like, creating a connection does not open it.

Okay, I see the point of it. Although, I am not sure since I need to open it with providing CancellationToken. Do you think that while using Task.Factory, aborting via token will force the connection to drop and abandon?
Thanks!
`Task.Factory.StartNew(() =>
{
using (var conn = SqlConnections.NewByKey(Constants.ConnectionKeys.DEFAULT))
{
conn.EnsureOpen();
                //Work
            }
        }, cancellationToken);`

I figured out that probably this code below is needed instead.
                var cmd = conn.CreateCommand();

                // We will cancel our IDbCommand
                cancellationToken.Register(() => cmd.Cancel());


Ionic 4 type=angular project gives blank screen when run on windows OS

Bug Report
Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.
insert the output from ionic info here

Ionic:
ionic (Ionic CLI) : 4.1.2
System:
NodeJS : v10.5.0
npm    : 6.3.0
OS     : Windows 10
Describe the Bug
A clear and concise description of what the bug is.
after running ionic v4 and adding windows platform which creates a cordova app. I run this cordova app in vs 2017 and it gives me a blank screen. Doing the same steps with ionic v3 it shows me correct ui (default starter ui).
Steps to Reproduce
Steps to reproduce the behavior:

download node and npm.
download ionic v4 cli using npm install -g ionic
ionic start myApp tabs --type=angular
added support for android and ios by answering yes on the cmd option
navigate to app in cmd and open in vs code using code .
then I added
Preference with name=“windows-phone-target-version” value=“10.0”
Preference name="windows-phone-target-version" value="10.0"
to the config.xml file
navigate to the app in cmd and type the command ionic cordova platform add windows and this should create a folder called platforms and www.
I then ran ionic cordova build windows
inside of the platforms folder there is a windows folder. Inside of there is a sln file (mine was called CordovaApp.
I ran this CordovaApp.sln file using vs2017. Inside are two projects, one has an appended .Windows10
I ran this project using the green play button with the option under loca machine and it opened up a blank application. Other doing the exact same with an ionic 3 app works just fine(displays all the ui and changes).

Expected Behavior
A clear and concise description of what you expected to happen.
I expected the code to run and display the ionic default ui.
Additional Context
I think the issue is something to do with the javascript files not loading as in the ionic 3 windows app, multiple javascript files were loaded however, in the ionic 4 windows app, there was only base.js.

I've found a solution! Navigating into the www directory and then going into the index.html that lives inside of there. I change the < base href="/" > to this < base href="./" > and this now allows all of the javascript files to be found and runs on the browser and on windows platform 10. We also checked routing and page loads and everything should be ok. It seems like there is a issue of directories going on.

You could add a windows npm script with ng build --base-href ./ that would prevent you from manually updating the index.html file.
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "build:windows": "ng build --base-href ./",         <---- Add this in package.json
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },

Thanks for your issue! unfortunately this is related to Cordova, not Ionic, so I close this here


List the tests that exercise a function

When someone fixes a piece of code, it is considered good practice to write a test that exercises the fix.
In many cases, an existing test could be modified to save having to write a completely new test from scratch.
How difficult do you think it would be for a tool like cargo-llvm-cov to list the tests that exercise a function?

I don't know a good way to do this.
I guess the simplest, stupidest, and accurate way would be to run all the tests individually and analyze the resulting JSON reports to see if they affect the coverage of the target function, but that would take too long.
If listing is not your end goal, you might be able to use the feature used in coverage guided fuzzing, but I don't know how that works.

If listing is not your end goal, you might be able to use the feature used in coverage guided fuzzing, but I don't know how that works.

What are you referring to?

What are you referring to?

I was thinking about SanitizerCoverage used in LibFuzzer. However, this may not be a match for the use case here, as this seem more suited to changing the input and getting it's impact on the coverage.
https://www.llvm.org/docs/LibFuzzer.html
https://clang.llvm.org/docs/SanitizerCoverage.html

Thanks very much for your responses.
I am sensing that having the ability to list the tests that exercise a function doesn't sound valuable to you?

I am sensing that having the ability to list the tests that exercise a function doesn't sound valuable to you?

To be honest, it depends on what the implementation is. If it is relatively easy to implement as an extension of the current cargo-llvm-cov, then I think it is reasonable to implement it as part of the cargo-llvm-cov. Otherwise, it would make more sense to implement it as an individual tool that uses the output of the cargo-llvm-cov, like the llvm-cov-pretty.


Publishing Permission.

Describe the feature you'd like
I would like to add another permission: publish.
This is important for people or groups, who can create some pages (authors), but the editors or the publishers can publish this content …
Describe the benefits this would bring to existing BookStack users
You can open the wiki or Bookstack for everyone, but the editors behind this could decide, if this article/page/book can be published or not. This would be easier to manage bigger projects …
Can the goal of this request already be achieved via other means?
I don't know. Maybe we publish 2 Books - the official and the unofficial … and everything you write in the unofficial can be moved to the official … but this is not a nice workaround.
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?
Under 3 months
Additional context
No response

Thanks for the request @Lord-KalEl, but I feel the underlying request is similar enough to #473 that I'm going to close this off as a duplicate.


Subtask 4: Implement the delayed time start

Change the code to work according to the delayed time selected from the menu when clicking the start tracking button. #184

The logic to delay the start recording has been implemented using thread. Working Successfully.


Updated plots of NPC statistics from vega to plotly

I have updated it with the required changes. Please check the Swedish text for data.


chore: add experimental dev environment start script

This PR will add a start:experimental npm script for quick enabling of the experimental feature flag. cross-env is added as a dev dependency setting cross-platform environment variables
Changelog
New

start:experimental npm script for experimental dev environment setup

I guess the feature flag environment variable is documented on our README already, so creating docs/experimental.md might be redundant. Closing this PR to avoid adding temporary scripts to package.json


Modal fiyes

Use proper title assignment, first prefix than suffix
Use the new wizard for installation screen

:+1:  (even without trimming the string)

:+1:


FileValidator rules maxFiles

What steps will reproduce the problem?
I am using the multiple file upload feature.
$this->files = UploadedFile::getInstancesByName('f[files]');
It is assumed that the rules may indicate that the maximum number of files is 1 or more files.
public function rules()     {         return [             [['files'], 'file', 'skipOnEmpty' => true,                 'checkExtensionByMimeType' => true,                 'maxSize' => 1024 * 1024 * 7,                 'maxFiles' => $this->maxFiles //Dynamic number files             ],         ];     }
What is the expected result?
Upload and model save is success.
What do you get instead?
If I specify in the rules to download only 1 file and at the same time I attach the file. When validating, I get an error as if there is no file. Although in xdebug it sees in the $_FILES variable.
Xdebug show $_FILES

POSTMAN send

If you specify more than 1, the validator works fine.
Similar question
Solution 1
Change core code in File \yii\validators\FileValidator::validateAttribute
if ($this->maxFiles != 1 || $this->minFiles > 1) {
to
if (!$model->$attribute instanceof UploadedFile && ($this->maxFiles >= 1 || $this->minFiles > 1)) {
Solution 2
Change my code FileForm model
Look count maxFiles.
Depending on the number of usage files, the corresponding function
     public function load($data, $formName = null)     {         if($this->maxFiles==1){             $this->files = UploadedFile::getInstanceByName('f[files]');         }else{             $this->files = UploadedFile::getInstancesByName('f[files]');         }         if (parent::load($data, $formName)) {             return true;         }         return false;     }
Modify Handler my file
         $filesListCheck = [];         if($this->files instanceof UploadedFile){             $filesListCheck[]=$this->files;         }else{             $filesListCheck=$this->files;         }
With 2 solutions, you have to specify in postman.
When uploading 1 file

Uploading more than 1 file add []

Additional info

Q
A

Yii version
<IP_ADDRESS>

PHP version
7.4

Operating system
windows Openserver 5.4.3

Definitely if you want to have more files you need to set the property holding them as an array. I would like to see your code for handling the file upload and validation please.

Definitely if you want to have more files you need to set the property holding them as an array. I would like to see your code for handling the file upload and validation please.

code.txt

So if I understand correctly, you want to change FileValidator to not throw errors when you pass array of files but with maxFiles = 1 and array containing only 1 file? This sounds reasonable but I would change not the line you mentioned but rather line 273.

So if I understand correctly, you want to change FileValidator to not throw errors when you pass array of files but with maxFiles = 1 and array containing only 1 file? This sounds reasonable but I would change not the line you mentioned but rather line 273.

Yes, I want multiple file uploads. With a maximum of 1 file. Use the UploadedFile::getInstancesByName method. The problem is that the validator is configured with more than 1 file \yii\validators\FileValidator::validateAttribute line 208

If you use the UploadedFile::getInstanceByName method, then it will not see any file at all.

In some places I need to attach only 1 file, and somewhere a maximum of 7 files, for example. Using 1 model (FilesDemoForm) with maxFiles=1 in the rules

@bizley do we have a decided way to proceed with this one?

Here I would change the logic to not assume that if maxFiles = 1 then $attribute must not be an array.

@FlatronBuda, @bizley do you have time to prepare a pull request?

I can take it next week hopefully, if @FlatronBuda has time for this sooner it would be great.


Adding issue templates to reflect #356

Issue #356 addressed the need for better issue tracking in this repository, and these issue templates address :

Bugs/Performance issues
Build/Installation issues
Documentation Requests/Issues
Feature Requests

There is also a general issue template for those not in one of these categories. I have not altered the default issue template, as I expect the repository maintainers to update it when the move away from JIRA is successful.

@dan-zheng I hope this PR is of substance

@dan-zheng ping

@ematejska @dan-zheng I have made the changes.

Yes, I will review in the next day or so.  Sorry for the delay and thanks for your patience :)

We are going to restructure a bit how bug tracking is done.  I'm closing this because we don't need to update the templates until that is done.


Error preventing bundling Meteor with Ionic 3 and Angular2

Errors prevented bundling:
While loading plugin `basicFileTypes` from package `meteor`:
packages/basicFileTypes_plugin.js:39:9: Package._define is not a function
at packages/basicFileTypes_plugin.js:39:9
at packages/basicFileTypes_plugin.js:41:3

/usr/local/lib/node_modules/meteor-client-bundler/node_modules/execa/index.js:277
                throw (result.error || new Error(result.stderr === '' ? result.stdout : result.stderr));
                ^

Error: null
    at Function.module.exports.sync (/usr/local/lib/node_modules/meteor-client-bundler/node_modules/execa/index.js:277:26)
    at Object.bundle (/usr/local/lib/node_modules/meteor-client-bundler/lib/bundler.js:97:9)
    at Command.<anonymous> (/usr/local/lib/node_modules/meteor-client-bundler/cli:47:13)
    at Command.listener (/usr/local/lib/node_modules/meteor-client-bundler/node_modules/commander/index.js:315:8)
    at emitTwo (events.js:125:13)
    at Command.emit (events.js:213:7)
    at Command.parseArgs (/usr/local/lib/node_modules/meteor-client-bundler/node_modules/commander/index.js:651:12)
    at Command.parse (/usr/local/lib/node_modules/meteor-client-bundler/node_modules/commander/index.js:474:21)
    at Object.<anonymous> (/usr/local/lib/node_modules/meteor-client-bundler/cli:55:9)
    at Module._compile (module.js:624:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>meteor-client:bundle: `meteor-client bundle -s api`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>meteor-client:bundle script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Yesterday it was working.
Today, I have the same proplem.
So I recovery my Windows on time with no errors.
Try reinstall meteor.
And check plugin basicFileTypes in the path:

C:\Users<your-users-name>\AppData\Local.meteor\packages\meteor<version>\plugin.basicFileTypes.os

cmd:
><EMAIL_ADDRESS>meteor-client:bundle D:\ftel-notes-angularcli-meteor
> meteor-client bundle -s api

Created a new Meteor app in 'C:\Users\honga\AppData\Local\Temp\tmp-4816mElo4zNH33LD'.

To run your new app:
  cd C:\Users\honga\AppData\Local\Temp\tmp-4816mElo4zNH33LD
  meteor

If you are new to Meteor, try some of the learning resources here:
  https://www.meteor.com/tutorials

meteor create --bare to create an empty app.
meteor create --full to create a scaffolded app.

up to date in 2.426s

Changes to your project's package version selections:

accounts-base                 added, version 1.4.2
accounts-password             added, version 1.5.0
barbatus:typescript           added, version 0.6.12
barbatus:typescript-compiler  added, version 0.9.12
barbatus:typescript-runtime   added, version 1.0.2
ddp-rate-limiter              added, version 1.0.7
email                         added, version 1.2.3
localstorage                  added, version 1.2.0
npm-bcrypt                    added, version 0.9.3
rate-limit                    added, version 1.0.8
service-configuration         added, version 1.0.11
sha                           added, version 1.0.9
srp                           added, version 1.0.10

WARNING: The output directory is under your source tree.
         Your generated files may get interpreted as source code!
         Consider building into a different directory instead
         meteor build ../output

   ╭─────────────────────────────────────╮
   │                                     │
   │   Update available 5.5.1 → 5.6.0    │
   │     Run npm i -g npm to update      │
   │                                     │
   ╰─────────────────────────────────────╯

Thanks. Indeed fully reinstalling Meteor works.
My first attempt was deleting the ~/.meteor folder manually and run the installation command afterwards, but this was not sufficient to fix this issue.
So re-install by running the following command works, it deletes the older version automatically.
curl https://install.meteor.com/ | sh


add upgrading docs

this adds a new top level doc for upgrading notes

Codecov Report

Merging #4935 into migration-tool will decrease coverage by -0.04%.
The diff coverage is n/a.

@@                 Coverage Diff                  @@
##             migration-tool    #4935      +/-   ##
====================================================
- Coverage             82.08%   82.04%   -0.04%
+ Complexity            10626    10618       -8
====================================================
  Files                  1294     1294
  Lines                 44488    44488
  Branches               5646     5646
====================================================
- Hits                  36517    36502      -15
- Misses                 5334     5347      +13
- Partials               2637     2639       +2

Impacted Files
Coverage Δ
Complexity Δ

...arch/indices/recovery/BlobStartPrefixResponse.java
66.66% <ø> (-33.34%)
3% <ø> (-2%)

...o/crate/operation/projectors/SortingProjector.java
81.57% <ø> (-13.16%)
10% <ø> (-2%)

...te/executor/transport/SubSelectSymbolReplacer.java
68.88% <ø> (-11.12%)
3% <ø> (ø)

.../java/io/crate/analyze/symbol/ParameterSymbol.java
87.5% <ø> (-6.25%)
6% <ø> (-1%)

.../java/io/crate/blob/TransportDeleteBlobAction.java
75% <ø> (-5%)
5% <ø> (-1%)

...te/blob/pending_transfer/PutHeadChunkRunnable.java
76.71% <ø> (-4.11%)
12% <ø> (-2%)

...er/src/main/java/io/crate/sql/tree/AstVisitor.java
28.92% <ø> (-3.31%)
35% <ø> (-4%)

...executor/transport/TransportShardDeleteAction.java
66.03% <ø> (-1.89%)
10% <ø> (ø)

...a/io/crate/operation/join/NestedLoopOperation.java
83.01% <ø> (-1.55%)
11% <ø> (ø)

...va/io/crate/blob/recovery/BlobRecoveryHandler.java
71.83% <ø> (-1.41%)
11% <ø> (-1%)

... and 22 more

Continue to review full report at Codecov.

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

superseded by crate#5016


error CS1501: No overload for method 'ToString' takes 1 arguments

This is an error that I get since any 13.16.x and higher. The 13.15.10 is working fine. The error involves a .NET 6.0 Web API with the following method:
public ActionResult<List<LogSession>> GetSessions([FromHeader] DateTime? before, [FromHeader] DateTime? after)
As the specific fields need to be optional in my service, they need to be nullable.
The Swagger generator generates this code:
        public async System.Threading.Tasks.Task<System.Collections.Generic.ICollection<LogSession>> GetSessionsAsync(System.DateTimeOffset? before, System.DateTimeOffset? after, System.Threading.CancellationToken cancellationToken)
        {
            var urlBuilder_ = new System.Text.StringBuilder();
            urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/Data/Sessions");

            var client_ = _httpClient;
            var disposeClient_ = false;
            try
            {
                using (var request_ = new System.Net.Http.HttpRequestMessage())
                {
                    if (before != null)
                        request_.Headers.TryAddWithoutValidation("before", ConvertToString(before?.ToString("s"), System.Globalization.CultureInfo.InvariantCulture));
                    if (after != null)
                        request_.Headers.TryAddWithoutValidation("after", ConvertToString(after?.ToString("s"), System.Globalization.CultureInfo.InvariantCulture));
                    request_.Method = new System.Net.Http.HttpMethod("GET");

The error applies to the ToString("s") for both the before and after parameters as the 13.15.10 version uses the method public string DateTimeOffset.ToString(string? format) for this. But the 13.16.0 version and higher use public override Nullable<T>.string? ToString() instead.
The difference is this:
13.15 uses before?.ToString("s")
13.16 uses before.ToString("s")
The 13.16 is missing the ? and thus the nullable method gets called. This won't work!
The parameter is defined as System.DateTimeOffset? in both versions. And the only difference is the version of NSwat.ApiDescription.Client that I use. Downgrading to 13.15.10 and refreshing the code simply solves my issue, but I want to use the latest version.

Agree, I'm having the same issue.


[Feature] Data sources associated objects tab

Description
Add Data sources associated objects tab
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

In order to fix test and build workflows, yarn test -u should be run to update the snapshots. That should fix those workflows.

@ps48 @sejli , I have addressed the comments above and also fixed that lint ( that was irrelevant from this change btw. ). And I'm updating the screenshots to the description.


Update num-derive

Updates to newer num-derive and thereby to syn 2, which may end up saving a lot
of projects some compile time.

Thank you for the PR!


pennylane-sf backend

hi, when I'm trying to use pennylane-sf backend on google colab i get his error

I tried to reset the environment but in vain
the code was:
!sudo pip install strawberryfields-gpu strawberryfields pennylane pennylane-sf --upgrade
dev_fock = qml.device('strawberryfields.fock', wires=2, cutoff_dim=10)
I tried with and without sudo :(

it works fine on my device but not on google colab

Hi, I tried to reproduce this with
!pip install pennylane pennylane-sf

import pennylane
pennylane.device("strawberryfields.gaussian", wires=2)

and it works. Could you try this simple snippet and let me know if this works. If you have to uninstall stuff from colab you can use
!pip uninstall pennylane -y
!pip uninstall pennylane-sf -y
!pip uninstall strawberryfields -y

same error
notebook

Hi @kareem1925, after you have installed PennyLane plugins, you will need to restart the Google Collab runtime in order for the newly installed devices to become available.
You can do this by clicking Runtime -> Restart Runtime, or by using ctrl+m on your keyboard.
As this is not a PennyLane issue, but a Google Collab issue, I am closing this issue. Feel free to ask further questions on our discussion forum or in our Slack channel.

Similar error! Thanks!


Use maildump instead of ConsoleEmailHandler

In development, the ConsoleEmailHandler is of limited use if you are sending emails with attachments, or any HTML message.
I propose integrating with maildump a Python clone of mailcatcher which is a ruby application.
It provides a local SMTP server listening on 1025, and an interface that shows multi-part emails and HTML formatted emails correctly, available at http://<IP_ADDRESS>:1080:

The way I use it is through two grunt tasks, start-email-server and stop-email-server.

Do emails still send if start-email-server is not yet started?

No, you get an exception "Connection refused".

@burhan Could you make this an available option during project creation?

@pydanny - done.


Use logging instead of print

Print statements, even in exception handling, makes it impossible for those using your client to actually control the output while building their own application. I'd be happy to provide a PR if it would be appreciated, but don't want to sync time into it if not.

Did you ever put in the effort needed for this?


Scaling data integration pipelines with Kubernetes

Draft: https://docs.google.com/document/d/1bns6dDYp7fNZueNSdoKY_Gomif70JaJz4M2yYNkKuuo/edit?usp=sharing

@arimbr okay if I wait till after Cloud to tackle this?

@davinchia For sure! it would be great if we could publish this in October :) Let me know when is a good time for you and we will either do an interview or start drafting the document together offline.

Let's aim at starting week of Oct 11 then?

@jrhizor Let's do that! Excited to learn more about your work ;)


Please add utilisation of multiple tabs in single window

Is there an existing issue for this?

[X] I have searched the existing issues

I'm submitting a ...

[ ] bug report
[X] feature request
[X] support request --> Contact me over mail for support https://github.com/MShawon

Description
Please add utilisation of multiple tabs in single window. Each keyword in search file can be opened in same window in different tabs this feature can be only enabled if incase of multiple keyword and urls.
Environment
- OS :
- Python :
- Script version :

config.json
Nill

no need for this feature


fixed one time code issue

Thanks for the Pull Request! However, I won't able to merge it since your code does not allow the user to erase a partially entered PIN.

Still not working on latest iOS


Move the data cube tab to the end

It will be less frequently used, so no reason to force the user to skip it mentally every time.

Istvan, can we pls remove completely (hide) the tab, so that it is not visible in case of normal execution?


Is it support with khmer font

Khmer OS Battambang font

@chhinsras
It should be supported since we use the web browser's dialog (not something custom).


Splunk Universal Forwarder

Hey @clong,
When provisioning with vagrant up, the splunk universal forwarder is 404-ing. Quickly looking over their website, it looks like they moved everything to 8.0. The script is looking for splunkforwarder-7.1.0-2e75b3406c5b-x64-release.msi.
Should not be too hard to fix, I'll update when I got a workaround.
Error:
The following WinRM command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

powershell -ExecutionPolicy Bypass -OutputFormat Text -file "c:\tmp\vagrant-shell.ps1"

Stdout from the command:

Downloading Splunk Universal Forwarder
[21:59] Installing & Starting Splunk

Stderr from the command:

powershell.exe : Exception calling "DownloadFile" with "2" argument(s): "The request was aborted: Could not create
    + CategoryInfo          : NotSpecified: (Exception calli...uld not create :String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
SSL/TLS secure channel."
At C:\tmp\vagrant-shell.ps1:8 char:3
+   (New-Object System.Net.WebClient).DownloadFile('https://www.splunk. ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

Get-Service : Cannot find any service with service name 'splunkforwarder'.
At C:\tmp\vagrant-shell.ps1:13 char:6
+ If ((Get-Service -name splunkforwarder).Status -ne "Running")
+      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (splunkforwarder:String) [Get-Service], ServiceComm
   andException
    + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell.Commands.GetService
   Command

Splunk forwarder service not running
At C:\tmp\vagrant-shell.ps1:15 char:3
+   throw "Splunk forwarder service not running"
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Splunk forwarder service not running:String) [],
    RuntimeException
    + FullyQualifiedErrorId : Splunk forwarder service not running

Nevermind, closing.

Attempting to repro this now

Allright, a bit of digging and I'm seeing why it's not working. It's not a 404, but a protocol error.
For some reason, the default protocols supported by PS on 2016 when provisioning is SSLv3 and TLS. Maybe splunk updated and dropped TLS? Anyway, adding this line should make it work:
[Net.ServicePointManager]::SecurityProtocol = "tls12,tls11,tls"
Still testing it through, will update when I get it completely provisioned.

Tested out the fix and it works! Thanks for flagging this @Selora
https://github.com/clong/DetectionLab/commit/2b608addb0782342068fec9652c577dc3ea3b71d


hmc5883l.py values are confusing

'heading_z': -681
'heading_x': -464
'heading_y': -451

How can i represent those values in degrees ?

They are the raw values, you need to plug them into a formula to get a heading.


[feature] Set check timeout exit code per check

Right now, you can set a timeout (in seconds) on a per check level so that if the check takes longer than X seconds, the check is killed and you get a return code of 2 with message "Execution timed out".
https://github.com/sensu/sensu/blob/master/lib/sensu/io.rb#L39
I'd like to be able to set the exit code of a timeout to anything i want (ie 3 or "unknown" state).

updated links for anyone stumbling onto this:
Spawn with timeout happens here:  https://github.com/sensu/sensu/blob/ef9f915/lib/sensu/client/process.rb#L151
Execution timed out with exit code 2 happens here:
https://github.com/sensu/sensu-spawn/blob/dd9ae05/lib/sensu/spawn.rb#L163


Add WebIDL typedefs by json

This is a subset of #300.
This fixes some unexpected any types by correctly introducing WebIDL basic types.
NOTE: If you as a reviewer think this PR is still too big to review in your free time, please tell me and I will split this PR once more. Any feedback will be much appreciated.

@saschanaz with https://github.com/Microsoft/TSJS-lib-generator/pull/383 in, can you update the change to merge in the .json file

That will be great. So, my current plan is put inputfiles/idl/${spec name}.widl, write an WIDL-to-JSON converter module (using webidl2.js package), and then merge them into the existing definitions. Sounds good?

See #405 if anyone has subscribed this 😁


Question on reconcile of primary resources

Type of question
Help around the operator-sdk?
Question
This question is theoretical. I am just getting started working with the operator sdk.
I would like to reconcile on primary resources which are not created by our operator. For example, I would like the primary resources that we (say operator x) are monitoring are managed by another operator (say operator y). If operator y manages a database cluster (for example), my operator x would like to create a monitoring endpoint for every database cluster that's created. Is this possible currently with the Operator SDK?
Environment

operator-sdk version: v0.9.0
insert release or Git SHA here

Kubernetes version information:
insert output of kubectl version here

Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:25:46Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:

Additional context
Add any other context about the question here.

HI @satishrao84,
So far I did not it, however, I cannot see why not it would not be possible. Note that in the reconcile you will be able to CRUD ( create/read/update/delete) objects which can be from your own APIs in your operator project, and/or k8s API, and/or any third-party as OCP.
Following an example.
In the following code, for example, you will GET any Deployment which has the name =  and it is in the  by using the client-go. No matter if it was created or not by your operator project and the same idea can be applied to any object which would like to manage in the cluster.
	deployment := &appsv1.Deployment{}
	err := r.client.Get(context.TODO(), types.NamespacedName{Name: <name>, Namespace: <namespace>}, deployment)
	return deployment, err

So, regards your need/example "my operator x would like to create N for every X that's was created by the operator y.", I understand that you can for example to do:
-> Watch and/or List the objects which represent its X created by the operator y and/or the objects which were a result of the operator y management ( E.g. pods created based on the deployments created by it )
-> Then you will create the objects which represent your solution/needs for each X and/or for example pod found.
I hope that it answers your question.

Thank you @camilamacedo86 !! This is exactly what I was looking for.

@camilamacedo86 / anyone else
If the other operator (Y) is not open source, how would I be able to import its APIs (in your example, appsv1) to get the deployments that it is responsible for? An operator is self contained, right? How can my operator X access operator Y's apis?

Note that operator A does not access operator B, the operators will read/update/delete/create objects in the cluster. So, if in the cluster has the definition ( CRD ) of an object X managed by operator B then the operator A would be able to read it for example.
However, see that for you are able to make the operator A be able to read the objects created by operator B then you will probably need to add its schema from the operator B in the A like it is done in the following code example for we are able to get to use the route from OCP API.
(main.go file)

import (
        ....
	routev1 "github.com/openshift/api/route/v1"
        ....
)

func main() {
         ....
         log.Info("Registering Components.")
	// Setup Scheme for all resources
	if err := apis.AddToScheme(mgr.GetScheme()); err != nil {
		log.Error(err, "")
		os.Exit(1)
	}
	//Add route Openshift scheme
	if err := routev1.AddToScheme(mgr.GetScheme()); err != nil {
		log.Error(err, "")
		os.Exit(1)
	}
	// Setup all Controllers
	if err := controller.AddToManager(mgr); err != nil {
		log.Error(err, "")
		os.Exit(1)
	}
        ....
}

I'd recommend you check this part of the docs.

@camilamacedo86 thanks for your response. To add the scheme from the Operator B (external operator) in the Operator A (my operator), I would need access to Operator B's code base i.e. github.com/operatorB/...        What if Operator B is not on github (or any other public repo) and the vendor for Operator B has not made the code base publicly available? How can I import the Operator B's APIs to add its scheme in OPerator A?

HI @satishrao84,
So, I understand that your question is no longer related to Operator Framework itself.  What you are looking for is how to import and dealing with private deps in go.
Following a few links that may help you.
With dep:

https://github.com/golang/dep/blob/master/docs/FAQ.md#how-do-i-get-dep-to-consume-private-git-repos-using-a-github-token
https://github.com/golang/dep/blob/master/docs/FAQ.md#how-do-i-get-dep-to-authenticate-via-ssh-to-a-git-repo

With go modules:

https://medium.com/@tim_raymond/fetching-private-dependencies-with-go-modules-1d65afe47c62
https://michaelheap.com/golang-how-to-go-get-private-repos/

Please, let us know if your question is answered or if has any other reason for it is kept open.

Thanks @camilamacedo86
From what you're saying, In case the dependency (operator API) is not on github or any other public repo, there's no way to use that operator managed objects as primary resources by another operator. Is that what you're saying?
Just wanted to confirm this.
Thanks!

@satishrao84 If there is no source code available whatsoever for the third-party API, you have two options:

Re-implement the third-party types (or at least what you need from them) and AddToScheme functions in your codebase
Use unstructured.Unstructured as the type, add that to your scheme, and use the unstructured object's .Object field to access the YAML as map[string]interface{}

Adding the scheme mapping for unstructured.Unstructured looks like this:
gvk := schema.GroupVersionKind{
    Group: "db.example.com",
    Version: "v1alpha1",
    Kind: "ThirdPartyDatabase",
}
mgr.GetScheme().AddKnownTypeWithName(gvk, &unstructured.Unstructured{})
metav1.AddToGroupVersion(mgr.GetScheme(), gvk.GroupVersion())

I think we've answered the original question, so I'll go ahead and close. But if you have any follow up questions or need any clarifications, just let us know and we can definitely help out!


Recursive deletion is flawed, bugy and inconsistent

The docstring of the delete states that recursive deletion will be set to True automatically if there is mother. This doesn't make sense. Deletion should be recursive if an object has children. ie: when you delete an object, its children for which the object is a mother should be deleted too.
Also, recursive shouldnt be configurable to begin with, we always want to delete children of any object, otherwise we'll end up with lots of orphan entries in the database with no way to access the,

Creating a tfchain client, and a wallet from this client. Delete the client. The wallet doesn't get deleted even though it's a child of the client.

Repeat scenario 1 but force recursive=True. The children will be deleted correctly if you use the delete function on the client object.

Create a client and wallet. Delete the client using j.clients.tfchain.delete and set recursive=True. It will raise an error.

Repeat scenario 3 but don't force recursive deletion. The child wallet won't be deleted.

This was tested against developement but  I'll do the fixes on development_save since it touched the same areas as https://github.com/threefoldtech/jumpscaleX_core/issues/103

The recursive flag has been removed. Deleting any object will automatically delete all its children so we don't end up with unaccessible orphans in the database.

Got the error, seems it did not delete it

JSX> w = c.wallets.new("myone")
JSX> c.delete()
JSX> c = j.clients.tfchain.new("mytwo", network_type="TEST")
JSX> w = c.wallets.new("myone")
JSX> c = j.clients.tfchain.new("myone", network_type="TEST")
JSX> w = c.wallets.new("myone")
JSX> j.clients.tfchain.delete("myone")
Wed 02 15:13:34 /schema/JSXObject.py - 192 - save                                                                                : EXCEPTION:
    could not save, was not unique.
    {'name': 'myone'}.
--TRACEBACK------------------
<stdin> in <module>
    1
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in new
    44    jsconfig = self._new(name=name, jsxobject=jsxobject, autosave=autosave                                                                                , **kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in _new
    92    jsxobject.mother_id = mother_id
/sandbox/var/codegen/schema_jumpscale_tfchain_wallet.py in mother_id
    307    self.save()
/sandbox/lib/jumpscale/Jumpscale/data/schema/JSXObject.py in save
    192    raise j.exceptions.Input(msg)
-----------------------------

None

Verified now:


Remove deprecated torch._six imports

Closes #2845.

@microsoft-github-policy-service agree

@yasyf we currently recommend users use torch 1.8+, it appears this older version of torch does not allow from torch import inf. Perhaps we can change these imports to be dependent on torch version? Not sure what version of torch this was supported, I just tried on 1.13 and it works there.

@jeffra godo catch! it's only a problem if you're using pytorch 2.0.0+ (nightly). I'll make it conditional

@jeffra test failure seems unrelated?


Population data

This data is already available in Snowflake through the data exchange. I am working to get approvals to include it in your share. If the legalese won't work i'll get it from safegraph or data.world.

Thanks @william-wash !


Bpf: Add missing policy match cases

Socket level egress policy check is missing the L4 protocol match to any
destination, while the packet level policy check is missing the case
where protocol is matched without a port with a specific destination or
source, for egress or ingress, respectively. Add those missing cases.
Packet level match on L4 protocol with wildcarded port number can also
be done on untracked fragments, as the missing port number is not needed
in this case.
Add policy match types for protocol matches with wildcarded port so that
the different match cases are not conflated in flow records.
Fixes: #21185
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>

/test

/test-1.16-4.9

Incidentally, this PR suggests that we're also lacking test cases for this scenario since this is only making datapath changes. Perhaps that's also an item for @cilium/sig-datapath to follow up on?

Also, shouldn't this be release-note/bug and backported to v1.12?

Also, shouldn't this be release-note/bug and backported to v1.12?

AFAIK this is only fixing #21185 which was introduced in v1.13.0-rc1.

Oh, right! And all three bugs where introduced by that PR. Never mind me then :slightly_smiling_face:


Predictions for the following instance_ids were not found in the tasks file and will not be considered: SWE-agent__test-repo-i1

Describe the bug
when i had to reproduce the logs as mentioned in the Benchmarking , the  swe-agent created a patch but when evaluating it. it produce the below error.
(venv) (base) hrushi669@Hrushikesh:/mnt/c/Users/hrush/OneDrive - Student Ambassadors/Desktop/AutoSwe/SWE-agent/evaluation$ ./run_eval.sh ../trajectories/hrushi669/azure-gpt-3.5-turbo-1106__SWE-agent__test-repo__default__t-0.00__p-0.95__c-3.00__install-1/all_preds.jsonl
Found 1 total predictions, will evaluate 1 (0 are empty)
🏃 Beginning evaluation...
2024-05-31 21:33:56,635 - run_evaluation - WARNING - Predictions for the following instance_ids were not found in the tasks file and will not be considered: SWE-agent__test-repo-i1
2024-05-31 21:33:56,640 - run_evaluation - INFO - Found 1 predictions across 1 model(s) in predictions file
❌ Evaluation failed: 'SWE-agent__test-repo-i1'
Traceback (most recent call last):
  File "/mnt/c/Users/hrush/OneDrive - Student Ambassadors/Desktop/AutoSwe/SWE-agent/evaluation/evaluation.py", line 72, in main
    run_evaluation(
  File "/mnt/c/Users/hrush/OneDrive - Student Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/run_evaluation.py", line 122, in main
  File "/mnt/c/Users/hrush/OneDrive - Student Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/run_evaluation.py", line 122, in main
    t = tasks_map[p[KEY_INSTANCE_ID]]
        ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
KeyError: 'SWE-agent__test-repo-i1'

==================================
Log directory for evaluation run: results/azure-gpt-3.5-turbo-1106__SWE-agent__test-repo__default__t-0.00__p-0.95__c-3.00__install-1
- Wrote per-instance scorecards to ../trajectories/hrushi669/azure-gpt-3.5-turbo-1106__SWE-agent__test-repo__default__t-0.00__p-0.95__c-3.00__install-1/scorecards.json
Reference Report:
- no_generation: 0
- generated: 1
- with_logs: 0
- install_fail: 0
- reset_failed: 0
- no_apply: 0
- applied: 0
- test_errored: 0
- test_timeout: 0
- resolved: 0
- Wrote summary of run to ../trajectories/hrushi669/azure-gpt-3.5-turbo-1106__SWE-agent__test-repo__default__t-0.00__p-0.95__c-3.00__install-1/results.json

results.json
{
  "no_generation": [],
  "generated": [
    "SWE-agent__test-repo-i1"
  ],
  "with_logs": [],
  "install_fail": [],
  "reset_failed": [],
  "no_apply": [],
  "applied": [],
  "test_errored": [],
  "test_timeout": [],
  "resolved": []
}

Steps/commands/code to Reproduce
as mentioned in the Benchmarking , but with the model azure:gpt-3.5-turbo-1106
Error message/results
(venv) (base) hrushi669@Hrushikesh:/mnt/c/Users/hrush/OneDrive - Student Ambassadors/Desktop/AutoSwe/SWE-agent/evaluation$ ./run_eval.sh ../trajectories/hrushi669/azure-gpt-3.5-turbo-1106__SWE-agent__test-repo__default__t-0.00__p-0.95__c-3.00__install-1/all_preds.jsonl
Found 1 total predictions, will evaluate 1 (0 are empty)
🏃 Beginning evaluation...
2024-05-31 21:33:56,635 - run_evaluation - WARNING - Predictions for the following instance_ids were not found in the tasks file and will not be considered: SWE-agent__test-repo-i1
2024-05-31 21:33:56,640 - run_evaluation - INFO - Found 1 predictions across 1 model(s) in predictions file
❌ Evaluation failed: 'SWE-agent__test-repo-i1'
Traceback (most recent call last):
  File "/mnt/c/Users/hrush/OneDrive - Student Ambassadors/Desktop/AutoSwe/SWE-agent/evaluation/evaluation.py", line 72, in main
    run_evaluation(
  File "/mnt/c/Users/hrush/OneDrive - Student Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/run_evaluation.py", line 122, in main
  File "/mnt/c/Users/hrush/OneDrive - Student Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/run_evaluation.py", line 122, in main
    t = tasks_map[p[KEY_INSTANCE_ID]]
        ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
KeyError: 'SWE-agent__test-repo-i1'

==================================
Log directory for evaluation run: results/azure-gpt-3.5-turbo-1106__SWE-agent__test-repo__default__t-0.00__p-0.95__c-3.00__install-1
- Wrote per-instance scorecards to ../trajectories/hrushi669/azure-gpt-3.5-turbo-1106__SWE-agent__test-repo__default__t-0.00__p-0.95__c-3.00__install-1/scorecards.json
Reference Report:
- no_generation: 0
- generated: 1
- with_logs: 0
- install_fail: 0
- reset_failed: 0
- no_apply: 0
- applied: 0
- test_errored: 0
- test_timeout: 0
- resolved: 0
- Wrote summary of run to ../trajectories/hrushi669/azure-gpt-3.5-turbo-1106__SWE-agent__test-repo__default__t-0.00__p-0.95__c-3.00__install-1/results.json

System Information
ubuntu
Checklist

[X] I'm running with the latest docker container/on the latest development version
[X] I've searched the other issues for a duplicate
[X] I have copied the full command/code that I ran (as text, not as screenshot!)
[X] If applicable: I have copied the full log file/error message that was the result (as text, not as screenshot!)
[X] I have enclosed code/log messages in triple backticks (docs) and clicked "Preview" to make sure it's displayed correctly.

What was the command you ran for evaluation?

(my suspicion is that you might be specifying the wrong input file, just because I know that this happened to me before...)

./run_eval.sh ../trajectories/hrushi669/azure-gpt-3.5-turbo-1106__SWE-agent__test-repo__default__t-0.00__p-0.95__c-3.00__install-1/all_preds.jsonl

the evaluation command:
./run_eval.sh ../trajectories/hrushi669/azure-gpt-3.5-turbo-1106__SWE-agent__test-repo__default__t-0.00__p-0.95__c-3.00__install-1/all_preds.jsonl

Thanks for the report and the already verbose information. Could you also paste the command you ran for evaluation?

the evaluation command:
./run_eval.sh ../trajectories/hrushi669/azure-gpt-3.5-turbo-1106__SWE-agent__test-repo__default__t-0.00__p-0.95__c-3.00__install-1/all_preds.jsonl

(my suspicion is that you might be specifying the wrong input file, just because I know that this happened to me before...)

i gave it the correct path of the input file (all_preds.jsonl) as mentioned in the above evaluation command. can you please help me out on this.

and also an issue, even after miniconda is installed in my pc.
(venv) (base) hrushi669@Hrushikesh:/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation$ ./run_eval.sh ../trajectories/hrushi66/azure-gpt-3.5-turbo-1106__SWE-bench_Lite__default__t-0.00__p-0.95__c-3.00__install-1/all_preds.jsonl
Found 8 total predictions, will evaluate 3 (5 are empty)
🏃 Beginning evaluation...
2024-06-01 17:03:59,954 - run_evaluation - INFO - Found 3 predictions across 1 model(s) in predictions file
2024-06-01 17:03:59,963 - run_evaluation - INFO - [azure-gpt-3.5-turbo-1106__SWE-bench_Lite__default__t-0.00__p-0.95__c-3.00__install-1/django__django/4.1] # of predictions to evaluate: 1 (0 already evaluated)
2024-06-01 17:03:59,978 - run_evaluation - INFO - [azure-gpt-3.5-turbo-1106__SWE-bench_Lite__default__t-0.00__p-0.95__c-3.00__install-1/django__django/3.0] # of predictions to evaluate: 1 (0 already evaluated)
2024-06-01 17:03:59,994 - run_evaluation - INFO - [azure-gpt-3.5-turbo-1106__SWE-bench_Lite__default__t-0.00__p-0.95__c-3.00__install-1/sphinx-doc__sphinx/3.5] # of predictions to evaluate: 1 (0 already evaluated)
2024-06-01 17:04:00,075 - testbed - INFO - Created log file /mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/results/azure-gpt-3.5-turbo-1106__SWE-bench_Lite__default__t-0.00__p-0.95__c-3.00__install-1/testbed_django_3.0.log
2024-06-01 17:04:00,075 - testbed - INFO - Created log file /mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/results/azure-gpt-3.5-turbo-1106__SWE-bench_Lite__default__t-0.00__p-0.95__c-3.00__install-1/testbed_django_4.1.log
2024-06-01 17:04:00,076 - testbed - INFO - Created log file /mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/results/azure-gpt-3.5-turbo-1106__SWE-bench_Lite__default__t-0.00__p-0.95__c-3.00__install-1/testbed_sphinx_3.5.log
2024-06-01 17:04:00,079 - testbed - INFO - Repo django/django: 1 versions
2024-06-01 17:04:00,079 - testbed - INFO - Repo django/django: 1 versions
2024-06-01 17:04:00,080 - testbed - INFO - Repo sphinx-doc/sphinx: 1 versions
2024-06-01 17:04:00,082 - testbed - INFO -      Version 4.1: 1 instances
2024-06-01 17:04:00,082 - testbed - INFO -      Version 3.0: 1 instances
2024-06-01 17:04:00,084 - testbed - INFO -      Version 3.5: 1 instances
2024-06-01 17:04:00,092 - testbed - INFO - Using conda path /mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7
2024-06-01 17:04:00,094 - testbed - INFO - Using conda path /mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/sphinx/3.5/tmp0ges26wf
2024-06-01 17:04:00,095 - testbed - INFO - Using conda path /mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/4.1/tmpu2up60g0
2024-06-01 17:04:00,106 - testbed - INFO - Using working directory /mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/4.1/tmpc4yi_9nb for testbed
2024-06-01 17:04:00,107 - testbed - INFO - Using working directory /mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/sphinx/3.5/tmp0eb_sfio for testbed
2024-06-01 17:04:00,108 - testbed - INFO - Using working directory /mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmpx0a2ox00 for testbed
2024-06-01 17:04:00,118 - testbed - INFO - No conda path provided, creating temporary install in /mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7/miniconda3...
2024-06-01 17:04:00,119 - testbed - INFO - No conda path provided, creating temporary install in /mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/sphinx/3.5/tmp0ges26wf/miniconda3...
2024-06-01 17:04:00,119 - testbed - INFO - No conda path provided, creating temporary install in /mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/4.1/tmpu2up60g0/miniconda3...
2024-06-01 17:04:00,124 - testbed - INFO - django/3.0 instances in a single process
2024-06-01 17:04:00,125 - testbed - INFO - sphinx/3.5 instances in a single process
2024-06-01 17:04:00,125 - testbed - INFO - django/4.1 instances in a single process
2024-06-01 17:04:00,128 - testbed - INFO - django/3.0 using Miniconda link: https://repo.anaconda.com/miniconda/Miniconda3-py39_23.10.0-1
2024-06-01 17:04:00,128 - testbed - INFO - sphinx/3.5 using Miniconda link: https://repo.anaconda.com/miniconda/Miniconda3-py39_23.10.0-1
2024-06-01 17:04:00,129 - testbed - INFO - django/4.1 using Miniconda link: https://repo.anaconda.com/miniconda/Miniconda3-py39_23.10.0-1

2024-06-01 17:10:29,623 - testbed - ERROR - Error: Command '['bash', '/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/4.1/tmpu2up60g0/miniconda3/miniconda.sh', '-b', '-u', '-p', '/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/4.1/tmpu2up60g0/miniconda3', '&&', 'conda', 'init', '--all']' returned non-zero exit status 1.
2024-06-01 17:10:29,627 - testbed - ERROR - Error: Command '['bash', '/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/sphinx/3.5/tmp0ges26wf/miniconda3/miniconda.sh', '-b', '-u', '-p', '/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/sphinx/3.5/tmp0ges26wf/miniconda3', '&&', 'conda', 'init', '--all']' returned non-zero exit status 1.
2024-06-01 17:10:29,634 - testbed - ERROR - Error stdout: PREFIX=/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/sphinx/3.5/tmp0ges26wf/miniconda3
Unpacking payload ...

  0%|          | 0/69 [00:00<?, ?it/s]
Extracting : archspec-0.2.1-pyhd3eb1b0_0.conda:   0%|          | 0/69 [01:01<?, ?it/s]
Extracting : archspec-0.2.1-pyhd3eb1b0_0.conda:   1%|▏         | 1/69 [01:01<1:09:58, 61.74s/it]
Extracting : boltons-23.0.0-py39h06a4308_0.conda:   1%|▏         | 1/69 [02:13<1:09:58, 61.74s/it]
Extracting : boltons-23.0.0-py39h06a4308_0.conda:   3%|▎         | 2/69 [02:13<1:15:25, 67.54s/it]
Extracting : brotli-python-1.0.9-py39h6a678d5_7.conda:   3%|▎         | 2/69 [02:13<1:15:25, 67.54s/it]
Extracting : bzip2-1.0.8-h7b6447c_0.conda:   4%|▍         | 3/69 [02:13<1:14:17, 67.54s/it]
Extracting : c-ares-1.19.1-h5eee18b_0.conda:   6%|▌         | 4/69 [02:13<1:13:10, 67.54s/it]
Extracting : ca-certificates-2023.08.22-h06a4308_0.conda:   7%|▋         | 5/69 [02:13<1:12:02, 67.54s/it]
Extracting : certifi-2023.7.22-py39h06a4308_0.conda:   9%|▊         | 6/69 [02:13<1:10:55, 67.54s/it]
Extracting : cffi-1.15.1-py39h5eee18b_3.conda:  10%|█         | 7/69 [02:13<1:09:47, 67.54s/it]
Extracting : charset-normalizer-2.0.4-pyhd3eb1b0_0.conda:  12%|█▏        | 8/69 [02:13<1:08:39, 67.54s/it]

concurrent.futures.process._RemoteTraceback:
'''
Traceback (most recent call last):
  File "concurrent/futures/process.py", line 387, in wait_result_broken_or_wakeup
  File "multiprocessing/connection.py", line 256, in recv
TypeError: __init__() missing 1 required positional argument: 'msg'
'''

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "entry_point.py", line 69, in <module>
  File "concurrent/futures/process.py", line 562, in _chain_from_iterable_of_lists
  File "concurrent/futures/_base.py", line 609, in result_iterator
  File "concurrent/futures/_base.py", line 446, in result
  File "concurrent/futures/_base.py", line 391, in __get_result
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
[21327] Failed to execute script 'entry_point' due to unhandled exception!

2024-06-01 17:10:29,639 - testbed - ERROR - Error stdout: PREFIX=/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/4.1/tmpu2up60g0/miniconda3
Unpacking payload ...

  0%|          | 0/69 [00:00<?, ?it/s]
Extracting : archspec-0.2.1-pyhd3eb1b0_0.conda:   0%|          | 0/69 [01:09<?, ?it/s]
Extracting : archspec-0.2.1-pyhd3eb1b0_0.conda:   1%|▏         | 1/69 [01:09<1:18:49, 69.56s/it]
Extracting : boltons-23.0.0-py39h06a4308_0.conda:   1%|▏         | 1/69 [02:37<1:18:49, 69.56s/it]
Extracting : boltons-23.0.0-py39h06a4308_0.conda:   3%|▎         | 2/69 [02:37<1:29:34, 80.21s/it]
Extracting : brotli-python-1.0.9-py39h6a678d5_7.conda:   3%|▎         | 2/69 [02:37<1:29:34, 80.21s/it]
Extracting : bzip2-1.0.8-h7b6447c_0.conda:   4%|▍         | 3/69 [02:37<1:28:13, 80.21s/it]
Extracting : c-ares-1.19.1-h5eee18b_0.conda:   6%|▌         | 4/69 [02:37<1:26:53, 80.21s/it]
Extracting : ca-certificates-2023.08.22-h06a4308_0.conda:   7%|▋         | 5/69 [02:37<1:25:33, 80.21s/it]
Extracting : certifi-2023.7.22-py39h06a4308_0.conda:   9%|▊         | 6/69 [02:37<1:24:13, 80.21s/it]
Extracting : cffi-1.15.1-py39h5eee18b_3.conda:  10%|█         | 7/69 [02:37<1:22:53, 80.21s/it]
Extracting : charset-normalizer-2.0.4-pyhd3eb1b0_0.conda:  12%|█▏        | 8/69 [02:37<1:21:32, 80.21s/it]

concurrent.futures.process._RemoteTraceback:
'''
Traceback (most recent call last):
  File "concurrent/futures/process.py", line 387, in wait_result_broken_or_wakeup
  File "multiprocessing/connection.py", line 256, in recv
TypeError: __init__() missing 1 required positional argument: 'msg'
'''

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "entry_point.py", line 69, in <module>
  File "concurrent/futures/process.py", line 562, in _chain_from_iterable_of_lists
  File "concurrent/futures/_base.py", line 609, in result_iterator
  File "concurrent/futures/_base.py", line 446, in result
  File "concurrent/futures/_base.py", line 391, in __get_result
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
[21337] Failed to execute script 'entry_point' due to unhandled exception!

2024-06-01 17:10:29,659 - testbed - ERROR - Error: Command '['bash', '/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7/miniconda3/miniconda.sh', '-b', '-u', '-p', '/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7/miniconda3', '&&', 'conda', 'init', '--all']' returned non-zero exit status 1.
2024-06-01 17:10:29,669 - testbed - ERROR - Error stdout: PREFIX=/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7/miniconda3
Unpacking payload ...

  0%|          | 0/69 [00:00<?, ?it/s]
Extracting : archspec-0.2.1-pyhd3eb1b0_0.conda:   0%|          | 0/69 [01:03<?, ?it/s]
Extracting : archspec-0.2.1-pyhd3eb1b0_0.conda:   1%|▏         | 1/69 [01:03<1:11:27, 63.04s/it]
Extracting : boltons-23.0.0-py39h06a4308_0.conda:   1%|▏         | 1/69 [02:14<1:11:27, 63.04s/it]
Extracting : boltons-23.0.0-py39h06a4308_0.conda:   3%|▎         | 2/69 [02:14<1:16:00, 68.07s/it]
Extracting : brotli-python-1.0.9-py39h6a678d5_7.conda:   3%|▎         | 2/69 [02:14<1:16:00, 68.07s/it]
Extracting : bzip2-1.0.8-h7b6447c_0.conda:   4%|▍         | 3/69 [02:14<1:14:52, 68.07s/it]
Extracting : c-ares-1.19.1-h5eee18b_0.conda:   6%|▌         | 4/69 [02:14<1:13:44, 68.07s/it]
Extracting : ca-certificates-2023.08.22-h06a4308_0.conda:   7%|▋         | 5/69 [02:14<1:12:36, 68.07s/it]
Extracting : certifi-2023.7.22-py39h06a4308_0.conda:   9%|▊         | 6/69 [02:14<1:11:28, 68.07s/it]
Extracting : cffi-1.15.1-py39h5eee18b_3.conda:  10%|█         | 7/69 [02:14<1:10:20, 68.07s/it]
Extracting : charset-normalizer-2.0.4-pyhd3eb1b0_0.conda:  12%|█▏        | 8/69 [02:14<1:09:12, 68.07s/it]

concurrent.futures.process._RemoteTraceback:
'''
Traceback (most recent call last):
  File "concurrent/futures/process.py", line 387, in wait_result_broken_or_wakeup
  File "multiprocessing/connection.py", line 256, in recv
TypeError: __init__() missing 1 required positional argument: 'msg'
'''

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "entry_point.py", line 69, in <module>
  File "concurrent/futures/process.py", line 562, in _chain_from_iterable_of_lists
  File "concurrent/futures/_base.py", line 609, in result_iterator
  File "concurrent/futures/_base.py", line 446, in result
  File "concurrent/futures/_base.py", line 391, in __get_result
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
[21328] Failed to execute script 'entry_point' due to unhandled exception!

2024-06-01 17:10:29,725 - testbed - ERROR - Error traceback: Traceback (most recent call last):
  File "/mnt/c/Users/hrush/OneDrive - Student Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/context_manager.py", line 82, in __call__
    output = subprocess.run(cmd, **combined_args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bash', '/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7/miniconda3/miniconda.sh', '-b', '-u', '-p', '/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7/miniconda3', '&&', 'conda', 'init', '--all']' returned non-zero exit status 1.

2024-06-01 17:10:29,728 - testbed - ERROR - Error traceback: Traceback (most recent call last):
  File "/mnt/c/Users/hrush/OneDrive - Student Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/context_manager.py", line 82, in __call__
    output = subprocess.run(cmd, **combined_args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bash', '/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/4.1/tmpu2up60g0/miniconda3/miniconda.sh', '-b', '-u', '-p', '/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/4.1/tmpu2up60g0/miniconda3', '&&', 'conda', 'init', '--all']' returned non-zero exit status 1.

2024-06-01 17:10:29,734 - testbed - ERROR - Error traceback: Traceback (most recent call last):
  File "/mnt/c/Users/hrush/OneDrive - Student Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/context_manager.py", line 82, in __call__
    output = subprocess.run(cmd, **combined_args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bash', '/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/sphinx/3.5/tmp0ges26wf/miniconda3/miniconda.sh', '-b', '-u', '-p', '/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/sphinx/3.5/tmp0ges26wf/miniconda3', '&&', 'conda', 'init', '--all']' returned non-zero exit status 1.

❌ Evaluation failed: Command '['bash',
'/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7/miniconda3/miniconda
.sh', '-b', '-u', '-p',
'/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7/miniconda3', '&&',
'conda', 'init', '--all']' returned non-zero exit status 1.
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/lib/python3.12/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
                    ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/multiprocessing/pool.py", line 48, in mapstar
    return list(map(*args))
           ^^^^^^^^^^^^^^^^
  File "/mnt/c/Users/hrush/OneDrive - Student
Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/engine_evaluation.py", line 177, in main
    setup_testbed(data_groups[0])
  File "/mnt/c/Users/hrush/OneDrive - Student
Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/engine_validation.py", line 91, in
setup_testbed
    with TestbedContextManager(
  File "/mnt/c/Users/hrush/OneDrive - Student
Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/context_manager.py", line 285, in
__enter__
    self.exec(install_cmd)
  File "/mnt/c/Users/hrush/OneDrive - Student
Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/context_manager.py", line 95, in
__call__
    raise e
  File "/mnt/c/Users/hrush/OneDrive - Student
Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/context_manager.py", line 82, in
__call__
    output = subprocess.run(cmd, **combined_args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bash',
'/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7/miniconda3/miniconda
.sh', '-b', '-u', '-p',
'/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7/miniconda3', '&&',
'conda', 'init', '--all']' returned non-zero exit status 1.
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/evaluation.py", line 72, in main
    run_evaluation(
  File "/mnt/c/Users/hrush/OneDrive - Student
Ambassadors/Desktop/AutoSwe/venv/lib/python3.12/site-packages/swebench/harness/run_evaluation.py", line 203, in main
    pool.map(eval_engine, eval_args)
  File "/usr/lib/python3.12/multiprocessing/pool.py", line 367, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/multiprocessing/pool.py", line 774, in get
    raise self._value
subprocess.CalledProcessError: Command '['bash',
'/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7/miniconda3/miniconda
.sh', '-b', '-u', '-p',
'/mnt/c/Users/hrush/AutoSWE/AutoSwe/SWE-agent/evaluation/testbed/a09d900d21/django/3.0/tmphk0bcuv7/miniconda3', '&&',
'conda', 'init', '--all']' returned non-zero exit status 1.

==================================
Log directory for evaluation run:
results/azure-gpt-3.5-turbo-1106__SWE-bench_Lite__default__t-0.00__p-0.95__c-3.00__install-1
- Wrote per-instance scorecards to
../trajectories/hrushi66/azure-gpt-3.5-turbo-1106__SWE-bench_Lite__default__t-0.00__p-0.95__c-3.00__install-1/scorecard
s.json
Reference Report:
- no_generation: 5
- generated: 3
- with_logs: 0
- install_fail: 0
- reset_failed: 0
- no_apply: 0
- applied: 0
- test_errored: 0
- test_timeout: 0
- resolved: 0
- Wrote summary of run to
../trajectories/hrushi66/azure-gpt-3.5-turbo-1106__SWE-bench_Lite__default__t-0.00__p-0.95__c-3.00__install-1/results.j
son

i have this error haunting me since 3 hours, can anyone help @klieret

Regarding your initial report: I believe you need to specify the dataset name or path as second argument (the default is princeton-nlp/SWE-bench, which is probably not what you need here).
Let me ping @carlosejimenez and @john-b-yang for this issue.

Hi @Hk669
Just to be clear, I noticed that you used a "test-repo" in your examples. I'm not sure if that's just a placeholder, but generally the evaluation process will only work with examples already in the SWE-bench dataset. This is because we have the correct tests and behavior logged for those instances only.
However, the other command you mentioned: ./run_eval.sh ../trajectories/hrushi66/azure-gpt-3.5-turbo-1106__SWE-bench_Lite__default__t-0.00__p-0.95__c-3.00__install-1/all_preds.jsonl
does seem like an issue. Can you confirm the version of swebench that you're using? Can you make sure to use the latest version of the repository/package?


Update README.md

Thanks for your contribution 😊. Don't forget to ✨ our Repository.
If you want to contribute to our new Ideas Project -https://github.com/KapilKumar7/CreativeAppIdeas


Kubernetes - Undefined backend

Hi,
I'm trying deploy Traefik (v1.0.3) in my Kubernetes cluster (GitVersion:"v1.3.6").
I have two deployments running : Wordpress and   Flask  (each on port 80).
My problem is :
Traefik only work with my wordpress deployment but give me an "Undefined Backend" for my Flask deployment.  I use the same Deployment/SVC/Ingress pattern for my two deployments.
Here is some logs & configuration files :
WP-svc :
apiVersion: v1
kind: Service
metadata:
  labels:
    run: wp
  name: wp
  namespace: default
spec:
  ports:
  - port: 80
    protocol: TCP
    targetPort: 80
  selector:
    run: wp
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}

WP-Ingress :
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: wp
spec:
  rules:
  - host: wp.example.com
    http:
      paths:
      - path: /
        backend:
          serviceName: wp
          servicePort: http

Flask-svc :
apiVersion: v1
kind: Service
metadata:
  labels:
    run: flask
  name: flask
  namespace: default
spec:
  ports:
  - port: 80
    protocol: TCP
    targetPort: 80
  selector:
    run: flask
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}

Flask-Ingress :
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: flask
spec:
  rules:
  - host: flask.example.com
    http:
      paths:
      - path: /
        backend:
          serviceName: flask
          servicePort: http

⚠  Each SVC work fine when I reach each service IP.
Here is the Traefik's logs for WP  :
time="2016-10-02T22:37:20Z" level=debug msg="Creating frontend wp.example.com/"
time="2016-10-02T22:37:20Z" level=debug msg="Wiring frontend wp.example.com/ to entryPoint http"
time="2016-10-02T22:37:20Z" level=debug msg="Creating route wp.example.com Host:wp.example.com"
time="2016-10-02T22:37:20Z" level=debug msg="Creating route / PathPrefix:/"
time="2016-10-02T22:37:20Z" level=debug msg="Creating backend wp.example.com/"
time="2016-10-02T22:37:20Z" level=debug msg="Creating load-balancer wrr"
time="2016-10-02T22:37:20Z" level=debug msg="Creating server http://10.200.1.x:80 at http://<IP_ADDRESS>:80 with weight 1"
time="2016-10-02T22:37:20Z" level=debug msg="Creating server http://10.200.1.x:80 at http://<IP_ADDRESS>:80 with weight 1"
time="2016-10-02T22:37:20Z" level=info msg="Server configuration reloaded on :80"

Here is the Traefik's logs for Flask  :
time="2016-10-02T22:25:02Z" level=debug msg="Creating frontend flask.example.com/"
time="2016-10-02T22:25:02Z" level=debug msg="Wiring frontend flask.example.com/ to entryPoint http"
time="2016-10-02T22:25:02Z" level=debug msg="Creating route / PathPrefix:/"
time="2016-10-02T22:25:02Z" level=debug msg="Creating route flask.example.com Host:flask.example.com"
time="2016-10-02T22:25:02Z" level=debug msg="Creating backend flask.example.com/"
time="2016-10-02T22:25:02Z" level=error msg="Undefined backend 'flask.example.com/' for frontend flask.example.com/"
time="2016-10-02T22:25:02Z" level=error msg="Skipping frontend flask.example.com/..."

It's look like "Flask" svc is unavailable but I can reach my service in Kuber's API :
/api/v1/namespaces/default/services/flask --> Work fine.
Can you help me ?

I found the bug,
replace  :
servicePort: http
by :
servicePort: 80
In the ingress file.
I close the issue, can you make the changes in the documentation ?
Thanks a lot for Traefik. 🏆


rotating yellow selector blocks too much of image

The rotating yellow sector rect blocks a good chunk of my images (~270x270px) after being selected so that its impossible to see image details and the metadata in infoCard. The rects are dynamically created under a shadowRoot so there's no way i can find to override their properties and adjust them.

Was able to hack in some JS to modify the style on clicks, if anyone else needs a quick fix:
document.getElementById("elem").addEventListener("click", function(e) {
    var rects = document.getElementById("elem").shadowRoot.getElementById("vis").shadowRoot.getElementById("holder").querySelectorAll("rect")
    for (var i=0; i<rects.length; i++) {
        if (rects[i].className.baseVal === "rotate") {
            rects[i].style.strokeWidth = "0.05px";
            rects[i].style.x = -0.65;
            rects[i].style.y = -0.65;
            rects[i].style.width = 1.23;
            rects[i].style.height = 1.23;
            rects[i].style.stroke = '#ea184d'
        }
    }

Thank you! was missing final closing });
		  document.getElementById("elem").addEventListener("click", function(e) {
			var rects = document.getElementById("elem").shadowRoot.getElementById("vis").shadowRoot.getElementById("holder").querySelectorAll("rect")
			for (var i=0; i<rects.length; i++) {
				if (rects[i].className.baseVal === "rotate") {
					rects[i].style.strokeWidth = "0.05px";
					rects[i].style.x = -0.65;
					rects[i].style.y = -0.65;
					rects[i].style.width = 1.23;
					rects[i].style.height = 1.23;
					rects[i].style.stroke = '#ea184d'
				}
			}
		});


AAD groups not being parsed when added to the Team

When I add an AAD group to a team I cannot see those users when I want to add a day off entry for a user. I can only assign to users that have been assigned directly to the team.

Hi, work Rest client doesn't support users added a group alias. So even if I show users the actual call to create the day off would fail.


FaceChain-SuDe 是否支持多个参考主题的生成

good work!
请问 FaceChain-SuDe 是否支持多个参考主题的生成，比如输入一张男孩和一张女孩的图像，生成合照

@slpal please check this out.

FaceChain-SuDe is only designed to make generated attributes more diverse, thus it does not have the ability to build multiple subjects on its own. But it can still work for enriching attributes when combined with existing multi-subject works, such as CustomDiffusion, Cones 2, etc.


Added a recursive tree-view for StructProperty values in LiveView.

The left offset relative to the owner of the struct.
The right offset is relative the struct itself.
The Copy value context menu option works identically to before, except you need to close the tree for the struct before the context menu appears when you right-click.

Wrong branch.


[KYUUBI #5136][Bug] Spark App may hang forever if FinalStageResourceManager killed all executors

Why are the changes needed?
In minor cases, Spark Stage hangs forever when spark.sql.finalWriteStage.eagerlyKillExecutors.enabled is true.
The bug occurs if two conditions are met in the same time:

All executors are either removed because of idle time out or killed by FinalStageResourceManager.
Target executor num in YarnAllocator will be set to 0 and no more executor will be launched.
Target executor num in ExecutorAllocationManager equals to the executor num needed by final stage.
Then ExecutorAllocationManager will not sync target executor num to YarnAllocator.

How was this patch tested?

[x] Add a new test suite FinalStageResourceManagerSuite

Codecov Report

Merging #5141 (92aaa08) into master (9a001c8) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #5141   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files         566     566
  Lines       31590   31590
  Branches     4120    4120
======================================
  Misses      31590   31590

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

cc @ulysses-you @pan3793 Ready for review.

Thanks, merged to master


Speed javascript load times

First page is emptyish, with a single html file and css, and a minimal javascript script. That script loads, and sends back the time it finished in utc with a request for the page javascript, which is then loaded into a special div at the end of the body.
Front end

Make mini speed loading javascript
Make simple functional web page to be modified later by javascript. See progressive enhancement, think mobile-first? offline-first?
Instrument the mini javascript to measure the effects of this loading

Back end

Have the mini js and html as static files that can be served quickly
Instrument the static file response compared to other Flask endpoints
Based on the mini js and html request, prepare/assemble a bigger js file ahead of the next js request, so that the server has it in memory and requires no disk read when it gets hit by the mini js request. this seems like it could be cool
Send out that bigger js file to the javascript request at a static-like? endpoint.

A uniform home page (pre first javascript request back) is going to make caching really nice.

Current progress as of commit <fill this in later>

Serves loadme.js as the mini js file, index.html as a mini (still templated) html file
The home page counts as progressive assembly, because it isn't trying to do any user visible stuff with javascript anyway
There is no preassembly done yet, but the first request is cached, so it only ever builds these things once (per cache timeout)
The files are sent out at a static-looking endpoint /j/<filename>.js

TODO

instrument the mini javascript file to determine how long this loading takes.

Maybe?

instrument the static endpoint to see how it compares to the cached templated endpoint, and see if it makes sense to generate files ahead of time on disk and serve statically. I think I'm fine with how it is right now, it is 8ms or something for the first user, sub ms for the next user :white_check_mark:
make a home page that is the same for every user until the javascript modifies the page so it can be cached/insta responded without templating. This might cause a regression in speed based on the number of javascript requests, so I think I'll stick with the main home page for now.

If I could some how send more data with the built javascript template that would be okay, but it would break the javascript caching instead :(

Feature Requests
These depend on some other issue getting done first, so they shouldn't block this issue.

implement preassembling of the .js templated files. Maybe do this as a read into cache of the n most common templates at the start. Or, a separate process (see multiprocessing) that gets run. This might need to wait for #23.

Instrumented the js loading. See e92db08


connection fails and driver is not able to recover

Hi,
Yesterday I have updated gorethink to latest: v3.0.2 7ab832f7b65573104a555d84a27992ae9ea1f659 But the issue remains.
gorethink: write tcp <IP_ADDRESS>:42424-><IP_ADDRESS>:28015: write: broken pipe
This makes the app to behave unhealthy and I was wanting to avoid building up defensive code to thread this error, as I believe this should be properly handled inside the driver.
Anyone else experiencing similar issues ?
Issue previously reported on #374.
Cheers.

I didn't investigate this a lot, may be this is close situation.
If my app is blocked on a Cursor.Next() from Changes() query and connection got lost, cursor doesn't return any errors. So It seems that my app get stuck forever.

It seems that gorethink uses fatih/pool fixed version.
@thomasmodeneis Does this bug reproduce?

connection logic was changed a lot. should not be reproducing.


Attribute and template tweaks for client-reconfig-script functionality.

We use a floating IP to provide redis client access to a sentinel managed master without the need to have the client code be sentinel aware. This PR adds hooks for the redisio cookbook to manage those hooks in sentinel.conf.
Here's a sample script directly cribbed from http://blog.waja.info/2014/09/25/redis-ha-with-redis-sentinel-and-vip/ and augmented with some helpful comments:
#!/bin/bash
_DEBUG="off"
DEBUGFILE=/tmp/sentinel_failover.log
VIP='<%= node[:redis_vip] %>'
MASTERIP=${6}
MASK='24'
IFACE='eth0'
MYIP=$(ip -4 -o addr show dev ${IFACE}| grep -v secondary| awk '{split($4,a,"/");print a[1]}')

DEBUG () {
        if [ "$_DEBUG" = "on" ]; then
                $@ 2>&1 | tee -a ${DEBUGFILE}
        fi
}

set -e
DEBUG echo '--------------------------------------------------------------------------------'
DEBUG date
DEBUG echo "Running as $(whoami)"
DEBUG echo "Old Master: ${4}"
DEBUG echo "New Master: ${MASTERIP}"
DEBUG echo "My IP: ${MYIP}"
DEBUG echo "Arguments passed: $@"
DEBUG echo '--'

if [ ${MASTERIP} = ${MYIP} ]; then
  DEBUG echo "I am the new master!"
        if [ $(ip addr show ${IFACE} | grep ${VIP} | wc -l) = 0 ]; then
                DEBUG echo "I'm going to assume the VIP, but let's sleep for a couple to allow the old master to release it..."
                /bin/sleep 2
                DEBUG echo "Running /usr/bin/sudo /sbin/ip addr add ${VIP}/${MASK} dev ${IFACE}"
                /usr/bin/sudo /sbin/ip addr add ${VIP}/${MASK} dev ${IFACE}
                DEBUG echo "exit code was $?"
                DEBUG echo "Running /usr/bin/sudo /usr/sbin/arping -q -c 3 -A ${VIP} -I ${IFACE}"
                /usr/bin/sudo /usr/sbin/arping -q -c 3 -A ${VIP} -I ${IFACE}
                DEBUG echo "exit code was $?"
        fi
        exit 0
else
  DEBUG echo "I'm not the new master. :-("
        if [ $(ip addr show ${IFACE} | grep ${VIP} | wc -l) != 0 ]; then
                DEBUG echo "I was the old master, going to give up the VIP..."
                DEBUG echo "Running /usr/bin/sudo /sbin/ip addr del ${VIP}/${MASK} dev ${IFACE}"
                /usr/bin/sudo /sbin/ip addr del ${VIP}/${MASK} dev ${IFACE}
                DEBUG echo "exit code was $?"
        fi
        exit 0
fi
exit 1

This can be specified in a role, along with a "redis_vip" attribute specifying your VIP address file as such:
name "redis-master-sentinel"
run_list *%w[
  recipe[redisio]
  recipe[redisio::configure]
  recipe[redisio::enable]
  recipe[redisio::sentinel]
  recipe[redisio::sentinel_enable]
]
default_attributes({
  'redis_vip' => "YOUR.VIP.ADDRESS.HERE",
  'redisio' => {
    'default_settings' => {
      'backuptype' => 'aof',
    },
    'sentinel_defaults' => {
      'client-reconfig-script' => '/var/lib/redis/vip_failover.sh',
      'down-after-milliseconds' => 8000,
      'parallel-syncs' => 2,
    },
    'sentinels' => [ {
      'master_ip' => 'YOUR.INITIAL.SENTINEL.MASTERIP',
      'master_port' => '6379',
      'name' => 'YOUR_ENV',
    } ],
    'sentinel' => {
      'manage_config' => false
    }
  }
})

When applied to a node, this role will set up a redis instance on 6379 and a sentinel on 26379, and configuring sentinel to call the script at /var/lib/redis/vip_failover.sh during a failover. We use a second role "redis-slave-sentinel" which also includes the "slaveof" attribute for the initial configuration to complete the sentinel cluster setup. Note: The client-reconfig-script must exist and be executable, or sentinel will not start. Use a template resource to lay down /var/lib/redis/vip_failover.sh somewhere earlier in your node's run_list.

Doh, a bit tunnel vision, been sitting on this for a while, but is now a dupe of #190 (although sample and example is provided here). Feel free to close as duplicate, but I'll leave open for feedback on the use case.

@ryanschwartz Thanks, we will have to get around to reviewing this and #190.  One of the two will need to be merged.

Closing since this is a dupe of https://github.com/brianbianco/redisio/pull/190 and also requires merge conflicts to be fixed which will be done via 190


KAFKA-12197: Migrate connect:transforms module to JUnit 5

More detailed description of your change
As title
Summary of testing strategy (including rationale)
QA
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

The test failures are unrelated and there are separate PRs to address them so merged to trunk.

The test failures are unrelated and there are separate PRs to address them so merged to trunk.


Fix annoying warnings for unknown keys in NBTs

:tada: This PR is included in version 2.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Always yield event_pages from canonical

Fixes #530

I tested this PR with 500 runs per beamline, and everything passed.


Shopping cart

A question practical hackathon judges have is often the money aspect of projects pitched at hackathons. Having a shopping cart takes a project idea one step closer to making money.
A shopping cart is important, even if it's to sell t-shirts and bling to promote the project rather than the end-product being pitched.

Closing, unless someone would like to contribute a pull request.


Contact e-mail address no longer makes sense

This (from https://gbdev.io/gb-asm-tutorial/help-feedback.html) no longer makes sense with the new domain:

If you prefer email, my address is tutorial@, where you replace  with this website’s domain name (it ends with .fr).

Related to https://github.com/gbdev/gb-asm-tutorial/issues/18

Should we keep the contact email under my domain, or set up something under @gbdev.io? I don't know whether we currently have a mail server for that domain?

Perhaps an e-mail address isn't really required as an alternative for contacting the authors of the tutorial anymore?

Email is required if a user does not have a GitHub account. As of second quarter 2023, signing up for GitHub requires three things: an email address, a web browser capable of running the non-free CAPTCHA, and a supported second factor of authentication. The last of these involves owning a FIDO U2F key such as YubiKey ($50) or a phone or tablet capable of running a TOTP authenticator app (maybe about $100 at a pawn shop). See "Raising the bar for software security: GitHub 2FA begins March 13".

Email is required if a user does not have a GitHub account

Or a Discord, IRC or Matrix account. The chat channels are mentioned at the top of the same page.

a supported second factor of authentication [which] involves owning a FIDO U2F key such as YubiKey ($50) or a phone or tablet capable of running a TOTP authenticator app (maybe about $100 at a pawn shop).

SMS is still a supported 2FA method. I can also use my laptop for 2FA with Windows Hello (Face ID or PIN number), but that obviously requires Windows; I assume other OSs have similar capabilities?

oathtool on Linux is perfectly capable of generating TOTP codes. But I'm going to predict @pinobatch will now say it requires a computer!

To be clear, I'm not against still supporting e-mail, but that either requires setting up a new e-mail address (which someone also needs to monitor) or, at the very least, adding @ISSOtm's actual e-mail address to the page so it can continue to be used (since it's mildly obfuscated in its current form, and is no longer compatible with the new URL, as it refers to the old one).

@tobiasvl IRC or Matrix can work so long as Discord users tolerate reports in the bridged channel.
As for SMS, in my experience, it's not available on landlines because most SMS auth providers won't fall back to a text-to-speech over a voice call. Nor is it available in countries not on a list that happens not to include Argentina. I haven't tested to see whether two people in a household who share a cell phone can use SMS.
@aaaaaa123456789 I wasn't aware of oathtool.

TOTP is a rather simple standard protocol and you could implement your own tool if it came to that.

I will create an address @gbdev.io


Fix copy-pasta

The description for --head said it was the head branch instead of head branch.

Thanks!


Retrieving channel adjacencies for our standard montages

I'd like to be able to do something like the following:
# %%
import mne

montage_name = 'easycap-M1'

m = mne.channels.make_standard_montage(montage_name)
adj = m.get_adjacency()

i.e., if I'm using one of our built-in montages and we are shipping a matching adjacency matrix, I want to be able to retrieve this matrix without having to worry about ch_names etc in the way I have to when using the current approach:
# %%
import mne

m = mne.channels.make_standard_montage('easycap-M1')
adj, ch_names = m.get_adjacency('easycapM1')  # now what do I even do with those ch_names? match them up with those in `m`??

Alternatively, we could have support for make_standard_montage(..., return_adjacency=True) to return the matrix alongside the montage.
WDYT?
cc @mmagnuski @sappelhoff @cbrnr

I like your first suggestion -- that seems like a reasonable method to have!

I like your first suggestion -- that seems like a reasonable method to have!

But it implies that the DigMontage "knows" it was created from one of our standard montages (and which). There is currently no way to store that information, or is there?

But it implies that the DigMontage "knows" it was created from one of our standard montages (and which). There is currently no way to store that information, or is there?

it could simply look for an exact match of channels between montage and "adjacency", right? 🤔

it could simply look for an exact match of channels between montage and "adjacency", right? 🤔

I'm not so sure, as there might be different adjacency matrices for the exact same list of channel names! At least in theory... no?
Also we'd have to load all adjacency matrices one by one until we find a match, this seems quite inefficient?

How about a private attribute in the montage class then?

I am notdürftigere it's so easy, as we store montages as FIFF files and you know how it is with this standard :/
Or could we maybe transition to something else? HDF5 or so? @larsoner

I'm not sure that makes things so much easier. If you have montage name, you can just do:
montage_name = 'easycap-M1'

m = mne.channels.make_standard_montage(montage_name)
adj = mne.channels.read_ch_adjacency(montage_name)

assuming read_ch_adjacency can do it. If it can't it would be nice if it could. :)

(ah, ok I get your point with ch_names)

assuming read_ch_adjacency can do it. If it can't it would be nice if it could. :)

also don't forget about #10746 💩


[Enhancement] Link Utilities: Add link from clipboard

Describe the solution you'd like
Alternative to the bookmarklet: "Add link from clipboard" in the Link Utilities menu. If possible, fetch the name from the website, or just use the domain if that's complicated. Run the renaming and sorting rules on it afterwards.

Added in version 3.1
Instead of fetching the name from the website, which would yield incoherent results, the same link name patterns that find a name for bookmarklet links will be used (only the url pattern in this case).