Abnormal Date Sorting in Metrics Dashboard for Individual Products

Bug description
Dates in time series metrics graphs behave weirdly for /product/1234/metrics for any given data uploaded with significant time ranges going back 1-3 months. This has been reproduced on 1.6.2 and potentially 1.6.4 (pending tests in our non-production environments).
Steps to reproduce
Steps to reproduce the behavior:

Upload data spanning several months.
Open metrics dashboard for an individual product.
Observe abnormal sorting of dates were indicates of every 1-2 weeks are interleaved in a non-linear order.

Expected behavior
Date sort from latest to oldest or oldest to latest, currently they do neither.
Deployment method (select with an X)

[ ] Kubernetes
[X] ECS Fargate
[X] Docker
[ ] setup.bash / legacy-setup.bash

Environment information

Operating System: N/A (ECS Fargate, so presumed Amazon Linux 2)
DefectDojo Commit Message: fix version numbers missed in 1.6.1 (#2498)

Sample scan files (optional)
If applicable, add sample scan files to help reproduce your problem.
Screenshots (optional)

Console logs (optional)
If applicable, add console logs to help explain your problem.
Additional context (optional)
Potentially related to DefectDojo/django-DefectDojo#2661

which database, encoding, collation, timezones, etc are you using?

Sorry, I was away from laptop. I will check and get back to you this afternoon or tomorrow morning with this, @valentijnscholten!


[BUG] llm-merge-adapter space bug after autotrain finetuned model

Prerequisites

[X] I have read the documentation.
[X] I have checked other issues for similar problems.

Backend
Hugging Face Space/Endpoints
Interface Used
UI
CLI Command
No response
UI Screenshots & Parameters
No response
Error Logs
TypeError: LoraConfig.init() got an unexpected keyword argument 'layer_replication'
Additional Information
I finetuned HuggingFaceH4/zephyr-7b-beta model on custom dataset using autotrain and tried to merge it with base model using duplicated space of your space but after 8/8 model's shreds were loaded, following error occured:
TypeError: LoraConfig.init() got an unexpected keyword argument 'layer_replication'
any idea how to resolve this issue?

@abhishekkrthakur requirements.txt of llm-merge-adapter space? Because while finetuning, I didn't separately installed any library, all the dependencies were installed through autotrain.

@abhishekkrthakur In the cli tool and space, is there a parameter to load a 4 or 8 bit quantized version of base model?

if you trained it using autotrain, it should be mergable by both the cli and the space. are you facing any issues again? requirements were updated.

Thanks a lot, the bug is resolved.
I was asking about parameter for loading a quantized base model for merging because that would've been very helpful in merging smaller 7b models inside colab free tier rather than buying compute for it


enable cicd to build docker image and push to gitlab container registry

I believe that it's possible to have this file only in gitlab, instead of publishing it on github. I mean mirrored repository are just doing pull, so nothin prevent us of having gitlab specific file there, but not on github.


eVDC payment screen has next and back button which cannot be pressed

Also the payment screen contains a Next and Back button which cannot be pressed

successful payment it auto advances to "VDC deployment" screen
if time out occurs - error message with a restart button to restart the eVDC provisioning process

Why keep the next / back button?

It's perfectly normal to use disabled buttons in web applications / desktop applications indicating that there's an action happening and you won't be able to use that button until it's done e.g during payments or preparing infrastructure during a deployment, but will be enabled at a certain point once deployed or when getting extra configurations.
1- Keeping showing/hiding the buttons is too distracting
2- the user understands what is expected much better and the points of no returns as well
3- the user already got exposed to the functionality of next/prev so hiding that will be confusing
4- These buttons should only be hidden if the user isn't allowed to use them at all (which isn't the case)
example on 3Bot
Here telling the user after some clicks on next that we are preparing the infrastructure and you can't now skip to the future or go back, but you will be able once some action is done

Here telling the user we are in the initialization step of the 3bot

Here telling the user they can continue now

example on the vdc
checking on the payment service and telling the user they can't interact until this step is done

once that payment service check is done the user is prompted to selecting the plan with one single actionable item, and a clear message they can't go to the previous

payment step

It's perfectly normal to use disabled buttons in web applications / desktop applications indicating that there's an action happening and you won't be able to use that button until it's done e.g during payments or preparing infrastructure during a deployment, but will be enabled at a certain point once deployed or when getting extra configurations.
1- Keeping showing/hiding the buttons is too distracting
2- the user understands what is expected much better and the points of no returns as well
3- the user already got exposed to the functionality of next/prev so hiding that will be confusing
4- These buttons should only be hidden if the user isn't allowed to use them at all (which isn't the case)
example on 3Bot
Here telling the user after some clicks on next that we are preparing the infrastructure and you can't now skip to the future or go back, but you will be able once some action is done

Here telling the user we are in the initialization step of the 3bot

Here telling the user they can continue now

example on the vdc
checking on the payment service and telling the user they can't interact until this step is done

once that payment service check is done the user is prompted to selecting the plan with one single actionable item, and a clear message they can't go to the previous

payment step

verified as a ux wise

verified as a ux wise


Memory issues with PHP

What did you do?
Run index command with BULK_SIZE=500
What did you expect to happen?
All data should be successfully indexed
What actually happened?
PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 63912944 bytes)

Use a smaller bulk size?

@Jalle19 I know how to fix it :D

So what's the problem?

@Jalle19  Pls see my PR #65


Adds Firefox install from source instructions

While developing an integration I noticed Firefox automatically loads manifest.json, regardless of the selection of manifest_ff.json. This might help some people in the future.

LGTM :raised_hands:! Thanks :bowing_man:.


Laravel 5.4 upgrade

Coverage decreased (-0.3%) to 56.246% when pulling 00a9d4f0d179827e00e6b1d5c5689d5666f9414b on laravel_5_4_upgrade into 684f40150567b09b352a7b3fdec6162d5e4288a3 on master.


Add the Google Cloud DNS provider

This PR introduces the Google Cloud DNS libdns provider
A few notes about the expected behaviours of the implementation:

This is based on the Google Cloud Go library, all the authentication methods (environment variables, service account JSON, VM metadata) are supported out of the box
An application using this library will need to initialize the Google Cloud client session via NewService
The tests are built around the httpreplay library included in the cloud.google.com/go library and the included JSON files are the data for each test containing all the calls made for that test
A single Google Cloud recordset is broken into several libdns.Records due to a single record containing multiple values (see example recordset JSON)

Here's a JSON representation of a recordset returned from Google:
{
  "kind": "dns#resourceRecordSet",
  "name": "example.com.",
  "rrdatas": [
      "10 mail.example.com.",
      "20 mail2.example.com."
  ],
  "ttl": 86400,
  "type": "MX"
}

Provider issue #41

Would you also be willing to add the caddy-dns wrapper if I make a repo for it?

You bet. I've already been testing a local Caddy build with a caddy-dns wrapper for this provider so I'd be glad to contribute that as well.

Cool. Do you think the repositories should be named googlecloud or google-cloud?

Cool. Do you think the repositories should be named googlecloud or google-cloud?
Edit: I just realized, the package name here is googledns -- is "Google DNS" the canonical name for this service? Or should it be googleclouddns or something? (I'm not saying it needs to change, just a lastt minute thought.)

🤔 Hmmm... I actually like being more explicit with googleclouddns. Let me get that change in.


Cannot restore backup wallet file

I would restore my backup wallet file but i have this error:

fixed, new backup files are stored and recognized correctly


[BUG] -<EMAIL_ADDRESS>in Invoke-PnPSPRestMethod not returning values

Are you using Invoke-PnPSiteTemplate or Get-PnPSiteTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.
Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues

Reporting an Issue or Missing Feature
I have a script that uses Invoke-PnPSPRestMethod to return files for libraries with more than 5000 items in them (primarily for deleting them!). It use the REST API to return the $top 500 items and then uses the odata.nextLink in the response to get the next set of 500.
This worked with the classic PnP PowerShell (SharePointPnPPowerShellOnline 3.28.2012.0 on Windows 10) but in the current version, the odata values are never returned. Intriguingly, they are not even returned in the JSON with the -Raw tag.
Expected behavior
It should be possible to access odata.nextLink from the REST response.
Actual behavior
Value is not returned at all
Steps to reproduce behavior
SCript below is an example of bulk deleting files but it only ever returns the top number, not moving on to the next batch. And before someone asks, yes I do know that this would work as it will just keep deleting the top number but if you wanted to list the files instead, it would not work!
EXAMPLE
.\RemoveBulkFiles.ps1 -TenantName "Contoso" -SiteUrl "Test" -LibraryUrl "Shared Documents"
.\RemoveBulkFiles.ps1 -TenantName "Contoso" -SiteUrl "Test" -LibraryUrl "Shared Documents" -SiteStub "Teams"
param(
    [Parameter(Mandatory)]
    [string]$TenantName
,   [Parameter(Mandatory)]
    [string]$SiteUrl
,   [Parameter(Mandatory)]
    [string]$LibraryUrl
,   [Parameter(Mandatory=$false)]
    [string]$SiteStub="sites"
)

Write-Output "Running"
$sourceSiteUrl = "https://$TenantName.sharepoint.com/$SiteStub/$SiteUrl"
Connect-PnPOnline $sourceSiteUrl
$skipNum=0
$currentItemNumber = 1
$currentIteration = 1
$batchSize=5
$listUrl ="/_api/web/GetList('/$SiteStub/$SiteUrl/$LibraryUrl')/items?`$top=$batchSize&`$select=Title,File/Name,File/ServerRelativeUrl&`$expand=file"

do {
    $listUrl
    $listItems = Invoke-PnPSPRestMethod -Method Get -Url $listUrl
    $itemCount = $listItems.value.Count

    foreach($item in $listItems.value) {
        $currentItemNumber++

        # For a large number of files, you may want to comment this out to reduce memory usage in PowerShell
        Write-Output "Deleting file $($item.File.ServerRelativeUrl)"
        $removedFile = Remove-PnPFile -ServerRelativeUrl $item.File.ServerRelativeUrl -Recycle -Force
    }
    $listItems
    if ($itemCount -and $itemCount -gt 0) {
        $listUrl =<EMAIL_ADDRESS>        $listUrl = $listUrl.Replace("https://$TenantName.sharepoint.com/$SiteStub/$SiteUrl","")
        $listUrl
    }
    Write-Output "Iteration $currentIteration"
    $currentIteration++
    $skipNum = $skipNum+$batchSize
} while ($itemCount -gt 0)

What is the version of the Cmdlet module you are running?
1.5.0
Which operating system/environment are you running PnP PowerShell on?

[ ] Windows
[ ] Linux
[ *] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

@kevmcdonk - can you update to the latest 1.7.0 branch ? I tested it , there is indeed an issue, but if you specify -Raw parameter it works and you get the next link. Will try to figure out how to fix this, but hope this unblocks you temporarily  !

@kevmcdonk  - should be fixed in tomorrow's build !

Thanks @gautamdsheth for your quick action on this 👍🏻

Thanks so much for looking at this @gautamdsheth. It's strange though, definitely not got it on the nightly build for 1.7.17 and when I run the command, I just get value back. Searched the full response and no mention of next at all. Will update tomorrow and see if new fix makes any difference. I am on an M1 Mac but can't see that would make a difference.

Should be $listItems.’odata.nextLink’ , it should give a value

Just tested it on W10 machine with 1.7.17-nightly -


minor project maintanance

no more 3d camera in main scene (replaced with canvas image)
app window starts in windowed mode
no resolution window showing up every time app is launched
some really minor project files maintanance

Ok, I will do that

https://github.com/rlabrecque/Steamworks.NET-Test/pull/9


Make Swift SDK use a struct for sync configuration

Right now, the Swift SDK uses a (SyncUser, URL) tuple to define a configuration for sync. I propose this be changed to a SyncConfiguration struct, much like how Objective-C works. Doing so will give us room to add more configuration options in the future without forcing breaking changes or creating awkwardly large tuple types.
We made this design decision quite a few months ago, before the overall shape of the binding APIs was clear, and never revisited the decision. We should do so before leaving beta.
@jpsim @bdash @tgoyne

I agree this is something that needs to happen asap, before the platform drops its beta status.


Resource references don't seem to work when combined with for_each

In https://github.com/orgs/cloud-custodian/discussions/9181 there is a question about checking S3 server-side encryption settings that are defined in separate resources. That works fine for individual buckets:
resource "aws_s3_bucket" "sse_enabled_separately" {
  bucket = "sse_enabled_separately"
}

resource "aws_s3_bucket_server_side_encryption_configuration" "sse_enabled_separately" {
  bucket = aws_s3_bucket.sse_enabled_separately.id

  rule {
    apply_server_side_encryption_by_default {
      sse_algorithm = "AES256"
    }
  }
}

But if we add a for_each the resulting graph doesn't seem to include references, so the c7n-left traverse filter can't do its magic.
locals {
  sse_separate = toset(["mybucket"])
}

resource "aws_s3_bucket" "sse_separate_for_each" {
  for_each            = local.sse_separate
  bucket              = each.key
  object_lock_enabled = true
}

resource "aws_s3_bucket_server_side_encryption_configuration" "sse_separate_for_each" {
  for_each = aws_s3_bucket.sse_separate_for_each
  bucket   = local.sse_separate

  # References are also missing for these variations:
  # bucket = each.key
  # bucket = each.value.id

  rule {
    apply_server_side_encryption_by_default {
      sse_algorithm = "AES256"
    }
  }
}

any updates?

this might be addressed with the fixes for #193 as it didn't appear toset was being evaluated properly

confirmed it was resolved, re running c7n-left dump
{
  "input_vars": {},
  "graph": {
    "aws_s3_bucket": [
      {
        "__tfmeta": {
          "filename": "main.tf",
          "label": "aws_s3_bucket",
          "line_end": 9,
          "line_start": 5,
          "path": "aws_s3_bucket.sse_separate_for_each[\"mybucket\"]",
          "type": "resource"
        },
        "bucket": "mybucket",
        "for_each": [
          "mybucket"
        ],
        "id": "e7212cfa-ee44-4365-9e43-85ba2b487d87",
        "object_lock_enabled": true
      }
    ],
    "aws_s3_bucket_server_side_encryption_configuration": [
      {
        "__tfmeta": {
          "filename": "main.tf",
          "label": "aws_s3_bucket_server_side_encryption_configuration",
          "line_end": 24,
          "line_start": 11,
          "path": "aws_s3_bucket_server_side_encryption_configuration.sse_separate_for_each[\"mybucket\"]",
          "type": "resource"
        },
        "bucket": [
          "mybucket"
        ],
        "for_each": {
          "__attribute__": "aws_s3_bucket.sse_separate_for_each",
          "__name__": "sse_separate_for_each[\"mybucket\"]",
          "__ref__": "e7212cfa-ee44-4365-9e43-85ba2b487d87",
          "__type__": "aws_s3_bucket"
        },
        "id": "af563c92-82b0-4651-a66b-9ab001ac4274",
        "rule": {
          "__tfmeta": {
            "filename": "main.tf",
            "line_end": 23,
            "line_start": 19
          },
          "apply_server_side_encryption_by_default": {
            "__tfmeta": {
              "filename": "main.tf",
              "line_end": 22,
              "line_start": 20
            },
            "id": "d38ed691-99e4-48ee-8966-0bb9e2aad8a4",
            "sse_algorithm": "AES256"
          },
          "id": "82337b6f-30a1-451f-935a-066762cf52bc"
        }
      }
    ],
    "locals": [
      {
        "__tfmeta": {
          "filename": "main.tf",
          "line_end": 3,
          "line_start": 1,
          "path": "locals"
        },
        "id": "b256eaa8-2348-4fef-8110-bed54198208d",
        "sse_separate": [
          "mybucket"
        ]
      }
    ]
  }
}


Document bind-property-event syntax and add a note about lambda expressions

Fixes https://github.com/aspnet/Docs/issues/10769 and https://github.com/aspnet/Docs/issues/10768

Thanks @Rick-Anderson. Looks good. Please merge when @danroth27 is happy.


[MDETR] Refactor model classes

Stack from ghstack (oldest at bottom):

#200
#199
#198
#181
-> #180
#179

Summary: Create new classes for phrase grounding and VQA tasks. Move contrastive alignment
projections out of the core model. Add new loss classes for VQA.
Test plan:
Note that we modified the test results in test_mdetr, but it is just a revert to the numbers
prior to PR #138 (where we initially added the contrastive alignment projections to the model class).
python -m pytest -vv

E2E test in subsequent PRs
Differential Revision: D38160122

Codecov Report

Merging #180 (cd4cdc2) into gh/ebsmothers/9/base (6aab409) will decrease coverage by 0.08%.
The diff coverage is 85.71%.

@@                   Coverage Diff                    @@
##           gh/ebsmothers/9/base     #180      +/-   ##
========================================================
- Coverage                 92.97%   92.89%   -0.09%
========================================================
  Files                        47       47
  Lines                      2805     2801       -4
========================================================
- Hits                       2608     2602       -6
- Misses                      197      199       +2

Impacted Files
Coverage Δ

torchmultimodal/models/mdetr.py
92.34% <85.71%> (-1.03%)
:arrow_down:

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 6aab409...cd4cdc2. Read the comment docs.

@ebsmothers has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.

@ebsmothers has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.

@ebsmothers has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.

@ebsmothers has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.

@ebsmothers has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.


Upgrade of k8s (CVE-2020-8564, CVE-2020-8565, bsc#1177660, bsc#1177661)

Why is this PR needed?
This PR is required to fix SUSE/avant-garde#1993 and fix SUSE/avant-garde#1995.
What does this PR do?
Multiple security issues have been discovered in Kubernetes that allow for the exposure of secret data in logs, when verbose logging options are enabled. Ungrading k8s to include upstream fixes.
Related info

SUSE/avant-garde#1993
SUSE/avant-garde#1995
bsc#1177660
bsc#1177661
CVE-2020-8564
CVE-2020-8565

This PR is being tested against the Devel:CaaSP:4.5:Branches:k8s_upgrade project

As talked in the chat, we need to monitor all modules and wait for them to all have a v1.18.10 release to bump the dependencies.

As talked in the chat, we need to monitor all modules and wait for them to all have a v1.18.10 release to bump the dependencies.
Issue SUSE/avant-garde#2008

Right then gonna proceed with this PR and we track modules bump on the specific card.


No cache headers for model info and scores

@akosiaris, Hey can you check this?

Added one minor comment about the Date format, rest LGTM

Self merging since receiving a LGTM and addressing the last note.  Thanks @akosiaris!


[Feature] Support docker over ssh

switches to using docker/cli @ 19.03
introduces helper function for getting the docker client so docker over SSH can be supported
also attempt to use remote docker host for API host info for kubeconfig

Hey @ekristen , are you still working on this? :)

@iwilltry42 I got it working locally, but didn't have the time to see to the requested changes just yet. Thanks for bringing it back to my attention. I'll see if I can find some time to come back to this.

Any progress on this?

Any progress on this?

I've just rebased this PR on top of main. It seems to be working locally for me. @iwilltry42 could you take a look when you have some time?

I've just rebased this PR on top of main. It seems to be working locally for me. @iwilltry42 could you take a look when you have some time?

@iwilltry42 thanks for finishing it up and merging. Apologies for my lack of response. I've been extraordinarily busy and have been playing catch up on email this week.

All thanks to @inercia here 👍
Good job of the both of you 🙂


#163683475 Feature edits a party name by ID

What does this PR do?

Adds a feature for the user to edit a specific political parties

Description of Task to be completed?
User/Business Value: As a user I should be able to edit  a political party's name  By ID
Acceptance Criteria
WHEN a user sends a PATCH request to the /api/v1/parties/<int:party-id>/name route
THEN the political party id provided by the user should be renamed and name returned as part of the response
{
    “status” : Integer  ,
    “data” : [
         {
              “id” : Integer,
              “name” : String (new name)
           }
    ]
}

or
{
    “status” : integer ,
    “error” : “String: relevant-error-message”
}

How the app should be tested
On Postaman App:
On a browswer, visit
On a  terminal (Linux):

Install and set up git, python3 and a virtual environment

In a virtual environment,

Install curl

Clone the repository git clone https://github.com/artorious/politico-electoral-commission-api.git

Run git checkout ft-fetch-specific-party-163683249

Run cd politico-electoral-commission-api

Run pip3 isntall -r requirements.txt to install dependancies

Run python3 run.py

To post sample data, Run

curl --location --request POST "http://<IP_ADDRESS>:5000/api/v1/parties" \
  --header "Content-Type: application/json" \
  --data "{
    \"name\": \"Jubilee\",
    \"hqAddress\": \"Jubilee Tower, Pangani, Thika Road\",
    \"logoUrl\": \"/static/jubilee.jpeg\",
    \"Party members\": 225
}"

To Edit data:
curl --location --request PATCH "http://<IP_ADDRESS>:5000/api/v1/parties/1/name" \
  --header "Content-Type: application/json" \
  --data "{\"name\": \"Orange\"}"

Any background context you want to provide?
The application is a Restful Flask API
What are the relevant pivotal tracker stories?
#163683475
Screenshots

Questions:

:+1:

good job


setQueryData documentation not available

Describe the bug
There is no documentation for setQueryData
To Reproduce
Steps to reproduce the behavior:

Go to https://react-query.tanstack.com/
Type "setQueryData" in search bar
Click first item
See page that says "Oh snap!"

Expected behavior
I need documentation on how this function works. I'm having problems with the data I save being marked stale.
Screenshots

Desktop (please complete the following information):

OS: OSX
Browser: Chrome

This is because algolia has not finished reindexing the new v3 documentation. Should be resolved in the next 24 hours.

@tannerlinsley does this mean the v2 documentation is going to no longer be available with the release of v3? My team wont be able to slot an upgrade for a few weeks so would be really helpful to have continued access to the old docs.

I will contact algolia asap about it and see what can be done 👍

Thank you!! 💯


Starting Threebot fails during getting or installing auth package

Trying to start a Threebot on Ubuntu 20.04 container running on the Grid. Cloned current js-sdk repo (32c5f7a65279dc677151a0e987e9e8a376b7fb5b) and followed poetry install instructions. Upon running threebot start, fails with error:
jumpscale.core.exceptions.exceptions.Runtime: Error happened during getting or installing auth package, the detailed error is an integer is required (got type bytes)
Full stack trace: https://pastebin.com/39uadVmc

@scottyeager can you please rm -rf ~/.config/jumpscale/secureconfig/jumpscale/servers/threebot I doubt it's an old configurations from previous setup (when you installed using pip at that point)

Thanks @xmonader. I removed everything, including the full jumpscale config directory, the pip install, and the virtual environment created by poetry, but am still seeing this error even with a fresh start.

@scottyeager I raised the priority to critical
my suspicion is because of your previous install can we please check the value of which threebot out of the poetry shell? if any results comes up this means your removal of the pip installed version wasn't successful
It should only be visible within the shell

example within the shell (where threebot bin is found)

[xmon@arch js-sdk]$ poetry shell
Spawning shell within /home/xmon/.cache/pypoetry/virtualenvs/js-sdk-NQNSzBV5-py3.8
[xmon@arch js-sdk]$ . /home/xmon/.cache/pypoetry/virtualenvs/js-sdk-NQNSzBV5-py3.8/bin/activate
(js-sdk-NQNSzBV5-py3.8) [xmon@arch js-sdk]$ which threebot
/home/xmon/.cache/pypoetry/virtualenvs/js-sdk-NQNSzBV5-py3.8/bin/threebot

if that's the case please make sure to remove your js config rm -rf ~/.config/jumpscale/secureconfig/jumpscale/servers/threebot and go to js-sdk dir, pull development branch, poetry update && poetry install and then threebot start --local

example outside of the shell (where threebot bin not found)

[xmon@arch js-sdk]$ which threebot
which: no threebot in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)

if the problem stands, would you be so kind and attach the following

which threebot
tree ~/.config/jumpscale (tree might no be installed by default on your system)
tree ~/.sandbox/config
tmux at and paste logs from threebot window

if the problem still stands, I also reached out on telegram to investigate more. please send me your availability.
Thank you for your patience.

Thanks for your attention to this @xmonader. The outputs you requested are below. Just to make sure there's no confusion, this is separate from my other open issue (Arch running on my laptop). This case is an Ubuntu 20.04 container running on the Grid, which I thought I'd try as Ubuntu appears to be better tested/supported.

which threebot outside poetry: no results
which threebot within poetry: /root/.cache/pypoetry/virtualenvs/js-sdk-t4Q6A7eq-py3.8/bin/threebot
tree ~/.config/jumpscale:

/root/.config/jumpscale/
|-- config.toml
|-- logs
|   |-- fs
|   |   `-- log.txt
|   `-- redis
|-- privatekey.priv
|-- privatekey.pub
`-- secureconfig
    `-- jumpscale
        |-- core
        |   `-- identity
        |       `-- Identity
        |           `-- default
        |               `-- data
        |-- sals
        |   `-- nginx
        |       `-- nginx
        |           `-- NginxConfig
        |               `-- main
        |                   `-- data
        |-- servers
        |   `-- threebot
        |       `-- threebot
        |           `-- ThreebotServer
        |               `-- default
        |                   `-- data
        `-- tools
            `-- startupcmd
                `-- startupcmd
                    `-- StartupCmd
                        `-- nginx_main
                            `-- data

I don't have a ~/.sandbox directory
I don't see a tmux window for threebot

I could reproduce using the following

Create ubuntu solution with the chatflows version 20.04

Install on system using development branch as the following: https://github.com/threefoldtech/js-sdk/blob/development/docs/wiki/quick_start.md#ubuntu

Start threebot server, threebot start

you will get that error

js-sdk-vpmH-Z_5-py3.8) root@zosv2tst-4:~/js-sdk# threebot start
2020-08-19 11:23:15.736 | INFO     | jumpscale.entry_points.threebot:check_for_bins:34 - ✅ binaries nginx,redis-server,tmux,git required are installed.
--- Logging error in Loguru Handler #1 ---
Record was: {'elapsed': datetime.timedelta(microseconds=5408), 'exception': None, 'extra': {'appname': 'init', 'category': '', 'data': None}, 'file': 'threebot.py', 'function': 'check_for_bins', 'level': 'INFO', 'line': 34, 'message': '✅ binaries nginx,redis-server,tmux,git required are installed.', 'module': 'threebot', 'name': 'jumpscale.entry_points.threebot', 'process': '21764', 'thread': '139921472061504', 'time': datetime(2020, 8, 19, 11, 23, 15, 736534, tzinfo=datetime.timezone(datetime.timedelta(seconds=7200), 'EET'))}
Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/loguru/_handler.py", line 144, in emit
    self._writer(str_record)
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/src/js-ng/jumpscale/core/logging/logging.py", line 166, in _handle
    if not self._db.is_running():
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/src/js-ng/jumpscale/clients/redis/redis.py", line 51, in is_running
    return self.redis_client.ping()
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/redis/client.py", line 1378, in ping
    return self.execute_command('PING')
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/redis/client.py", line 898, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/redis/connection.py", line 1192, in get_connection
    connection.connect()
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/redis/connection.py", line 559, in connect
    sock = self._connect()
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/redis/connection.py", line 584, in _connect
    for res in socket.getaddrinfo(self.host, self.port, self.socket_type,
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/gevent/_socketcommon.py", line 212, in getaddrinfo
    addrlist = get_hub().resolver.getaddrinfo(host, port, family, type, proto, flags)
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/gevent/resolver/thread.py", line 65, in getaddrinfo
    return self.pool.apply(_socket.getaddrinfo, args, kwargs)
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/gevent/pool.py", line 159, in apply
    return self.spawn(func, *args, **kwds).get()
  File "src/gevent/event.py", line 268, in gevent._event.AsyncResult.get
  File "src/gevent/event.py", line 296, in gevent._event.AsyncResult.get
  File "src/gevent/event.py", line 286, in gevent._event.AsyncResult.get
  File "src/gevent/event.py", line 266, in gevent._event.AsyncResult._raise_exception
  File "src/gevent/event.py", line 211, in gevent._event.AsyncResult.exc_info.__get__
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/gevent/_tblib.py", line 371, in g
    return f(a)
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/gevent/_tblib.py", line 432, in load_traceback
    return loads(s)
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/gevent/_tblib.py", line 337, in unpickle_traceback
    return ret.as_traceback()
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/gevent/_tblib.py", line 202, in as_traceback
    code = CodeType(
TypeError: an integer is required (got type bytes)
--- End of logging error ---
2020-08-19 11:23:15.787 | DEBUG    | jumpscale.entry_points.threebot:test_privileged_ports_bind:58 - nginx: the configuration file /tmp/tmp2acyawsg syntax is ok
2020-08-19 11:23:15.788 | DEBUG    | jumpscale.entry_points.threebot:test_privileged_ports_bind:58 - nginx: configuration file /tmp/tmp2acyawsg test is successful
2020-08-19 11:23:17.991 | ERROR    | jumpscale.tools.errorhandler.errorhandler:_handle_exception:55 - TypeError: an integer is required (got type bytes)
Traceback (most recent call last):
> File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/bin/threebot", line 11, in <module>
    load_entry_point('js-sdk', 'console_scripts', 'threebot')()
    └ <function load_entry_point at 0x7f4201ff9670>
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
           │    │     │       └ {}
           │    │     └ ()
           │    └ <function BaseCommand.main at 0x7f42012094c0>
           └ <Group cli>
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
         │    │      └ <click.core.Context object at 0x7f4201dff370>
         │    └ <function MultiCommand.invoke at 0x7f420121e280>
         └ <Group cli>
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
           │               │       │       │      └ <click.core.Context object at 0x7f42024ea580>
           │               │       │       └ <function Command.invoke at 0x7f4201209e50>
           │               │       └ <Command start>
           │               └ <click.core.Context object at 0x7f42024ea580>
           └ <function MultiCommand.invoke.<locals>._process_result at 0x7f42026231f0>
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           │   │      │    │           │   └ {'identity': None, 'domain': None, 'email': None, 'development': False, 'background': False, 'local': False}
           │   │      │    │           └ <click.core.Context object at 0x7f42024ea580>
           │   │      │    └ <function start at 0x7f41febfc040>
           │   │      └ <Command start>
           │   └ <function Context.invoke at 0x7f420121df70>
           └ <click.core.Context object at 0x7f42024ea580>
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
           │         │       └ {'identity': None, 'domain': None, 'email': None, 'development': False, 'background': False, 'local': False}
           │         └ ()
           └ <function start at 0x7f41febfc040>

  File "/root/js-sdk/jumpscale/entry_points/threebot.py", line 152, in start
    j.servers.threebot.start_default(wait=True, local=local, domain=domain, email=email)
    │ │                                         │     │      │      │       │     └ None
    │ │                                         │     │      │      │       └ None
    │ │                                         │     │      │      └ None
    │ │                                         │     │      └ None
    │ │                                         │     └ False
    │ │                                         └ False
    │ └ <property object at 0x7f4201224310>
    └ <jumpscale.loader.J object at 0x7f420121c520>

  File "/root/js-sdk/jumpscale/servers/threebot/__init__.py", line 31, in start_default
    server.start(wait=wait)
    │      │     │    └ True
    │      │     └ True
    │      └ <function ThreebotServer.start at 0x7f41fdf08040>
    └ ThreebotServer(_Base__instance_name='default', _Base__parent=None, ___package_manager=<jumpscale.core.base.factory.jumpscales...

  File "/root/js-sdk/jumpscale/servers/threebot/threebot.py", line 638, in start
    self.rack.start()
    │    └ <property object at 0x7f41fdf058b0>
    └ ThreebotServer(_Base__instance_name='default', _Base__parent=None, ___package_manager=<jumpscale.core.base.factory.jumpscales...

  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/src/js-ng/jumpscale/servers/rack/rack.py", line 60, in start
    self._start(server_name)
    │    │      └ 'gedis'
    │    └ <function ServerRack._start at 0x7f41fdf08ee0>
    └ ServerRack(_Base__instance_name=None, _Base__parent=None, _factories={}, _running_event=<gevent._event.Event object at 0x7f41...

  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/src/js-ng/jumpscale/servers/rack/rack.py", line 15, in _start
    self._servers[server_name].start()
    │    │        └ 'gedis'
    │    └ {'gedis': GedisServer(_Base__instance_name='threebot', _Base__parent=None, _core_actor=<jumpscale.servers.gedis.systemactor.C...
    └ ServerRack(_Base__instance_name=None, _Base__parent=None, _factories={}, _running_event=<gevent._event.Event object at 0x7f41...

  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/src/js-ng/jumpscale/servers/gedis/server.py", line 192, in start
    j.application.start("gedis")
    │ └ <property object at 0x7f4201224040>
    └ <jumpscale.loader.J object at 0x7f420121c520>

  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/src/js-ng/jumpscale/core/application/application.py", line 20, in start
    if j.core.db.is_running():
       │ └ <property object at 0x7f4201224180>
       └ <jumpscale.loader.J object at 0x7f420121c520>

  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.8/src/js-ng/jumpscale/clients/redis/redis.py", line 51, in is_running
    return self.redis_client.ping()
           │    └ <property object at 0x7f41feafe720>
           └ RedisClient(_Base__instance_name='main', _Base__parent=None, _RedisClient__client=Redis<ConnectionPool<Connection<host=localh...

it's caused from this ping request: https://github.com/threefoldtech/js-ng/blob/b33c525ee59072521999e9bc3b86e63bc4ee5e8b/jumpscale/clients/redis/redis.py#L51
best guess a problem with the flist

@scottyeager @waleedhammam  did some checking, apparently, the problem is caused by the /etc/hosts file doesn't have the appropriate data. Can you please fill it with the
<IP_ADDRESS> localhost
<IP_ADDRESS> YOUR_CONTAINER_HOST_NAME

I updated the hosts file, and it works! Thanks @xmonader and @waleedhammam :+1:

Good to know :) thanks!


Building dovecot debian package fails on test suite (Unix Sockets?)

I am currently running Windows 10 build 14986.1001.
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty

I tried to compile the latest version of Dovecot from Debian for Ubuntu.
I downloaded the original tar and debian files from https://packages.debian.org/stretch/dovecot-core
Sadly, one of the tests (/dovecot-2.2.27/src/lib-program-client/test-program-client-remote) failed to run.
It appears that this test fails (https://github.com/dovecot/core/blob/release-2.2.27/src/lib-program-client/test-program-client-remote.c#L257-L286)
strace-log.txt
This is the output that is left behind:
Panic: file test-program-client-remote.c: line 206 (test_program_connected): assertion failed: (server->client == NULL)
Error: Raw backtrace: ./test-program-client-remote(+0x13830) [0x7fefe3c13830] -> ./test-program-client-remote(default_fatal_handler+0x2a) [0x7fefe3c1389a] -> ./test-program-client-remote(i_fatal+0) [0x7fefe3c0b6af] -> ./test-program-client-remote(+0xc4e5) [0x7fefe3c0c4e5] -> ./test-program-client-remote(io_loop_call_io+0x52) [0x7fefe3c1b2e2] -> ./test-program-client-remote(io_loop_handler_run_internal+0xe7) [0x7fefe3c1c657] -> ./test-program-client-remote(io_loop_handler_run+0x3c) [0x7fefe3c1b37c] -> ./test-program-client-remote(io_loop_run+0x38) [0x7fefe3c1b538] -> ./test-program-client-remote(+0xc1aa) [0x7fefe3c0c1aa] -> ./test-program-client-remote(+0xf6f1) [0x7fefe3c0f6f1] -> ./test-program-client-remote(test_run+0x11) [0x7fefe3c0ffe1] -> ./test-program-client-remote(main+0x5c) [0x7fefe3c0ba4c] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fefe3451f45] -> ./test-program-client-remote(+0xbd89) [0x7fefe3c0bd89]
Aborted (core dumped)

Here's repro steps:
mkdir somewhere && cd somewhere
wget http://http.debian.net/debian/pool/main/d/dovecot/dovecot_2.2.27.orig.tar.gz
tar xf dovecot_2.2.27.orig.tar.gz
cd dovecot-2.2.27
sudo apt-get install libssl-dev # maybe other stuff
./configure
make -j8
strace -ff make check 2> dovecot.strace

My strace was a little different than the OP attachment, but fails on the same test.  WSL gets a timeout on epoll_wait() while native gets a hit. Here's where they diverge....
WSL 15019:
[pid 11211] socket(PF_LOCAL, SOCK_STREAM, 0) = 4
[pid 11211] bind(4, {sa_family=AF_LOCAL, sun_path="program-client-test.sock"}, 110) = 0
[pid 11211] listen(4, 100)              = 0
[pid 11211] epoll_create(128)           = 5
[pid 11211] fcntl(5, F_GETFD)           = 0
[pid 11211] fcntl(5, F_SETFD, FD_CLOEXEC) = 0
[pid 11211] epoll_ctl(5, EPOLL_CTL_ADD, 4, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=9167184, u64=9167184}}) = 0
[pid 11211] fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
[pid 11211] write(1, "test_program_setup ............."..., 76) = 76
[pid 11211] gettimeofday({1485797681, 308138}, NULL) = 0
[pid 11211] socket(PF_LOCAL, SOCK_STREAM, 0) = 6
[pid 11211] fcntl(6, F_GETFL)           = 0x2 (flags O_RDWR)
[pid 11211] fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 11211] connect(6, {sa_family=AF_LOCAL, sun_path="program-client-test.sock"}, 110) = 0
[pid 11211] fcntl(6, F_GETFL)           = 0x802 (flags O_RDWR|O_NONBLOCK)
[pid 11211] fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 11211] epoll_ctl(5, EPOLL_CTL_ADD, 6, {EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=9169888, u64=9169888}}) = 0
[pid 11211] gettimeofday({1485797681, 308879}, NULL) = 0
[pid 11211] gettimeofday({1485797681, 308964}, NULL) = 0
[pid 11211] epoll_wait(5, [{EPOLLOUT, {u32=9169888, u64=9169888}}, {EPOLLIN, {u32=9167184, u64=9167184}}], 2, 1000) = 2
[pid 11211] gettimeofday({1485797681, 309161}, NULL) = 0
[pid 11211] epoll_ctl(5, EPOLL_CTL_DEL, 6, 0x7fffee089790) = 0
[pid 11211] lseek(6, 0, SEEK_CUR)       = -1 ESPIPE (Illegal seek)
[pid 11211] getsockname(6, {sa_family=AF_LOCAL, NULL}, [2]) = 0
[pid 11211] fstat(6, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
[pid 11211] epoll_ctl(5, EPOLL_CTL_ADD, 6, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=9169888, u64=9169888}}) = 0
[pid 11211] write(6, "VERSION\tscript\t3\t0\n-\ntest_progra"..., 55) = 55
[pid 11211] read(6, 0x8bf180, 8192)     = -1 EAGAIN (Resource temporarily unavailable)
[pid 11211] shutdown(6, SHUT_WR)        = 0
[pid 11211] accept(4, {sa_family=AF_LOCAL, NULL}, [2]) = 7
[pid 11211] fstat(7, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
[pid 11211] lseek(7, 0, SEEK_CUR)       = -1 ESPIPE (Illegal seek)
[pid 11211] getsockname(7, {sa_family=AF_LOCAL, sun_path="program-client-test.sock"}, [27]) = 0
[pid 11211] epoll_ctl(5, EPOLL_CTL_ADD, 7, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=9181120, u64=9181120}}) = 0
[pid 11211] gettimeofday({1485797681, 310431}, NULL) = 0
[pid 11211] gettimeofday({1485797681, 310513}, NULL) = 0
[pid 11211] epoll_wait(5, [{EPOLLIN, {u32=9181120, u64=9181120}}], 3, 5000) = 1
[pid 11211] gettimeofday({1485797681, 310700}, NULL) = 0
[pid 11211] read(7, "VERSION\tscript\t3\t0\n-\ntest_progra"..., 8192) = 55
[pid 11211] gettimeofday({1485797681, 310908}, NULL) = 0
[pid 11211] epoll_wait(5, [], 3, 5000)  = 0
[pid 11211] gettimeofday({1485797686, 312111}, NULL) = 0
[pid 11211] write(1, "test: random seed #1 was 1485569"..., 36) = 36
[pid 11211] write(2, "Error: program `program-client-t"..., 77Error: program `program-client-test.sock' execution timed out (> 5000 msecs)
) = 77

Native:
[pid 26194] socket(PF_LOCAL, SOCK_STREAM, 0) = 4
[pid 26194] bind(4, {sa_family=AF_LOCAL, sun_path="program-client-test.sock"}, 110) = 0
[pid 26194] listen(4, 100)              = 0
[pid 26194] epoll_create(128)           = 5
[pid 26194] fcntl(5, F_GETFD)           = 0
[pid 26194] fcntl(5, F_SETFD, FD_CLOEXEC) = 0
[pid 26194] epoll_ctl(5, EPOLL_CTL_ADD, 4, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=34877776, u64=34877776}}) = 0
[pid 26194] fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
[pid 26194] write(1, "test_program_setup ............."..., 76) = 76
[pid 26194] socket(PF_LOCAL, SOCK_STREAM, 0) = 6
[pid 26194] fcntl(6, F_GETFL)           = 0x2 (flags O_RDWR)
[pid 26194] fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26194] connect(6, {sa_family=AF_LOCAL, sun_path="program-client-test.sock"}, 110) = 0
[pid 26194] fcntl(6, F_GETFL)           = 0x802 (flags O_RDWR|O_NONBLOCK)
[pid 26194] fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26194] epoll_ctl(5, EPOLL_CTL_ADD, 6, {EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=34880480, u64=34880480}}) = 0
[pid 26194] epoll_wait(5, [{EPOLLIN, {u32=34877776, u64=34877776}}, {EPOLLOUT, {u32=34880480, u64=34880480}}], 2, 1000) = 2
[pid 26194] accept(4, {sa_family=AF_LOCAL, NULL}, [2]) = 7
[pid 26194] fstat(7, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
[pid 26194] lseek(7, 0, SEEK_CUR)       = -1 ESPIPE (Illegal seek)
[pid 26194] getsockname(7, {sa_family=AF_LOCAL, sun_path="program-client-test.sock"}, [27]) = 0
[pid 26194] epoll_ctl(5, EPOLL_CTL_ADD, 7, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=34882448, u64=34882448}}) = 0
[pid 26194] epoll_ctl(5, EPOLL_CTL_DEL, 6, 0x7ffe76d2cbc0) = 0
[pid 26194] lseek(6, 0, SEEK_CUR)       = -1 ESPIPE (Illegal seek)
[pid 26194] getsockname(6, {sa_family=AF_LOCAL, NULL}, [2]) = 0
[pid 26194] fstat(6, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
[pid 26194] epoll_ctl(5, EPOLL_CTL_ADD, 6, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=34880480, u64=34880480}}) = 0
[pid 26194] write(6, "VERSION\tscript\t3\t0\n-\ntest_progra"..., 55) = 55
[pid 26194] read(6, 0x2144930, 8192)    = -1 EAGAIN (Resource temporarily unavailable)
[pid 26194] shutdown(6, SHUT_WR)        = 0
[pid 26194] epoll_wait(5, [{EPOLLIN, {u32=34882448, u64=34882448}}], 3, 5000) = 1
[... everything is groovy from here]

Probably totally unrelated, but it's strange gettimeofday() only gets called WSL. AFAIK all libraries on both WSL and native are in sync.

<3 thanks @benhillis
Any idea what build this was fixed on? Should I update my 15063.296, or can I try building this again now?


Focus search results list

When I am paging through the search results list, and after I have moved focus to the editor, I would like to be able to move focus back to the search result list, so I can continue to page through the results using my arrow keys.
Using "focus into side bar" will focus the input. Perhaps it should instead return focus to the last element within the side bar to have focus.
I am aware of the "focus next/previous search result" commands, however this doesn't focus the list per se, it just selects the search result to show it in the editor. This is not a replacement for paging the list using the arrow keys, e.g. without focusing the list, it's not possible to replace all in file.
Perhaps a separate command could be provided to give focus to the currently selected search result in the list, e.g.

"Search: Focus currently selected result in list"
"Search: Focus list" (and implicitly return focus to the currently selected result)

A "Search: Focus list" command sounds like a good idea, I would take a PR.

I'd like to help. How can I find the file that contains the "focus into side bar" command?

I've wrote the command, but I can't run yarn, sorry for this, I'm new to the tool.
I get the flowing output when I runt yarn run watch
[dan@dan-laptop vscode]$ yarn run watch
yarn run v1.7.0
$ gulp watch --max_old_space_size=4095
[21:15:55] Node flags detected: --max_old_space_size=4095
[21:15:55] Respawned to PID: 3583
[21:15:58] Using gulpfile ~/git/vscode/gulpfile.js
[21:15:58] Starting 'clean-client'...
[21:15:58] Starting 'clean-extension:configuration-editing'...
[21:15:58] Starting 'clean-extension:css-language-features-client'...
[21:15:58] Starting 'clean-extension:css-language-features-server'...
[21:15:58] Starting 'clean-extension:emmet'...
[21:15:58] Starting 'clean-extension:extension-editing'...
[21:15:58] Starting 'clean-extension:git'...
[21:15:58] Starting 'clean-extension:grunt'...
[21:15:58] Starting 'clean-extension:gulp'...
[21:15:58] Starting 'clean-extension:html-language-features-client'...
[21:15:58] Starting 'clean-extension:html-language-features-server'...
[21:15:58] Starting 'clean-extension:jake'...
[21:15:58] Starting 'clean-extension:json-language-features-client'...
[21:15:58] Starting 'clean-extension:json-language-features-server'...
[21:15:58] Starting 'clean-extension:markdown-language-features-preview-src'...
[21:15:58] Starting 'clean-extension:markdown-language-features'...
[21:15:58] Starting 'clean-extension:merge-conflict'...
[21:15:58] Starting 'clean-extension:npm'...
[21:15:58] Starting 'clean-extension:php-language-features'...
[21:15:58] Starting 'clean-extension:python'...
[21:15:58] Starting 'clean-extension:search-rg'...
[21:15:58] Starting 'clean-extension:typescript-basics-test-colorize-fixtures'...
[21:15:58] Starting 'clean-extension:typescript-language-features'...
[21:15:58] Starting 'clean-extension:vscode-api-tests'...
[21:15:58] Starting 'clean-extension:vscode-colorize-tests'...
[21:15:58] Finished 'clean-extension:css-language-features-client' after 3.58 ms
[21:15:58] Starting 'watch-extension:css-language-features-client'...
[21:15:58] Starting compilation...
[21:15:58] Finished 'clean-extension:grunt' after 29 ms
[21:15:58] Starting 'watch-extension:grunt'...
[21:15:58] Finished 'clean-extension:gulp' after 32 ms
[21:15:58] Starting 'watch-extension:gulp'...
[21:15:58] Finished 'clean-extension:jake' after 35 ms
[21:15:58] Starting 'watch-extension:jake'...
[21:15:58] Finished 'clean-extension:json-language-features-client' after 42 ms
[21:15:58] Starting 'watch-extension:json-language-features-client'...
[21:15:58] Finished 'clean-extension:markdown-language-features-preview-src' after 45 ms
[21:15:58] Starting 'watch-extension:markdown-language-features-preview-src'...
[21:15:58] Finished 'clean-extension:markdown-language-features' after 47 ms
[21:15:58] Starting 'watch-extension:markdown-language-features'...
[21:15:58] Finished 'clean-extension:npm' after 48 ms
[21:15:58] Starting 'watch-extension:npm'...
[21:15:58] Finished 'clean-extension:php-language-features' after 50 ms
[21:15:58] Starting 'watch-extension:php-language-features'...
[21:15:58] Finished 'clean-extension:python' after 52 ms
[21:15:58] Starting 'watch-extension:python'...
[21:15:58] Finished 'clean-extension:search-rg' after 54 ms
[21:15:58] Starting 'watch-extension:search-rg'...
[21:15:58] Finished 'clean-extension:typescript-basics-test-colorize-fixtures' after 58 ms
[21:15:58] Starting 'watch-extension:typescript-basics-test-colorize-fixtures'...
[21:15:58] Finished 'clean-extension:typescript-language-features' after 60 ms
[21:15:58] Starting 'watch-extension:typescript-language-features'...
[21:15:58] Finished 'clean-extension:vscode-api-tests' after 62 ms
[21:15:58] Starting 'watch-extension:vscode-api-tests'...
[21:15:58] Finished 'clean-extension:configuration-editing' after 67 ms
[21:15:58] Starting 'watch-extension:configuration-editing'...
[21:15:58] Finished 'clean-extension:css-language-features-server' after 78 ms
[21:15:58] Starting 'watch-extension:css-language-features-server'...
[21:15:58] Finished 'clean-extension:extension-editing' after 80 ms
[21:15:58] Starting 'watch-extension:extension-editing'...
[21:15:58] Finished 'clean-extension:emmet' after 83 ms
[21:15:58] Starting 'watch-extension:emmet'...
[21:15:58] Finished 'clean-extension:git' after 85 ms
[21:15:58] Starting 'watch-extension:git'...
[21:15:58] Finished 'clean-extension:html-language-features-server' after 87 ms
[21:15:58] Starting 'watch-extension:html-language-features-server'...
[21:15:58] Finished 'clean-extension:html-language-features-client' after 89 ms
[21:15:58] Starting 'watch-extension:html-language-features-client'...
[21:15:58] Finished 'clean-extension:json-language-features-server' after 94 ms
[21:15:58] Starting 'watch-extension:json-language-features-server'...
[21:15:58] Finished 'clean-extension:merge-conflict' after 102 ms
[21:15:58] Starting 'watch-extension:merge-conflict'...
[21:15:58] Finished 'clean-extension:vscode-colorize-tests' after 109 ms
[21:15:58] Starting 'watch-extension:vscode-colorize-tests'...
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: watch /home/dan/git/vscode/extensions/html-language-features/server/src ENOSPC
    at _errnoException (util.js:992:11)
    at FSWatcher.start (fs.js:1382:19)
    at Object.fs.watch (fs.js:1408:11)
    at createFsWatchInstance (/home/dan/git/vscode/build/lib/watch/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/home/dan/git/vscode/build/lib/watch/node_modules/chokidar/lib/nodefs-handler.js:80:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/dan/git/vscode/build/lib/watch/node_modules/chokidar/lib/nodefs-handler.js:228:14)
    at FSWatcher.NodeFsHandler._handleDir (/home/dan/git/vscode/build/lib/watch/node_modules/chokidar/lib/nodefs-handler.js:407:19)
    at FSWatcher.<anonymous> (/home/dan/git/vscode/build/lib/watch/node_modules/chokidar/lib/nodefs-handler.js:455:19)
    at FSWatcher.<anonymous> (/home/dan/git/vscode/build/lib/watch/node_modules/chokidar/lib/nodefs-handler.js:460:16)
    at FSReqWrap.oncomplete (fs.js:153:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@roblourens I attempted to address this issue. Registered a Search: Focus List command.
(this is my first attempted open source contribution ever, I am aware that @stoiandan has already committed to solving this and is working on it, but I wanted to give it a try)

No, I've solved it by running sudo sysctl -p, it's a known Linux problem. Well, if @yogeshmangaj  solved it, I guess I'll look at another issue.


Sequences And Arrays: Change type of res0: from List to Seq

If you try to compile with List[String] you receive type mismatch error:
"Error:() type mismatch;
found   : Seq[String]
required: List[String]
val r: List[String] = s map {"

Shouldn't both answers be accepted, even though r is of type Seq[String]?
val s = Seq("hello", "world")
val r = s map {
  _.reverse
}

r.isInstanceOf[Seq[String]]
//true

r == Seq("olleh", "dlrow")
//true

r.isInstanceOf[List[String]]
//true

r == List("olleh", "dlrow")
//true

I mean, the List type does extend AbstractSeq:
abstract class AbstractSeq[+A] extends AbstractIterable[A] with Seq[A]


Rename

This one does a bit more than I expected:

adds rename_technology function as discussed
moves solve and clone into message_ix.Scenario

this is messier than I would have hoped given the pretty complicated logistics between the java objects, ixmp.Scenario and ixmp.Platform.Scenario

moves all message-related database testing into message_ix

@adrivinca this may interest you as well..

But we are not just renaming sets, right? also parameters.. hence trying to
be more "general"
On Thu, Jun 21, 2018 at 3:26 PM, Daniel Huppmann<EMAIL_ADDRESS>wrote:

@danielhuppmann requested changes on this pull request.
apologies for being picky about the docstrings...
In message_ix/core.py
https://github.com/iiasa/message_ix/pull/50#discussion_r197130711:

   keep_sol : boolean, default: True

       indicator whether to include an existing solution

       in the cloned scenario

   first_model_year: int, default None

       new first model year in cloned scenario

       ('slicing', only available for MESSAGE-scheme scenarios)

   """

   self._keep_sol = keep_sol

   self._first_model_year = first_model_year or 0

   model = self.model if not model else model

   scen = self.scenario if not scen else scen

   return Scenario(self.platform, model, scen, annotation=annotation,

                   cache=self._cache, clone=self)

def rename(self, name, mapping):

   """Rename a technology in a scenario

please update docstrings for more general use case, like "Rename an
element in a set"
In message_ix/core.py
https://github.com/iiasa/message_ix/pull/50#discussion_r197130842:

       ('slicing', only available for MESSAGE-scheme scenarios)

   """

   self._keep_sol = keep_sol

   self._first_model_year = first_model_year or 0

   model = self.model if not model else model

   scen = self.scenario if not scen else scen

   return Scenario(self.platform, model, scen, annotation=annotation,

                   cache=self._cache, clone=self)

def rename(self, name, mapping):

   """Rename a technology in a scenario

   Parameters

   ----------

   name : str

       name of the scenario object to change (e.g., 'technology')

please change to "name of the set"
In message_ix/core.py
https://github.com/iiasa/message_ix/pull/50#discussion_r197131065:

   self._keep_sol = keep_sol

   self._first_model_year = first_model_year or 0

   model = self.model if not model else model

   scen = self.scenario if not scen else scen

   return Scenario(self.platform, model, scen, annotation=annotation,

                   cache=self._cache, clone=self)

def rename(self, name, mapping):

   """Rename a technology in a scenario

   Parameters

   ----------

   name : str

       name of the scenario object to change (e.g., 'technology')

   mapping : str

       mapping of old (current) to new names

suggest to change "new names" to "new set element names" to clearly
distinguish between the set and its elements
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/iiasa/message_ix/pull/50#pullrequestreview-130812989,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABVAEZ5wbr93mzp00QwiTvR0VUMJMyZyks5t-58XgaJpZM4UpiqE
.

well, not quite - we are renaming index set elements (elements of technology), and then the renaming is pulled through all mapping sets (e.g., cat_tec) and parameters.


Pass URL query parameters to the Shiny app in Viewer.tsx

Fixes posit-dev/r-shinylive#28
I saw someone ask for this recently, the idea being that the query parameters in a shinylive.io URL should be forwarded and accessible to the inner Shiny app running in the iframe on the page.
I am unsure if we actually would want this behaviour or not, I could be convinced either way. But in any case, the implementation is simple (grab the parameters from the outer page URL and append to the iframe's src attribute) so I have placed the change here for discussion.
Also includes some formatting changes from prettier, apologies for the noise.

[ ] Add enable/disable option for passing URL parameters - default to off?
[ ] Consider how this feature interacts with runApp().

** Updates description to link issue if this PR was merged.
Should we also include the hash? Closing #84 in favor of this PR

@georgestagg any update here I've been eagerly waiting for this PR to merge.

Whoops! Re-opened.


Update labelVisibility sample to demonstrate different approaches

I wanted to capture some of the discussion from #589 for other users' benefit.
I also removed some properties that were using their default values in order to make the example more focused.
Feedback welcome, and if this isn't the style of example that you want, feel free to ignore.

Sigh. I thought I'd left out package-lock.json. Fixed. Thanks.

Thank you @joshkel


Add support for CycloneDX XML inputs

Only JSON files are supported at the moment.

Support for XML inputs CDX 1.2 to 1.5 added in https://github.com/nexB/scancode.io/pull/1137


State is pushed off to left on Storage Driver page

Rancher Versions: master 1/11
Steps to Reproduce:

Setup Storage drivers
Add a storage driver

Results: The state is pushed off the left and is being cut off.  Can really see it during Activating and Inactive states.

Expected:  Status should be moved to right

Version - 1.4.0-rc7
Verified fixed


Speed up startup.

Split up error checking on LSP startup from
config checking.  This reduces vim.go
startup time to negligible. goldsmith.lua still takes
some time, but less than it used to.
Will continue to work on goldsmith.lua but I'm reasonably
happy with the results so far.

Fixes #31 and #11.


Change way we show query plan

fixes #2861

@anthonydresser I'll merge this to get picked up in tonight's build.


installation note

This change doesn't really make sense to me since a user would already have to be on this extension to be reading this README.


Fix race condition between ebpf_epoch_terminate() and _ebpf_epoch_stale_worker()

Description
Fixes #849
Issue
If ebpfcore is stopped while a DPC is executing _ebpf_epoch_stale_worker, there is a race condition between ebpf_epoch_terminate cleaning up _ebpf_flush_timer workitem and the DPC using this workitem to queue another DPC.
Fix
In function ebpf_epoch_exit, if _ebpf_epoch_rundown is set, do not call _ebpf_epoch_release_free_list. Once ebpf_epoch_terminate is called, it sets _ebpf_epoch_rundown to true and calls _ebpf_epoch_release_free_list for each CPU, so any pending epoch free items will anyways be cleaned up.
Testing
Ran multiple iterations of following, and the issue did not repro.

Run api_test.exe in a loop and immediately after that stop ebpfcore.

It requires api_test changes done in PR https://github.com/microsoft/ebpf-for-windows/pull/840
Documentation
NA

what is the effect of the race?

what is the effect of the race?

We hit a bugcheck. I have provided the call stack also in the related bug (#849)


Init project

The implementation of this operator is not finished yet. There are some improvement points in logging and error handling. We also need to add some automated tests. Ready for design review.
Checklist

[ ] Update changelog in CHANGELOG.md.

@bavarianbidi can you please ping me when you are available so that we can go through some basic decisions in the operator?


Login success callback not firing

Hi.
I have an issue with this plugin on a project I'm working. No matter what call I make via the plugin, the promise always looks like this: {"__zone_symbol__state":null,"__zone_symbol__value":[]}
global packages:
@ionic/cli-utils : 1.1.2
Cordova CLI      : 7.0.1
Ionic CLI        : 3.1.2

local packages:
@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.1.2
@ionic/cli-plugin-ionic-angular : 1.1.2
Ionic Framework                 : ionic-angular 3.2.1

System:
Node       : v6.10.2
OS         : macOS Sierra
Xcode      : Xcode 8.3.2 Build version 8E2002
ios-deploy : 1.9.1
ios-sim    : 5.0.13

Are you calling .then() on the promise?

I'm doing something like this:
`this.linkedIn.login(['r_basicprofile', 'r_emailaddress'], false)
.then( (success) => {
// trying to console log here
})
.catch( (error) => {
    console.log(error);
});`

The problem is that nothing is outputting, no errors, nothing. When my function is being called, I do see the LinkedIn loading splashscreen for a bit, but after that it disappears.

This issue was moved to driftyco/ionic-native#1587

Well this is strange. When I build the project using the Ionic/Cordova CLI, I am able to reproduce the issue you mentioned. But when I build the project using Android Studio it works fine.

@ihadeed I tested all day long trying to get this working and from all my tests only once I saw the splash screen asking to approve that I allow the app to use my LinkedIn data.  I can't recall if it was via the android simulator or Cordova CLI.
I kept thinking my build is wrong or I'm doing something wrong hence it worked once, but not after that.

I'll look into it when I get a chance.

Quick update...
I'm 99% sure the problem has nothing to do with this repo. Something must have changed with Cordova Android (most likely the issue) or the LinkedIn app (could be the issue, but not likely).
I just did more debugging and I'm finding out that when the LinkedIn SDK is calling startActivityForResult, it's not hearing back from the LinkedIn app at all. It works the first time only but after that the app stops listening for any activity results.

@ihadeed
I'd like to debug the plugin myself to see what is happening and maybe I can figure out a solution for this, but I'm rather new to all of this. If you could point me in the right direction (what tools to install, how to run & test, etc) I'd much appreciate it. I really want to get this working as it seems it's the only plugin that can do what I need.
Thanks.

Create a blank Cordova/Ionic App
Add minimal code to make your development easier

buttons to do an action (i.e. a button that calls cordova.plugins.LinkedIn.login(....))

Install this plugin
Build the app (if using Ionic) to have the www directory ready
Add Android platform and run cordova build android
Open /platforms/android/ with Android Studio
Run/Debug the app from Android Studio
Edit /src/com/zyramedia/cordova/linkedin/LinkedIn.java to:

add debug/break points
edit code to experiment with different things
click the debug button again to reload the app on device/emulator

@ihadeed
I managed to get it working for the first time, but after that I get back something like this:
05-25 09:48:00.013  4910  4910 D CordovaActivity: Incoming Result. Request code = 3672
05-25 09:48:00.013  4910  4910 W CordovaInterfaceImpl: Got an activity result, but no plugin was registered to receive it.

thanks @imcu
Just published a new version with this fix<EMAIL_ADDRESS>


Error 429 - rate limited after failures

I have taken over for the previous IT guy, who left some detailed notes on how to create certs with LetsEncrypt - which I admit to being very green with.  We need certs for Exchange, VPN, a few other things.  While we are a small company, we are comprised of several companies, so we have quite a few subdomains on one cert.
I have no clue where he had this thing installed, so I grabbed the latest and greatest version, 198.0.6545.42419.  Am running on a remote desktop environment to a Windows 2008 R2 box.
First things first, I see that his instructions are no longer valid for using the --san flag.  Okay.  Renewal is now a thing, which is apparently wasn't for him.
So, I ran with:
letsencrypt.exe --renew --centralstore c:\Central_SSL\
It stepped through all the subdomains, looked like it was all good... then crashed at the end with a gripe about illegal characters in path.
Hrm.  I played with the config file, first with the ConfigurationPath.     Still no dice, illegal character error.  Played with CertificatePath, seemed to run great... and then, BAM.
Error 429, too many certificates already issued for this exact set of domains.  Renewal failed.  WTF?  I wouldn't have thought that failures would count as actual issues!
I eventually found the temp folder, tried my best to get the pfx from there to work, but nothing doing.  First, powershell gripes that the there is no valid private key.  Ran the certutil to repair, seemed to work (get the key icon on the MMC snapin for the cert), but it still doesn't work - now powershell says the key is not accessible.  The Exchange GUI imports the cert, claims it is a success, but it never shows in my list of available certs. Probably because the process didn't finish?  Instead of having multiple pfx files like we had in the central store folder, I just have one right now.  Bleh.
Google says I need to make a new cert request.  From what I'm seeing, I can't do that for a week.
Inside of the letsencrypt, I see five tries ending in "illegal characters in path". And one that says "too many certs".
Guys, I can't be down for an entire week.  We rely on email for orders, shipping, customer service.
Is there anything that can be done?  Am I going to have to abandon LetsEncrypt and go to pro certs?

It stepped through all the subdomains, looked like it was all good... then crashed at the end with a gripe about illegal characters in path.

Would be interesting to see the log from that error (and the list of domains that you issued for).

Error 429, too many certificates already issued for this exact set of domains. Renewal failed. WTF? I wouldn't have thought that failures would count as actual issues!

The next release will prevent these kinds of situations by not issuing a new certificate if the previously issued one is less than 24 hours old, though that doesn't help you now.
With Central SSL the trick is make a copy the .pfx file for each domain that you want IIS to use it for. For example if you issued a certificate for a.com, b.com and c.om, you should make three copies of it named a.com.pfx, b.com.pfx and c.com.pfx. That's all LEWS does when.

Would be interesting to see the log from that error (and the list of domains that you issued for).

Sure thing.  Tell me how to obtain a log, I'll be happy to share.

With Central SSL the trick is make a copy the .pfx file for each domain that you want IIS to use it for. For example if you issued a certificate for a.com, b.com and c.om, you should make three copies of it named a.com.pfx, b.com.pfx and c.com.pfx. That's all LEWS does when copying over to the CSS.

I'm no sure that I follow.  It looks like my old central store has maybe 20 or so pfx files.  My latest request made just the one file - sampledomain.com-all.pfx.  Are you saying that I'd need to copy that to, say,  autodiscover.sampledomain.com.pfx,  vpn.sampledomain.com.pfx,  and so on?  Of course, as I mentioned, windows says the key isn't usable...

Another workaround that you could try is to issue individual certificates for the domains, to circumvent the "exact set of domains" criterium of the rate limit.

Okay, that's worth a shot for sure.

keep in mind that there are many different limits that you can run into
as long as you have less than 10-15 domains you should be fine to create individual certificates, though.
Don't forget to run the tool with the --test parameter to run against the letsencrypt test servers, which have less strict rate limits (but they don't generate trusted certificates, it's just for testing automation workflows)


Installation error

I've tried to install cvxpy using conda.
I get the following error: ERROR: Failed building wheel for scs
The full trace is:
(base) C:\Users\Gauss>pip install cvxpy
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting cvxpy
Collecting scs>=1.1.3 (from cvxpy)
Using cached https://files.pythonhosted.org/packages/f2/6e/dbdd778c64c1920ae357a2013ea655d65a1f8b60f397d6e5549e4aafe8ec/scs-2.1.1-2.tar.gz
Collecting multiprocess (from cvxpy)
Using cached https://files.pythonhosted.org/packages/18/1d/3d75b156f1c5d7d27819e8f763288c4bda8b24c5736d2a00a8808ac309f2/multiprocess-0.70.9-cp27-cp27m-win_amd64.whl
Requirement already satisfied: ecos>=2 in c:\users\gauss\anaconda2\lib\site-packages (from cvxpy) (2.0.7rc2)
Requirement already satisfied: osqp>=0.4.1 in c:\users\gauss\anaconda2\lib\site-packages (from cvxpy) (0.6.1)
Requirement already satisfied: scipy>=1.1.0 in c:\users\gauss\anaconda2\lib\site-packages (from cvxpy) (1.2.1)
Requirement already satisfied: numpy>=1.15 in c:\users\gauss\anaconda2\lib\site-packages (from cvxpy) (1.16.3)
Requirement already satisfied: six in c:\users\gauss\anaconda2\lib\site-packages (from cvxpy) (1.12.0)
Collecting dill>=0.3.1 (from multiprocess->cvxpy)
Requirement already satisfied: future in c:\users\gauss\anaconda2\lib\site-packages (from osqp>=0.4.1->cvxpy) (0.17.1)
Building wheels for collected packages: scs
Building wheel for scs (setup.py) ... error
ERROR: Complete output from command 'C:\Users\Gauss\Anaconda2\python.exe' -u -c 'import setuptools, tokenize;file='"'"'c:\users\gauss\appdata\local\temp\pip-install-z8rxub\scs\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'c:\users\gauss\appdata\local\temp\pip-wheel-nlpf68' --python-tag cp27:
ERROR: Namespace(blas64=False, extraverbose=False, float32=False, gpu=False, int32=False, scs=False)
C:\Users\Gauss\Anaconda2\lib\site-packages\setuptools\dist.py:484: UserWarning: The version specified ('2.1.1_2') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
"details."
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
self.calc_info()
C:\Users\Gauss\Anaconda2\lib\site-packages\numpy\distutils\system_info.py:638: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
self.calc_info()
C:\Users\Gauss\Anaconda2\lib\site-packages\numpy\distutils\system_info.py:638: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
{}
C:\Users\Gauss\Anaconda2\lib\site-packages\numpy\distutils\system_info.py:638: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
self.calc_info()
C:\Users\Gauss\Anaconda2\lib\site-packages\numpy\distutils\system_info.py:638: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
self.calc_info()
{}
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-O3'
rw.c
scs/src\rw.c(7) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
error: Command "C:\Users\Gauss\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DPYTHON -DCTRLC=1 -DDLONG=1 -DCOPYAMATRIX -Iscs/include -Iscs/linsys -Iscs/linsys/direct/ -Iscs/linsys/direct/external/ -IC:\Users\Gauss\Anaconda2\lib\site-packages\numpy\core\include -IC:\Users\Gauss\Anaconda2\include -IC:\Users\Gauss\Anaconda2\PC /Tcscs/src\rw.c /Fobuild\temp.win-amd64-2.7\Release\scs/src\rw.obj -O3" failed with exit status 2
ERROR: Failed building wheel for scs
Running setup.py clean for scs
Failed to build scs
Installing collected packages: scs, dill, multiprocess, cvxpy
Running setup.py install for scs ... error
ERROR: Complete output from command 'C:\Users\Gauss\Anaconda2\python.exe' -u -c 'import setuptools, tokenize;file='"'"'c:\users\gauss\appdata\local\temp\pip-install-z8rxub\scs\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'c:\users\gauss\appdata\local\temp\pip-record-okfbnv\install-record.txt' --single-version-externally-managed --compile:
ERROR: Namespace(blas64=False, extraverbose=False, float32=False, gpu=False, int32=False, scs=False)
C:\Users\Gauss\Anaconda2\lib\site-packages\setuptools\dist.py:484: UserWarning: The version specified ('2.1.1_2') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
"details."
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
self.calc_info()
C:\Users\Gauss\Anaconda2\lib\site-packages\numpy\distutils\system_info.py:638: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
self.calc_info()
C:\Users\Gauss\Anaconda2\lib\site-packages\numpy\distutils\system_info.py:638: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
{}
C:\Users\Gauss\Anaconda2\lib\site-packages\numpy\distutils\system_info.py:638: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
self.calc_info()
C:\Users\Gauss\Anaconda2\lib\site-packages\numpy\distutils\system_info.py:638: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
self.calc_info()
{}
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-O3'
rw.c
scs/src\rw.c(7) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
error: Command "C:\Users\Gauss\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DPYTHON -DCTRLC=1 -DDLONG=1 -DCOPYAMATRIX -Iscs/include -Iscs/linsys -Iscs/linsys/direct/ -Iscs/linsys/direct/external/ -IC:\Users\Gauss\Anaconda2\lib\site-packages\numpy\core\include -IC:\Users\Gauss\Anaconda2\include -IC:\Users\Gauss\Anaconda2\PC /Tcscs/src\rw.c /Fobuild\temp.win-amd64-2.7\Release\scs/src\rw.obj -O3" failed with exit status 2
----------------------------------------
ERROR: Command "'C:\Users\Gauss\Anaconda2\python.exe' -u -c 'import setuptools, tokenize;file='"'"'c:\users\gauss\appdata\local\temp\pip-install-z8rxub\scs\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'c:\users\gauss\appdata\local\temp\pip-record-okfbnv\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in c:\users\gauss\appdata\local\temp\pip-install-z8rxub\scs\
Version

OS: Windows 10 Pro
CVXPY Version: 1.1.0a1

I'm running out of ideas... Could you please help?

I found a solution here: https://www.scivision.dev/python-windows-visual-c-14-required/


[MM-24332] Add ‘extend session length’ setting

Summary
Adds setting to extend session length. Subsequent settings description and visibility will change depending upon whether it is set to true or false.
Ticket Link
https://mattermost.atlassian.net/browse/MM-24332
Related Pull Requests
https://github.com/mattermost/mattermost-server/pull/14275
Screenshots

/update-branch

@bradjcoughlin @wiggin77
This new server spun up with the default for the extending session lengths set to false?

It should be true according to the rules set in the server PR, correct? @wiggin77

@wiggin77 can you explain what this setting does in terms of user experience for a typical user?

It should be true according to the rules set in the server PR, correct?

Correct. if that is a new instance it should be false.  As I recall in the pre-existing code, new instance is defined by server as not having a service URL.

is it possible the instance was created with a pre-populated config file?
are we absolutely sure the server contains the new code (it was very recently merged into master)

can you explain what this setting does in terms of user experience for a typical user?

Not much impact to users; more a admin concern.  It limits how often the server goes to the database to read the session expiry value.  For example, when set to 10, it will check the database no more than once every 10 minutes.

Correct @esethna , if that is a new instance it should be true. As I recall in the pre-existing code, new instance is defined by server as not having a service URL.

is it possible the instance was created with a pre-populated config file?
are we absolutely sure the test server contains the new code (it was very recently merged into master)

I'm not sure how the test server works, but it's extremely important to get this right since we decreased to default session length assuming sessions would be extended by default. @wiggin77 @bradjcoughlin can you guys help verify this?
cc// @jgilliam17 for testing ^

wiggin77 bradjcoughlin can you guys help verify this?

I reviewed the code again.
         // Must be manually enabled for existing installations.
	if s.ExtendSessionLengthWithActivity == nil {
		s.ExtendSessionLengthWithActivity = NewBool(!isUpdate)
	}

The check for nil means the setting will only be changed if there is not already a setting explicitly defined in the config.  New installs normally will not have any config defined; however if an admin manually/automatically creates a config before first run of the server then we honour what they specified.  If the nil check is true, then we set the value based on the inverse of the isUpdate flag, meaning if there is already a config (i.e. older instance) but this property is not defined then we set to false (isUpdate is true, inverse is false).
Looks right to me.

@esethna Session Idle Timeout only appears on E10 or E20 licenses based on the presence of the compliance feature flag.

I reviewed the code again.
         // Must be manually enabled for existing installations.
	if s.ExtendSessionLengthWithActivity == nil {
		s.ExtendSessionLengthWithActivity = NewBool(!isUpdate)
	}

The check for nil means the setting will only be changed if there is not already a setting explicitly defined in the config. New installs normally will not have any config defined; however if an admin manually/automatically creates a config before first run of the server then we honour what they specified. If the nil check is true, then we set the value based on the inverse of the isUpdate flag, meaning if there is already a config (i.e. older instance) but this property is not defined then we set to false (isUpdate is true, inverse is false).
Looks right to me.

@prapti @lindy65 can we test this thoroughly? For context the spinwick spun up with the default for the ExtendSessionLengthWithActivity set to false as per my comments above. We need to make sure new installs get this set setting set to true by default, existing installs upgrading should see it set to false. See spec: https://docs.google.com/document/d/1r-Eyucw5piSHAv_O7JTifcLkt8ax9tyXxroa4LMr7SE/edit#heading=h.tfazhhtajito

@lindy65 @prapti I'd like QA to test this before I give PM approval as I would like to make sure the defaults are behaving as expected. If you guys can please test and then report here findings based on the spec: https://docs.google.com/document/d/1r-Eyucw5piSHAv_O7JTifcLkt8ax9tyXxroa4LMr7SE/edit#heading=h.7mu1883pmoxo

@esethna I spun up a new cloud server pointing to the web commit hash (https://pr-5455.test.mattermost.cloud/) and the defaults are as expected (please see the screenshot and cli get values from the config below). Did you want @lindy65 and I to start testing this right away? I was going to wait until dev review was done before fully testing.

ServiceSettings.ExtendSessionLengthWithActivity: "true"
ServiceSettings.SessionLengthWebInDays: "30"
ServiceSettings.SessionLengthMobileInDays: "30"
ServiceSettings.SessionLengthSSOInDays: "30"
ServiceSettings.SessionCacheInMinutes: "10"
ServiceSettings.SessionIdleTimeoutInMinutes: "43200"

Thanks @prapti can we also test that an existing server (ie one upgrading), get's it defaulted to "false" and that the session lengths aren't changed from their current values? As per spec.

Default for server upgrade are as expected too. Below are the screenshot and cli outputs. The session length values also remained unchanged after upgrade (didn't include the screenshot to avoid confusion):

ServiceSettings.ExtendSessionLengthWithActivity: "false"
ServiceSettings.SessionLengthWebInDays: "180"
ServiceSettings.SessionLengthMobileInDays: "180"
ServiceSettings.SessionLengthSSOInDays: "30"
ServiceSettings.SessionCacheInMinutes: "10"
ServiceSettings.SessionIdleTimeoutInMinutes: "43200"

FYI, regarding E2E tests for this PR, Brad is working on one for ensuring the system console setting can be set and unset with the value being properly retained. He is not working on an E2E test for the actual session extension feature added in the related PR linked above as that feature was not implemented as part of this PR.
@grundleborg and I will be figuring out ownership of E2E tests in situations like this with QA separately to this PR.

The file .circleci/config.yml is in the blacklist and should not be modified from external contributors, please if you are part of the Mattermost Org submit this PR in the upstream.
/cc @mattermost/core-security @mattermost/core-build-engineers

Currently running session expiry test for User-1 (Android) and lindy (Edge browser)

Thanks @prapti can you approve this PR, I think you already completed your testing?

@bradjcoughlin Please help merge + cherry-pick for today's feature complete.

@bradjcoughlin
Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Fetching origin
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-#5455-upstream-release-5.24-1589926606
Branch 'automated-cherry-pick-of-#5455-upstream-release-5.24-1589926606' set up to track remote branch 'release-5.24' from 'upstream'.
+++ Downloading patch to /tmp/5455.patch (in case you need to do this again)

+++ About to attempt cherry pick of PR. To reattempt:
  $ git am -3 /tmp/5455.patch

Applying: add ‘extend session length’ setting
Using index info to reconstruct a base tree...
M	components/admin_console/admin_definition.jsx
M	utils/admin_console_index.test.jsx
Falling back to patching base and 3-way merge...
Auto-merging utils/admin_console_index.test.jsx
CONFLICT (content): Merge conflict in utils/admin_console_index.test.jsx
Auto-merging components/admin_console/admin_definition.jsx
CONFLICT (content): Merge conflict in components/admin_console/admin_definition.jsx
Patch failed at 0001 add ‘extend session length’ setting
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

+++ Conflicts detected:

UU components/admin_console/admin_definition.jsx
UU utils/admin_console_index.test.jsx

+++ Aborting in-progress git am.

+++ Returning you to the master branch and cleaning up.


Cannot update snapshot because of ansible error on centos8

I triggered an update snapshot job for osbuild-composer, https://github.com/osbuild/osbuild-composer/pull/3305 , some ostree test failed on centos8 because of "ERROR: Ansible requires blocking IO on stdin/stdout/stderr. Non-blocking file handles detected: ",  looks like an ansible issue, details can be found in this job https://gitlab.com/redhat/services/products/image-builder/ci/osbuild-composer/-/jobs/3824249899, and:

It only happens on Centos Stream 8, it works well on RHEL and Fedora
I logon the CI runner machine(of the failed job) and run same test again, it can pass.
I tried same test in my own cs8 machine, it can pass

Raised this issue in ansible project, here is the discussion link https://github.com/ansible/ansible/issues/80108
Filed this bug to track this problem, working on it now.

Fixed.


[PyTorch] Adjusted the logic of MHA and DPA to enable speculative decoding

This PR modifies the logic of MHA and DPA by using InferenceParams (KV-cache), and extends the supported shapes of matrices in unfused softmax to rectangular to enable speculative decoding.

Added test cases into test_numerics.py to check if the outputs of TransformerLayer or MultiheadAttention generated in a single full run match with those generated incrementally using KV-cache
The longer the input sequence, the larger the divergence of the output due to accumulation of numerical errors in a forward pass

/te-ci pytorch

/te-ci pytorch

/te-ci pytorch

/te-ci pytorch

/te-ci pytorch

/te-ci pytorch


[Bug] Display a sheet specific error message if sheet names don't match in google sheets plugin

Currently there is a generic message displayed as "Could not map request back to existing data". This could point to the column headings, the selected range as well as the Sheet name. To pinpoint the source of this issue, in case of errors we could run another request for more information.

@mohanarpit @ayushpahwa Hey team! Can you please add your planning poker estimates with ZenHub

For "delete sheet" we are showing an error specific to the Sheet, we need to handle in the similar way so that, the common error message can be made more specific. Planning to work on that way as discussed with team.

Stats

Stat
Values

Reach
141

Effort (months)
0.5


Problem at login

Hello, i tried installing myrtille on a windows server 2012 machine but i can't menage to login.
Idk if i put wrong login infos, i havent well understood if i can use my standard admin / password that i use with the original microsoft rdp. + i put the server Ip.
I have installed Microsoft Visual C++ 2015 redistributables but i cant find "wfreerdp.exe. Idk if its a must as in doc it say to check if i have "wfreerdp.exe" or "Myrtille.SSH.exe" and i have the second one. i used the installer, eventually i can i fix it? (i tried the repair option of the installer but doesnt work).
thanks

The doc is not up to date (I have to do it), FreeRDP is no longer shipped as an executable into Myrtille, but as as DLL, and the MSVC++ redistributables are no longer required, for some time.
What is the error you have at login? for more details, you can check myrtille path\log\Myrtille.Services.log. You have to use remote server credentials.


Provide for worker-configuration parameters

@frankmcsherry, as discussed on Slack! No promises that any of this is appealing!
Tweak the execution API so that worker configuration parameters can be
specified along with communication fabric configuration parameters. In
particular, this permits the DEFAULT_PROGRESS_MODE environment variable
to be replaced with a typed ProgressMode enum, and for its value to be
controllable with a command-line option.
The new WorkerConfig struct also admits arbitrary typed configuration
parameters, which downstream libraries (e.g., differential) can use to
store their own worker configuration variables.

I overhauled the naming of these structs so that everything is called Config where it is defined, and gets a more specific prefix only when re-exported at the root of the timely crate. I also reworked the option parsing so that it's possible to parse just the timely::CommunicationConfig from arguments or just the timely::WorkerConfig from arguments. This requires some cooperation to make sure that none of the command-line options conflict, but I think that's ok.

I overhauled the naming of these structs so that everything is called Config where it is defined, and gets a more specific prefix only when re-exported at the root of the timely crate. I also reworked the option parsing so that it's possible to parse just the timely::CommunicationConfig from arguments or just the timely::WorkerConfig from arguments. This requires some cooperation to make sure that none of the command-line options conflict, but I think that's ok.

Thanks very much! I think this all looks great!

Thanks very much! I think this all looks great!

Woohoo! I think all that's missing then is documentation of what the different progress modes actually do.

Woohoo! I think all that's missing then is documentation of what the different progress modes actually do.

I'm happy to add that in post, if that works for you.

I'm happy to add that in post, if that works for you.

It most certainly does!

It most certainly does!

https://github.com/TimelyDataflow/timely-dataflow/commit/bafcd7db13b0530c75e69cbc47437f59c9a0ed50

https://github.com/TimelyDataflow/timely-dataflow/commit/bafcd7db13b0530c75e69cbc47437f59c9a0ed50


Finishing touches

Implement new features:

fanfare sounds for cases:

1st place enterd
top 3 places enterd
top 10 enterd
under top 10 place enterd

final styles

Hi @JuanLPalacios   🙋♀,
STATUS APPROVED ✔
Your project is complete!  There is nothing else to say other than... it's time to merge it 🔗 🚢
Congratulations! 🎉
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers 🥂  and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Error when use docker-compose up

ERROR: Service 'server' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder186586033/server/config.py: no such file or directory
Using pip 9.0.1 and python 2.7

The code posted here includes only config.py.example - per README.md you need to make appropriate changes to the file and rename as config.py. Should solve your issue.


As a Professor, I want to ask proof questions, so that I can assess my student's logic process

Background
Professors test students with proof questions. This typically involve:

Given X
Show Y

Where X and Y are usually pseudo-code...probably closer to LaTeX. Here's an example for Turing Decidability in classical computing theory (where decidable is a language that either accepts or halts without loops):
State if the following language is decidable or undecidable
$L_{HALT \geq 10} = \{ (\langle M \rangle, x) \}$: M halts on x after running for at least 10 steps
Where the proof is as follows:
This language is undecidable. We can show this with a reduction from the Halting Problem with a language as follows:
Given a blackbox decider $B_{HALT \geq 10}$ for $L_{HALT \geq 10}$, we construct the following for decider $H_{HALT}$ for $L_{HALT}$

Construct the Machine $M' =$ 'On input $\omega:$
A. Run for 10 steps with no actions
B. Run M on $\omega$ and output the same answer (if M ever halts)'
Call blackbox decider $B_{HALT \geq 10} (\langle M' \rangle, x) $ and output the same answer

Analysis:

$H_{HALT}$ halts on every input so it is a valid decider
$H_{HALT} (\langle M \rangle, x)$ accepts if and only if $M(x)$ halts:
a. $M$ halts on $x$
$\implies M'$  halts on $x$ after at least 10 steps
$\implies B_{HALT \geq 10} (\langle M' \rangle, x)$ accepts
$\implies H_{HALT} (\langle M \rangle, x)$ accepts
b. $M$ loops on $x$
$\implies M'$ loops on $x$
$\implies B_{HALT \geq 10} (\langle M' \rangle, x)$
$\implies H_{HALT} (\langle M \rangle, x)$ rejects

Therefore, $H$ is a decider for $L_{HALT}$. This shows that $L_{HALT}$ is a reduction of $L_{HALT \geq 10}$. Since $L_{HALT}$ is undecidable, so is $L_{HALT \geq 10}$
Goal
We should be able to support auto-grading these problems for Professors
Possible idea:

Client side example of using drop down example and push to server side grading over time?

Acceptance criteria

[ ] Work with design team to create an interactive design for one proof problem
[ ] Validate with 3+ professors
[ ] Investigate auto-grading

Out of scope
Full implementation with server isn't needed yet, same with professor definition. We just need to show one provocative example, could be a design to test
Resources
No response
Tasks
No response

Proofs are a bit wider and more generalised...maybe we can look towards "given two states, design a procedure to connect" in code instead?