Contribute to Open Source. Search issue labels to find the right project for you!

Flooding the server with requests when gallery page is not found

Microsoft/pxt

When one of the gallery pages is not found “Projects”, “Examples” in docs. We flood the server with requests, and don’t stop causing a large number of failures on the backend.

<img width=“736” alt=“screen shot 2017-08-18 at 11 42 17 pm” src=“https://user-images.githubusercontent.com/16690124/29484231-189f0b38-846f-11e7-997e-ad2ccc45718d.png”>

Marking as P2 as workaround is to resolve the docs issue. Either remove gallery item, or add docs page.

Updated 19/08/2017 15:15 1 Comments

dom/attr.set does not trigger mutations for style changes in Edge

canjs/can-util

https://jsbin.com/wujediciwo/1/edit?html,js,console,output

The expected outcome in the JSBin above is two change messages being logged into the message list after 6 seconds, one for the style attribute and one for the aria-label attribute. In most browsers this works fine:

  • Chrome/FF/Safari: the setting of style.cssText in the special style attribute handler triggers mutations natively. (See https://github.com/canjs/can-util/blob/master/dom/attr/attr.js#L326 )

  • IE 9-11: setting attributes through setAttribute plus the mutation polyfill takes care of it. ( https://github.com/canjs/can-util/blob/master/dom/attr/attr.js#L330 )

However, in Edge, cssText is supported but does not trigger a mutation. This means that when style is changed, as in though a stache like {{#if foo}}style="display:none"{{/if}}, synthetic “attributes” events on tags do not fire.

Updated 18/08/2017 18:15

digital state read to test for If or While loop

Microsoft/pxt

This issue has been tested using the target Micro:bit in Make Code

https://makecode.microbit.org/

Currently, in Blocks, a user cannot add a digital state read to the test for if or while loop. You can find a picture of the attempt to place Digital State Read for If. Here is example code in JavaScript below:


basic.forever(() => {
    if (true) {
        music.beginMelody(music.builtInMelody(Melodies.Dadadadum), MelodyOptions.Once)
    }
})

Using Blocks, it appears a user can add a digital state read to test for if or while loop. So you can find a logic fix that was tried using Digital Read Pin. However, this attempt was not successful on the physical device. You can find the JavaScript below:


basic.forever(() => {
    if (pins.digitalReadPin(DigitalPin.P1) == 0) {
        music.beginMelody(music.builtInMelody(Melodies.Dadadadum), MelodyOptions.Once)
    }
})

It appears that the only way to resolve this logic issue (Digital State Read to test for If or While loop) is with a more complicated implementation using Blocks. You can find the fix below:


control.onEvent(EventBusSource.MICROBIT_ID_IO_P1, EventBusValue.MICROBIT_BUTTON_EVT_UP, () => {
    music.beginMelody(music.builtInMelody(Melodies.Dadadadum), MelodyOptions.Once)
})

Can you implement digital state read to test for If or While loop?

image

Issue discovered by Richard Albritton

Updated 18/08/2017 21:41 5 Comments

Game engine interferes with its own animations

Microsoft/pxt

Related to https://github.com/Microsoft/pxt-microbit/pull/476 . The animations are showing with low brightness. (Previously, using addScore during a game just flashed the screen briefly, and I didn’t realise that wasn’t right at the time.)

let item = game.createSprite(2, 2)
basic.pause(1000)
game.addScore(1)
basic.pause(1000)
game.startCountdown(10000)
Updated 18/08/2017 15:53

Remove the ASCII banner from the REST server and update the prompts

hyperledger/composer

<!— Provide a general summary of the issue in the Title above –>

Context

<!— Provide a more detailed introduction to the issue itself, and why you consider it to be a bug –> This is a waste of console output:

<img width=“1221” alt=“screen shot 2017-08-18 at 11 38 20” src=“https://user-images.githubusercontent.com/7118158/29455611-c1b00d32-8409-11e7-8b00-287e657bc679.png”>

The prompts are out of date as well - they should match up with those in the rest of the CLI.

Expected Behavior

<!— Tell us what should happen –> Giant banner should be gone, prompts should match up with those in the CLI.

Actual Behavior

<!— Tell us what happens instead –> Screen is cleared (annoying), giant banner is printed (annoying), prompts don’t match up to the CLI.

Possible Fix

<!— Not obligatory, but suggest a fix or reason for the bug –> Remove screen clear and giant banner, fix prompts.

Steps to Reproduce

<!— Provide a link to a live example, or an unambiguous set of steps to –> <!— reproduce this bug include code to reproduce, if relevant –> 1. 2. 3. 4.

Existing issues

<!– Have you searched for any existing issues or are their any similar issues that you’ve found? –> - [ ] Stack Overflow issues - [ ] GitHub Issues - [ ] Rocket Chat history

<!– please include any links to issues here –>

Context

<!— How has this bug affected you? What were you trying to accomplish? –>

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in –> * Version used: * Environment name and version (e.g. Chrome 39, node.js 5.4): * Operating System and version (desktop or mobile): * Link to your project:

Updated 18/08/2017 10:39

Yeoman generator for CLI applications is out of date

hyperledger/composer

<!— Provide a general summary of the issue in the Title above –>

Context

<!— Provide a more detailed introduction to the issue itself, and why you consider it to be a bug –> The Yeoman generator for Composer includes a generator that will generate a CLI application. This CLI application is all built around Hyperledger Fabric v0.6 and is out of date. It either needs to be converted to use the fabric-dev-servers or deleted.

Expected Behavior

<!— Tell us what should happen –> Undecided.

Actual Behavior

<!— Tell us what happens instead –> The Yeoman generator for Composer can generate an out of date CLI application.

Possible Fix

<!— Not obligatory, but suggest a fix or reason for the bug –> It either needs to be converted to use the fabric-dev-servers or deleted.

Steps to Reproduce

<!— Provide a link to a live example, or an unambiguous set of steps to –> <!— reproduce this bug include code to reproduce, if relevant –> 1. 2. 3. 4.

Existing issues

<!– Have you searched for any existing issues or are their any similar issues that you’ve found? –> - [ ] Stack Overflow issues - [ ] GitHub Issues - [ ] Rocket Chat history

<!– please include any links to issues here –>

Context

<!— How has this bug affected you? What were you trying to accomplish? –>

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in –> * Version used: * Environment name and version (e.g. Chrome 39, node.js 5.4): * Operating System and version (desktop or mobile): * Link to your project:

Updated 18/08/2017 10:33

Localisation of activate.mozilla.community into different languages using pontoon.mozilla.org

mozilla/activate.mozilla.community

The Activate Mozilla campaign is a very significant initiative for Mozilla and helps to bring more clarity to mobilizers on how to recruit contributors and grow community around meaningful Mozilla projects.

This is a campaign which reaches the grassroots levels in many regions. Localization of this website into local languages is very important. https://pontoon.mozilla.org is the best platform to localize the activate campaign, where the Mozilla l10n teams contribute & review the work according to proper l10n guidelines.

Tags: High Priority, l10n

Updated 18/08/2017 08:59 5 Comments

[style guide] Use the international standard for punctuation inside quotes

kubernetes/kubernetes.github.io

This is a… - [x] Feature Request - [ ] Bug Report

Problem: From #5029: We should document that K8s follows the international standard for punctuation inside quotes. For example, the American standard: events are recorded with an associated "stage." …versus the international standard: events are recorded with an associated "stage".

Proposed Solution: Add a page for punctuation to the K8s style guide.

Updated 18/08/2017 00:58

gitFS ext_pillar with branch name __env__ results in empty pillars

saltstack/salt

Description of Issue/Question

From documentation, when using git with ext_pillars, one should be able to use __env__ instead of directly specifying a branch name. This should result in the master trying to use the git branch matching with the pillarenv or environment on the minion. This seems to be broken because currently it results in empty pillars on the minion.

Setup

/etc/salt/master ``` fileserver_backend: - git

gitfs_remotes: - file:///root/myrepo.git

gitfs_root: states/

ext_pillar: - git: - env file:///root/myrepo.git: - root: pillars/

top_file_merging_strategy: same

pillar_source_merging_strategy: none

state_top_saltenv: base ````

/root/myrepo.git is a simple local git repository and is attached to this issue as a tar.gz archive. This respository contains 2 branches: master and branch1 ```

git branch

branch1 * master ```

The only difference between the master and branch1 branches are the content of the file pillars/data.sls as follows:

# git checkout master
Switched to branch 'master'

# cat pillars/data.sls 
from: MASTER

# git checkout branch1
Switched to branch 'branch1'

# cat pillars/data.sls 
from: branch1

Steps to Reproduce Issue

On minion: ``` salt-call pillar.items
local: ———- from: MASTER

which is as expected. However if we try to pass a specific pillarenv we get a set of empty pillars:

salt-call pillar.items pillarenv=branch1

local: ———- ```

We expect the actual pillars from branch1 when pillarenv=branch1.

Versions Report

Salt Version:
           Salt: 2017.7.1

Dependency Versions:
           cffi: 1.6.0
       cherrypy: Not Installed
       dateutil: 1.5
      docker-py: Not Installed
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.7.2
        libgit2: 0.21.0
        libnacl: Not Installed
       M2Crypto: 0.21.1
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.8
   mysql-python: Not Installed
      pycparser: 2.14
       pycrypto: 2.6.1
   pycryptodome: Not Installed
         pygit2: 0.21.4
         Python: 2.7.5 (default, Nov  6 2016, 00:28:07)
   python-gnupg: Not Installed
         PyYAML: 3.11
          PyZMQ: 15.3.0
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.2.1
            ZMQ: 4.1.4

System Versions:
           dist: centos 7.3.1611 Core
         locale: UTF-8
        machine: x86_64
        release: 3.10.0-514.el7.x86_64
         system: Linux
        version: CentOS Linux 7.3.1611 Core

myrepo.git.tar.gz

Updated 18/08/2017 15:35 3 Comments

Provide ability to not allow participant to override timestamp on a transaction

hyperledger/composer

<!— Provide a general summary of the issue in the Title above –> Need to provide the ability to not allow participant to overide timestamp on a transaction

Context

<!— Provide a more detailed introduction to the issue itself, and why you consider it to be a bug –> A participant should not be able to override the time that a transaction is sent. Currently, every transaction automatically has a timestamp field that can be populated and submitted by the participant, allowing the participant to override the time that the transaction was submitted.

Expected Behavior

<!— Tell us what should happen –> Composer should determine the time a transaction is sent. Provide the ability to disable a participant overriding the transaction time.

Actual Behavior

<!— Tell us what happens instead –> A user can override the time on a transaction.

Updated 17/08/2017 21:33

webui project restore fails leaving backend project

openSUSE/open-build-service

Issue description

webui project undelete fails because something creates an empty project meta before running the undelete command to the backend which fails as a result.

problem is that this creates a situation where api and backend are out-of-sync so only the admin can repair the situation and the user can’t run “osc undelete” anymore. I disabled the restore view therefore on our production instances. (after fixing some projects).

A reproduced situation which got not cleaned up can be found in project home:adrianSuSE:OBS_SLE , but there is no errbit error.

Updated 18/08/2017 06:04

Download links should include link download instructions

aspnet/Docs

URL Rewriting Middleware in ASP.NET Core | Microsoft Docs [08-11-2017] The article states ‘View or download sample code’, but there is no way to download the sample code from Github!

Append the following to download links. [how to download](xref:tutorials/index#how-to-download-a-sample)

Updated 18/08/2017 14:04 10 Comments

Removal of references to IBM/ Mozart/ Concerto Text from sample-networks

hyperledger/composer

Context

Opened up in VS to search for traces of ‘IBM’, ‘Mozart’ and ‘Concerto’ and then remove.

Expected Behavior

For search feature to identify words such as ‘IBM’, ‘Mozart’ and ‘Concerto’ through ‘search’ feature and then manually delete/ replace as appropriate.

Actual Behavior

After deploying the animal tracking network, VS Code Search couldn’t identify any words within text, despite me knowing they exist within the text.

image

Above showing text in playground

screen shot 2017-08-17 at 15 45 38

Above showing the search feature in VS Code

Possible Fix

Bug fix so that we can find all mentions of ‘IBM’, ‘Mozart’ and ‘Concerto’ and remove.

Your Environment

Include as many relevant details about the environment you experienced the bug in * Version used: 0.11.2 * Environment name and version (e.g. Chrome 39, node.js 5.4): VS Code 1.14.2 * Operating System and version (desktop or mobile): Mac * Link to your project:

Updated 17/08/2017 21:33

Misleading Error Code when attempting to GET a non existent asset with REST server

hyperledger/composer

Issuing a GET request for a non-existent asset the error I see is:

“error”: { “statusCode”: 404, “name”: “Error”, “message”: “Unknown \"Commodity\” id \“FCOX\”.“, "status”: 404, “code”: “MODEL_NOT_FOUND”, “stack”: “Error: Unknown \"Commodity\” id \“FCOX\”.\n …

The MODEL_NOT_FOUND makes me worry that my business model can’t be found rather than my asset.

Issuing a PUT request or a DELETE request for a non-existent asset don’t show that code:

“error”: { “statusCode”: 404, “name”: “Error”, “message”: “Error trying invoke chaincode. Error: chaincode error (status: 500, message: Error: Object with ID ‘COAL’ in collection with ID ‘Asset:org.acme.mynetwork.Commodity’ does not exist)”, “status”: 404, “stack”: “Error: Error trying invoke chaincode …

Updated 17/08/2017 21:34

Issue with k8s.io/docs/tasks/run-application/run-stateless-application-deployment/

kubernetes/kubernetes.github.io

<!– Thanks for filing an issue! Before submitting, please fill in the following information. –>

<!–Required Information–>

This is a… <!– choose one by changing [ ] to [x] –> - [ ] Feature Request - [x] Bug Report

Problem:

The example uses: apiVersion: apps/v1beta1

This gives the following error when trying to implement the deployment:

error: error validating “deployment.yaml”: error validating data: couldn’t find type: v1beta1.Deployment; if you choose to ignore these errors, turn validation off with –validate=false

Proposed Solution:

Update sample or provide alternative instructions

Page to Update: http://kubernetes.io/…

<!–Optional Information (remove the comment tags around information you would like to include)–> <!–Kubernetes Version:–>

Client Version: version.Info{Major:“1”, Minor:“7”, GitVersion:“v1.7.2”, GitCommit:“922a86cfcd65915a9b2f69f3f193b8907d741d9c”, GitTreeState:“clean”, BuildDate:“2017-07-21T08:23:22Z”, GoVersion:“go1.8.3”, Compiler:“gc”, Platform:“linux/amd64”} Server Version: version.Info{Major:“1”, Minor:“5”, GitVersion:“v1.5.3”, GitCommit:“$Format:%H$”, GitTreeState:“not a git tree”, BuildDate:“2017-07-19T10:00:06Z”, GoVersion:“go1.6.1”, Compiler:“gc”, Platform:“linux/amd64”}

<!–Additional Information:–>

Updated 18/08/2017 02:15 1 Comments

Hitting escape on historian dialog results in error dialog

hyperledger/composer

<!— Provide a general summary of the issue in the Title above –>

Context

<!— Provide a more detailed introduction to the issue itself, and why you consider it to be a bug –> screen shot 2017-08-17 at 11 53 40

Expected Behavior

<!— Tell us what should happen –> I should not get an error dialog when I hit escape on the historian dialog.

Actual Behavior

<!— Tell us what happens instead –> I do get an error dialog when I hit escape on the historian dialog.

Possible Fix

<!— Not obligatory, but suggest a fix or reason for the bug –> Don’t show an error dialog when I hit escape on the historian dialog.

Steps to Reproduce

<!— Provide a link to a live example, or an unambiguous set of steps to –> <!— reproduce this bug include code to reproduce, if relevant –> 1. 2. 3. 4.

Existing issues

<!– Have you searched for any existing issues or are their any similar issues that you’ve found? –> - [ ] Stack Overflow issues - [ ] GitHub Issues - [ ] Rocket Chat history

<!– please include any links to issues here –>

Context

<!— How has this bug affected you? What were you trying to accomplish? –>

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in –> * Version used: * Environment name and version (e.g. Chrome 39, node.js 5.4): Safari * Operating System and version (desktop or mobile): * Link to your project:

Updated 17/08/2017 10:55

Historian content is cramped and ellipsis used for UUID and action link

hyperledger/composer

<!— Provide a general summary of the issue in the Title above –>

Context

<!— Provide a more detailed introduction to the issue itself, and why you consider it to be a bug –> screen shot 2017-08-17 at 11 42 39

Expected Behavior

<!— Tell us what should happen –> Important content such as action link should probably not be shortened.

Actual Behavior

<!— Tell us what happens instead –> Important content such as action link is shortened.

Possible Fix

<!— Not obligatory, but suggest a fix or reason for the bug –> Use smaller font size?

Steps to Reproduce

<!— Provide a link to a live example, or an unambiguous set of steps to –> <!— reproduce this bug include code to reproduce, if relevant –> 1. 2. 3. 4.

Existing issues

<!– Have you searched for any existing issues or are their any similar issues that you’ve found? –> - [ ] Stack Overflow issues - [ ] GitHub Issues - [ ] Rocket Chat history

<!– please include any links to issues here –>

Context

<!— How has this bug affected you? What were you trying to accomplish? –>

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in –> * Version used: * Environment name and version (e.g. Chrome 39, node.js 5.4): Safari * Operating System and version (desktop or mobile): * Link to your project:

Updated 18/08/2017 09:54 4 Comments

Property `message` in error response body cannot be accessed

hyperledger/composer

Description

Using node I make a typical API POST request for which I have a .catch block with response variable say err. On error, the response body is returned as such (as seen from the Hyperledger Composer REST app). All this works fine { "error": { "statusCode": 500, "name": "Error", "message": "error trying invoke chaincode. Error: chaincode error (status: 500, message: Error: Payment needs to be of positive value)", "stack": "Error: error trying invoke chaincode. Error: chaincode error (status: 500, message: Error: Payment needs to be of positive value)\n at _initializeChannel.then.then.then.then.catch (/home/ubuntu/.nvm/versions/node/v6.11.1/lib/node_modules/composer-rest-server/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:839:34)" } }

My Issue

I am simply trying to fetch the message property from the above response and send it to the UI. But weirdly err.message does not give me the value I see inside message but returns the entire response body(same with err.stack).

So basically – err, err.message and err.stack returns the same output with the only difference of datatype. err is of type object whereas the other two are of type string.

How do I end up fetching only the value inside a property say message ?

PS: err.statusCode does return the correct value ie. “500”. err.name returns “StatusCodeError”(not “Error” that I see in the response)

Updated 17/08/2017 21:35

Improvement to taint based eviction/toleration needed

kubernetes/kubernetes.github.io

This is a… - [ ] Feature Request - [x] Bug Report

This is considered a Bug Report because the inaccuracy of related documentation may lead users to incorrect operations.

Problem: Kubernetes supports more built-in taints than documented today, say node.alpha.kubernetes.io/diskPressure, node.alpha.kubernetes.io/memoryPressure, node.alpha.kubernetes.io/outOfDisk, node.alpha.kubernetes.io/networkUnavailable and node.cloudprovider.kubernetes.io/uninitialized.

These taints all have impacts on taints based pod evictions.

Proposed Solution: Fix the documentation by adding text about these taints. Maybe we need a dedicated article for taints.

Page to Update: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature

Updated 17/08/2017 18:03 1 Comments

DaemonSet tolerates more taints than currently documented

kubernetes/kubernetes.github.io

This is a… <!– choose one by changing [ ] to [x] –> - [ ] Feature Request - [x] Bug Report

Problem: A DaemonSet by default tolerates not only node ready and node reachability taints. By design, it can tolerate memory pressure and disk pressure taints. For critical pods, it can tolerate outOfDisk taint as well.

Proposed Solution: The above mentioned features should be documented.

Page to Update: http://kubernetes.io/docs/concepts/workloads/controllers/daemonset/#how-daemon-pods-are-scheduled

Updated 18/08/2017 02:58 3 Comments

Playground: Changing the readme.md to edit mode causes the playground to remove all syntax highlighting

hyperledger/composer

<!— Provide a general summary of the issue in the Title above –>

Context

<!— Provide a more detailed introduction to the issue itself, and why you consider it to be a bug –>

Whilst using the playground to edit the readme.md file if you then switch to any of the other files in the side navigation you lose all the syntax highlighting until you go back to the readme.md and change back to preview mode.

Expected Behavior

<!— Tell us what should happen –>

You should still get syntax highlighting when editing the readme file on other files.

Actual Behavior

<!— Tell us what happens instead –>

Possible Fix

<!— Not obligatory, but suggest a fix or reason for the bug –>

Steps to Reproduce

<!— Provide a link to a live example, or an unambiguous set of steps to –> <!— reproduce this bug include code to reproduce, if relevant –> kapture 2017-08-17 at 10 48 10

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in –> * Version used: 0.11.3 * Environment name and version (e.g. Chrome 39, node.js 5.4): Firefox 54.0.1 * Operating System and version (desktop or mobile): Mac * Link to your project:

Updated 17/08/2017 21:42

Dark theme - Improvements

vector-im/riot-ios
  • [ ] padlock being unthemed: screen shot 2017-08-17 at 10 18 36
  • [ ] some hairlines being too bright
  • [ ] spinner bg being white
  • [ ] fading behind dialog modals being white rather than dark
  • [ ] grey highlight bar in room list being too light (i think)? screen shot 2017-08-17 at 10 23 41
  • [ ] search dialogs being wrong themed screen shot 2017-08-17 at 10 25 21
  • [ ] possibly keyboard itself (can we change that)?
  • [ ] the keyboard bubble should be darker too screen shot 2017-08-17 at 10 27 08
  • [ ] badge text fg colour in tab bar
  • [ ] fg colour in the big plus button
Updated 17/08/2017 08:29

docker_container.running state is not stable.

saltstack/salt

Description of Issue/Question

When using docker_container.running, the state needs to be applied twice to be in a consistent state. The second time we run it, some changes are made, which is inconsistent with the fact that states should not change once run.

Setup

A state that reproduce the issue would be :

postgresql sonar container:
  docker_container.running:
    - name: psql-sonar
    - image: postgres:latest

    - binds:
      - /tmp/sonar/psql/config:/var/lib/postgresql:Z
      - /tmp/sonar/psql/data:/var/lib/postgresql/data:Z

    - environment:
        - POSTGRES_USER: test
        - POSTGRES_PASSWORD: test

Steps to Reproduce Issue

1) install a salt minion with docker support 2) add a state with as shown before 3) apply the state (for example salt my_node state.apply test.sls)

This should give something like :

172.17.0.1:
----------
          ID: postgresql sonar container
    Function: docker_container.running
        Name: psql-sonar
      Result: True
     Comment: 
     Started: 02:45:26.386970
    Duration: 51873.065 ms
     Changes:   
              ----------
              container_id:
                  ----------
                  added:
                      02e71748963d4d231e06e69b7cbeb519e07d756ec5e5b00adc0c165d69ffe847
              image:
                  ----------
                  Layers:
                      ----------
                      Pulled:
                          - 8996b4a29b2b
                          - bea3311ef15b
                          - 1d6d551d6af0
                          - ba16377760f9
                          - fd68bfa82d98
                          - b1b9eb0ac9c8
                          - 6b1468749943
                          - 29d82d6e2d6c
                          - ad849322ee0c
                          - c5539863a39f
                          - 18cc2b50256c
                          - ad74af05f5a2
                          - f49f2decd34d
                  Status:
                      Downloaded newer image for docker.io/postgres:latest
                  Time_Elapsed:
                      49.62261796
              state:
                  ----------
                  new:
                      running
                  old:
                      None

Summary for 172.17.0.1
------------
Succeeded: 1 (changed=1)
Failed:    0
------------
Total states run:     1
Total run time:  51.873 s

4) re-apply the state (same command)

This should give : ```

172.17.0.1:

      ID: postgresql sonar container
Function: docker_container.running
    Name: psql-sonar
  Result: True
 Comment: Replaced container 'psql-sonar'
 Started: 02:46:39.755519
Duration: 3759.944 ms
 Changes:   
          ----------
          container:
              ----------
              Config:
                  ----------
                  Image:
                      ----------
                      new:
                          sha256:82b06f064259120143321ba826ce7c172bf04404f9634911f545b7bac5aa547e
                      old:
                          postgres:latest
          container_id:
              ----------
              added:
                  87c4efaf5833c536fb857d16b1027b59ff3ca2adf32fb666b20d8b110c18716e
              removed:
                  - 02e71748963d4d231e06e69b7cbeb519e07d756ec5e5b00adc0c165d69ffe847

Summary for 172.17.0.1

Succeeded: 1 (changed=1)

Failed: 0

Total states run: 1 Total run time: 3.760 s ```

However, this is not an expected output, as a state should be stable, and rerunning the state a second time should not change anything.

Versions Report

Salt Version:
           Salt: 2017.7.0-455-gfbf2e0d

Dependency Versions:
           cffi: 1.9.1
       cherrypy: Not Installed
       dateutil: Not Installed
      docker-py: 2.4.2
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.9.6
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: Not Installed
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.8
   mysql-python: Not Installed
      pycparser: 2.14
       pycrypto: 2.6.1
   pycryptodome: Not Installed
         pygit2: Not Installed
         Python: 2.7.13 (default, Jun 26 2017, 10:20:05)
   python-gnupg: Not Installed
         PyYAML: 3.12
          PyZMQ: 16.0.2
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.5.1
            ZMQ: 4.1.6

System Versions:
           dist: fedora 26 Twenty Six
         locale: UTF-8
        machine: x86_64
        release: 4.11.8-300.fc26.x86_64
         system: Linux
        version: Fedora 26 Twenty Six
Updated 19/08/2017 18:25 2 Comments

Page throws a typeerror when calling updateStyles

predix-ui/predix-ui.github.io

When switching between component pages in light theme (and maybe in dark theme too?), the following error is produced:

px-catalog-page.html:97 Uncaught TypeError: el.updateStyles is not a function
    at HTMLElement._applyTheme (px-catalog-page.html:97)
    at polymer.html:1304
_applyTheme @ px-catalog-page.html:97
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304
setTimeout (async)
run @ polymer-mini.html:2104
async @ polymer.html:1303
_applyTheme @ px-catalog-page.html:84
(anonymous) @ polymer.html:1304

Likely has something to do with the dynamic theming in the demo site shell, need to investigate. Does not seem to actually fail theming.

image

Updated 17/08/2017 00:02

[Table] Better FULL_COLUMNS and FULL_ROWS drag-selection behavior

palantir/blueprint

Bug report

  • Package version(s): v1.25.0

Steps to reproduce

  1. Select a column.
  2. Cmd + click another column and drag the selection over the existing selected column.

Actual behavior

The column becomes part of two overlapping selections.

2017-08-16 14 31 53

Expected behavior

Clear an existing column selection as soon as you mouse over it while dragging from another column.

OR

Clear all existing column selections as soon as you drag to expand a new column selection.

Same for rows!

Updated 16/08/2017 21:37

The home page is not using the whole space on large screen resolutions and scrollbar is on the middle

vector-im/riot-web

<!– This is a bug report template. By following the instructions below and filling out the sections with your information, you will help the us to get all the necessary data to fix your issue.

You can also preview your report before submitting it. You may remove sections that aren’t relevant to your particular case.

Text between <!– and –​> marks will be invisible in the report. –>

Description

The home page is not using the whole space on large screen resolutions and scrollbar is on the middle

Steps to reproduce

  • Go on the home page on https://riot.im/app/#/home or https://riot.im/develop/#/home with a large resolution (eg. full HD: 1920x1080)
  • You’ll see that the main part of the screen isn’t using the whole space, and if you scroll, the scrollbar appear in the middle of it, instead of the right border of the screen.

Describe how what happens differs from what you expected.

Scrollbar should be at screen’s right border

<!– Include screenshots if possible: you can drag and drop images below. –>

Home page screenshot

Version information

<!– IMPORTANT: please answer the following questions, to help us narrow down the problem –>

  • Platform: web

For the web app:

  • Browser: Firefox, Chrome
  • OS: At least Linux
  • URL: riot.im/develop / riot.im/app

Additional notes:

Problem appeared on my Full HD (1920x1080) computer on Linux and on at least someone else’s computer. No idea if behavior is the same on macOS or Windows, but it should. My mac with a reolution of 1440x900 isn’t affected on Chrome, scrollbar is at the right border of the screen, and the whle space is used. I couldn’t check Firefox due to bug #4803.

Updated 17/08/2017 09:46 2 Comments

(P1) nxos_udld_interface fails for certain interfaces for mode = enable

ansible/ansible
ISSUE TYPE
  • Bug Report
COMPONENT NAME

nxos_udld_interface

ANSIBLE VERSION
ansible 2.4.0 (devel 54cd641df4) last updated 2017/07/19 18:06:44 (GMT -400)
  config file = None
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /root/p2/Projects/nxos_ansible/p1_ansible/lib/ansible
  executable location = /root/p2/Projects/nxos_ansible/p1_ansible/bin/ansible
  python version = 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4]
OS / ENVIRONMENT

Ansible Server : Ubuntu 14.04 Device: NX-OSv9K running 7.0(3)I2(5)

SUMMARY
  • when the mode = enable, nxos_udld_interface tries to determine whether the interface is copper or fiber because the underlying commands are different for each type. However, the type cannot be determined exactly by using “show int status” as is being done now. The right command to use is “show interface <interface> transceiver”. This shows the type which in theory can be mapped to copper vs fiber but after talking to number of developers, it is found that new transceivers keep getting added all the time and there is no easy way to maintain a matrix for this.

    For ex: In the current code, it is checking if ‘1000’ exists in the type and making it copper. But on one of the devices the output of “show int status” gives this:

    Eth1/1 – disabled routed auto auto 1000base-SX

    Here this interface is fiber but the code is assuming it as copper because it has ‘1000’ in the type. Since there is no 100% fool proof way to determine whether an interface is copper or fiber, it is better to change code to run one set of commands and catch any errors and try the other set, just to be safe.

STEPS TO REPRODUCE
- name: ensure interface has mode enabled
    nxos_udld_interface: &conf2
      interface: ethernet1/1
      mode: enabled
      state: present
      provider: "{{ cli }}"
EXPECTED RESULTS

The commands should be executed and mode should be set to enable always.

ACTUAL RESULTS

It fails if the type cannot be determined properly with simple string checks.

Updated 17/08/2017 19:37 1 Comments

VSCode extension not finding namespace org.hyperledger.composer.system in query file

hyperledger/composer

Context

Using VSCode editor on Linux Ubuntu 16.04 with Composer extension 0.9.1 I’m unable to add the following query to my queries.qry file without displaying as error

query selectFromHistorian { description: “Select from Historian” statement: SELECT org.hyperledger.composer.system.HistorianRecord }

VSCode throws and error saying, ‘[Composer] TypeNotFoundException: Type HistorianRecord is not defined in namespace org.hyperledger.composer.system’

Expected Behavior

VSCode should recognize system namespaces

Actual Behavior

Validation error from Composer extension

Possible Fix

<!— Not obligatory, but suggest a fix or reason for the bug –>

Steps to Reproduce

  1. Add query statement above to queries.qry file

Existing issues

<!– Have you searched for any existing issues or are their any similar issues that you’ve found? –> - [x] Stack Overflow issues - [x] GitHub Issues - [x] Rocket Chat history

<!– please include any links to issues here –>

Context

<!— How has this bug affected you? What were you trying to accomplish? –>

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in –> * Version used: * Environment name and version (e.g. Chrome 39, node.js 5.4): VSCode 1.14.1 * Operating System and version (desktop or mobile): Linux * Link to your project:

Updated 17/08/2017 21:36

nxos_evpn_vni fails with exception but configuration is applied

ansible/ansible

<!— Verify first that your issue/request is not already reported on GitHub. Also test if the latest release, and master branch are affected too. –>

ISSUE TYPE

<!— Pick one below and delete the rest: –> - Bug Report

COMPONENT NAME

<!— Name of the module/plugin/task/feature –> nxos_evpn_vni

ANSIBLE VERSION

<!— Paste verbatim output from “ansible –version” between quotes below –> ``` ansible 2.3.2.0 configured module search path = Default w/o overrides python version = 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4]


##### CONFIGURATION
ansible.cfg

[defaults] inventory = inventory host_key_checking = False ```

OS / ENVIRONMENT

N/A

SUMMARY

The module is executing with errors but is actually doing what it has to do.

STEPS TO REPRODUCE

Use the module nxos_evpn_vni with any configuration.

<!— Paste example playbooks or commands between quotes below –> - name: configuring evpn vni mapping nxos_evpn_vni: vni: "{{ item.vxlan_id }}" route_distinguisher: auto route_target_export: auto route_target_import: auto route_target_both: auto state: present tags: - vrf - evpn with_items: "{{ vlan_vxlan_map }}" ignore_errors: yes

<!— You can also paste gist.github.com links for larger files –>

EXPECTED RESULTS

Just a tasks that was executed correctly without errors.

ACTUAL RESULTS

<!— What actually happened? If possible run with extra verbosity (-vvvv) –>

<!— Paste verbatim command output between quotes below –> ``` ansible-playbook vxlan.yml –tags evpn

PLAY [vteps] *************************************************************************************************

TASK [include_vars] ****************************************************************************************** ok: [leaf1] ok: [leaf2]

TASK [configuring evpn vni mapping] ************************************************************************** …ignoring An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: ‘NoneType’ object is not iterable failed: [leaf1] (item={u'l3vni': True, u'vlan_id': 666, u'vlan_name': u'TEST', u'vxlan_id': 10666}) => {“failed”: true, “item”: {“l3vni”: true, “vlan_id”: 666, “vlan_name”: “TEST”, “vxlan_id”: 10666}, “module_stderr”: “Traceback (most recent call last):\n File \”/tmp/ansible_iVLBAp/ansible_module_nxos_evpn_vni.py\“, line 364, in <module>\n main()\n File \”/tmp/ansible_iVLBAp/ansible_module_nxos_evpn_vni.py\“, line 347, in main\n result = execute_config(module, candidate)\n File \”/tmp/ansible_iVLBAp/ansible_module_nxos_evpn_vni.py\“, line 272, in execute_config\n result.update(response)\nTypeError: ‘NoneType’ object is not iterable\n”, “module_stdout”: “”, “msg”: “MODULE FAILURE”, “rc”: 0} …ignoring An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: ‘NoneType’ object is not iterable failed: [leaf2] (item={u'l3vni': True, u'vlan_id': 666, u'vlan_name': u'TEST', u'vxlan_id': 10666}) => {“failed”: true, “item”: {“l3vni”: true, “vlan_id”: 666, “vlan_name”: “TEST”, “vxlan_id”: 10666}, “module_stderr”: “Traceback (most recent call last):\n File \”/tmp/ansible_JUVIHK/ansible_module_nxos_evpn_vni.py\“, line 364, in <module>\n main()\n File \”/tmp/ansible_JUVIHK/ansible_module_nxos_evpn_vni.py\“, line 347, in main\n result = execute_config(module, candidate)\n File \”/tmp/ansible_JUVIHK/ansible_module_nxos_evpn_vni.py\“, line 272, in execute_config\n result.update(response)\nTypeError: ‘NoneType’ object is not iterable\n”, “module_stdout”: “”, “msg”: “MODULE FAILURE”, “rc”: 0}

PLAY RECAP *************************************************************************************************** leaf1 : ok=2 changed=0 unreachable=0 failed=0 leaf2 : ok=2 changed=0 unreachable=0 failed=0 ```

Updated 18/08/2017 16:03 5 Comments

IllegalStateException on computed dependency with optional input

bazelbuild/bazel

Description of the problem / feature request / question:

In rules_go, we need to be able to determine the import path for any given go_library rule. There are three ways to do this:

  • Using an explicit importpath attribute.
  • Using an implicit dependency on //:go_prefix. The import path is computed based on a provider from this rule and the go_library’s label.
  • Using the library attribute, which optionally points at another go_library. The import path is inherited from library.

Until now, the implicit dependency on //:go_prefix has been mandatory, but we’d like to make it optional using a computed dependency. However, this crashes Bazel. The crash occurs when a computed dependency function takes a parameter that corresponds to a label attribute, and the label is not present. I would expect the function to receive a None value for the label.

$ bazel build :go_default_library
____Loading package: 
____Loading package: @bazel_tools//tools/cpp
____Loading package: @local_config_xcode//
____Loading package: @local_jdk//
____Loading complete.  Analyzing...
Unhandled exception thrown during build; message: Unrecoverable error while evaluating node 'CONFIGURED_TARGET://:go_default_library babbfbb8a414d5ce590ddead5b11d9e4 (1322640979 1484683016)' (requested by nodes )
____Elapsed time: 0.563s
java.lang.RuntimeException: Unrecoverable error while evaluating node 'CONFIGURED_TARGET://:go_default_library babbfbb8a414d5ce590ddead5b11d9e4 (1322640979 1484683016)' (requested by nodes )
    at com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:476)
    at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:352)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Error in rule '//:go_default_library': precomputed value missing for dependencies: [foo, null]. Available keys: [].
    at com.google.common.base.Preconditions.checkState(Preconditions.java:738)
    at com.google.devtools.build.lib.util.Preconditions.checkState(Preconditions.java:255)
    at com.google.devtools.build.lib.packages.Attribute$SkylarkComputedDefault.getDefault(Attribute.java:1549)
    at com.google.devtools.build.lib.packages.AbstractAttributeMapper.get(AbstractAttributeMapper.java:60)
    at com.google.devtools.build.lib.analysis.ConfiguredAttributeMapper.getAndValidate(ConfiguredAttributeMapper.java:113)
    at com.google.devtools.build.lib.analysis.ConfiguredAttributeMapper.validateAttributes(ConfiguredAttributeMapper.java:101)
    at com.google.devtools.build.lib.analysis.DependencyResolver.visitRule(DependencyResolver.java:182)
    at com.google.devtools.build.lib.analysis.DependencyResolver.dependentNodeMap(DependencyResolver.java:158)
    at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.computeDependencies(ConfiguredTargetFunction.java:317)
    at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.compute(ConfiguredTargetFunction.java:235)
    at com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:401)
    ... 4 more
java.lang.RuntimeException: Unrecoverable error while evaluating node 'CONFIGURED_TARGET://:go_default_library babbfbb8a414d5ce590ddead5b11d9e4 (1322640979 1484683016)' (requested by nodes )
    at com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:476)
    at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:352)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Error in rule '//:go_default_library': precomputed value missing for dependencies: [foo, null]. Available keys: [].
    at com.google.common.base.Preconditions.checkState(Preconditions.java:738)
    at com.google.devtools.build.lib.util.Preconditions.checkState(Preconditions.java:255)
    at com.google.devtools.build.lib.packages.Attribute$SkylarkComputedDefault.getDefault(Attribute.java:1549)
    at com.google.devtools.build.lib.packages.AbstractAttributeMapper.get(AbstractAttributeMapper.java:60)
    at com.google.devtools.build.lib.analysis.ConfiguredAttributeMapper.getAndValidate(ConfiguredAttributeMapper.java:113)
    at com.google.devtools.build.lib.analysis.ConfiguredAttributeMapper.validateAttributes(ConfiguredAttributeMapper.java:101)
    at com.google.devtools.build.lib.analysis.DependencyResolver.visitRule(DependencyResolver.java:182)
    at com.google.devtools.build.lib.analysis.DependencyResolver.dependentNodeMap(DependencyResolver.java:158)
    at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.computeDependencies(ConfiguredTargetFunction.java:317)
    at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.compute(ConfiguredTargetFunction.java:235)
    at com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:401)
    ... 4 more

If possible, provide a minimal example to reproduce the problem:

def.bzl

def _go_library_impl(ctx):
  pass

def _go_prefix_default(library, importpath):
  return (None
          if library or importpath
          else Label("//:go_prefix", relative_to_caller_repository = True))

go_library = rule(
    implementation = _go_library_impl,
    attrs = {
        "importpath": attr.string(),
        "library": attr.label(),
        "_go_prefix": attr.label(default = _go_prefix_default),
    },
)

BUILD.bazel

load("//:def.bzl", "go_library")

go_library(
    name = "go_default_library",
    importpath = "foo",
)
$ bazel build :go_default_library

Environment info

  • Operating System: Linux amd64

  • Bazel version (output of bazel info release): 0.5.3

Updated 18/08/2017 09:05

Plan for the end of internship!

mozilla/lightbeam-we

It’s been a great journey so far with Outreachy - Lightbeam - Mozilla. Both, I and @biancadanforth have learned lots! While the two of us intend to keep contributing post-internship, let’s use this space to create a wrap-up plan so that we are all aligned for the official last 2.5 weeks of this internship.

@biancadanforth @jonathanKingston @arroway @pauljt @groovecoder Please add your inputs :)

Updated 18/08/2017 08:32 3 Comments

Can't submit a bug report without registering

vector-im/riot-web

<!– This is a bug report template. By following the instructions below and filling out the sections with your information, you will help the us to get all the necessary data to fix your issue.

You can also preview your report before submitting it. You may remove sections that aren’t relevant to your particular case.

Text between <!– and –​> marks will be invisible in the report. –>

Description

You’re prompted several times and eventually give up. If there’s a problem with the registration process, or with something in the context of an unregistered user, it’s really hard to submit a bug report.

Note: This was submitted to me through another user on a not-matrix.org homeserver. Their issue was human error, but they were frustrated that they couldn’t rageshake their problem on web

Steps to reproduce

  • Don’t be logged in
  • Try to submit a bug report

Expectation: Being able to send a bug report without having to go through the registration process.

Log: not sent <!– You can send us the app’s logs via the ‘Report bug’ link on the ‘Settings’ page. Very important for hard-to-reproduce bugs. Please file a bug here too! –>

<!– Include screenshots if possible: you can drag and drop images below. –>

Version information

<!– IMPORTANT: please answer the following questions, to help us narrow down the problem –>

  • Platform: web (in-browser)
  • Browser: Chrome 59
  • OS: Windows 10
  • URL: riot.im/develop
Updated 16/08/2017 13:35 2 Comments

concepts/configuration/manage-compute-resources-container.md: fix a conversion (issue #4693)

kubernetes/kubernetes.github.io

“multiplied by 100000, and then divided by 1000” has been simplified to “multiplied by 100” Ref: https://github.com/kubernetes/kubernetes.github.io/issues/4693

<!– Reviewable:start –>

This change is <img src=“https://reviewable.kubernetes.io/review_button.svg” height=“34” align=“absmiddle” alt=“Reviewable”/> <!– Reviewable:end –>

Updated 18/08/2017 01:52 4 Comments

Zenoss state changes production state even when test=true

saltstack/salt

Description of Issue

Using the zenoss.monitored and running it with test=true will still change the production state.

Steps to Reproduce Issue

If the device already exist in Zenoss the code will check the state and set it to whatever is specified, without checking test parameter

https://github.com/saltstack/salt/blob/af0c8ffe36c695b9e23a13a3bc2645ed528c1da7/salt/states/zenoss.py#L52-L72

Updated 16/08/2017 09:20 2 Comments

Blockly toolbox collapse subcategories exception

Microsoft/pxt

Exception when adding a new package and a toolbox flyout with a subcategory is open.

Repro steps: 1. Open the Math category and make sure you see the “More” subcategory show up. 2. From the top menu go to Settings -> Add Package. (and not from the Advanced menu).

The following exception occurs: main.js:10271 Uncaught TypeError: Cannot read property 'getShowLines' of null at Blockly.Toolbox.TreeNode.goog.ui.tree.BaseNode.getExpandIconClass (https://pxt.azureedge.net/blob/f18fda6ee99e040d0478bb329470a321c7cb247c/blockly/blockly_compressed.js:959:88) at Blockly.Toolbox.TreeNode.goog.ui.tree.BaseNode.updateExpandIcon (https://pxt.azureedge.net/blob/f18fda6ee99e040d0478bb329470a321c7cb247c/blockly/blockly_compressed.js:967:116) at Blockly.Toolbox.TreeNode.goog.ui.tree.BaseNode.setExpanded (https://pxt.azureedge.net/blob/f18fda6ee99e040d0478bb329470a321c7cb247c/blockly/blockly_compressed.js:951:199) at collapseSubcategories (https://pxt.azureedge.net/blob/7800799a7071ae92302fe70245ee15a1c64ae4b8/pxtblocks.js:3994:25) at Blockly.Toolbox.TreeControl.setSelectedItem (https://pxt.azureedge.net/blob/7800799a7071ae92302fe70245ee15a1c64ae4b8/pxtblocks.js:3970:21) at Editor.updateToolbox (https://pxt.azureedge.net/blob/4f361dff26d397350d166a0e0319cad2712690d8/main.js:2678:40) at https://pxt.azureedge.net/blob/4f361dff26d397350d166a0e0319cad2712690d8/main.js:2140:23 at <anonymous> From previous event: at Editor.domUpdate (https://pxt.azureedge.net/blob/4f361dff26d397350d166a0e0319cad2712690d8/main.js:2130:18) at ProjectView.componentDidUpdate (https://pxt.azureedge.net/blob/4f361dff26d397350d166a0e0319cad2712690d8/main.js:208:21) at CallbackQueue.notifyAll (https://pxt.azureedge.net/blob/4f361dff26d397350d166a0e0319cad2712690d8/main.js:44656:22) at ReactReconcileTransaction.close (

Exception freezes the editor

Updated 15/08/2017 16:03

pkg.installed fails on installing from HTTPS rpm source

saltstack/salt

Description of Issue/Question

I have a formula that installs the Graylog repo package from its https source url. It worked fine until I upgraded Salt to 2017.7.0 this week.

Setup

graylog.repo:
  pkg.installed:
    - sources:
      - graylog-2.2-repository: 'https://packages.graylog2.org/repo/packages/graylog-2.3-repository_latest.rpm'

Steps to Reproduce Issue

Please use the docker container created to reproduce the issue.

docker run -it danlsgiga/salt-pkg-http:2017.7.0

It returns with the following error but works just fine from curl or any browser:


[ERROR   ] Uncaught exception
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/tornado/http1connection.py", line 184, in _read_message
    header_future = delegate.headers_received(start_line, headers)
  File "/usr/lib64/python2.7/site-packages/tornado/simple_httpclient.py", line 457, in headers_received
    self.request.header_callback('%s %s %s\r\n' % first_line)
  File "/usr/lib64/python2.7/site-packages/tornado/stack_context.py", line 274, in null_wrapper
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/salt/fileclient.py", line 626, in on_header
    write_body[1].parse_line(hdr)  # pylint: disable=no-member
  File "/usr/lib64/python2.7/site-packages/tornado/httputil.py", line 188, in parse_line
    name, value = line.split(":", 1)
ValueError: need more than 1 value to unpack
[ERROR   ] Exception in callback <functools.partial object at 0x23040a8>
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/tornado/ioloop.py", line 591, in _run_callback
    ret = callback()
  File "/usr/lib64/python2.7/site-packages/tornado/stack_context.py", line 342, in wrapped
    raise_exc_info(exc)
  File "/usr/lib64/python2.7/site-packages/tornado/stack_context.py", line 313, in wrapped
    ret = fn(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/tornado/simple_httpclient.py", line 400, in <lambda>
    lambda f: f.result())
  File "/usr/lib64/python2.7/site-packages/tornado/concurrent.py", line 214, in result
    raise_exc_info(self._exc_info)
  File "/usr/lib64/python2.7/site-packages/tornado/gen.py", line 879, in run
    yielded = self.gen.send(value)
  File "/usr/lib64/python2.7/site-packages/tornado/http1connection.py", line 186, in _read_message
    yield header_future
  File "/usr/lib64/python2.7/site-packages/tornado/http1connection.py", line 54, in __exit__
    raise _QuietException
_QuietException
[ERROR   ] An error was encountered while installing package(s): Error: HTTP 599: Connection closed reading https://packages.graylog2.org/repo/packages/graylog-2.3-repository_latest.rpm
local:
----------
          ID: graylog.repo
    Function: pkg.installed
      Result: False
     Comment: An error was encountered while installing package(s): Error: HTTP 599: Connection closed reading https://packages.graylog2.org/repo/packages/graylog-2.3-repository_latest.rpm
     Started: 14:51:02.811192
    Duration: 16953.582 ms
     Changes:

Summary for local
------------
Succeeded: 0
Failed:    1
------------
Total states run:     1
Total run time:  16.954 s

Versions Report

Salt Version:
           Salt: 2017.7.0

Dependency Versions:
           cffi: Not Installed
       cherrypy: unknown
       dateutil: 2.5.3
      docker-py: Not Installed
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.7.2
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: Not Installed
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.8
   mysql-python: Not Installed
      pycparser: Not Installed
       pycrypto: 2.6.1
   pycryptodome: 3.4.3
         pygit2: Not Installed
         Python: 2.7.5 (default, Nov  6 2016, 00:28:07)
   python-gnupg: Not Installed
         PyYAML: 3.11
          PyZMQ: 15.3.0
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.2.1
            ZMQ: 4.1.4

System Versions:
           dist: centos 7.3.1611 Core
         locale: UTF-8
        machine: x86_64
        release: 3.10.0-514.26.2.el7.x86_64
         system: Linux
        version: CentOS Linux 7.3.1611 Core
Updated 16/08/2017 14:44 12 Comments

Sign builds

google/gapid

We should be signing our releases. While we’re pre-release this is probably okay for now, but once we hit V1, we’ll need signed builds.

Updated 15/08/2017 13:55

Incorrect documentation for disk.format_

saltstack/salt

Description of Issue/Question

The inline documentation for disk.format_ indicates that the function can be called via a disk.format alias:

salt '*' disk.format /dev/sdX1

However, no such alias exists and running the command from the documentation results in an error:

$ salt storage01.example.com disk.format /dev/sdX1
storage01.example.com:
    'disk.format' is not available.

Versions Report

This documentation error is present from 2016.11 through 2017.7.0.

Updated 15/08/2017 18:01 3 Comments

bug in win_iis module & state - container_setting

saltstack/salt

I already fixed this issue and tested on my pc. To which branch can I push it?

Description of Issue/Question

in win server 2016 processModel.identityType can be set by string or numeric id. i.e: processModel.identityType: 3 or processModel.identityType: SpecificUser

in win server 2016 processModel.identityType can be set only by numeric id. i.e: processModel.identityType: 3

The test for verifying the result of the action is wrong as it sometimes compares string to numeric, depends on your OS and which id you used. Therefore, state / action “fails” when using numeric id.


      ID: apppool-setting
Function: win_iis.container_setting
    Name: name
  Result: False
 Comment: Some settings failed to change.
 Started: 04:56:09.198000
Duration: 15726.0 ms
 Changes:
          ----------
          changes:
              ----------
          failures:
              ----------
              processModel.identityType:
                  ----------
                  new:
                      SpecificUser
                  old:
                      SpecificUser

Summary for server

Succeeded: 1 (changed=1)

Failed: 1

Total states run: 2 Total run time: 16.615 s

Setup

apppool-setting: win_iis.container_setting: - name: DefaultAppPool - container: AppPools - settings: processModel.identityType: 1

Steps to Reproduce Issue

salt ‘*’ win_iis.set_container_setting name=‘DefaultAppPool’ container=‘AppPools’ settings=“{‘processModel.identityType’: ‘1’}”

Versions Report

Salt Version: Salt: 2017.7.0

Dependency Versions: cffi: Not Installed cherrypy: unknown dateutil: Not Installed docker-py: Not Installed gitdb: 0.6.4 gitpython: 1.0.1 ioflo: Not Installed Jinja2: 2.7.2 libgit2: Not Installed libnacl: Not Installed M2Crypto: Not Installed Mako: Not Installed msgpack-pure: Not Installed msgpack-python: 0.4.8 mysql-python: Not Installed pycparser: Not Installed pycrypto: 2.6.1 pycryptodome: 3.4.3 pygit2: Not Installed Python: 2.7.5 (default, Nov 6 2016, 00:28:07) python-gnupg: Not Installed PyYAML: 3.11 PyZMQ: 15.3.0 RAET: Not Installed smmap: 0.9.0 timelib: Not Installed Tornado: 4.2.1 ZMQ: 4.1.4

System Versions: dist: centos 7.3.1611 Core locale: UTF-8 machine: x86_64 release: 3.10.0-514.26.2.el7.x86_64 system: Linux version: CentOS Linux 7.3.1611 Core

Updated 15/08/2017 17:45 1 Comments

AdSense trouble in NWjs

nwjs/nw.js

Hi,

I’ve encountered a bug in NWjs which prevents AdSense to work in some cases in NWjs.

It has something to do with iframe cross-origin access. It fails in webview and in top window frame also.

snimek obrazovky 2017-08-15 v 13 46 23

Updated 16/08/2017 03:53 2 Comments

Update-imported-docs.sh failure on ubuntu 16.04

kubernetes/kubernetes.github.io

<!– Thanks for filing an issue! Before submitting, please fill in the following information. –>

<!–Required Information–> For some reason, update-imported-docs.sh always fails for me on my ubuntu 16.04 machine. This line almost always fails silently (without throwing any error) for me, due to which the script fails with below error: ./update-imported-docs.sh: line 110: cd: docs/federation/api-reference: No such file or directory Filing an issue to find out if any one else also observes the same behaviour.

<!– choose one by changing [ ] to [x] –> - [ ] Feature Request - [x] Bug Report

<!–Optional Information (remove the comment tags around information you would like to include)–> <!–Kubernetes Version:–>

<!–Additional Information:–>

Updated 18/08/2017 06:40 3 Comments

MXID disambiguation stays visible indefinitely long

vector-im/riot-web

<!– This is a bug report template. By following the instructions below and filling out the sections with your information, you will help the us to get all the necessary data to fix your issue.

You can also preview your report before submitting it. You may remove sections that aren’t relevant to your particular case.

Text between <!– and –​> marks will be invisible in the report. –>

Description

If a user sets a name that matches other user’s name the MXID disambiguation part is appended to it. However, if the other user leaves or changes their name the disambiguation part isn’t getting away. That could pose problems, for instance, if a user tried Matrix first using matrix.org and then switched to their own homeserver using the same nickname. It’s hard to get rid of that (@username:homeserver.org) part for everyone. It’s not even consistent, some users/accounts see it and some don’t: I don’t see it from the work account and it’s present when I log in from home using another account.

Steps to reproduce

  • join a room using a matrix.org account with username test
  • join the same room using another homeserver (say homeserver.org) and also rename to test
  • the second user is now visible as test (@username:homeserver.org)
  • switch to the first user and leave the room

The second user will still be test (@username:homeserver.org) even after refreshing the page/restarting the client. I expect the disambiguation to be resolved automatically so there are no MXID parts appended anywhere or there should be a way to refresh the data manually. Also, I think MXID should be appended to both ambiguous users, not just to the latter.

Version information

<!– IMPORTANT: please answer the following questions, to help us narrow down the problem –>

  • Platform: web/desktop (happens in both)
  • Browser: Chrome 61.0.3163.39
  • OS: Debian testing amd64
  • URL: riot.im/develop
Updated 16/08/2017 09:32 2 Comments

Fix tracing when running Android Studio

google/gapid

If Android Studio is open when attempting to take a trace, the trace will likely fail.

This is because Android Studio actively attempts to connect to any Android program awaiting a JDWP connection. GAPID uses JDWP to inject the call interceptor.

We should work with the Android Studio folks to fix this problem.

Updated 15/08/2017 11:39 1 Comments

As a playground user i can see reasons why my inputs are invalid

hyperledger/composer

In various locations within Playground, buttons are disabled due to missing or invalid input. As a user of Playground, it would be useful to know what rules I am violating.

A named instance is during the creation of a new business network (per PR #1846), where a user enters the name of a business network … this is restricted to lowercase and no white space. At the moment we can only indicate an error via a border colouring change … but it is left to the user to determine what the constraint violation is. We could be more helpful here, though in this particular case the window is rather busy … where could we place the warning?

Context

Trying to deploy a new network, needed to figure out naming convention without guidance

Expected Behavior

I should be told what to fix

Actual Behavior

Need to experiment

Possible Fix

Show an indicator … somewhere!

Updated 17/08/2017 21:43 1 Comments

docker_image.present always ends up failing even on correct result.

saltstack/salt

Description of Issue/Question

When running a docker_image.present state, I always end up with an error, even though it should be a success.

Setup

(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)

We need a salt minion with docker installed.

A simple reproduction state is :

pull postgres docker:
  docker_image.present:
    - name: postgres:9-alpine
    - force: True

Steps to Reproduce Issue

(Include debug logs if possible and relevant.)

1) Install salt, docker 2) Create a state as shown before. 3) run salt your_minion state.apply the_state

This gives

[vagrant@localhost ~]$ salt "*" state.apply test -l debug
[DEBUG   ] Reading configuration from /etc/salt/master
[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: 172.17.0.1
[DEBUG   ] Missing configuration file: /home/vagrant/.saltrc
No permissions to access "/var/log/salt/master", are you running as the correct user?
[vagrant@localhost ~]$ aauso^C
[vagrant@localhost ~]$ sudo !!
sudo salt "*" state.apply test -l debug
[DEBUG   ] Reading configuration from /etc/salt/master
[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: 172.17.0.1
[DEBUG   ] Missing configuration file: /root/.saltrc
[DEBUG   ] Configuration file path: /etc/salt/master
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[DEBUG   ] Reading configuration from /etc/salt/master
[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: 172.17.0.1
[DEBUG   ] Missing configuration file: /root/.saltrc
[DEBUG   ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG   ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG   ] Initializing new AsyncZeroMQReqChannel for (u'/etc/salt/pki/master', '172.17.0.1_master', u'tcp://127.0.0.1:4506', u'clear')
[DEBUG   ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pub.ipc
[DEBUG   ] LazyLoaded local_cache.get_load
[DEBUG   ] Reading minion list from /var/cache/salt/master/jobs/02/7a2a9a4f342b0ca3d6d08972a4801260a8d1f810555af991496815986d65e3/.minions.p
[DEBUG   ] get_iter_returns for jid 20170815084444942374 sent to set(['172.17.0.1']) will timeout at 08:44:49.989009
[DEBUG   ] Checking whether jid 20170815084444942374 is still running
[DEBUG   ] Initializing new AsyncZeroMQReqChannel for (u'/etc/salt/pki/master', '172.17.0.1_master', u'tcp://127.0.0.1:4506', u'clear')
[DEBUG   ] Passing on saltutil error. Key 'u'retcode' missing from client return. This may be an error in the client.
[DEBUG   ] Checking whether jid 20170815084444942374 is still running
[DEBUG   ] Initializing new AsyncZeroMQReqChannel for (u'/etc/salt/pki/master', '172.17.0.1_master', u'tcp://127.0.0.1:4506', u'clear')
[DEBUG   ] Passing on saltutil error. Key 'u'retcode' missing from client return. This may be an error in the client.
[DEBUG   ] jid 20170815084444942374 return from 172.17.0.1
[DEBUG   ] return event: {'172.17.0.1': {u'jid': '20170815084444942374', u'retcode': 2, u'ret': {'docker_image_|-pull postgres docker_|-postgres:9-alpine_|-present': {'comment': "Image 'postgres:9-alpine' could not be pulled", 'name': 'postgres:9-alpine', 'start_time': '08:44:45.158444', 'result': False, 'duration': 22513.142, '__run_num__': 0, '__sls__': 'test', 'changes': {'Status': 'Image is up to date for docker.io/postgres:9-alpine', 'Time_Elapsed': 22.496347904205322}, '__id__': 'pull postgres docker'}}, u'out': 'highstate'}}
[DEBUG   ] LazyLoaded highstate.output
[DEBUG   ] LazyLoaded nested.output

172.17.0.1:
----------
          ID: pull postgres docker
    Function: docker_image.present
        Name: postgres:9-alpine
      Result: False
     Comment: Image 'postgres:9-alpine' could not be pulled
     Started: 08:44:45.158444
    Duration: 22513.142 ms
     Changes:   
              ----------
              Status:
                  Image is up to date for docker.io/postgres:9-alpine
              Time_Elapsed:
                  22.4963479042

Summary for 172.17.0.1
------------
Succeeded: 0 (changed=1)
Failed:    1
------------
Total states run:     1
Total run time:  22.513 s

Versions Report

(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.) ``` Salt Version: Salt: 2017.7.0-444-gde88937

Dependency Versions: cffi: 1.9.1 cherrypy: Not Installed dateutil: Not Installed docker-py: 2.4.2 gitdb: Not Installed gitpython: Not Installed ioflo: Not Installed Jinja2: 2.9.6 libgit2: Not Installed libnacl: Not Installed M2Crypto: Not Installed Mako: Not Installed msgpack-pure: Not Installed msgpack-python: 0.4.8 mysql-python: Not Installed pycparser: 2.14 pycrypto: 2.6.1 pycryptodome: Not Installed pygit2: Not Installed Python: 2.7.13 (default, Jun 26 2017, 10:20:05) python-gnupg: Not Installed PyYAML: 3.12 PyZMQ: 16.0.2 RAET: Not Installed smmap: Not Installed timelib: Not Installed Tornado: 4.5.1 ZMQ: 4.1.6

System Versions: dist: fedora 26 Twenty Six locale: UTF-8 machine: x86_64 release: 4.11.8-300.fc26.x86_64 system: Linux version: Fedora 26 Twenty Six ```

Thank you !

Updated 15/08/2017 17:42 1 Comments

Leds on block "create big image" will be off on Firefox on Mac

Microsoft/pxt

Repro Steps: • Navigate to https://makecode.microbit.org/beta on Firefox on Mac • Drag block “create big image” and put it with block “set item to 0” • Click on block “create big image”

Expect Result: Click on block “create big image” and the LEDs should be on Actual Result: Sometimes clicking the next led and the previous led will be off aug-15-2017 15-16-35

Updated 16/08/2017 16:09 1 Comments

Error message changed after switching between Blocks and JavaScript

Microsoft/pxt

Repro Steps: • Navigate to https://makecode.microbit.org/beta • Drag blocks as below, see the error messages’s location blocks •Then switch to JavaScript->switch to Blocks, error messages changed as below edge

Expect Result: When switching between Blocks and JavaScript, error message shouldn’t be change Actual Result: When switching between Blocks and JavaScript, error message changes

Updated 16/08/2017 16:33

OneCore Voices: Support faster speech rates, greater pitch range, etc.

nvaccess/nvda

Compared with NVDA, Narrator is able to speak at faster rates with the OneCore Voices. It can also access a much wider pitch range. In addition, the rate set in Narrator is not affected by the rate set in Windows Settings, whereas NVDA is affected by this. This is because Narrator used an API which was previously private. That API has now been made public, so NVDA will be able to use it.

See the Options property on the SpeechSynthesizer class and the SpeechSynthesizerOptions class. Note that AudioPitch, AudioVolume and SpeakingRate (the properties we want) were only introduced in Windows 10 Insider 10.0.16257.0.

Unfortunately, we can’t use these just yet for a few reasons:

  1. We need a newer version of the Windows 10 SDK, but versions after 10.0.15063 only work with Visual Studio 2017. We can’t yet build with Visual Studio 2017. So, this is blocked by our move to VS 2017, which is in turn blocked by support in SCons.
  2. This is still a preview version of the SDK. Even once it’s out of preview, it might be a while before it gets installed on AppVeyor.

Implementation notes:

  1. Because this will only be available in later builds of Windows 10, we’ll need to test for support of this new API at runtime. I know UWP provides a way to do this, but I’ve never done it myself.
  2. Aside from testing for the API, we’ll probably still need to keep the code around which adjusts rate, etc. with SSML to work with earlier Windows 10 builds. We might just be able to pass the default rate, volume, etc. to _OcSsmlConverter if the new API is supported instead of passing the cached user settings, but I’m not certain. Either way, this part of the code is going to get a bit ugly because we have to support these two cases.
Updated 15/08/2017 05:37 2 Comments

can-view-callbacks demo doesn’t work

canjs/canjs

From https://canjs.com/doc/can-view-callbacks.attr.html

<img width=“689” alt=“screen shot 2017-08-14 at 3 00 22 pm” src=“https://user-images.githubusercontent.com/10070176/29293812-5a314564-8101-11e7-930a-de418df295ee.png”>

Filing in this repo because this is where the demo files are: https://github.com/canjs/canjs/tree/master/demos/can-view-callbacks

Updated 15/08/2017 17:26

Transform Feedback Command Tree Grouping

google/gapid

Traces of applications where in the beginning of each frame transform feedback draw calls are used (e.g. for animation) will have multiple “draw call” groupings at the beginning of the frame with the “invalid FB data pattern” as the thumbnail. - Rename the grouping to indicate that the draw call is for transform feedback - Gapis needs to tell the UI not to show a thumbnail for these groups

Updated 14/08/2017 22:05

Bower state doesn't install correct javascript library version

saltstack/salt

Description of Issue/Question

When I try to install jquery 2.1.4 the state fails to install the correct version. It ends up installing version 3.2.1

Setup

(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)

jquery-installed: bower.installed: - name: jquery#2.1.4 - dir: /EdgeCast/billing/gui/

Steps to Reproduce Issue

(Include debug logs if possible and relevant.)

 sudo salt 'salt-minion' state.apply

root@salt-master:/srv/salt/billing# sudo salt 'salt-minion' state.apply
salt-minion:
----------
          ID: nodejs
    Function: pkg.installed
      Result: True
     Comment: Package nodejs is already installed
     Started: 14:47:31.499733
    Duration: 412.451 ms
     Changes:
----------
          ID: set-nodejs-link
    Function: file.symlink
        Name: /usr/local/bin/node
      Result: True
     Comment: Symlink /usr/local/bin/node is present and owned by root:root
     Started: 14:47:31.913348
    Duration: 0.884 ms
     Changes:
----------
          ID: npm
    Function: pkg.installed
      Result: True
     Comment: Package npm is already installed
     Started: 14:47:31.914303
    Duration: 2.301 ms
     Changes:
----------
          ID: git
    Function: pkg.installed
      Result: True
     Comment: Package git is already installed
     Started: 14:47:31.916669
    Duration: 2.337 ms
     Changes:
----------
          ID: bower
    Function: npm.installed
      Result: True
     Comment: Package(s) 'bower' satisfied by bower@1.8.0
     Started: 14:47:31.919436
    Duration: 186.012 ms
     Changes:
----------
          ID: jquery-installed
    Function: bower.installed
        Name: jquery#2.1.4
      Result: True
     Comment: Package(s) 'jquery#2.1.4' successfully installed
     Started: 14:47:32.105936
    Duration: 2220.932 ms
     Changes:
              ----------
              new:
                  - jquery#2.1.4
              old:

Summary for salt-minion
------------
Succeeded: 6 (changed=1)
Failed:    0
------------
Total states run:     6

Versions Report

(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.) root@salt-master:/srv/salt/billing# salt –versions-report Salt Version: Salt: 2016.3.1

Dependency Versions: cffi: Not Installed cherrypy: Not Installed dateutil: 1.5 gitdb: 0.5.4 gitpython: 0.3.2 RC1 ioflo: Not Installed Jinja2: 2.7.2 libgit2: Not Installed libnacl: Not Installed M2Crypto: Not Installed Mako: 0.9.1 msgpack-pure: Not Installed msgpack-python: 0.3.0 mysql-python: 1.2.3 pycparser: Not Installed pycrypto: 2.6.1 pygit2: Not Installed Python: 2.7.6 (default, Jun 22 2015, 17:58:13) python-gnupg: Not Installed PyYAML: 3.10 PyZMQ: 14.0.1 RAET: Not Installed smmap: 0.8.2 timelib: Not Installed Tornado: 4.2.1 ZMQ: 4.0.5

System Versions: dist: Ubuntu 14.04 trusty machine: x86_64 release: 3.19.0-25-generic system: Linux version: Ubuntu 14.04 trusty

Updated 17/08/2017 03:14 2 Comments

network.system not setting hostname in hosts file, preventing sudo.

saltstack/salt

Description of Issue/Question

I’m currently using https://docs.saltstack.com/en/latest/ref/states/all/salt.states.network.html to set the hostname of my instance with system: network.system: - enabled: True # only neccessary as a bypass for https://github.com/saltstack/salt/issues/6922 - hostname: 'sample-hostname' - apply_hostname: True - retain_settings: True

This does modify my /etc/hostname correctly, but it does not set the hostname in /etc/hosts, instead, there it is the same as before the salt state was ran, so now there’s a mismatch. Granted, I’m aware that https://docs.saltstack.com/en/latest/ref/states/all/salt.states.host.html exists, which allows for further modifications of /etc/hosts, but I assumed the network state call would completely set my hostname, across the whole system. Is it not supposed to? For me with the hostname mismatch, I couldn’t use sudo. See https://askubuntu.com/questions/59458/error-message-when-i-run-sudo-unable-to-resolve-host-none as to why sudo stops working in this case. I’m sure many other things would break too.

I’m unclear. I want to call this a bug, because I don’t know why you’d want to change the hostname in only one place. I would have expected it to wipe out all remnants of the previous hostname. Perhaps it is meant to be this way though, in which case a documentation change should really happen to explain more precisely what this state is supposed to do.

Setup

Debian 8 with system: network.system: - enabled: True # only necessary as a bypass for https://github.com/saltstack/salt/issues/6922 - hostname: 'sample-hostname' - apply_hostname: True - retain_settings: True

Steps to Reproduce Issue

Provision an Debian 8 instance with the above state.

Versions Report

Salt: 2017.7.0

Updated 17/08/2017 17:29 2 Comments

Interactive mode mode app directory should be moved

Azure/azure-cli

After using az interactive users find they now have a ~/.azure-shell directory, which is confusing to Azure Cloud Shell users who expect this directory to relate to the cloud-shell feature in portal.

$ ls -A
.azure  .bash_history  .bash_logout  .bashrc  .cache  clouddrive  .profile  temp.azcli
$ az interactive
$ la -A   
.azure  .azure-shell  .bash_history  .bash_logout  .bashrc  .cache  clouddrive  .config  .profile  temp.azcli
Updated 14/08/2017 21:08 1 Comments

[Table] Make code compilation faster when dev'ing on Table

palantir/blueprint

When I press Cmd + S in a Table file with npm run watch running, all of the following execute regardless of the type of file I was just editing:

[11:44:43] Working directory changed to ~/Developer/blueprint-external
[11:44:46] Using gulpfile ~/Developer/blueprint-external/gulpfile.js
[11:44:46] Starting 'icons'...
[11:44:46] Finished 'icons' after 36 ms
[11:44:46] Starting 'tsc-core'...
[11:44:46] Starting 'sass-variables'...
[11:44:46] Finished 'sass-variables' after 274 ms
[11:44:46] Starting 'sass-core'...
[11:44:46] core: compiling 74 typescript files
[11:44:49] Finished 'tsc-core' after 3.53 s
[11:44:49] Starting 'tsc-table'...
[11:44:49] table: compiling 43 typescript files
[11:44:51] Finished 'tsc-table' after 1.85 s
[11:44:53] write blueprint.css.map
[11:44:53] write blueprint.css
[11:44:53] Finished 'sass-core' after 7.1 s
[11:44:53] Starting 'sass-table'...
[11:44:54] write table.css.map
[11:44:54] write table.css
[11:44:54] Finished 'sass-table' after 302 ms

Would be a huge productivity win to speed this up.

Updated 15/08/2017 17:26

Unread tracker is reset before image are loaded

vector-im/riot-web

Description

When you open a room with images in the last messages the unread tracker position and behavior is computed before image are loaded.

Steps to reproduce

See the attached screen capture t.zip. We see the unread tracker, then images are loaded and:

  1. I’m still at the end of the messages
  2. The unread tracker is lost
  3. The “go to unread message” is not also not here.

It should either load images and put them beside my scroll position, or keep the unread tracker.

Version information

  • Platform: web (in-browser)?

  • Browser: Firefox 54.0

  • OS: Ubuntu URL: private riot, version 0.11.4
Updated 16/08/2017 13:46 4 Comments

Agree Revised Playground Navigation Structure

hyperledger/composer

As we’ve added more functionality to Playground (yay!), our existing navigation designs are starting to stretch at the seams a little (boo!). So, we should revisit this. A few of the things we know are a little “janky” at the moment…

  1. DEFINE tab left-hand navigation. This does not scale very well to lots of files - what can we do here to facilitate working with a lot of files in a business network definition?

  2. TEST tab left-hand navigation. Again, when models were only Assets, Participants and Transactions, the headings here worked well. Now though, we have “Transactions” as a heading for just the “Historian” - which is where you go to see your Events and Transactions. Do we need to re-name things here? Do Queries need to surface anywhere? What about a section for them? All these things and more, to be discussed.

  3. IDs section. Is it still sensible for it to live up in the top left to get there? Or with the ID Cards screen, should that just be where you log out? And then where do you go to do admin on IDs?

There may be other things we want to look at here too. Might be a good idea to kick this one off with a workshop session??

Updated 17/08/2017 21:45

Full parse Profiler

noahpresler/semesterly

Design a system to profile the “goodness” of a parse. In its current idealization, the Profiler will be a set of metrics (potentially visual charts as well).

Some ideas: - [ ] Sections per unique course - [ ] unique professors - [ ] distribution of 12hr and 24hr time ranges - [ ] Splitting up name into first and last - [ ] Unique builidings - [ ] lists are not built up as the parse progress (i.e. failure to clear information)

The general principle is that the more detailed information we can get, the better we can harness information to develop features and affect the product at its core!


This Profiler should be subclassed from the parsing.library.viewer.Viewer and be able to iteratively add on more metrics as more are developed.


Similar but not the same as #552

Updated 15/08/2017 20:58

[NTI] IObject type suspiciously specialized to structural type

google/closure-compiler

We use objects with dynamic properties for keys obfucation. But (?) type does not work correctly: /** @param {?} keys */ function serializeTextFormat(keys) { const res = {}; res[keys.bold] = true; // keys - ? res[keys.italic] = true; // keys - string res[keys.underline] = false; return res; }

https://closure-compiler-debugger.appspot.com/#input0%3D%252F*%2520%2540param%2520%257B%253F%257D%2520keys%2520%252F%250Afunction%2520serializeTextFormat(keys)%2520%257B%250A%2520%2520const%2520res%2520%253D%2520%257B%257D%253B%250A%2520%2520res%255Bkeys.bold%255D%2520%253D%2520true%253B%250A%2520%2520res%255Bkeys.italic%255D%2520%253D%2520true%253B%250A%2520%2520res%255Bkeys.underline%255D%2520%253D%2520false%253B%250A%2520%2520return%2520res%253B%250A%257D%26input1%26conformanceConfig%26externs%26refasterjs-template%26includeDefaultExterns%3D1%26CHECK_SYMBOLS%3D1%26MISSING_PROPERTIES%3D1%26TRANSPILE%3D1%26CHECK_TYPES%3D1%26CHECK_TYPES_NEW_INFERENCE%3D1%26PRESERVE_TYPE_ANNOTATIONS%3D1%26PRETTY_PRINT%3D1

Updated 15/08/2017 18:40 7 Comments

Fork me on GitHub