url
stringlengths 60
60
| repository_url
stringclasses 1
value | labels_url
stringlengths 74
74
| comments_url
stringlengths 69
69
| events_url
stringlengths 67
67
| html_url
stringlengths 48
50
| id
int64 571M
1.59B
| node_id
stringlengths 18
32
| number
int64 1.15k
6.14k
| title
stringlengths 1
342
| user
dict | labels
list | state
stringclasses 2
values | locked
bool 1
class | assignee
dict | assignees
list | milestone
null | comments
int64 0
51
| created_at
timestamp[s] | updated_at
timestamp[s] | closed_at
timestamp[s] | author_association
stringclasses 4
values | active_lock_reason
null | body
stringlengths 0
76.3k
⌀ | reactions
dict | timeline_url
stringlengths 69
69
| performed_via_github_app
null | state_reason
stringclasses 3
values | draft
bool 2
classes | pull_request
dict | is_pull_request
bool 2
classes |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/streamlit/streamlit/issues/1651 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1651/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1651/comments | https://api.github.com/repos/streamlit/streamlit/issues/1651/events | https://github.com/streamlit/streamlit/pull/1651 | 648,477,773 | MDExOlB1bGxSZXF1ZXN0NDQyMjgwODU3 | 1,651 | Add Bootstrap styles | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-30T20:40:14 | 2020-07-01T17:13:33 | 2020-07-01T17:13:26 | COLLABORATOR | null | This PR adds necessary bootstrap styles to our `streamlit.css`.
- Also, `streamlit.css` should be inside `assets`. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1651/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1651/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1651",
"html_url": "https://github.com/streamlit/streamlit/pull/1651",
"diff_url": "https://github.com/streamlit/streamlit/pull/1651.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1651.patch",
"merged_at": "2020-07-01T17:13:26"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1650 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1650/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1650/comments | https://api.github.com/repos/streamlit/streamlit/issues/1650/events | https://github.com/streamlit/streamlit/issues/1650 | 648,139,333 | MDU6SXNzdWU2NDgxMzkzMzM= | 1,650 | Tensorflow's new version breaks pytests | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2026998410,
"node_id": "MDU6TGFiZWwyMDI2OTk4NDEw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:dependencies",
"name": "area:dependencies",
"color": "C2E0C6",
"default": false,
"description": ""
}
] | closed | false | {
"login": "kmcgrady",
"id": 69432,
"node_id": "MDQ6VXNlcjY5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kmcgrady",
"html_url": "https://github.com/kmcgrady",
"followers_url": "https://api.github.com/users/kmcgrady/followers",
"following_url": "https://api.github.com/users/kmcgrady/following{/other_user}",
"gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions",
"organizations_url": "https://api.github.com/users/kmcgrady/orgs",
"repos_url": "https://api.github.com/users/kmcgrady/repos",
"events_url": "https://api.github.com/users/kmcgrady/events{/privacy}",
"received_events_url": "https://api.github.com/users/kmcgrady/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "kmcgrady",
"id": 69432,
"node_id": "MDQ6VXNlcjY5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kmcgrady",
"html_url": "https://github.com/kmcgrady",
"followers_url": "https://api.github.com/users/kmcgrady/followers",
"following_url": "https://api.github.com/users/kmcgrady/following{/other_user}",
"gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions",
"organizations_url": "https://api.github.com/users/kmcgrady/orgs",
"repos_url": "https://api.github.com/users/kmcgrady/repos",
"events_url": "https://api.github.com/users/kmcgrady/events{/privacy}",
"received_events_url": "https://api.github.com/users/kmcgrady/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2020-06-30T12:39:40 | 2020-09-04T00:20:43 | 2020-09-04T00:20:42 | COLLABORATOR | null | # Summary
`tensorflow` has released a new version (2.3.0rc0) on June 27, 2020 which breaks `test_keras_model` and `test_tf_keras_model` pytests. I've silenced the issue by downgrading the dependency, but we need to solve it appropriately. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1650/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1650/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1649 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1649/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1649/comments | https://api.github.com/repos/streamlit/streamlit/issues/1649/events | https://github.com/streamlit/streamlit/pull/1649 | 647,718,152 | MDExOlB1bGxSZXF1ZXN0NDQxNjg2Mzgw | 1,649 | setup.py: fix description and long-description | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-29T22:42:40 | 2020-06-30T16:19:29 | 2020-06-30T16:19:25 | COLLABORATOR | null | Updates "description" and "long_description" in setup.py. (These are displayed in our PyPI page.)
"long_description" was previously reading a `lib/README.md` file that I don't think anyone ever read (and that is long-since outdated). I removed that file, since it doesn't reflect reality, and just inlined the long description. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1649/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1649/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1649",
"html_url": "https://github.com/streamlit/streamlit/pull/1649",
"diff_url": "https://github.com/streamlit/streamlit/pull/1649.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1649.patch",
"merged_at": "2020-06-30T16:19:25"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1648 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1648/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1648/comments | https://api.github.com/repos/streamlit/streamlit/issues/1648/events | https://github.com/streamlit/streamlit/pull/1648 | 647,709,466 | MDExOlB1bGxSZXF1ZXN0NDQxNjc5Mjcy | 1,648 | Template setup.py: add `install_requires` | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-29T22:20:33 | 2020-06-29T22:22:00 | 2020-06-29T22:21:56 | COLLABORATOR | null | Components need to list their dependencies. Every component depends on Streamlit. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1648/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1648/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1648",
"html_url": "https://github.com/streamlit/streamlit/pull/1648",
"diff_url": "https://github.com/streamlit/streamlit/pull/1648.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1648.patch",
"merged_at": "2020-06-29T22:21:56"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1647 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1647/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1647/comments | https://api.github.com/repos/streamlit/streamlit/issues/1647/events | https://github.com/streamlit/streamlit/pull/1647 | 647,574,701 | MDExOlB1bGxSZXF1ZXN0NDQxNTc1Mzg5 | 1,647 | Release 0.62.1 | {
"login": "tvst",
"id": 690814,
"node_id": "MDQ6VXNlcjY5MDgxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/690814?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tvst",
"html_url": "https://github.com/tvst",
"followers_url": "https://api.github.com/users/tvst/followers",
"following_url": "https://api.github.com/users/tvst/following{/other_user}",
"gists_url": "https://api.github.com/users/tvst/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tvst/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tvst/subscriptions",
"organizations_url": "https://api.github.com/users/tvst/orgs",
"repos_url": "https://api.github.com/users/tvst/repos",
"events_url": "https://api.github.com/users/tvst/events{/privacy}",
"received_events_url": "https://api.github.com/users/tvst/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-29T18:21:57 | 2020-07-14T07:24:47 | 2020-06-30T19:33:53 | CONTRIBUTOR | null | Fix use of wrong mapbox token!
(Pay no mind to the number of commits. There are [only 4 commits in this](https://github.com/streamlit/streamlit/pull/1647/files/c4ace8cfdc69699effa4fd012fb1babc2bc9e036..cc483438167aa39a2e0a22835bbec3e3db4e1941). I just added the commits onto the 0.62.0 release we tagged)
Randy: this doesn't change anything in the docs. Github is just confused because I'm updating a tag. When I actually merge this with `develop` it won't have any doc changes. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1647/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1647/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1647",
"html_url": "https://github.com/streamlit/streamlit/pull/1647",
"diff_url": "https://github.com/streamlit/streamlit/pull/1647.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1647.patch",
"merged_at": "2020-06-30T19:33:53"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1646 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1646/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1646/comments | https://api.github.com/repos/streamlit/streamlit/issues/1646/events | https://github.com/streamlit/streamlit/issues/1646 | 647,553,640 | MDU6SXNzdWU2NDc1NTM2NDA= | 1,646 | Altered dataframe doesn't persist | {
"login": "nabsabraham",
"id": 36169471,
"node_id": "MDQ6VXNlcjM2MTY5NDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/36169471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nabsabraham",
"html_url": "https://github.com/nabsabraham",
"followers_url": "https://api.github.com/users/nabsabraham/followers",
"following_url": "https://api.github.com/users/nabsabraham/following{/other_user}",
"gists_url": "https://api.github.com/users/nabsabraham/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nabsabraham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nabsabraham/subscriptions",
"organizations_url": "https://api.github.com/users/nabsabraham/orgs",
"repos_url": "https://api.github.com/users/nabsabraham/repos",
"events_url": "https://api.github.com/users/nabsabraham/events{/privacy}",
"received_events_url": "https://api.github.com/users/nabsabraham/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 1964011103,
"node_id": "MDU6TGFiZWwxOTY0MDExMTAz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.dataframe",
"name": "feature:st.dataframe",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2020-06-29T17:42:48 | 2021-03-26T15:49:21 | 2021-03-26T15:49:21 | NONE | null | # Summary
I'm not sure if I'm doing this right but I want to alter a dataframe based on if a user says so and so I use a radio button with an if-statement. The dataframe gets changed with `gn_radio = Change` but it seems it hasn't changed it globally so when the user tries to revert the operation by selecting `gn_radio= Revert`, it has not read that the df has changed. I tried caching the functions that do `change_df` and `revert_df` but I'm not sure this is correct.
# Steps to reproduce
```
if gn_radio =='Change':
new_df = change_df(df)
gn_prev_altered = True
elif ((gn_radio =='Revert') and (gn_prev_altered == True)):
new_df = revert_df(new_df)
```
## Expected behavior:
I expected the dataframe to change globally when I apply a function to it.
## Actual behavior:
Whenever I select one of the options in the radio button, it doesn't use the updated dataframe.
# Debug info
- Streamlit version: 0.62
- Python version: 3.7.6
- Using Conda
- OS version: Mac
- Browser version:
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1646/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1646/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1645 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1645/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1645/comments | https://api.github.com/repos/streamlit/streamlit/issues/1645/events | https://github.com/streamlit/streamlit/pull/1645 | 647,478,456 | MDExOlB1bGxSZXF1ZXN0NDQxNDk3ODcz | 1,645 | Remove useNode and update XSRF + CORS conflict | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-29T15:40:03 | 2020-07-20T15:51:53 | 2020-07-01T19:34:11 | CONTRIBUTOR | null | **Issue:** Fixes #1629
**Description:**
1. Removes `global.useNode` and replace with `global.developmentMode` if needed
2. Update the XSRF + CORS conflict warning message to be more informative
---
**Contribution License Agreement**
By submiting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1645/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1645/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1645",
"html_url": "https://github.com/streamlit/streamlit/pull/1645",
"diff_url": "https://github.com/streamlit/streamlit/pull/1645.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1645.patch",
"merged_at": "2020-07-01T19:34:11"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1644 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1644/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1644/comments | https://api.github.com/repos/streamlit/streamlit/issues/1644/events | https://github.com/streamlit/streamlit/issues/1644 | 647,417,518 | MDU6SXNzdWU2NDc0MTc1MTg= | 1,644 | KeyError: '<folder name>' at rerun | {
"login": "pierresegonne",
"id": 32778266,
"node_id": "MDQ6VXNlcjMyNzc4MjY2",
"avatar_url": "https://avatars.githubusercontent.com/u/32778266?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pierresegonne",
"html_url": "https://github.com/pierresegonne",
"followers_url": "https://api.github.com/users/pierresegonne/followers",
"following_url": "https://api.github.com/users/pierresegonne/following{/other_user}",
"gists_url": "https://api.github.com/users/pierresegonne/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pierresegonne/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pierresegonne/subscriptions",
"organizations_url": "https://api.github.com/users/pierresegonne/orgs",
"repos_url": "https://api.github.com/users/pierresegonne/repos",
"events_url": "https://api.github.com/users/pierresegonne/events{/privacy}",
"received_events_url": "https://api.github.com/users/pierresegonne/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 3 | 2020-06-29T14:19:47 | 2021-03-26T15:48:23 | 2021-03-26T15:48:23 | NONE | null | # Summary
Reloading of streamlit project generates a key error for an import of a constant from a different folder.
With the following structure:
```
./
__init__.py
--/debugger/
----/main.py
----/const.py
----/database.py
----/__init__.py
--/contrib/
----/utils/
------/config.py
```
`main` imports `database` which imports some constant from `const`, itself imported from `contrib/utils/config`
# Steps to reproduce
What are the steps we should take to reproduce the bug:
1. Clone https://github.com/pierresegonne/streamlit_import_keyerror
2. Run `PYTHONPATH=. streamlit run debugger/main.py`
The demo app should load
3. Introduce a change (create new blank line for example)
4. Press `Rerun` button
## Expected behavior:
If there were no bugs, the app would simply reload without any changes
## Actual behavior:
Instead, the app crashes with due to `KeyError: 'contrib'`
## Is this a regression?
No
# Debug info
- Streamlit version: (get it with `0.62.0`)
- Python version: (get it with `3.7.4`)
- Using pip `20.1.1`
- OS version: OS X 10.15.3
- Browser version: Google Chrome 83.0.4103.116
# Additional information
Please let me know if more details are needed, but I hope that with the GitHub repository, it should be straightforward to reproduce. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1644/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1644/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1643 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1643/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1643/comments | https://api.github.com/repos/streamlit/streamlit/issues/1643/events | https://github.com/streamlit/streamlit/issues/1643 | 647,163,220 | MDU6SXNzdWU2NDcxNjMyMjA= | 1,643 | can't display all dataframe in firefox | {
"login": "dsos",
"id": 3402218,
"node_id": "MDQ6VXNlcjM0MDIyMTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3402218?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dsos",
"html_url": "https://github.com/dsos",
"followers_url": "https://api.github.com/users/dsos/followers",
"following_url": "https://api.github.com/users/dsos/following{/other_user}",
"gists_url": "https://api.github.com/users/dsos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dsos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsos/subscriptions",
"organizations_url": "https://api.github.com/users/dsos/orgs",
"repos_url": "https://api.github.com/users/dsos/repos",
"events_url": "https://api.github.com/users/dsos/events{/privacy}",
"received_events_url": "https://api.github.com/users/dsos/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 2 | 2020-06-29T06:49:05 | 2020-10-29T00:39:59 | 2020-10-29T00:00:47 | NONE | null | # Summary
streamlit hello
choose dataframe
st.write("### Gross Agricultural Production ($B)", data.sort_index())
can't display united_states
# Steps to reproduce
What are the steps we should take to reproduce the bug:
1.streamlit hello
2.choose dataframe
3.st.write("### Gross Agricultural Production ($B)", data.sort_index())
4.can't display united_states
## Expected behavior:
Explain what you expect to happen when you go through the steps above, assuming there were no bugs.
## Actual behavior:
Explain the buggy behavior you experience when you go through the steps above.
If applicable, add screenshots to help explain your problem.
## Is this a regression?
That is, did this use to work the way you expected in the past?
yes / no
# Debug info
- Streamlit version: (get it with `$ streamlit version`)
- Python version: (get it with `$ python --version`)
- Using Conda? PipEnv? PyEnv? Pex?
- OS version:
- Browser version:
# Additional information
If needed, add any other context about the problem here. For example, did this bug come from https://discuss.streamlit.io or another site? Link the original source here!
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1643/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1643/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1642 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1642/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1642/comments | https://api.github.com/repos/streamlit/streamlit/issues/1642/events | https://github.com/streamlit/streamlit/pull/1642 | 646,998,718 | MDExOlB1bGxSZXF1ZXN0NDQxMTA5MzQ3 | 1,642 | Track component instance name | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-28T20:24:21 | 2020-07-03T12:10:37 | 2020-07-03T12:10:33 | COLLABORATOR | null | ~~I'm using `DeltaCounter` for storing component instance names. Should I use something else?~~
After a discussion with Corey and Tim, we decided to introduce a new `CustomComponentCounter`, which entries would be sent as `customComponentStats`, and will contain the `name` and the `count` of a component. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1642/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1642/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1642",
"html_url": "https://github.com/streamlit/streamlit/pull/1642",
"diff_url": "https://github.com/streamlit/streamlit/pull/1642.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1642.patch",
"merged_at": "2020-07-03T12:10:33"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1641 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1641/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1641/comments | https://api.github.com/repos/streamlit/streamlit/issues/1641/events | https://github.com/streamlit/streamlit/issues/1641 | 646,994,837 | MDU6SXNzdWU2NDY5OTQ4Mzc= | 1,641 | StreamlitAPIException: Unable to convert object of type <class 'str'> to pandas.DataFrame. | {
"login": "Gopinathts",
"id": 48983135,
"node_id": "MDQ6VXNlcjQ4OTgzMTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/48983135?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Gopinathts",
"html_url": "https://github.com/Gopinathts",
"followers_url": "https://api.github.com/users/Gopinathts/followers",
"following_url": "https://api.github.com/users/Gopinathts/following{/other_user}",
"gists_url": "https://api.github.com/users/Gopinathts/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Gopinathts/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Gopinathts/subscriptions",
"organizations_url": "https://api.github.com/users/Gopinathts/orgs",
"repos_url": "https://api.github.com/users/Gopinathts/repos",
"events_url": "https://api.github.com/users/Gopinathts/events{/privacy}",
"received_events_url": "https://api.github.com/users/Gopinathts/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 9 | 2020-06-28T20:00:01 | 2022-06-10T09:53:02 | 2020-06-29T18:51:31 | NONE | null | # Summary
while running a ML data prediction model, I am trying to write a confusion matrix using -
confusion_matrix(class_test_df.status, predict_test_df.predicted)
lg_reg_report = (classification_report(class_test_df, predict_test_df.predicted))
st.table(lg_reg_report)
# Steps to reproduce
from sklearn import metrics
from sklearn.metrics import confusion_matrix
from sklearn.metrics import classification_report
st.write("3a. Confusion Matrix using sklearn")
print("The model with dummy variable coding output: ")
confusion_matrix(class_test_df.status, predict_test_df.predicted)
lg_reg_report = (classification_report(class_test_df, predict_test_df.predicted))
st.write(st.table(lg_reg_report))
![Screenshot from 2020-06-29 01-14-25](https://user-images.githubusercontent.com/48983135/85956958-dd7eb600-b9a6-11ea-9379-013d9846c33e.png)
What are the steps we should take to reproduce the bug:
you should try to write a confusion matrix table as shown above.
## Expected behavior:
It should display a confusion matrix table
## Actual behavior:
It is throwing an error as shown in the attached screen shot
## Is this a regression?
No
That is, did this use to work the way you expected in the past?
not sure
# Debug info
- Streamlit version: version 0.58.0
- Python version: Python 2.7.18rc1
- Using Conda? No (Installed)
- OS version:Ubuntu 20.04 LTS
- Browser version: Google chrome -Version 83.0.4103.116 (Official Build) (64-bit)
# Additional information
If needed, add any other context about the problem here. For example, did this bug come from https://discuss.streamlit.io or another site? Link the original source here!
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1641/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1641/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1640 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1640/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1640/comments | https://api.github.com/repos/streamlit/streamlit/issues/1640/events | https://github.com/streamlit/streamlit/issues/1640 | 646,979,001 | MDU6SXNzdWU2NDY5NzkwMDE= | 1,640 | cx-Oracle's new version breaks pytest | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1520675746,
"node_id": "MDU6TGFiZWwxNTIwNjc1NzQ2",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:infra",
"name": "area:infra",
"color": "C2E0C6",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2020-06-28T18:21:52 | 2022-09-23T14:05:36 | 2022-09-23T14:05:36 | COLLABORATOR | null | # Summary
`cx-Oracle` has released a new version (8.0.0) on June 26, 2020 which breaks `test_sqlalchemy_engine_2_oracle` pytest.
I've silenced the issue by downgrading the dependency, but we need to solve it appropriately. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1640/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1640/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1639 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1639/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1639/comments | https://api.github.com/repos/streamlit/streamlit/issues/1639/events | https://github.com/streamlit/streamlit/pull/1639 | 646,969,831 | MDExOlB1bGxSZXF1ZXN0NDQxMDg4MjEy | 1,639 | Fix pytests | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-28T17:27:18 | 2020-06-29T16:48:38 | 2020-06-29T16:48:34 | COLLABORATOR | null | 2 issues were causing pytests to fail:
- Tensorflow required `scipy==1.4.1`
- cx-Oracle `8.0.0` broke `test_sqlalchemy_engine_2_oracle` | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1639/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1639/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1639",
"html_url": "https://github.com/streamlit/streamlit/pull/1639",
"diff_url": "https://github.com/streamlit/streamlit/pull/1639.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1639.patch",
"merged_at": "2020-06-29T16:48:34"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1638 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1638/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1638/comments | https://api.github.com/repos/streamlit/streamlit/issues/1638/events | https://github.com/streamlit/streamlit/pull/1638 | 646,693,897 | MDExOlB1bGxSZXF1ZXN0NDQwOTE5ODc0 | 1,638 | Add report hash to MetricsManager | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 4 | 2020-06-27T14:37:58 | 2020-06-30T20:43:25 | 2020-06-30T20:43:19 | COLLABORATOR | null | I was afraid to break our metrics, so I included the `reportHash` as an additional parameter. ~~I believe it should be used as an id in the `identify` method instead.~~ @tvst, let me know what you think. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1638/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1638/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1638",
"html_url": "https://github.com/streamlit/streamlit/pull/1638",
"diff_url": "https://github.com/streamlit/streamlit/pull/1638.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1638.patch",
"merged_at": "2020-06-30T20:43:19"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1637 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1637/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1637/comments | https://api.github.com/repos/streamlit/streamlit/issues/1637/events | https://github.com/streamlit/streamlit/pull/1637 | 646,680,064 | MDExOlB1bGxSZXF1ZXN0NDQwOTEwMDQw | 1,637 | (CC) Load streamlit.css from /assets | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2020-06-27T13:09:25 | 2020-06-29T16:52:36 | 2020-06-29T16:52:36 | COLLABORATOR | null | This will work as soon as #1635 is available in `feature/plugins`. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1637/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1637/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1637",
"html_url": "https://github.com/streamlit/streamlit/pull/1637",
"diff_url": "https://github.com/streamlit/streamlit/pull/1637.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1637.patch",
"merged_at": "2020-06-29T16:52:36"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1636 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1636/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1636/comments | https://api.github.com/repos/streamlit/streamlit/issues/1636/events | https://github.com/streamlit/streamlit/issues/1636 | 646,676,385 | MDU6SXNzdWU2NDY2NzYzODU= | 1,636 | Cannot Deploy Streamlit to Heroku | {
"login": "oke-aditya",
"id": 47158509,
"node_id": "MDQ6VXNlcjQ3MTU4NTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/47158509?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oke-aditya",
"html_url": "https://github.com/oke-aditya",
"followers_url": "https://api.github.com/users/oke-aditya/followers",
"following_url": "https://api.github.com/users/oke-aditya/following{/other_user}",
"gists_url": "https://api.github.com/users/oke-aditya/gists{/gist_id}",
"starred_url": "https://api.github.com/users/oke-aditya/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/oke-aditya/subscriptions",
"organizations_url": "https://api.github.com/users/oke-aditya/orgs",
"repos_url": "https://api.github.com/users/oke-aditya/repos",
"events_url": "https://api.github.com/users/oke-aditya/events{/privacy}",
"received_events_url": "https://api.github.com/users/oke-aditya/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 8 | 2020-06-27T12:45:39 | 2020-08-06T23:07:50 | 2020-07-02T13:39:44 | NONE | null | # Summary
Hey Streamlit Team. You are doing fantastic job. My app build successfully locally, but when shifting it to heroku. It gives strange errors.
# Steps to reproduce
What are the steps we should take to reproduce the bug:
1. Clone my repo. [from here](https://github.com/oke-aditya/mantisshrimp_streamlit)
2. Install the requirements. Check if it runs locally by running streamlit run src/object_detection_app.py
3. Try to deploy to Heroku. It will give strange errors.
## Expected behavior:
Should deploy properly as I'm Following the steps.
## Actual behavior:
Here is Heroku log: -
![image](https://user-images.githubusercontent.com/47158509/85922549-d28e2d80-b8a1-11ea-8403-bcb4fc4253da.png)
# Debug info
- Streamlit version: 0.62.0
- Python version: 3.6.8 locally and 3.6.10 on Heroku.
- Using Conda locally, Heroku uses Pip
- OS version: Heroku Linux. Locally Windows
# Additional information
- My setup file looks like this, which is recommended by discussion forums. (I'm not exposing my email here it is fine in repo).
```
mkdir -p ~/.streamlit/
echo "\
[general]\n\
email = \"myemail@example.com\"\n\
" > ~/.streamlit/credentials.toml
echo "\
[server]\n\
headless = true\n\
port = $PORT\n\
enableCORS = false\n\
\n\
" > ~/.streamlit/config.toml
```
and this is the Procfile
```
web: sh setup.sh && streamlit run src/object_detection_app.py
```
Please let me know the changes required to make this run on Heroku. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1636/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1636/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1635 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1635/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1635/comments | https://api.github.com/repos/streamlit/streamlit/issues/1635/events | https://github.com/streamlit/streamlit/pull/1635 | 646,667,958 | MDExOlB1bGxSZXF1ZXN0NDQwOTAxMzQx | 1,635 | /assets Tornado endpoint | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-27T11:59:12 | 2020-06-30T19:46:46 | 2020-06-30T19:46:00 | COLLABORATOR | null | - Move static assets (fonts, images) from `src/assets` to `public/assets`.
- Create `/assets` Tornado endpoint.
- Add `"Access-Control-Allow-Origin": "*"` to the `devServer`, so that we can load fonts from `streamlit.css`. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1635/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1635/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1635",
"html_url": "https://github.com/streamlit/streamlit/pull/1635",
"diff_url": "https://github.com/streamlit/streamlit/pull/1635.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1635.patch",
"merged_at": "2020-06-30T19:46:00"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1634 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1634/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1634/comments | https://api.github.com/repos/streamlit/streamlit/issues/1634/events | https://github.com/streamlit/streamlit/issues/1634 | 646,562,994 | MDU6SXNzdWU2NDY1NjI5OTQ= | 1,634 | Option to change the Streamlit Logo | {
"login": "rajat4493",
"id": 12132035,
"node_id": "MDQ6VXNlcjEyMTMyMDM1",
"avatar_url": "https://avatars.githubusercontent.com/u/12132035?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajat4493",
"html_url": "https://github.com/rajat4493",
"followers_url": "https://api.github.com/users/rajat4493/followers",
"following_url": "https://api.github.com/users/rajat4493/following{/other_user}",
"gists_url": "https://api.github.com/users/rajat4493/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rajat4493/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rajat4493/subscriptions",
"organizations_url": "https://api.github.com/users/rajat4493/orgs",
"repos_url": "https://api.github.com/users/rajat4493/repos",
"events_url": "https://api.github.com/users/rajat4493/events{/privacy}",
"received_events_url": "https://api.github.com/users/rajat4493/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | closed | false | null | [] | null | 2 | 2020-06-26T23:45:30 | 2020-08-06T23:07:50 | 2020-06-29T18:28:42 | NONE | null | _(Note, you don't have to fill out every section here. They're just here for guidance. That said, nicely detailed feature requests are more likely to get eng attention sooner)_
### Problem
Can't change the Streamlit logo - No doubt it's beautiful but an option to customize it would be great
### Solution
**MVP:** st.logo()
**Possible additions:**
**Preferred solution:** Easy option to change the logo
### Additional context
Add any other context or screenshots about the feature request here. For exmaple, did this FR come from https://discuss.streamlit.io or another site? Link the original source here!
![image](https://user-images.githubusercontent.com/12132035/85908973-33335100-b835-11ea-8368-1fa9d5784c2f.png)
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1634/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1634/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1633 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1633/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1633/comments | https://api.github.com/repos/streamlit/streamlit/issues/1633/events | https://github.com/streamlit/streamlit/pull/1633 | 646,013,446 | MDExOlB1bGxSZXF1ZXN0NDQwMzg1Mjcy | 1,633 | Update demos.py, move streamlit import into code | {
"login": "Zylatis",
"id": 1456631,
"node_id": "MDQ6VXNlcjE0NTY2MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1456631?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zylatis",
"html_url": "https://github.com/Zylatis",
"followers_url": "https://api.github.com/users/Zylatis/followers",
"following_url": "https://api.github.com/users/Zylatis/following{/other_user}",
"gists_url": "https://api.github.com/users/Zylatis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Zylatis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Zylatis/subscriptions",
"organizations_url": "https://api.github.com/users/Zylatis/orgs",
"repos_url": "https://api.github.com/users/Zylatis/repos",
"events_url": "https://api.github.com/users/Zylatis/events{/privacy}",
"received_events_url": "https://api.github.com/users/Zylatis/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2020-06-26T05:15:27 | 2020-07-02T18:51:22 | 2020-07-02T18:51:21 | CONTRIBUTOR | null | **Issue:**
Importing of streamlit as st not shown in the section of code in the hello.py demos because it was declared globally
**Description:**
This PR makes the trivial but kinda helpful move of moving those declarations inside the demo functions so that if you copy and paste the code being shown in 'show code' it will actually run, rather than throwing a 'st not found' error. I've run the updated one locally to ensure I didn't miss something important about the way the import works with the #fmt stuff, seems to work as before.
---
**Contribution License Agreement**
By submiting this pull request I agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1633/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1633/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1633",
"html_url": "https://github.com/streamlit/streamlit/pull/1633",
"diff_url": "https://github.com/streamlit/streamlit/pull/1633.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1633.patch",
"merged_at": "2020-07-02T18:51:21"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1632 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1632/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1632/comments | https://api.github.com/repos/streamlit/streamlit/issues/1632/events | https://github.com/streamlit/streamlit/pull/1632 | 645,812,744 | MDExOlB1bGxSZXF1ZXN0NDQwMjI1ODQy | 1,632 | Support custom image/emoji favicons with `st.beta_set_favicon` | {
"login": "akrolsmir",
"id": 856034,
"node_id": "MDQ6VXNlcjg1NjAzNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/856034?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akrolsmir",
"html_url": "https://github.com/akrolsmir",
"followers_url": "https://api.github.com/users/akrolsmir/followers",
"following_url": "https://api.github.com/users/akrolsmir/following{/other_user}",
"gists_url": "https://api.github.com/users/akrolsmir/gists{/gist_id}",
"starred_url": "https://api.github.com/users/akrolsmir/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akrolsmir/subscriptions",
"organizations_url": "https://api.github.com/users/akrolsmir/orgs",
"repos_url": "https://api.github.com/users/akrolsmir/repos",
"events_url": "https://api.github.com/users/akrolsmir/events{/privacy}",
"received_events_url": "https://api.github.com/users/akrolsmir/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-25T19:54:00 | 2020-07-02T20:03:07 | 2020-07-02T20:03:07 | CONTRIBUTOR | null | The harder half of #1006
Note: Instead of using an emoji icon pack for emoji favicons, we just embed the system emoji as an SVG text node. This has the upside of keeping Streamlit slim, and the downside of a slightly smaller favicon that would otherwise be possible. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1632/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1632/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1632",
"html_url": "https://github.com/streamlit/streamlit/pull/1632",
"diff_url": "https://github.com/streamlit/streamlit/pull/1632.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1632.patch",
"merged_at": "2020-07-02T20:03:07"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1631 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1631/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1631/comments | https://api.github.com/repos/streamlit/streamlit/issues/1631/events | https://github.com/streamlit/streamlit/pull/1631 | 645,719,109 | MDExOlB1bGxSZXF1ZXN0NDQwMTQ4NDU0 | 1,631 | Reset file uploader on disconnect | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-25T17:03:02 | 2020-07-20T15:51:36 | 2020-06-29T14:47:53 | CONTRIBUTOR | null | **Issue:** Fixes #1552
**Description:**
The file uploader widget state is not always in sync with data available from the session. When the app disconnects from the server, reset the file uploader as a new session will be created on reconnect without any previously submitted files.
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1631/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1631/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1631",
"html_url": "https://github.com/streamlit/streamlit/pull/1631",
"diff_url": "https://github.com/streamlit/streamlit/pull/1631.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1631.patch",
"merged_at": "2020-06-29T14:47:53"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1630 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1630/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1630/comments | https://api.github.com/repos/streamlit/streamlit/issues/1630/events | https://github.com/streamlit/streamlit/issues/1630 | 645,374,189 | MDU6SXNzdWU2NDUzNzQxODk= | 1,630 | Bad message format value is null on large plotly images | {
"login": "izikgo",
"id": 47969623,
"node_id": "MDQ6VXNlcjQ3OTY5NjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/47969623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/izikgo",
"html_url": "https://github.com/izikgo",
"followers_url": "https://api.github.com/users/izikgo/followers",
"following_url": "https://api.github.com/users/izikgo/following{/other_user}",
"gists_url": "https://api.github.com/users/izikgo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/izikgo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/izikgo/subscriptions",
"organizations_url": "https://api.github.com/users/izikgo/orgs",
"repos_url": "https://api.github.com/users/izikgo/repos",
"events_url": "https://api.github.com/users/izikgo/events{/privacy}",
"received_events_url": "https://api.github.com/users/izikgo/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 7 | 2020-06-25T09:08:37 | 2021-12-13T23:37:53 | 2021-12-13T23:37:53 | NONE | null | # Summary
when creating an RGB image of size 2000x2000, streamlit crashed with a popup message:
"Bad message format value is null"
Images of size 1500x1500 works fine.
# Steps to reproduce
```python
import numpy as np
import streamlit as st
import plotly.express as px
SIDE = 2000
fig = px.imshow(np.random.randint(0, 256, (SIDE, SIDE, 3), dtype=np.uint8))
st.plotly_chart(fig, use_container_width=True)
```
## Expected behavior:
An image will be presented
## Actual behavior:
![image](https://user-images.githubusercontent.com/47969623/85690498-4f6faa80-b6dc-11ea-8728-170d6c85c325.png)
JS trace:
```
Error: value is null
at f (main.a776e35c.chunk.js:1)
at xt (main.a776e35c.chunk.js:1)
at t.n.handleDeltaMsg (main.a776e35c.chunk.js:1)
at Object.delta (main.a776e35c.chunk.js:1)
at main.a776e35c.chunk.js:1
at Object.n.handleMessage [as onMessage] (main.a776e35c.chunk.js:1)
at e.<anonymous> (main.a776e35c.chunk.js:1)
at u (10.bd8c2f6b.chunk.js:1)
at Generator._invoke (10.bd8c2f6b.chunk.js:1)
at Generator.e.<computed> [as next] (10.bd8c2f6b.chunk.js:1)
```
## Is this a regression?
no
# Debug info
- Streamlit version: 0.62.0
- Python version: 3.6.8
- Using Conda? PipEnv? PyEnv? Pex? no
- OS version: Ubuntu 16.04
- Browser version: Chrome
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1630/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1630/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1629 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1629/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1629/comments | https://api.github.com/repos/streamlit/streamlit/issues/1629/events | https://github.com/streamlit/streamlit/issues/1629 | 645,036,878 | MDU6SXNzdWU2NDUwMzY4Nzg= | 1,629 | Clean up the terminal warning about XSRF and CORS | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
}
] | null | 0 | 2020-06-24T23:18:13 | 2020-07-01T19:34:11 | 2020-07-01T19:34:11 | CONTRIBUTOR | null | # Summary
As part of #1571 a warning was introduced if XSRF and CORS are both enabled. The warning is showing all the time. Also the warning is not clear. Need to improve the warning to better describe to user what's happening
## Expected behavior:
The warning should not be showing on commands such as `make install`.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1629/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1629/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1628 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1628/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1628/comments | https://api.github.com/repos/streamlit/streamlit/issues/1628/events | https://github.com/streamlit/streamlit/issues/1628 | 644,700,205 | MDU6SXNzdWU2NDQ3MDAyMDU= | 1,628 | Improve experience when end user has an intermittent connection. | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | closed | false | null | [] | null | 1 | 2020-06-24T15:17:27 | 2020-09-03T03:24:12 | 2020-09-03T03:24:11 | CONTRIBUTOR | null | ### Problem
Communications currently happen via a session opened through a websocket. There are cases when an user has an intermittent connection that will cause the connection to drop and reconnect. Currently when we reconnect, the user is provided with a new session and scripts are rerun.
### Solution
A possible solution would be to store the session ID for each connection. If a connection disconnects, try to reconnect to the stored session ID. Need to research feasibility for this.
### Additional context
This initially came through from #1552 which will address the file uploader component specifically. However, there needs to be some global thought into how intermittent connections globally.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1628/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1628/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1627 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1627/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1627/comments | https://api.github.com/repos/streamlit/streamlit/issues/1627/events | https://github.com/streamlit/streamlit/issues/1627 | 644,616,745 | MDU6SXNzdWU2NDQ2MTY3NDU= | 1,627 | UnhashableTypeError: Cannot hash object of type _thread.RLock, found in the body of Scheme_Names(). | {
"login": "aaronjoseph",
"id": 14943704,
"node_id": "MDQ6VXNlcjE0OTQzNzA0",
"avatar_url": "https://avatars.githubusercontent.com/u/14943704?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aaronjoseph",
"html_url": "https://github.com/aaronjoseph",
"followers_url": "https://api.github.com/users/aaronjoseph/followers",
"following_url": "https://api.github.com/users/aaronjoseph/following{/other_user}",
"gists_url": "https://api.github.com/users/aaronjoseph/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aaronjoseph/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aaronjoseph/subscriptions",
"organizations_url": "https://api.github.com/users/aaronjoseph/orgs",
"repos_url": "https://api.github.com/users/aaronjoseph/repos",
"events_url": "https://api.github.com/users/aaronjoseph/events{/privacy}",
"received_events_url": "https://api.github.com/users/aaronjoseph/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1607719438,
"node_id": "MDU6TGFiZWwxNjA3NzE5NDM4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:cache",
"name": "feature:cache",
"color": "C5DEF5",
"default": false,
"description": "Related to st.cache, st.experimental_singleton, st.experimental_memo"
},
{
"id": 1846495523,
"node_id": "MDU6TGFiZWwxODQ2NDk1NTIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/containers:docker",
"name": "containers:docker",
"color": "C2E0C6",
"default": false,
"description": ""
},
{
"id": 4772554440,
"node_id": "LA_kwDODCoeTs8AAAABHHdmyA",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:containers",
"name": "area:containers",
"color": "C2E0C6",
"default": false,
"description": "Related to containerization"
}
] | open | false | null | [] | null | 10 | 2020-06-24T13:29:55 | 2022-11-07T20:12:27 | null | NONE | null | Streamlit implementation in Docker tends to provide me the above error message. The same code works without any issues when run on Desktop.
Herein, I have Postgres connector which is invoked from the function and I have tried with some of the steps mentioned in Advanced caching page.
However, when st.cache() is removed, then the error message goes and therefore makes the app slow.
Also, @st.cache(allow_output_mutation=True) doesn't work as well.
![image](https://user-images.githubusercontent.com/14943704/85565446-c2c9db80-b64c-11ea-9a24-5450309ef24d.png)
- Streamlit version: 0.60.0
- Python version: 3.8.2
- Using Docker - Image Python 3.8 | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1627/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1627/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1626 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1626/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1626/comments | https://api.github.com/repos/streamlit/streamlit/issues/1626/events | https://github.com/streamlit/streamlit/issues/1626 | 644,579,665 | MDU6SXNzdWU2NDQ1Nzk2NjU= | 1,626 | Invalid LngLat object: (Nan, Nan) | {
"login": "swicaksono",
"id": 17685502,
"node_id": "MDQ6VXNlcjE3Njg1NTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/17685502?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/swicaksono",
"html_url": "https://github.com/swicaksono",
"followers_url": "https://api.github.com/users/swicaksono/followers",
"following_url": "https://api.github.com/users/swicaksono/following{/other_user}",
"gists_url": "https://api.github.com/users/swicaksono/gists{/gist_id}",
"starred_url": "https://api.github.com/users/swicaksono/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/swicaksono/subscriptions",
"organizations_url": "https://api.github.com/users/swicaksono/orgs",
"repos_url": "https://api.github.com/users/swicaksono/repos",
"events_url": "https://api.github.com/users/swicaksono/events{/privacy}",
"received_events_url": "https://api.github.com/users/swicaksono/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 1 | 2020-06-24T12:34:27 | 2020-12-21T18:00:17 | 2020-12-21T18:00:10 | NONE | null | # Summary
I got an error while present the maps using pydeck. Here is the source code
```python
import streamlit as st
import pydeck as pk
layer = pdk.Layer(
"HeatmapLayer",
data,
get_position="[longitude, latitude]",
opacity=0.9,
get_fill_color = [248, 24, 148],
auto_highlight=True,
# elevation_scale=50,
pickable=True,
elevation_range=[0, 3000],
extruded=True,
coverage=1,
)
view_state = pdk.ViewState(zoom=6, min_zoom=5, max_zoom=15, pitch=40.5, bearing=-27.36)
r = pdk.Deck(layers=[layer], initial_view_state=view_state)
st.pydeck_chart(r)
```
When I pass the data longitude, latitude for example:
```csv
country,longitude,latitude
Indonesia, 113.921327, -0.789275
```
I got the following error:
```js
Error: Invalid LngLat object: (NaN, NaN)
at new xu (http://host:8501/static/js/4.84024560.chunk.js:1:1089321)
at Function.xu.convert (http://host:8501/static/js/4.84024560.chunk.js:1:1090006)
at i.r.jumpTo (http://host:8501/static/js/4.84024560.chunk.js:1:1439956)
at e.value (http://host:8501/static/js/4.84024560.chunk.js:1:799900)
at e.value (http://host:8501/static/js/4.84024560.chunk.js:1:799212)
at new e (http://host:8501/static/js/4.84024560.chunk.js:1:796945)
at t.value (http://host:8501/static/js/4.84024560.chunk.js:1:364223)
at Ks (http://host:8501/static/js/10.bd8c2f6b.chunk.js:1:2005475)
at t.unstable_runWithPriority (http://host:8501/static/js/10.bd8c2f6b.chunk.js:1:2026579)
at pi (http://host:8501/static/js/10.bd8c2f6b.chunk.js:1:1951856)
```
I inspect on the browser and there some messages:
```js
DevTools failed to load SourceMap: Could not load content for http://host:8501/static/js/4.84024560.chunk.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://host:8501/static/js/20.ddce3a3e.chunk.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://host:8501/static/js/27.0425d476.chunk.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://host:8501/static/js/40.3e3ba369.chunk.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://host:8501/static/js/33.42dc0e70.chunk.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://host:8501/static/js/33.42dc0e70.chunk.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
```
and
```js
GET https://api.mapbox.com/v4/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v7…YWdvdCIsImEiOiJjazlpejY2OG0wMTBkM2hxeHI0OTg3b3VqIn0.qBcJvUXvF2RX_bLX87OPlQ 403
```
I've tried to disable some of my ads block extension and check my JS map loader in Chrome settings but this error still occured. Any helps? Thanks.
# Debug info
- Streamlit version: 0.62.0
- Python version: 3.6.6
- Using Conda? PipEnv
- OS version: Ubuntu x86_64
- Browser version: Google Chrome Version 83.0.4103.106 (Official Build) (64-bit)
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1626/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1626/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1625 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1625/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1625/comments | https://api.github.com/repos/streamlit/streamlit/issues/1625/events | https://github.com/streamlit/streamlit/issues/1625 | 644,509,618 | MDU6SXNzdWU2NDQ1MDk2MTg= | 1,625 | while caching the body of the function, Streamlit encountered an object of type `builtins.function`, which it does not know how to hash. | {
"login": "raghavdixit99",
"id": 34462078,
"node_id": "MDQ6VXNlcjM0NDYyMDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/34462078?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raghavdixit99",
"html_url": "https://github.com/raghavdixit99",
"followers_url": "https://api.github.com/users/raghavdixit99/followers",
"following_url": "https://api.github.com/users/raghavdixit99/following{/other_user}",
"gists_url": "https://api.github.com/users/raghavdixit99/gists{/gist_id}",
"starred_url": "https://api.github.com/users/raghavdixit99/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/raghavdixit99/subscriptions",
"organizations_url": "https://api.github.com/users/raghavdixit99/orgs",
"repos_url": "https://api.github.com/users/raghavdixit99/repos",
"events_url": "https://api.github.com/users/raghavdixit99/events{/privacy}",
"received_events_url": "https://api.github.com/users/raghavdixit99/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 2 | 2020-06-24T10:38:12 | 2020-08-07T04:47:14 | 2020-08-07T00:14:25 | NONE | null |
<img width="1054" alt="Screen Shot 2020-06-24 at 4 07 46 PM" src="https://user-images.githubusercontent.com/34462078/85540646-df5a1980-b634-11ea-9b10-1be60db19184.png">
# Summary
Type here a clear and concise description of the bug. Aim for 2-3 sentences.
# Steps to reproduce
What are the steps we should take to reproduce the bug:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
## Expected behavior:
Explain what you expect to happen when you go through the steps above, assuming there were no bugs.
## Actual behavior:
Explain the buggy behavior you experience when you go through the steps above.
If applicable, add screenshots to help explain your problem.
## Is this a regression?
That is, did this use to work the way you expected in the past?
yes / no
# Debug info
- Streamlit version: (get it with `$ streamlit version`)
- Python version: (get it with `$ python --version`)
- Using Conda? PipEnv? PyEnv? Pex?
- OS version:
- Browser version:
# Additional information
If needed, add any other context about the problem here. For example, did this bug come from https://discuss.streamlit.io or another site? Link the original source here!
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1625/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1625/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1624 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1624/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1624/comments | https://api.github.com/repos/streamlit/streamlit/issues/1624/events | https://github.com/streamlit/streamlit/pull/1624 | 644,107,306 | MDExOlB1bGxSZXF1ZXN0NDM4Nzg4NDkx | 1,624 | Disable allow-same-origin for both IFrame and ComponentInstance | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 2 | 2020-06-23T19:59:51 | 2020-09-02T14:15:47 | 2020-06-23T20:08:40 | COLLABORATOR | null | Created `IFrameUtil`, which contains our default sandbox and feature policies | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1624/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1624/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1624",
"html_url": "https://github.com/streamlit/streamlit/pull/1624",
"diff_url": "https://github.com/streamlit/streamlit/pull/1624.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1624.patch",
"merged_at": "2020-06-23T20:08:40"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1623 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1623/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1623/comments | https://api.github.com/repos/streamlit/streamlit/issues/1623/events | https://github.com/streamlit/streamlit/issues/1623 | 643,944,708 | MDU6SXNzdWU2NDM5NDQ3MDg= | 1,623 | AttributeError: module 'click' has not attribute 'style' | {
"login": "kurt-rhee",
"id": 33131958,
"node_id": "MDQ6VXNlcjMzMTMxOTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/33131958?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kurt-rhee",
"html_url": "https://github.com/kurt-rhee",
"followers_url": "https://api.github.com/users/kurt-rhee/followers",
"following_url": "https://api.github.com/users/kurt-rhee/following{/other_user}",
"gists_url": "https://api.github.com/users/kurt-rhee/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kurt-rhee/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kurt-rhee/subscriptions",
"organizations_url": "https://api.github.com/users/kurt-rhee/orgs",
"repos_url": "https://api.github.com/users/kurt-rhee/repos",
"events_url": "https://api.github.com/users/kurt-rhee/events{/privacy}",
"received_events_url": "https://api.github.com/users/kurt-rhee/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 1 | 2020-06-23T15:37:33 | 2020-08-06T23:07:50 | 2020-06-23T15:59:40 | NONE | null | # Summary
When attempting to run a streamlit app, the app crashes with the following error:
![image](https://user-images.githubusercontent.com/33131958/85424244-87d08680-b52c-11ea-8fc8-413bfd467558.png)
# Steps to reproduce
'
streamlit run App.py
'
What are the steps we should take to reproduce the bug:
1. streamlit run App.py
## Expected behavior:
Assuming there were no bugs a browser would open up with the app.
## Actual behavior:
The following error message
![image](https://user-images.githubusercontent.com/33131958/85424349-aa629f80-b52c-11ea-8a7c-4d9ab0c69252.png)
## Is this a regression?
Yes this was working yesterday, I am not sure what happened today.
# Debug info
- Streamlit version: 0.62
- Python version: 3.7
- Using Conda
- OS version: Windows 10
- Browser version: Chrome
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1623/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1623/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1622 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1622/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1622/comments | https://api.github.com/repos/streamlit/streamlit/issues/1622/events | https://github.com/streamlit/streamlit/pull/1622 | 643,457,388 | MDExOlB1bGxSZXF1ZXN0NDM4MjU3MDE0 | 1,622 | React template: render component errors | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-23T01:18:17 | 2020-06-23T01:28:11 | 2020-06-23T01:28:06 | COLLABORATOR | null | When our wrapper catches and displays an error, it now properly updates its iframe height. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1622/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1622/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1622",
"html_url": "https://github.com/streamlit/streamlit/pull/1622",
"diff_url": "https://github.com/streamlit/streamlit/pull/1622.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1622.patch",
"merged_at": "2020-06-23T01:28:06"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1621 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1621/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1621/comments | https://api.github.com/repos/streamlit/streamlit/issues/1621/events | https://github.com/streamlit/streamlit/pull/1621 | 643,202,438 | MDExOlB1bGxSZXF1ZXN0NDM4MDQ3NTMw | 1,621 | Formatting changes from `make pyformat` | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-22T16:18:58 | 2020-06-22T18:03:11 | 2020-06-22T18:03:07 | COLLABORATOR | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1621/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1621",
"html_url": "https://github.com/streamlit/streamlit/pull/1621",
"diff_url": "https://github.com/streamlit/streamlit/pull/1621.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1621.patch",
"merged_at": "2020-06-22T18:03:07"
} | true |
|
https://api.github.com/repos/streamlit/streamlit/issues/1620 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1620/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1620/comments | https://api.github.com/repos/streamlit/streamlit/issues/1620/events | https://github.com/streamlit/streamlit/pull/1620 | 643,181,662 | MDExOlB1bGxSZXF1ZXN0NDM4MDMwNTE2 | 1,620 | enableXsrfProtection Cleanup | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2020-06-22T15:47:41 | 2020-07-20T15:51:42 | 2020-06-22T17:00:41 | CONTRIBUTOR | null | **Issue:** Cleanup for #1565
**Description:**
1. Rename `enableCSRFProtection` to `enableXsrfProtection`
2. Clarify comments for `enableXsrfProtection`
---
**Contribution License Agreement**
By submiting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1620/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1620/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1620",
"html_url": "https://github.com/streamlit/streamlit/pull/1620",
"diff_url": "https://github.com/streamlit/streamlit/pull/1620.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1620.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1619 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1619/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1619/comments | https://api.github.com/repos/streamlit/streamlit/issues/1619/events | https://github.com/streamlit/streamlit/pull/1619 | 643,125,573 | MDExOlB1bGxSZXF1ZXN0NDM3OTg3Mzg4 | 1,619 | Change branding of Sphinx documentation theme | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 9 | 2020-06-22T14:38:11 | 2020-07-01T12:55:36 | 2020-07-01T12:55:30 | CONTRIBUTOR | null | PR addresses lack of Streamlit branding on RTD theme. Changes are mainly CSS driven, with minor changes to the underlying template. Validation still needs to be performed on RTD, to ensure they are not injecting anything that would change this design.
![image](https://user-images.githubusercontent.com/2762787/85300154-32d13980-b474-11ea-81f5-ac5a3719518d.png)
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1619/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1619",
"html_url": "https://github.com/streamlit/streamlit/pull/1619",
"diff_url": "https://github.com/streamlit/streamlit/pull/1619.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1619.patch",
"merged_at": "2020-07-01T12:55:30"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1618 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1618/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1618/comments | https://api.github.com/repos/streamlit/streamlit/issues/1618/events | https://github.com/streamlit/streamlit/issues/1618 | 642,998,340 | MDU6SXNzdWU2NDI5OTgzNDA= | 1,618 | InternalHashError: Cell is empty While caching the body of datafiltering2(), Streamlit encountered an object of type builtins.function, which it does not know how to hash. | {
"login": "AnuradhaPoddar35",
"id": 46472151,
"node_id": "MDQ6VXNlcjQ2NDcyMTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/46472151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnuradhaPoddar35",
"html_url": "https://github.com/AnuradhaPoddar35",
"followers_url": "https://api.github.com/users/AnuradhaPoddar35/followers",
"following_url": "https://api.github.com/users/AnuradhaPoddar35/following{/other_user}",
"gists_url": "https://api.github.com/users/AnuradhaPoddar35/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AnuradhaPoddar35/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnuradhaPoddar35/subscriptions",
"organizations_url": "https://api.github.com/users/AnuradhaPoddar35/orgs",
"repos_url": "https://api.github.com/users/AnuradhaPoddar35/repos",
"events_url": "https://api.github.com/users/AnuradhaPoddar35/events{/privacy}",
"received_events_url": "https://api.github.com/users/AnuradhaPoddar35/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1607719438,
"node_id": "MDU6TGFiZWwxNjA3NzE5NDM4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:cache",
"name": "feature:cache",
"color": "C5DEF5",
"default": false,
"description": "Related to st.cache, st.experimental_singleton, st.experimental_memo"
}
] | closed | false | null | [] | null | 1 | 2020-06-22T11:42:48 | 2022-07-06T19:53:55 | 2022-07-06T19:53:54 | NONE | null | # Summary
I am encountering InternalHashError: Cell is empty
While caching the body of datafiltering2( )[[function in my script]], Streamlit encountered an object of type builtins.function, which it does not know how to hash.
# this is my function
def datafiltering2(start_year,end_year,start_month,end_month,day):
start = df.index[(df['Year'] == start_year) & (df["Month_str"] == start_month)].tolist()
end = df.index[(df['Year'] == end_year) & (df["Month_str"] == end_month)].tolist()
df1 = df.iloc[start[0]:end[0]+1]
df1["Trading_Day"+day+"units"] = 1000/df1["Trading_Day"+day]
#df.iloc[start[0]]["Trading_Day1"] ##1st row
x = df1.iloc[-1]["Trading_Day"+day+"units"] ##last row unit
#df.iloc[0:-1]["Trading_Day""+day] ##value from 1st row to last row
y = (df1.iloc[0:-1]["Trading_Day"+day+"units"]).mean() ##mean till last row(excluding last row)
rot = (y/x-1)
s = print("{:.2%}".format(rot))
#return(s,print(y),print(x))
return(s)
## Expected behavior:
the same function working properly in colab.
# Debug info
- Streamlit version: version 0.62.0
- Python version: Python 3.8.3
- OS version: windows 10
- Browser version:Google Chrome is up to date
Version 83.0.4103.106 (Official Build) (64-bit)
# Additional information
If needed, add any other context about the problem here. For example, did this bug come from https://discuss.streamlit.io or another site? Link the original source here!
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1618/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1617 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1617/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1617/comments | https://api.github.com/repos/streamlit/streamlit/issues/1617/events | https://github.com/streamlit/streamlit/issues/1617 | 642,894,585 | MDU6SXNzdWU2NDI4OTQ1ODU= | 1,617 | Rdkit run with streamlit leads to argument error | {
"login": "LiliGasser",
"id": 36889839,
"node_id": "MDQ6VXNlcjM2ODg5ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/36889839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LiliGasser",
"html_url": "https://github.com/LiliGasser",
"followers_url": "https://api.github.com/users/LiliGasser/followers",
"following_url": "https://api.github.com/users/LiliGasser/following{/other_user}",
"gists_url": "https://api.github.com/users/LiliGasser/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LiliGasser/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LiliGasser/subscriptions",
"organizations_url": "https://api.github.com/users/LiliGasser/orgs",
"repos_url": "https://api.github.com/users/LiliGasser/repos",
"events_url": "https://api.github.com/users/LiliGasser/events{/privacy}",
"received_events_url": "https://api.github.com/users/LiliGasser/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 1 | 2020-06-22T09:08:56 | 2020-08-06T23:07:49 | 2020-06-22T15:34:04 | NONE | null | The following example works fine if it is run directly from the python file.
```
from rdkit import Chem
from rdkit.Chem import Draw
compound_smiles = 'C'
list_compounds = [Chem.MolFromSmiles(compound_smiles)]
fig = Draw.MolsToGridImage(list_compounds, legends = ['methane'],
molsPerRow = 1, maxMols = 1)
```
If it is run with streamlit, it produces the following error:
> ArgumentError: Python argument types in MolDraw2D.DrawMolecules(MolDraw2DCairo, list) did not match C++ signature: DrawMolecules(RDKit::MolDraw2D {lvalue} self, boost::python::api::object mols, boost::python::api::object highlightAtoms=None, boost::python::api::object highlightBonds=None, boost::python::api::object highlightAtomColors=None, boost::python::api::object highlightBondColors=None, boost::python::api::object highlightAtomRadii=None, boost::python::api::object confIds=None, boost::python::api::object legends=None)
>
> Traceback:
>
> File "/home/lili/SDSC/Projects/MSEI/raw-data-preprocessing/conda-env-full/lib/python3.7/site-packages/streamlit/ScriptRunner.py", line 322, in _run_script
> exec(code, module.__dict__)
> File "/home/lili/SDSC/Projects/MSEI/raw-data-preprocessing/trystuff/rdkit-streamlit-minimalexample.py", line 9, in <module>
> molsPerRow = 1, maxMols = 1)
> File "/home/lili/SDSC/Projects/MSEI/raw-data-preprocessing/conda-env-full/lib/python3.7/site-packages/rdkit/Chem/Draw/__init__.py", line 497, in MolsToGridImage
> highlightBondLists=highlightBondLists, **kwargs)
> File "/home/lili/SDSC/Projects/MSEI/raw-data-preprocessing/conda-env-full/lib/python3.7/site-packages/rdkit/Chem/Draw/__init__.py", line 443, in _MolsToGridImage
> highlightBonds=highlightBondLists, **kwargs)
Any idea how this could be solved?
Thanks in advance!
I already posted this in the community section:
https://discuss.streamlit.io/t/rdkit-run-with-streamlit-leads-to-argument-error/3587 | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1617/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1616 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1616/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1616/comments | https://api.github.com/repos/streamlit/streamlit/issues/1616/events | https://github.com/streamlit/streamlit/issues/1616 | 642,651,119 | MDU6SXNzdWU2NDI2NTExMTk= | 1,616 | Regression: datepicker is broken when date is Epoch | {
"login": "tvst",
"id": 690814,
"node_id": "MDQ6VXNlcjY5MDgxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/690814?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tvst",
"html_url": "https://github.com/tvst",
"followers_url": "https://api.github.com/users/tvst/followers",
"following_url": "https://api.github.com/users/tvst/following{/other_user}",
"gists_url": "https://api.github.com/users/tvst/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tvst/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tvst/subscriptions",
"organizations_url": "https://api.github.com/users/tvst/orgs",
"repos_url": "https://api.github.com/users/tvst/repos",
"events_url": "https://api.github.com/users/tvst/events{/privacy}",
"received_events_url": "https://api.github.com/users/tvst/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1637089211,
"node_id": "MDU6TGFiZWwxNjM3MDg5MjEx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:regression",
"name": "type:regression",
"color": "D93F0B",
"default": false,
"description": "This bug is a regression"
}
] | closed | false | {
"login": "kmcgrady",
"id": 69432,
"node_id": "MDQ6VXNlcjY5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kmcgrady",
"html_url": "https://github.com/kmcgrady",
"followers_url": "https://api.github.com/users/kmcgrady/followers",
"following_url": "https://api.github.com/users/kmcgrady/following{/other_user}",
"gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions",
"organizations_url": "https://api.github.com/users/kmcgrady/orgs",
"repos_url": "https://api.github.com/users/kmcgrady/repos",
"events_url": "https://api.github.com/users/kmcgrady/events{/privacy}",
"received_events_url": "https://api.github.com/users/kmcgrady/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "kmcgrady",
"id": 69432,
"node_id": "MDQ6VXNlcjY5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kmcgrady",
"html_url": "https://github.com/kmcgrady",
"followers_url": "https://api.github.com/users/kmcgrady/followers",
"following_url": "https://api.github.com/users/kmcgrady/following{/other_user}",
"gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions",
"organizations_url": "https://api.github.com/users/kmcgrady/orgs",
"repos_url": "https://api.github.com/users/kmcgrady/repos",
"events_url": "https://api.github.com/users/kmcgrady/events{/privacy}",
"received_events_url": "https://api.github.com/users/kmcgrady/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2020-06-21T22:16:40 | 2020-07-23T19:19:09 | 2020-07-23T19:19:08 | CONTRIBUTOR | null | The first date input in `e2e/scripts/st_sidebar.py` is broken, but our screenshot tests didn't catch it since it's below the diff threshold :cry:
### Here's what it looks like right now
Notice that the date picker is disabled, for some reason!
![Here's what it looks like right now](https://user-images.githubusercontent.com/690814/85236309-d4537f00-b3d1-11ea-8f79-8672b7479386.png)
### Here's what it's supposed to look like
![Here's what it's supposed to look like](https://raw.githubusercontent.com/streamlit/streamlit/develop/frontend/cypress/snapshots/linux/2x/st_sidebar.spec.ts/date-popover-sidebar.snap.png)
### This is the code in question
```python
w1 = st.sidebar.date_input("Label 1", date(1970, 1, 1))
st.write("Value 1:", w1)
```
### Info
Streamlit version: 0.62.0 | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1616/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1615 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1615/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1615/comments | https://api.github.com/repos/streamlit/streamlit/issues/1615/events | https://github.com/streamlit/streamlit/issues/1615 | 642,617,741 | MDU6SXNzdWU2NDI2MTc3NDE= | 1,615 | Officially support both Tornado 5 and 6 | {
"login": "jrhone",
"id": 699897,
"node_id": "MDQ6VXNlcjY5OTg5Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/699897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jrhone",
"html_url": "https://github.com/jrhone",
"followers_url": "https://api.github.com/users/jrhone/followers",
"following_url": "https://api.github.com/users/jrhone/following{/other_user}",
"gists_url": "https://api.github.com/users/jrhone/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jrhone/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jrhone/subscriptions",
"organizations_url": "https://api.github.com/users/jrhone/orgs",
"repos_url": "https://api.github.com/users/jrhone/repos",
"events_url": "https://api.github.com/users/jrhone/events{/privacy}",
"received_events_url": "https://api.github.com/users/jrhone/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1520675746,
"node_id": "MDU6TGFiZWwxNTIwNjc1NzQ2",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:infra",
"name": "area:infra",
"color": "C2E0C6",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 2 | 2020-06-21T18:40:13 | 2021-03-26T15:45:12 | 2021-03-26T15:45:12 | CONTRIBUTOR | null | - Run the Python 3.6 CircleCI jobs against Tornado 5
- Run the Python 3.8 CircleCI jobs against Tornado 6
- Get rid of MyPy errors when running against Tornado 5 (Ignore Tornado typings in MyPy?) | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1615/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1614 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1614/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1614/comments | https://api.github.com/repos/streamlit/streamlit/issues/1614/events | https://github.com/streamlit/streamlit/issues/1614 | 642,610,326 | MDU6SXNzdWU2NDI2MTAzMjY= | 1,614 | Importing Pandas as pd | {
"login": "kurt-rhee",
"id": 33131958,
"node_id": "MDQ6VXNlcjMzMTMxOTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/33131958?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kurt-rhee",
"html_url": "https://github.com/kurt-rhee",
"followers_url": "https://api.github.com/users/kurt-rhee/followers",
"following_url": "https://api.github.com/users/kurt-rhee/following{/other_user}",
"gists_url": "https://api.github.com/users/kurt-rhee/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kurt-rhee/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kurt-rhee/subscriptions",
"organizations_url": "https://api.github.com/users/kurt-rhee/orgs",
"repos_url": "https://api.github.com/users/kurt-rhee/repos",
"events_url": "https://api.github.com/users/kurt-rhee/events{/privacy}",
"received_events_url": "https://api.github.com/users/kurt-rhee/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | {
"login": "nthmost",
"id": 98836,
"node_id": "MDQ6VXNlcjk4ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/98836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nthmost",
"html_url": "https://github.com/nthmost",
"followers_url": "https://api.github.com/users/nthmost/followers",
"following_url": "https://api.github.com/users/nthmost/following{/other_user}",
"gists_url": "https://api.github.com/users/nthmost/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nthmost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nthmost/subscriptions",
"organizations_url": "https://api.github.com/users/nthmost/orgs",
"repos_url": "https://api.github.com/users/nthmost/repos",
"events_url": "https://api.github.com/users/nthmost/events{/privacy}",
"received_events_url": "https://api.github.com/users/nthmost/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "nthmost",
"id": 98836,
"node_id": "MDQ6VXNlcjk4ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/98836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nthmost",
"html_url": "https://github.com/nthmost",
"followers_url": "https://api.github.com/users/nthmost/followers",
"following_url": "https://api.github.com/users/nthmost/following{/other_user}",
"gists_url": "https://api.github.com/users/nthmost/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nthmost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nthmost/subscriptions",
"organizations_url": "https://api.github.com/users/nthmost/orgs",
"repos_url": "https://api.github.com/users/nthmost/repos",
"events_url": "https://api.github.com/users/nthmost/events{/privacy}",
"received_events_url": "https://api.github.com/users/nthmost/received_events",
"type": "User",
"site_admin": false
}
] | null | 8 | 2020-06-21T17:55:43 | 2020-11-16T19:00:55 | 2020-11-09T18:08:18 | NONE | null | # Summary
I am attempting to create a few different pages, but I am having trouble importing pandas when also importing streamlit commands from a function.
# Steps to reproduce
Main.py
```
import streamlit as st
import pandas as pd
import sqlite3
from Title import entry_form
# ######### Database ##########
conn = sqlite3.connect(r"G:\General\Solar\R_and_D\CodeLibrary\Python\CRUD\Database\data.db")
c = conn.cursor()
# ######### Menu ###################
menu_list = ['Title', 'Climate', 'Design', 'Layout', 'Performance']
choice = st.sidebar.radio(label='Menu',
options=menu_list)
# ########## Title Page ##########
if choice == 'Title':
entry_form()
```
Title.py
```
import streamlit as st
import pandas as pd
from Sqlite import *
def entry_form():
"""
User form to choose or upload a new solar project
"""
import pandas as pd
st.title("User Entry Form")
region_list = ['West', 'South', 'East']
region = st.selectbox('Region', region_list, index=0)
df = pd.read_sql_query("SELECT * from projtable", conn)
df = df.where(df['region'] == region).dropna()
st.subheader('Project Entry')
project_list = list(df['project'])
project_list.sort()
project = st.selectbox('Project', project_list)
project_new = st.text_input('New Project Name')
if project_new != '':
project = project_new
df = df.where(df['project'] == project).dropna()
st.subheader('Version Control')
version_list = list(df['version'])
version_list.sort()
version = st.selectbox('Version', version_list)
version_new = st.text_input('New Version')
if version_new != '':
version = version_new
st.subheader('User')
user_list = ['Angel_Velasco',
'Cameron_Nielsen',
'James_Alfi',
'Kurt_Rhee',
'Marine_Bila',
'Phil_Timm']
user = st.selectbox('Username', user_list, index=3)
if st.button('Add'):
create_table()
add_data(user, region, project, version)
st.success('Project Saved')
df
```
## Expected behavior:
I would expect that importing pandas in the Title.py scipt would not give a NameError pd is not defined
## Actual behavior:
![image](https://user-images.githubusercontent.com/33131958/85231527-92fca880-b3ac-11ea-9995-3733d6586960.png)
## Is this a regression?
I have not tried this in previous versions.
# Debug info
- Streamlit version: 0.62.0
- Python version: 3.7
- Using Conda
- OS version: Windows 10
- Browser version: Chrome
# Additional information
N/A
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1614/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1614/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1613 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1613/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1613/comments | https://api.github.com/repos/streamlit/streamlit/issues/1613/events | https://github.com/streamlit/streamlit/issues/1613 | 642,572,901 | MDU6SXNzdWU2NDI1NzI5MDE= | 1,613 | ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via `pip install tensorflow` im getting this error but i have installed tensorflow and everything | {
"login": "prasrahul",
"id": 59091197,
"node_id": "MDQ6VXNlcjU5MDkxMTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/59091197?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prasrahul",
"html_url": "https://github.com/prasrahul",
"followers_url": "https://api.github.com/users/prasrahul/followers",
"following_url": "https://api.github.com/users/prasrahul/following{/other_user}",
"gists_url": "https://api.github.com/users/prasrahul/gists{/gist_id}",
"starred_url": "https://api.github.com/users/prasrahul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prasrahul/subscriptions",
"organizations_url": "https://api.github.com/users/prasrahul/orgs",
"repos_url": "https://api.github.com/users/prasrahul/repos",
"events_url": "https://api.github.com/users/prasrahul/events{/privacy}",
"received_events_url": "https://api.github.com/users/prasrahul/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1630420326,
"node_id": "MDU6TGFiZWwxNjMwNDIwMzI2",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:onboarding",
"name": "area:onboarding",
"color": "C2E0C6",
"default": false,
"description": "Bugs that impact a user's initial experience with Streamlit: installation, hello, running demos"
}
] | closed | false | null | [] | null | 25 | 2020-06-21T14:23:35 | 2021-01-18T19:16:31 | 2020-06-29T18:25:58 | NONE | null | # Summary
Type here a clear and concise description of the bug. Aim for 2-3 sentences.
# Steps to reproduce
What are the steps we should take to reproduce the bug:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
## Expected behavior:
Explain what you expect to happen when you go through the steps above, assuming there were no bugs.
## Actual behavior:
Explain the buggy behavior you experience when you go through the steps above.
If applicable, add screenshots to help explain your problem.
## Is this a regression?
That is, did this use to work the way you expected in the past?
yes / no
# Debug info
- Streamlit version: (get it with `$ streamlit version`)
- Python version: (get it with `$ python --version`)
- Using Conda? PipEnv? PyEnv? Pex?
- OS version:
- Browser version:
# Additional information
If needed, add any other context about the problem here. For example, did this bug come from https://discuss.streamlit.io or another site? Link the original source here!
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1613/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1612 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1612/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1612/comments | https://api.github.com/repos/streamlit/streamlit/issues/1612/events | https://github.com/streamlit/streamlit/issues/1612 | 642,571,217 | MDU6SXNzdWU2NDI1NzEyMTc= | 1,612 | i have imported everything but getting this error | {
"login": "prasrahul",
"id": 59091197,
"node_id": "MDQ6VXNlcjU5MDkxMTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/59091197?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prasrahul",
"html_url": "https://github.com/prasrahul",
"followers_url": "https://api.github.com/users/prasrahul/followers",
"following_url": "https://api.github.com/users/prasrahul/following{/other_user}",
"gists_url": "https://api.github.com/users/prasrahul/gists{/gist_id}",
"starred_url": "https://api.github.com/users/prasrahul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prasrahul/subscriptions",
"organizations_url": "https://api.github.com/users/prasrahul/orgs",
"repos_url": "https://api.github.com/users/prasrahul/repos",
"events_url": "https://api.github.com/users/prasrahul/events{/privacy}",
"received_events_url": "https://api.github.com/users/prasrahul/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 0 | 2020-06-21T14:14:05 | 2020-08-06T23:07:49 | 2020-06-21T14:16:09 | NONE | null | # Summary
Type here a clear and concise description of the bug. Aim for 2-3 sentences.
# Steps to reproduce
What are the steps we should take to reproduce the bug:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
## Expected behavior:
Explain what you expect to happen when you go through the steps above, assuming there were no bugs.
## Actual behavior:
Explain the buggy behavior you experience when you go through the steps above.
If applicable, add screenshots to help explain your problem.
## Is this a regression?
That is, did this use to work the way you expected in the past?
yes / no
# Debug info
- Streamlit version: (get it with `$ streamlit version`)
- Python version: (get it with `$ python --version`)
- Using Conda? PipEnv? PyEnv? Pex?
- OS version:
- Browser version:
# Additional information
If needed, add any other context about the problem here. For example, did this bug come from https://discuss.streamlit.io or another site? Link the original source here!
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1612/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1612/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1611 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1611/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1611/comments | https://api.github.com/repos/streamlit/streamlit/issues/1611/events | https://github.com/streamlit/streamlit/pull/1611 | 642,399,390 | MDExOlB1bGxSZXF1ZXN0NDM3NDI3NTQ5 | 1,611 | change john to john doe | {
"login": "asherif844",
"id": 11409751,
"node_id": "MDQ6VXNlcjExNDA5NzUx",
"avatar_url": "https://avatars.githubusercontent.com/u/11409751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asherif844",
"html_url": "https://github.com/asherif844",
"followers_url": "https://api.github.com/users/asherif844/followers",
"following_url": "https://api.github.com/users/asherif844/following{/other_user}",
"gists_url": "https://api.github.com/users/asherif844/gists{/gist_id}",
"starred_url": "https://api.github.com/users/asherif844/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/asherif844/subscriptions",
"organizations_url": "https://api.github.com/users/asherif844/orgs",
"repos_url": "https://api.github.com/users/asherif844/repos",
"events_url": "https://api.github.com/users/asherif844/events{/privacy}",
"received_events_url": "https://api.github.com/users/asherif844/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2020-06-20T15:47:17 | 2020-06-21T01:48:58 | 2020-06-21T01:48:43 | NONE | null | **Reference Issues/PR**
None
**What does this implement/fix? Explain your changes.**
Just a minor change to the example name in the documents.
**Any Other Comments?**
No | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1611/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1611",
"html_url": "https://github.com/streamlit/streamlit/pull/1611",
"diff_url": "https://github.com/streamlit/streamlit/pull/1611.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1611.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1610 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1610/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1610/comments | https://api.github.com/repos/streamlit/streamlit/issues/1610/events | https://github.com/streamlit/streamlit/pull/1610 | 642,282,614 | MDExOlB1bGxSZXF1ZXN0NDM3MzQ2Njc2 | 1,610 | Release 0.62.0 | {
"login": "tvst",
"id": 690814,
"node_id": "MDQ6VXNlcjY5MDgxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/690814?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tvst",
"html_url": "https://github.com/tvst",
"followers_url": "https://api.github.com/users/tvst/followers",
"following_url": "https://api.github.com/users/tvst/following{/other_user}",
"gists_url": "https://api.github.com/users/tvst/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tvst/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tvst/subscriptions",
"organizations_url": "https://api.github.com/users/tvst/orgs",
"repos_url": "https://api.github.com/users/tvst/repos",
"events_url": "https://api.github.com/users/tvst/events{/privacy}",
"received_events_url": "https://api.github.com/users/tvst/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2020-06-20T01:27:05 | 2020-06-23T18:23:39 | 2020-06-23T18:23:35 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1610/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1610/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1610",
"html_url": "https://github.com/streamlit/streamlit/pull/1610",
"diff_url": "https://github.com/streamlit/streamlit/pull/1610.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1610.patch",
"merged_at": "2020-06-23T18:23:35"
} | true |
|
https://api.github.com/repos/streamlit/streamlit/issues/1609 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1609/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1609/comments | https://api.github.com/repos/streamlit/streamlit/issues/1609/events | https://github.com/streamlit/streamlit/pull/1609 | 642,189,343 | MDExOlB1bGxSZXF1ZXN0NDM3MjcyMTU4 | 1,609 | Allow datetimes to be used as a st.slider value | {
"login": "akrolsmir",
"id": 856034,
"node_id": "MDQ6VXNlcjg1NjAzNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/856034?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akrolsmir",
"html_url": "https://github.com/akrolsmir",
"followers_url": "https://api.github.com/users/akrolsmir/followers",
"following_url": "https://api.github.com/users/akrolsmir/following{/other_user}",
"gists_url": "https://api.github.com/users/akrolsmir/gists{/gist_id}",
"starred_url": "https://api.github.com/users/akrolsmir/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akrolsmir/subscriptions",
"organizations_url": "https://api.github.com/users/akrolsmir/orgs",
"repos_url": "https://api.github.com/users/akrolsmir/repos",
"events_url": "https://api.github.com/users/akrolsmir/events{/privacy}",
"received_events_url": "https://api.github.com/users/akrolsmir/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 2 | 2020-06-19T19:55:02 | 2020-07-04T02:36:53 | 2020-07-04T02:36:52 | CONTRIBUTOR | null | See #950 . | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1609/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1609",
"html_url": "https://github.com/streamlit/streamlit/pull/1609",
"diff_url": "https://github.com/streamlit/streamlit/pull/1609.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1609.patch",
"merged_at": "2020-07-04T02:36:52"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1608 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1608/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1608/comments | https://api.github.com/repos/streamlit/streamlit/issues/1608/events | https://github.com/streamlit/streamlit/pull/1608 | 642,038,543 | MDExOlB1bGxSZXF1ZXN0NDM3MTUyNTYz | 1,608 | Fix caching bug with floats resembling ints | {
"login": "jrhone",
"id": 699897,
"node_id": "MDQ6VXNlcjY5OTg5Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/699897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jrhone",
"html_url": "https://github.com/jrhone",
"followers_url": "https://api.github.com/users/jrhone/followers",
"following_url": "https://api.github.com/users/jrhone/following{/other_user}",
"gists_url": "https://api.github.com/users/jrhone/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jrhone/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jrhone/subscriptions",
"organizations_url": "https://api.github.com/users/jrhone/orgs",
"repos_url": "https://api.github.com/users/jrhone/repos",
"events_url": "https://api.github.com/users/jrhone/events{/privacy}",
"received_events_url": "https://api.github.com/users/jrhone/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-19T15:06:39 | 2020-07-07T18:46:21 | 2020-07-07T18:46:20 | CONTRIBUTOR | null | Issue #1166
In python, `1 in [1]` and `1 in [1.0]` both return `True`. This causes some issues with our hashing code.
Solution:
- Prefix hash key with the type
- Remove hash tombstone | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1608/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1608/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1608",
"html_url": "https://github.com/streamlit/streamlit/pull/1608",
"diff_url": "https://github.com/streamlit/streamlit/pull/1608.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1608.patch",
"merged_at": "2020-07-07T18:46:20"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1607 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1607/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1607/comments | https://api.github.com/repos/streamlit/streamlit/issues/1607/events | https://github.com/streamlit/streamlit/pull/1607 | 641,507,604 | MDExOlB1bGxSZXF1ZXN0NDM2NzI4MzIz | 1,607 | Support building Streamlit natively on Windows | {
"login": "akrolsmir",
"id": 856034,
"node_id": "MDQ6VXNlcjg1NjAzNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/856034?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akrolsmir",
"html_url": "https://github.com/akrolsmir",
"followers_url": "https://api.github.com/users/akrolsmir/followers",
"following_url": "https://api.github.com/users/akrolsmir/following{/other_user}",
"gists_url": "https://api.github.com/users/akrolsmir/gists{/gist_id}",
"starred_url": "https://api.github.com/users/akrolsmir/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akrolsmir/subscriptions",
"organizations_url": "https://api.github.com/users/akrolsmir/orgs",
"repos_url": "https://api.github.com/users/akrolsmir/repos",
"events_url": "https://api.github.com/users/akrolsmir/events{/privacy}",
"received_events_url": "https://api.github.com/users/akrolsmir/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 2 | 2020-06-18T19:47:47 | 2020-06-22T22:11:10 | 2020-06-22T22:11:10 | CONTRIBUTOR | null | I haven't yet tested these changes on a Unix machine to ensure that the build process is still okay -- will CircleCI do that automatically, or should I e.g. spin up a VirtualBox just to test this? | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1607/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1607",
"html_url": "https://github.com/streamlit/streamlit/pull/1607",
"diff_url": "https://github.com/streamlit/streamlit/pull/1607.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1607.patch",
"merged_at": "2020-06-22T22:11:10"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1606 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1606/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1606/comments | https://api.github.com/repos/streamlit/streamlit/issues/1606/events | https://github.com/streamlit/streamlit/issues/1606 | 641,325,534 | MDU6SXNzdWU2NDEzMjU1MzQ= | 1,606 | dynamic library isn't correctly reloaded when dynamic library is modified while running streamlit | {
"login": "xiong-jie-y",
"id": 32722944,
"node_id": "MDQ6VXNlcjMyNzIyOTQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/32722944?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiong-jie-y",
"html_url": "https://github.com/xiong-jie-y",
"followers_url": "https://api.github.com/users/xiong-jie-y/followers",
"following_url": "https://api.github.com/users/xiong-jie-y/following{/other_user}",
"gists_url": "https://api.github.com/users/xiong-jie-y/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xiong-jie-y/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xiong-jie-y/subscriptions",
"organizations_url": "https://api.github.com/users/xiong-jie-y/orgs",
"repos_url": "https://api.github.com/users/xiong-jie-y/repos",
"events_url": "https://api.github.com/users/xiong-jie-y/events{/privacy}",
"received_events_url": "https://api.github.com/users/xiong-jie-y/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | open | false | null | [] | null | 2 | 2020-06-18T15:46:46 | 2021-04-28T23:06:55 | null | NONE | null | Firstly, thank you for awesome framework!
I'm really enjoying exploring the big power of streamlit.
# Summary
Streamlit automatically detect dynamic library modification and seems to reload the web page but the dynamic library doesn't seem to be changed (because the modified method is same behavior as before reloading.)
# Steps to reproduce
Assumes boost_python and streamlit is installed.
1. Clone repository.
```
git clone git@github.com:xiong-jie-y/code-snippets.git
```
2. Get python include path
```
export PYTHON_INCLUDE=`python3 -c 'from distutils.sysconfig import *; print(get_python_inc())'
```
3. Compile .so
```
cd code-snippets/streamlit_so_reload_err_cpp
g++ -I$PYTHON_INCLUDE -DPIC -shared -fPIC -o CModule.so cppdl.cxx -lboost_python3
```
4. Run streamlit
```
streamlit run streamlit_cpp_reload.py
```
5. Confirm it it show "hello world" in the browser.
6. In a different terminal, please modify 4th line of cppdl.cxx and compile again same as 2,3.
7. Streamlit automatically detects .so modification. So press "Always rerun"
8. Streamlit output is "hello world" again.
## Expected behavior:
Streamlit output should change after .so is modified.
## Actual behavior:
Streamlit output is same as the one before .so modification.
## Is this a regression?
maybe no.
# Debug info
- Streamlit version: (get it with `$ streamlit version`)
Streamlit, version 0.61.0
- Python version: (get it with `$ python --version`)
Python 3.7.7
- Using Conda? PipEnv? PyEnv? Pex?
conda 4.6.14
- OS version:
Ubuntu 18.04(4.20.0-042000-generic)
- Browser version:
Chrome Version 81.0.4044.92 (Official Build) (64-bit)
# Additional information
Tried with dynamic library made from rust, and got segmentation fault. (it might be other problem though) | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1606/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1606/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1605 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1605/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1605/comments | https://api.github.com/repos/streamlit/streamlit/issues/1605/events | https://github.com/streamlit/streamlit/issues/1605 | 641,285,491 | MDU6SXNzdWU2NDEyODU0OTE= | 1,605 | Radio buttons that swap out large sections of content sometimes don't work | {
"login": "asemic-horizon",
"id": 42865953,
"node_id": "MDQ6VXNlcjQyODY1OTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/42865953?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asemic-horizon",
"html_url": "https://github.com/asemic-horizon",
"followers_url": "https://api.github.com/users/asemic-horizon/followers",
"following_url": "https://api.github.com/users/asemic-horizon/following{/other_user}",
"gists_url": "https://api.github.com/users/asemic-horizon/gists{/gist_id}",
"starred_url": "https://api.github.com/users/asemic-horizon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/asemic-horizon/subscriptions",
"organizations_url": "https://api.github.com/users/asemic-horizon/orgs",
"repos_url": "https://api.github.com/users/asemic-horizon/repos",
"events_url": "https://api.github.com/users/asemic-horizon/events{/privacy}",
"received_events_url": "https://api.github.com/users/asemic-horizon/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 3 | 2020-06-18T15:05:36 | 2020-08-06T23:07:49 | 2020-06-19T01:49:10 | NONE | null | This is again a bug that's hard to provide a minimum example for. I'm (mis?)using radio buttons as a "main menu" of sorts, like this:
![image](https://user-images.githubusercontent.com/42865953/85036877-0c04c180-b15b-11ea-97a7-d1889e9a04de.png)
These button trigger entirely different pages from there on.
Sometimes, after operating the app for a while, the radio buttons won't work. I know it's not a problem with some ongoing process for three reasons (1) helpful runner icon (2) I have plenty of logging to monitor the app from its CLI output and (3) it helps to try another button and try again the one you wanted.
## Steps to reproduce
I've seen this bug happen consistently in **v0.58**. More recent versions break my app thoroughly (see below) and I haven't used it long enough.
One would have to figure a kind of minimum complexity example that still reaches a threshold of how much content is swapped by a radio button. I'm not a very good bug-reporter.
## Is this a regression
I'm not sure if this is a regression. I have only seriously used 0.58 because more recent versions are awful with [this other bug](https://github.com/streamlit/streamlit/issues/1440).
## Other notes
This is a poor bug report, and I initially chose not to post it and just live with the behavior, but since I mentioned a "wider reliability story" in the [other bug issue](https://github.com/streamlit/streamlit/issues/1440) I thought I'd give another example. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1605/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1604 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1604/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1604/comments | https://api.github.com/repos/streamlit/streamlit/issues/1604/events | https://github.com/streamlit/streamlit/pull/1604 | 641,256,138 | MDExOlB1bGxSZXF1ZXN0NDM2NTEzNzIz | 1,604 | Remove AWS docs method from Makefile | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-18T14:31:49 | 2020-07-20T20:20:19 | 2020-07-07T12:35:41 | CONTRIBUTOR | null | Fixes #1597
Removes Makefile instructions for pushing the docs to AWS, which has been replaced by ReadtheDocs. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1604/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1604",
"html_url": "https://github.com/streamlit/streamlit/pull/1604",
"diff_url": "https://github.com/streamlit/streamlit/pull/1604.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1604.patch",
"merged_at": "2020-07-07T12:35:41"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1603 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1603/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1603/comments | https://api.github.com/repos/streamlit/streamlit/issues/1603/events | https://github.com/streamlit/streamlit/pull/1603 | 640,941,769 | MDExOlB1bGxSZXF1ZXN0NDM2MjU0OTkz | 1,603 | Fix server.cookieSecret config option. | {
"login": "tvst",
"id": 690814,
"node_id": "MDQ6VXNlcjY5MDgxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/690814?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tvst",
"html_url": "https://github.com/tvst",
"followers_url": "https://api.github.com/users/tvst/followers",
"following_url": "https://api.github.com/users/tvst/following{/other_user}",
"gists_url": "https://api.github.com/users/tvst/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tvst/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tvst/subscriptions",
"organizations_url": "https://api.github.com/users/tvst/orgs",
"repos_url": "https://api.github.com/users/tvst/repos",
"events_url": "https://api.github.com/users/tvst/events{/privacy}",
"received_events_url": "https://api.github.com/users/tvst/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-18T06:21:11 | 2020-06-18T18:52:59 | 2020-06-18T18:52:55 | CONTRIBUTOR | null | The config option...
1. ...shouldn't read environment variables. This happens automatically.
2. ...should specify a type.
3. ...doesn't have to include a test for its specific environment variable. Environment variables and the config system are already tested elsewhere.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1603/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1603",
"html_url": "https://github.com/streamlit/streamlit/pull/1603",
"diff_url": "https://github.com/streamlit/streamlit/pull/1603.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1603.patch",
"merged_at": "2020-06-18T18:52:55"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1602 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1602/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1602/comments | https://api.github.com/repos/streamlit/streamlit/issues/1602/events | https://github.com/streamlit/streamlit/pull/1602 | 640,761,400 | MDExOlB1bGxSZXF1ZXN0NDM2MTEyMDcy | 1,602 | Don't re-render when frameHeight changes | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-17T21:44:06 | 2020-06-17T22:31:16 | 2020-06-17T22:29:28 | COLLABORATOR | null | Move `this.state.frameHeight` into a normal member variable, so that changes to it don't trigger a re-render. (This means that a component calling `Streamlit.setFrameHeight` doesn't get a superfluous RENDER event immediately after rendering.)
Thanks to https://github.com/Ghasel for the fix! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1602/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1602",
"html_url": "https://github.com/streamlit/streamlit/pull/1602",
"diff_url": "https://github.com/streamlit/streamlit/pull/1602.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1602.patch",
"merged_at": "2020-06-17T22:29:28"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1601 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1601/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1601/comments | https://api.github.com/repos/streamlit/streamlit/issues/1601/events | https://github.com/streamlit/streamlit/pull/1601 | 640,754,001 | MDExOlB1bGxSZXF1ZXN0NDM2MTA1ODk1 | 1,601 | Making wideMode sticky through a config | {
"login": "arraydude",
"id": 631997,
"node_id": "MDQ6VXNlcjYzMTk5Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/631997?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arraydude",
"html_url": "https://github.com/arraydude",
"followers_url": "https://api.github.com/users/arraydude/followers",
"following_url": "https://api.github.com/users/arraydude/following{/other_user}",
"gists_url": "https://api.github.com/users/arraydude/gists{/gist_id}",
"starred_url": "https://api.github.com/users/arraydude/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arraydude/subscriptions",
"organizations_url": "https://api.github.com/users/arraydude/orgs",
"repos_url": "https://api.github.com/users/arraydude/repos",
"events_url": "https://api.github.com/users/arraydude/events{/privacy}",
"received_events_url": "https://api.github.com/users/arraydude/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 11 | 2020-06-17T21:29:03 | 2020-07-31T21:13:42 | 2020-07-31T21:13:42 | CONTRIBUTOR | null | **Issue:** This PR fixes #314
**Description:** Make wideMode sticky through a config
---
**Contribution License Agreement**
By submiting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1601/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1601/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1601",
"html_url": "https://github.com/streamlit/streamlit/pull/1601",
"diff_url": "https://github.com/streamlit/streamlit/pull/1601.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1601.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1600 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1600/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1600/comments | https://api.github.com/repos/streamlit/streamlit/issues/1600/events | https://github.com/streamlit/streamlit/pull/1600 | 640,711,340 | MDExOlB1bGxSZXF1ZXN0NDM2MDcwNjE0 | 1,600 | Remove Python 2 and Python 3.5 staleness | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-17T20:12:02 | 2020-06-18T12:32:41 | 2020-06-18T12:32:37 | CONTRIBUTOR | null | Fixes #1599
Removes some unnecessary branching and other unnecessary comments now that Streamlit only supports 3.6+. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1600/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1600",
"html_url": "https://github.com/streamlit/streamlit/pull/1600",
"diff_url": "https://github.com/streamlit/streamlit/pull/1600.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1600.patch",
"merged_at": "2020-06-18T12:32:36"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1599 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1599/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1599/comments | https://api.github.com/repos/streamlit/streamlit/issues/1599/events | https://github.com/streamlit/streamlit/issues/1599 | 640,705,553 | MDU6SXNzdWU2NDA3MDU1NTM= | 1,599 | Clean up Makefile for Python staleness | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1520675746,
"node_id": "MDU6TGFiZWwxNTIwNjc1NzQ2",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:infra",
"name": "area:infra",
"color": "C2E0C6",
"default": false,
"description": ""
}
] | closed | false | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
}
] | null | 0 | 2020-06-17T20:01:25 | 2020-06-18T12:32:36 | 2020-06-18T12:32:36 | CONTRIBUTOR | null | There is a bit of cruft in the Makefile from the cutover between Python 2 and 3, and supporting 3.5 to 3.6+ | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1599/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1599/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1598 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1598/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1598/comments | https://api.github.com/repos/streamlit/streamlit/issues/1598/events | https://github.com/streamlit/streamlit/pull/1598 | 640,702,333 | MDExOlB1bGxSZXF1ZXN0NDM2MDYzMjA2 | 1,598 | Require tornado >= 6, instead of >= 5 | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 4 | 2020-06-17T19:55:35 | 2020-06-22T18:08:54 | 2020-06-22T18:08:49 | COLLABORATOR | null | Because we're now typechecking our tornado usages with mypy, we're *not* actually compatible with tornado 5 (at least as far as typechecking is confirmed). That is, if you end up with tornado 5 in your venv, `make mypy` will (rightly) have a bunch of failures.
Since tornado 6 changes APIs, and since we're not actually testing against both tornado 5 and 6 compatibility, we shouldn't allow for tornado < 6. (Or: if we *do* want to support tornado 5, we need to actually test against it.)
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1598/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1598",
"html_url": "https://github.com/streamlit/streamlit/pull/1598",
"diff_url": "https://github.com/streamlit/streamlit/pull/1598.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1598.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1597 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1597/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1597/comments | https://api.github.com/repos/streamlit/streamlit/issues/1597/events | https://github.com/streamlit/streamlit/issues/1597 | 640,700,619 | MDU6SXNzdWU2NDA3MDA2MTk= | 1,597 | Remove Makefile artifacts from old build process | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1520675746,
"node_id": "MDU6TGFiZWwxNTIwNjc1NzQ2",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:infra",
"name": "area:infra",
"color": "C2E0C6",
"default": false,
"description": ""
},
{
"id": 1634956291,
"node_id": "MDU6TGFiZWwxNjM0OTU2Mjkx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:docs",
"name": "type:docs",
"color": "0052CC",
"default": false,
"description": "Requests for changes to docs (will be rerouted to docs repo)"
}
] | closed | false | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
}
] | null | 0 | 2020-06-17T19:52:18 | 2020-07-07T12:35:41 | 2020-07-07T12:35:41 | CONTRIBUTOR | null | Now that RTD is working smoothly, we can remove the S3 and AWS Cloudfront code. Leave in other docs related functions that are useful, such as `devel-docs` | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1597/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1596 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1596/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1596/comments | https://api.github.com/repos/streamlit/streamlit/issues/1596/events | https://github.com/streamlit/streamlit/pull/1596 | 640,687,327 | MDExOlB1bGxSZXF1ZXN0NDM2MDUxMDc2 | 1,596 | iFrame Feature-Policy | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
}
] | null | 0 | 2020-06-17T19:28:20 | 2020-06-17T19:36:01 | 2020-06-17T19:35:58 | COLLABORATOR | null | Adds a Feature-Policy to component iframes. This is required for things like camera and microphone access.
We should audit this list before ship to see if there's anything else we *don't* want to allow. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1596/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1596/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1596",
"html_url": "https://github.com/streamlit/streamlit/pull/1596",
"diff_url": "https://github.com/streamlit/streamlit/pull/1596.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1596.patch",
"merged_at": "2020-06-17T19:35:58"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1595 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1595/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1595/comments | https://api.github.com/repos/streamlit/streamlit/issues/1595/events | https://github.com/streamlit/streamlit/pull/1595 | 640,686,310 | MDExOlB1bGxSZXF1ZXN0NDM2MDUwMjEy | 1,595 | Component Template Changes | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-17T19:26:24 | 2020-06-17T19:35:10 | 2020-06-17T19:35:07 | COLLABORATOR | null | Reworks our templates + examples to conform to some new standards
- There are now two templates: "template" and "template-reactless"
- Templates have a PyPI-friendly folder + file structure
- Templates and examples load CSS and font assets from public/ (rather than from source files) | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1595/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1595",
"html_url": "https://github.com/streamlit/streamlit/pull/1595",
"diff_url": "https://github.com/streamlit/streamlit/pull/1595.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1595.patch",
"merged_at": "2020-06-17T19:35:07"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1594 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1594/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1594/comments | https://api.github.com/repos/streamlit/streamlit/issues/1594/events | https://github.com/streamlit/streamlit/pull/1594 | 640,679,044 | MDExOlB1bGxSZXF1ZXN0NDM2MDQ0MDk0 | 1,594 | Scale screenshot gif to approximate size on screen | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-17T19:13:30 | 2020-06-17T19:49:08 | 2020-06-17T19:49:04 | CONTRIBUTOR | null | Screencast image on `getting_started.md` is 9.1MB. Scaling image to its expected size on screen brings the size down to 5.4MB, which should provide a better user experience when viewing the docs | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1594/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1594",
"html_url": "https://github.com/streamlit/streamlit/pull/1594",
"diff_url": "https://github.com/streamlit/streamlit/pull/1594.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1594.patch",
"merged_at": "2020-06-17T19:49:04"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1593 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1593/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1593/comments | https://api.github.com/repos/streamlit/streamlit/issues/1593/events | https://github.com/streamlit/streamlit/pull/1593 | 640,649,353 | MDExOlB1bGxSZXF1ZXN0NDM2MDE5NjEy | 1,593 | Note about large num of options for multiselect | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-17T18:21:26 | 2020-06-17T19:31:49 | 2020-06-17T19:31:46 | CONTRIBUTOR | null | Ref #1059
Make a note in the docstring that performance will be degraded on the front-end when a large list of possible values are passed for a multiselect widget. The number of 100+ is just there as a conservatively low value for people to determine "large". The actual number is likely higher, but also likely a function of the hardware being used.
![image](https://user-images.githubusercontent.com/2762787/84934790-cfc35980-b0a5-11ea-9e4d-a7f43f5dae32.png)
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1593/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1593/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1593",
"html_url": "https://github.com/streamlit/streamlit/pull/1593",
"diff_url": "https://github.com/streamlit/streamlit/pull/1593.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1593.patch",
"merged_at": "2020-06-17T19:31:46"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1592 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1592/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1592/comments | https://api.github.com/repos/streamlit/streamlit/issues/1592/events | https://github.com/streamlit/streamlit/pull/1592 | 640,605,027 | MDExOlB1bGxSZXF1ZXN0NDM1OTgzMjgx | 1,592 | Add float argument to progress docstring | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-17T17:06:19 | 2020-06-17T17:53:09 | 2020-06-17T17:53:09 | CONTRIBUTOR | null | Fixes #1589
Adds recognition to docstring that it also accepts a float value:
![image](https://user-images.githubusercontent.com/2762787/84927752-44dd6180-b09b-11ea-882c-9eae834291db.png)
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1592/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1592",
"html_url": "https://github.com/streamlit/streamlit/pull/1592",
"diff_url": "https://github.com/streamlit/streamlit/pull/1592.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1592.patch",
"merged_at": "2020-06-17T17:53:09"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1591 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1591/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1591/comments | https://api.github.com/repos/streamlit/streamlit/issues/1591/events | https://github.com/streamlit/streamlit/pull/1591 | 640,478,834 | MDExOlB1bGxSZXF1ZXN0NDM1ODgxODIz | 1,591 | (CC) Refactor SelectableDataTable | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-17T14:15:33 | 2020-06-17T19:04:21 | 2020-06-17T19:04:17 | COLLABORATOR | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1591/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1591",
"html_url": "https://github.com/streamlit/streamlit/pull/1591",
"diff_url": "https://github.com/streamlit/streamlit/pull/1591.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1591.patch",
"merged_at": "2020-06-17T19:04:17"
} | true |
|
https://api.github.com/repos/streamlit/streamlit/issues/1590 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1590/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1590/comments | https://api.github.com/repos/streamlit/streamlit/issues/1590/events | https://github.com/streamlit/streamlit/issues/1590 | 640,097,246 | MDU6SXNzdWU2NDAwOTcyNDY= | 1,590 | Internal Hash Error | {
"login": "INPUTrrr0",
"id": 44755971,
"node_id": "MDQ6VXNlcjQ0NzU1OTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/44755971?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/INPUTrrr0",
"html_url": "https://github.com/INPUTrrr0",
"followers_url": "https://api.github.com/users/INPUTrrr0/followers",
"following_url": "https://api.github.com/users/INPUTrrr0/following{/other_user}",
"gists_url": "https://api.github.com/users/INPUTrrr0/gists{/gist_id}",
"starred_url": "https://api.github.com/users/INPUTrrr0/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/INPUTrrr0/subscriptions",
"organizations_url": "https://api.github.com/users/INPUTrrr0/orgs",
"repos_url": "https://api.github.com/users/INPUTrrr0/repos",
"events_url": "https://api.github.com/users/INPUTrrr0/events{/privacy}",
"received_events_url": "https://api.github.com/users/INPUTrrr0/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1607719438,
"node_id": "MDU6TGFiZWwxNjA3NzE5NDM4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:cache",
"name": "feature:cache",
"color": "C5DEF5",
"default": false,
"description": "Related to st.cache, st.experimental_singleton, st.experimental_memo"
},
{
"id": 1890355941,
"node_id": "MDU6TGFiZWwxODkwMzU1OTQx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:cache-hash-func",
"name": "feature:cache-hash-func",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2020-06-17T02:44:40 | 2022-07-06T19:54:03 | 2022-07-06T19:54:02 | NONE | null | # Summary
Error Statement:
> InternalHashError: Cell is empty
>While caching the body of split(), Streamlit encountered an object of type builtins.function, which it does not know how to hash.
I am going to be honest here I have no idea what went wrong. The error statement recommend me to report a bug so here goes XD
# Steps to reproduce
It happened when I want to execute the following code:
` @st.cache(persist=True)
def split(df):
y=data.iloc[ :, -1:]
x=data.drop(columns=["Class"])
x_train, x_test, y_train, y_test = train_test_split(x,y, test_size=0.3, random_state=0)
return x_train, x_test, y_train, y_test`
However things are good when I comment out the '@st.cache(persist=True)' line.
The "data" is a 699 rows × 10 columns small data frame object.
## Expected behavior:
Explain what you expect to happen when you go through the steps above, assuming there were no bugs.
The above code should successfully split the dataframe object into test and train data. Given my limited knowledge on st.cache, I suppose the code should do the split once and keep that through out whenever I run it.
## Actual behavior:
I get an error statement:
<img width="693" alt="Screen Shot 2020-06-16 at 10 41 33 PM" src="https://user-images.githubusercontent.com/44755971/84849078-90075e00-b022-11ea-8cc4-b06021837d4a.png">
## Is this a regression?
No
# Debug info
- Streamlit version: 0.61.0
- Python version: 3.7.3
- Using Conda
- OS version: 10.15.3
- Browser version: Safari 13.0.5
# Additional information
I am using some data from: https://archive.ics.uci.edu/ml/datasets/breast+cancer+wisconsin+%28original%29
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1590/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1590/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1589 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1589/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1589/comments | https://api.github.com/repos/streamlit/streamlit/issues/1589/events | https://github.com/streamlit/streamlit/issues/1589 | 639,902,739 | MDU6SXNzdWU2Mzk5MDI3Mzk= | 1,589 | Progress bar parameter values | {
"login": "gzzo",
"id": 5722054,
"node_id": "MDQ6VXNlcjU3MjIwNTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5722054?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gzzo",
"html_url": "https://github.com/gzzo",
"followers_url": "https://api.github.com/users/gzzo/followers",
"following_url": "https://api.github.com/users/gzzo/following{/other_user}",
"gists_url": "https://api.github.com/users/gzzo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gzzo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gzzo/subscriptions",
"organizations_url": "https://api.github.com/users/gzzo/orgs",
"repos_url": "https://api.github.com/users/gzzo/repos",
"events_url": "https://api.github.com/users/gzzo/events{/privacy}",
"received_events_url": "https://api.github.com/users/gzzo/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1634956291,
"node_id": "MDU6TGFiZWwxNjM0OTU2Mjkx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:docs",
"name": "type:docs",
"color": "0052CC",
"default": false,
"description": "Requests for changes to docs (will be rerouted to docs repo)"
}
] | closed | false | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
}
] | null | 0 | 2020-06-16T18:58:53 | 2020-06-17T17:53:09 | 2020-06-17T17:53:09 | NONE | null | Currently the docs state that progress accepts an int from 0 - 100, however the actual implementation accepts floats as well, with values from 0-1.
**Link to doc page in question (if any):**
https://docs.streamlit.io/en/latest/api.html#streamlit.progress
**Name of the Streamlit feature whose docs need improvement:**
Progress
**What you think the docs should say:**
```
Parameters:
value (int) – The percentage complete: 0 <= value <= 100
or
value (float) – The percentage complete: 0 <= value <= 1
``` | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1589/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1588 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1588/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1588/comments | https://api.github.com/repos/streamlit/streamlit/issues/1588/events | https://github.com/streamlit/streamlit/issues/1588 | 639,797,462 | MDU6SXNzdWU2Mzk3OTc0NjI= | 1,588 | Strange behavior of connection URLs | {
"login": "jrhone",
"id": 699897,
"node_id": "MDQ6VXNlcjY5OTg5Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/699897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jrhone",
"html_url": "https://github.com/jrhone",
"followers_url": "https://api.github.com/users/jrhone/followers",
"following_url": "https://api.github.com/users/jrhone/following{/other_user}",
"gists_url": "https://api.github.com/users/jrhone/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jrhone/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jrhone/subscriptions",
"organizations_url": "https://api.github.com/users/jrhone/orgs",
"repos_url": "https://api.github.com/users/jrhone/repos",
"events_url": "https://api.github.com/users/jrhone/events{/privacy}",
"received_events_url": "https://api.github.com/users/jrhone/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 1 | 2020-06-16T16:12:48 | 2022-09-23T14:05:10 | 2022-09-23T14:05:10 | CONTRIBUTOR | null | Passing in default values for `browser.serverAddress`, `browser.serverPort` and `server.port` causes the connection URL information to change.
```
$ streamlit hello --browser.serverAddress=localhost --browser.serverPort=8501 --server.port=8501
You can now view your Streamlit app in your browser.
URL: http://localhost:8501
```
```
$ streamlit hello
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501
Network URL: http://192.168.1.252:8501
```` | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1588/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1587 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1587/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1587/comments | https://api.github.com/repos/streamlit/streamlit/issues/1587/events | https://github.com/streamlit/streamlit/issues/1587 | 639,277,587 | MDU6SXNzdWU2MzkyNzc1ODc= | 1,587 | Server config enableCORS is misleading | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1520675746,
"node_id": "MDU6TGFiZWwxNTIwNjc1NzQ2",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:infra",
"name": "area:infra",
"color": "C2E0C6",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2020-06-16T00:21:18 | 2021-03-26T15:41:33 | 2021-03-26T15:41:33 | CONTRIBUTOR | null | ### Problem
The config `server.enableCORS` is slightly misleading. When `enableCORS=True`, streamlit is disabling sharing of cross origin resources. It's a bit unclear since CORS is just the concept of cross-origin resource sharing, it doesn’t mean “I am enabling cross-origin sharing” or “I am disabling resource sharing”.
See current use in [routes.py](https://github.com/streamlit/streamlit/blob/0.61.0/lib/streamlit/server/routes.py#L29):
```def allow_cross_origin_requests():
"""True if cross-origin requests are allowed.
We only allow cross-origin requests when CORS protection has been disabled
with server.enableCORS=False or if using the Node server. When using the
Node server, we have a dev and prod port, which count as two origins.
"""
return not config.get_option("server.enableCORS") or config.get_option(
"global.useNode"
)
```
### Solution
Docs updated as part of #1571 but consider renaming the config option `enableCORS` to `CORSenabled`
### Additional context
When making the change, do we need to consider a migration plan? | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1587/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1587/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1586 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1586/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1586/comments | https://api.github.com/repos/streamlit/streamlit/issues/1586/events | https://github.com/streamlit/streamlit/pull/1586 | 639,204,747 | MDExOlB1bGxSZXF1ZXN0NDM0ODM2MDk4 | 1,586 | Disable/Remove scroll when in full screen mode | {
"login": "arraydude",
"id": 631997,
"node_id": "MDQ6VXNlcjYzMTk5Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/631997?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arraydude",
"html_url": "https://github.com/arraydude",
"followers_url": "https://api.github.com/users/arraydude/followers",
"following_url": "https://api.github.com/users/arraydude/following{/other_user}",
"gists_url": "https://api.github.com/users/arraydude/gists{/gist_id}",
"starred_url": "https://api.github.com/users/arraydude/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arraydude/subscriptions",
"organizations_url": "https://api.github.com/users/arraydude/orgs",
"repos_url": "https://api.github.com/users/arraydude/repos",
"events_url": "https://api.github.com/users/arraydude/events{/privacy}",
"received_events_url": "https://api.github.com/users/arraydude/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-15T21:57:45 | 2020-06-17T22:49:15 | 2020-06-17T22:49:11 | CONTRIBUTOR | null | **Issue:** This PR fixes #1168
**Description:**
When fullscreen:
- Adding `object-fit: contain`
- Hiding caption
When not fullscreen: remains the same
---
**Contribution License Agreement**
By submiting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1586/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1586",
"html_url": "https://github.com/streamlit/streamlit/pull/1586",
"diff_url": "https://github.com/streamlit/streamlit/pull/1586.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1586.patch",
"merged_at": "2020-06-17T22:49:11"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1585 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1585/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1585/comments | https://api.github.com/repos/streamlit/streamlit/issues/1585/events | https://github.com/streamlit/streamlit/pull/1585 | 639,129,837 | MDExOlB1bGxSZXF1ZXN0NDM0NzY4NTkz | 1,585 | Better welcome message when running `streamlit hello` | {
"login": "arraydude",
"id": 631997,
"node_id": "MDQ6VXNlcjYzMTk5Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/631997?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arraydude",
"html_url": "https://github.com/arraydude",
"followers_url": "https://api.github.com/users/arraydude/followers",
"following_url": "https://api.github.com/users/arraydude/following{/other_user}",
"gists_url": "https://api.github.com/users/arraydude/gists{/gist_id}",
"starred_url": "https://api.github.com/users/arraydude/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arraydude/subscriptions",
"organizations_url": "https://api.github.com/users/arraydude/orgs",
"repos_url": "https://api.github.com/users/arraydude/repos",
"events_url": "https://api.github.com/users/arraydude/events{/privacy}",
"received_events_url": "https://api.github.com/users/arraydude/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-15T20:27:23 | 2020-06-17T20:39:39 | 2020-06-17T20:39:36 | CONTRIBUTOR | null | **Issue:** This PR fixes #1464
**Description:** Sending a different welcome message when running `streamlit hello`
---
**Contribution License Agreement**
By submiting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1585/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1585/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1585",
"html_url": "https://github.com/streamlit/streamlit/pull/1585",
"diff_url": "https://github.com/streamlit/streamlit/pull/1585.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1585.patch",
"merged_at": "2020-06-17T20:39:36"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1584 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1584/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1584/comments | https://api.github.com/repos/streamlit/streamlit/issues/1584/events | https://github.com/streamlit/streamlit/issues/1584 | 639,093,018 | MDU6SXNzdWU2MzkwOTMwMTg= | 1,584 | __init.py__ assumes sudo available on install | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | {
"login": "AnOctopus",
"id": 7356217,
"node_id": "MDQ6VXNlcjczNTYyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7356217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnOctopus",
"html_url": "https://github.com/AnOctopus",
"followers_url": "https://api.github.com/users/AnOctopus/followers",
"following_url": "https://api.github.com/users/AnOctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/AnOctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AnOctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnOctopus/subscriptions",
"organizations_url": "https://api.github.com/users/AnOctopus/orgs",
"repos_url": "https://api.github.com/users/AnOctopus/repos",
"events_url": "https://api.github.com/users/AnOctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/AnOctopus/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "AnOctopus",
"id": 7356217,
"node_id": "MDQ6VXNlcjczNTYyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7356217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnOctopus",
"html_url": "https://github.com/AnOctopus",
"followers_url": "https://api.github.com/users/AnOctopus/followers",
"following_url": "https://api.github.com/users/AnOctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/AnOctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AnOctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnOctopus/subscriptions",
"organizations_url": "https://api.github.com/users/AnOctopus/orgs",
"repos_url": "https://api.github.com/users/AnOctopus/repos",
"events_url": "https://api.github.com/users/AnOctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/AnOctopus/received_events",
"type": "User",
"site_admin": false
}
] | null | 9 | 2020-06-15T19:38:00 | 2022-04-01T14:19:58 | 2021-11-04T04:53:54 | CONTRIBUTOR | null | In `__init.py__`, `sudo` is called to generate a machine-id in Linux environments. This causes issues on environments where `sudo` isn't installed, as well as being a potentially unnecessary escalation of privileges
https://github.com/streamlit/streamlit/blob/develop/lib/streamlit/__init__.py#L67-L74
Ref:
https://stackoverflow.com/questions/61871050/filenotfounderror-errno-2-no-such-file-or-directory-sudo-sudo
https://discuss.streamlit.io/t/streamlit-installation-in-pydroid3-android-app/3501 | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1584/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1584/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1583 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1583/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1583/comments | https://api.github.com/repos/streamlit/streamlit/issues/1583/events | https://github.com/streamlit/streamlit/pull/1583 | 639,005,295 | MDExOlB1bGxSZXF1ZXN0NDM0NjY0NDg3 | 1,583 | Note about OpenCV and MP4V codec | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 2 | 2020-06-15T17:04:41 | 2020-11-05T04:39:31 | 2020-06-17T17:04:41 | CONTRIBUTOR | null | Fixes #1580
Makes a note that the MP4V format in OpenCV will not be displayed in Streamlit, as this codec is not widely supported in browsers.
Result:
![image](https://user-images.githubusercontent.com/2762787/84685672-a7522880-af08-11ea-964e-d4559f509c7a.png)
Forum Ref:
https://discuss.streamlit.io/t/st-video-doesnt-show-opencv-generated-mp4/3193/3
https://discuss.streamlit.io/t/problem-with-displaying-a-recorded-video/3458/4 | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1583/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1583/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1583",
"html_url": "https://github.com/streamlit/streamlit/pull/1583",
"diff_url": "https://github.com/streamlit/streamlit/pull/1583.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1583.patch",
"merged_at": "2020-06-17T17:04:40"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1582 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1582/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1582/comments | https://api.github.com/repos/streamlit/streamlit/issues/1582/events | https://github.com/streamlit/streamlit/pull/1582 | 638,957,546 | MDExOlB1bGxSZXF1ZXN0NDM0NjI1Nzcz | 1,582 | Remove Python 3 reference, add reference to magics work in main file only | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-15T15:48:05 | 2022-11-07T17:12:19 | 2020-06-15T16:25:39 | CONTRIBUTOR | null | Fixes https://github.com/streamlit/docs/issues/518
Remove "Python 3 only" reference (since now, Streamlit only supports 3.6+), change the note to mention that Magics only work from main file, not imported modules | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1582/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1582",
"html_url": "https://github.com/streamlit/streamlit/pull/1582",
"diff_url": "https://github.com/streamlit/streamlit/pull/1582.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1582.patch",
"merged_at": "2020-06-15T16:25:39"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1581 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1581/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1581/comments | https://api.github.com/repos/streamlit/streamlit/issues/1581/events | https://github.com/streamlit/streamlit/issues/1581 | 638,640,406 | MDU6SXNzdWU2Mzg2NDA0MDY= | 1,581 | support for plotnine | {
"login": "LiliGasser",
"id": 36889839,
"node_id": "MDQ6VXNlcjM2ODg5ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/36889839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LiliGasser",
"html_url": "https://github.com/LiliGasser",
"followers_url": "https://api.github.com/users/LiliGasser/followers",
"following_url": "https://api.github.com/users/LiliGasser/following{/other_user}",
"gists_url": "https://api.github.com/users/LiliGasser/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LiliGasser/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LiliGasser/subscriptions",
"organizations_url": "https://api.github.com/users/LiliGasser/orgs",
"repos_url": "https://api.github.com/users/LiliGasser/repos",
"events_url": "https://api.github.com/users/LiliGasser/events{/privacy}",
"received_events_url": "https://api.github.com/users/LiliGasser/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | closed | false | null | [] | null | 8 | 2020-06-15T08:14:41 | 2020-08-06T23:07:48 | 2020-06-15T13:44:48 | NONE | null | I would like to build a dashboard using streamlit and plotnine. Is support for plotnine planned? Are there workarounds to display plotnine plots with streamlit? | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1581/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1580 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1580/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1580/comments | https://api.github.com/repos/streamlit/streamlit/issues/1580/events | https://github.com/streamlit/streamlit/issues/1580 | 638,547,326 | MDU6SXNzdWU2Mzg1NDczMjY= | 1,580 | st.video() not working with a .mp4 file | {
"login": "Hadrien-Cornier",
"id": 29749923,
"node_id": "MDQ6VXNlcjI5NzQ5OTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/29749923?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hadrien-Cornier",
"html_url": "https://github.com/Hadrien-Cornier",
"followers_url": "https://api.github.com/users/Hadrien-Cornier/followers",
"following_url": "https://api.github.com/users/Hadrien-Cornier/following{/other_user}",
"gists_url": "https://api.github.com/users/Hadrien-Cornier/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Hadrien-Cornier/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Hadrien-Cornier/subscriptions",
"organizations_url": "https://api.github.com/users/Hadrien-Cornier/orgs",
"repos_url": "https://api.github.com/users/Hadrien-Cornier/repos",
"events_url": "https://api.github.com/users/Hadrien-Cornier/events{/privacy}",
"received_events_url": "https://api.github.com/users/Hadrien-Cornier/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1634956291,
"node_id": "MDU6TGFiZWwxNjM0OTU2Mjkx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:docs",
"name": "type:docs",
"color": "0052CC",
"default": false,
"description": "Requests for changes to docs (will be rerouted to docs repo)"
}
] | closed | false | null | [] | null | 2 | 2020-06-15T05:09:03 | 2020-06-17T17:04:40 | 2020-06-17T17:04:40 | NONE | null | # Summary
I have trouble running st.video() on videos that run fine with VLC.
## Details
I have a very simple app.py in the main of which I try to open a video :
```python
def file_selector(folder_path='.'):
filenames = os.listdir(folder_path)
selected_filename = st.sidebar.selectbox('Select a video file', filenames)
return os.path.join(folder_path, selected_filename)
filename = file_selector("media/footage")
if st.button("Play video"):
video_file = open(filename, 'rb')
video_bytes = video_file.read()
st.video(video_bytes)
```
I generated the video twice, using a a list of numpy arrays, each one corresponding to a frame:
Once by using the open cv VideoWriter function :
```python
out = cv2.VideoWriter(output_path, cv2.VideoWriter_fourcc(*'{}'.format(codec)), fps, size)
for i in range(len(img_array)):
out.write(img_array[i])
out.release()
```
This produces a file which I can select, and which I can also play in VLC mediaplayer but for which streamlit says :
**'No video with supported format and MIME type found'**
Then I tried changing the video generation method to skvideo.io VideoWriter by using the following:
```python
writer = skvideo.io.FFmpegWriter(output_directory + "skvideo_writer_49.mp4")
for i in range(len(img_array)):
writer.writeFrame(img_array[i])
writer.close()
```
And now the video is perfectly playable on VLC mediaplayer however on the app, I get :
**'Video can't be played because the file is corrupt'**
## Reproduce bug
I am running the streamlit app on a distant machine to which I am connected on my work's Vpn and forwarding the app onto a port on my laptop.
However I have determined that this is not the cause of the problem by reproducing this error on my local machine with the following :
You just need a folder :
-the_streamlit_app.py
-media
--footage
---the_video.mp4
with this code :
```python
import os
import streamlit as st
def file_selector(folder_path='.'):
filenames = os.listdir(folder_path)
selected_filename = st.sidebar.selectbox('Select a video file', filenames)
return os.path.join(folder_path, selected_filename)
def main():
filename = file_selector("media/footage")
if st.button("Play video"):
video_file = open(filename, 'rb')
video_bytes = video_file.read()
st.video(video_bytes)
if __name__ == '__main__':
main()
```
EDIT : In order to make it more easily reproducible, I have hosted the file that does not work here https://drive.google.com/file/d/1rIyU0__Q4uwpKCVZLMF-nErA3a68IJM0/view?usp=sharing
## Expected behavior:
I expect the streamlit app to be displaying the video correctly
## Actual behavior:
Each time I try to play the video, I get an error message
## Is this a regression?
This is the first time I have used this feature
# Debug info
- Streamlit version: Streamlit, version 0.59.0
- Python version: Python 3.8.2
- Using: Conda 4.8.2
- OS version: 'NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.3 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
' (same OS my laptop and the distant machine)
- Browser version: Firefox 77.0.1
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1580/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1580/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1579 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1579/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1579/comments | https://api.github.com/repos/streamlit/streamlit/issues/1579/events | https://github.com/streamlit/streamlit/pull/1579 | 638,418,252 | MDExOlB1bGxSZXF1ZXN0NDM0MTkzMTU3 | 1,579 | (CC) /assets endpoint | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2020-06-14T19:49:42 | 2020-06-27T12:02:15 | 2020-06-27T12:02:10 | COLLABORATOR | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1579/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1579",
"html_url": "https://github.com/streamlit/streamlit/pull/1579",
"diff_url": "https://github.com/streamlit/streamlit/pull/1579.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1579.patch",
"merged_at": null
} | true |
|
https://api.github.com/repos/streamlit/streamlit/issues/1578 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1578/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1578/comments | https://api.github.com/repos/streamlit/streamlit/issues/1578/events | https://github.com/streamlit/streamlit/pull/1578 | 638,406,024 | MDExOlB1bGxSZXF1ZXN0NDM0MTg0MTY3 | 1,578 | Updated run_streamlit_remotely.md | {
"login": "jha-vineet69",
"id": 43810653,
"node_id": "MDQ6VXNlcjQzODEwNjUz",
"avatar_url": "https://avatars.githubusercontent.com/u/43810653?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jha-vineet69",
"html_url": "https://github.com/jha-vineet69",
"followers_url": "https://api.github.com/users/jha-vineet69/followers",
"following_url": "https://api.github.com/users/jha-vineet69/following{/other_user}",
"gists_url": "https://api.github.com/users/jha-vineet69/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jha-vineet69/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jha-vineet69/subscriptions",
"organizations_url": "https://api.github.com/users/jha-vineet69/orgs",
"repos_url": "https://api.github.com/users/jha-vineet69/repos",
"events_url": "https://api.github.com/users/jha-vineet69/events{/privacy}",
"received_events_url": "https://api.github.com/users/jha-vineet69/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2020-06-14T18:35:12 | 2020-06-15T07:17:22 | 2020-06-15T07:17:22 | CONTRIBUTOR | null | Corrected a simple silly spelling mistake from streamlig to Streamlit.
## Before contributing (PLEASE READ!)
⚠️ **If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, and then wait for a positive response.** And if there is no issue for it yet, create it first.
This helps make sure (1) two people aren't working on the same thing, (2) this is something Streamlit's maintainers believe should be implemented/fixed, (3) any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers, and (4) your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
---
**Issue:** Please include a link to the issue you're addressing. If no issue exists, create one first and then link it here.
**Description:** Describe the changes you made to the code, so it's easier for the reader to navigate your pull request. Usually this is a bullet list.
---
**Contribution License Agreement**
By submiting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1578/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1578/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1578",
"html_url": "https://github.com/streamlit/streamlit/pull/1578",
"diff_url": "https://github.com/streamlit/streamlit/pull/1578.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1578.patch",
"merged_at": "2020-06-15T07:17:22"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1577 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1577/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1577/comments | https://api.github.com/repos/streamlit/streamlit/issues/1577/events | https://github.com/streamlit/streamlit/pull/1577 | 638,392,941 | MDExOlB1bGxSZXF1ZXN0NDM0MTc0NTYw | 1,577 | (CC) Add EventTarget shim | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-14T17:16:37 | 2020-06-15T19:42:57 | 2020-06-15T19:42:57 | COLLABORATOR | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1577/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1577",
"html_url": "https://github.com/streamlit/streamlit/pull/1577",
"diff_url": "https://github.com/streamlit/streamlit/pull/1577.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1577.patch",
"merged_at": "2020-06-15T19:42:57"
} | true |
|
https://api.github.com/repos/streamlit/streamlit/issues/1576 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1576/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1576/comments | https://api.github.com/repos/streamlit/streamlit/issues/1576/events | https://github.com/streamlit/streamlit/pull/1576 | 638,389,051 | MDExOlB1bGxSZXF1ZXN0NDM0MTcxNzM1 | 1,576 | (CC) Disable allow-same-origin for security reasons | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-14T16:52:42 | 2020-06-15T19:24:06 | 2020-06-15T19:24:06 | COLLABORATOR | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1576/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1576/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1576",
"html_url": "https://github.com/streamlit/streamlit/pull/1576",
"diff_url": "https://github.com/streamlit/streamlit/pull/1576.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1576.patch",
"merged_at": "2020-06-15T19:24:06"
} | true |
|
https://api.github.com/repos/streamlit/streamlit/issues/1575 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1575/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1575/comments | https://api.github.com/repos/streamlit/streamlit/issues/1575/events | https://github.com/streamlit/streamlit/pull/1575 | 638,370,194 | MDExOlB1bGxSZXF1ZXN0NDM0MTU3OTk3 | 1,575 | Ensure node_modules doesn't land in LocalSourcesWatcher | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-14T15:09:05 | 2020-06-15T19:41:31 | 2020-06-15T19:41:31 | COLLABORATOR | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1575/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1575/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1575",
"html_url": "https://github.com/streamlit/streamlit/pull/1575",
"diff_url": "https://github.com/streamlit/streamlit/pull/1575.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1575.patch",
"merged_at": "2020-06-15T19:41:31"
} | true |
|
https://api.github.com/repos/streamlit/streamlit/issues/1574 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1574/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1574/comments | https://api.github.com/repos/streamlit/streamlit/issues/1574/events | https://github.com/streamlit/streamlit/pull/1574 | 638,355,976 | MDExOlB1bGxSZXF1ZXN0NDM0MTQ3NTUw | 1,574 | (CC) ComponentRequestHandler tests | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-14T13:49:34 | 2020-07-06T18:39:48 | 2020-07-06T18:39:44 | COLLABORATOR | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1574/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1574",
"html_url": "https://github.com/streamlit/streamlit/pull/1574",
"diff_url": "https://github.com/streamlit/streamlit/pull/1574.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1574.patch",
"merged_at": "2020-07-06T18:39:43"
} | true |
|
https://api.github.com/repos/streamlit/streamlit/issues/1573 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1573/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1573/comments | https://api.github.com/repos/streamlit/streamlit/issues/1573/events | https://github.com/streamlit/streamlit/pull/1573 | 638,177,560 | MDExOlB1bGxSZXF1ZXN0NDM0MDE3NTUy | 1,573 | Fix progress bar value | {
"login": "5n7",
"id": 59395084,
"node_id": "MDQ6VXNlcjU5Mzk1MDg0",
"avatar_url": "https://avatars.githubusercontent.com/u/59395084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/5n7",
"html_url": "https://github.com/5n7",
"followers_url": "https://api.github.com/users/5n7/followers",
"following_url": "https://api.github.com/users/5n7/following{/other_user}",
"gists_url": "https://api.github.com/users/5n7/gists{/gist_id}",
"starred_url": "https://api.github.com/users/5n7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/5n7/subscriptions",
"organizations_url": "https://api.github.com/users/5n7/orgs",
"repos_url": "https://api.github.com/users/5n7/repos",
"events_url": "https://api.github.com/users/5n7/events{/privacy}",
"received_events_url": "https://api.github.com/users/5n7/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2020-06-13T15:06:16 | 2020-06-15T07:47:03 | 2020-06-15T07:18:03 | CONTRIBUTOR | null | **Issue:**
#1572
**Description:**
Change the example code the same as other `streamlit.progress()` examples. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1573/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1573/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1573",
"html_url": "https://github.com/streamlit/streamlit/pull/1573",
"diff_url": "https://github.com/streamlit/streamlit/pull/1573.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1573.patch",
"merged_at": "2020-06-15T07:18:03"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1572 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1572/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1572/comments | https://api.github.com/repos/streamlit/streamlit/issues/1572/events | https://github.com/streamlit/streamlit/issues/1572 | 638,176,889 | MDU6SXNzdWU2MzgxNzY4ODk= | 1,572 | Unified streamlit.progress() argument with other documents | {
"login": "5n7",
"id": 59395084,
"node_id": "MDQ6VXNlcjU5Mzk1MDg0",
"avatar_url": "https://avatars.githubusercontent.com/u/59395084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/5n7",
"html_url": "https://github.com/5n7",
"followers_url": "https://api.github.com/users/5n7/followers",
"following_url": "https://api.github.com/users/5n7/following{/other_user}",
"gists_url": "https://api.github.com/users/5n7/gists{/gist_id}",
"starred_url": "https://api.github.com/users/5n7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/5n7/subscriptions",
"organizations_url": "https://api.github.com/users/5n7/orgs",
"repos_url": "https://api.github.com/users/5n7/repos",
"events_url": "https://api.github.com/users/5n7/events{/privacy}",
"received_events_url": "https://api.github.com/users/5n7/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1634956291,
"node_id": "MDU6TGFiZWwxNjM0OTU2Mjkx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:docs",
"name": "type:docs",
"color": "0052CC",
"default": false,
"description": "Requests for changes to docs (will be rerouted to docs repo)"
}
] | closed | false | null | [] | null | 0 | 2020-06-13T15:02:10 | 2020-08-06T23:07:48 | 2020-06-15T07:47:16 | CONTRIBUTOR | null | **Link to doc page in question (if any):**
https://docs.streamlit.io/en/latest/advanced_concepts.html?highlight=progress#animate-elements
**What you think the docs should say:**
The `streamlit.progress()` method takes a percentage as its argument.
In fact, in the [Get started page](https://docs.streamlit.io/en/latest/getting_started.html?highlight=progress#show-progress) and [API reference page](https://docs.streamlit.io/en/latest/api.html?highlight=progress#display-progress-and-status), it takes `i + 1` as its argument.
I think we should write the example code on the [Advanced concepts page](https://docs.streamlit.io/en/latest/advanced_concepts.html?highlight=progress#animate-elements) like `progress_bar.progress(i + 1)` the same as other examples. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1572/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1571 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1571/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1571/comments | https://api.github.com/repos/streamlit/streamlit/issues/1571/events | https://github.com/streamlit/streamlit/pull/1571 | 638,022,872 | MDExOlB1bGxSZXF1ZXN0NDMzOTAwOTYx | 1,571 | Add config to disable CSRF + conflict check with CORS | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-12T21:58:32 | 2020-06-21T17:55:42 | 2020-06-20T01:37:40 | CONTRIBUTOR | null | **Issue:** Fixes #1565
**Description:**
This adds a configuration to enable streamlit developers to disable CSRF. Because this configuration can be changed, updated communications between server and client side to update `_xsrf` cookie and HTTP settings required for CSRF.
1. Server side: Add a config to toggle CSRF. By default, CSRF is enabled.
2. Server side: Add a conflict check for CORS and CSRF
3. Session Communication: When disconnected, GET `/healthz` will be called. Update endpoint to set `xsrf` cookie.
4. Client side: Create a base `HttpRequest` class to handle settings supporting CSRF
5. Client side: Update HttpRequest CSRF upon initialization
6. Client side: On connection state change, clear `xsrf` cookie. This handles the case when server is updated to disable CSRF.
**Notes**
To support CSRF, the following headers are required in http requests:
self.set_header("Access-Control-Allow-Headers", "X-Xsrftoken")
In order to send cookies in http requests, the following must be done:
1. `withCredentials` must be allowed and set to `true`.
2. `Access-Control-Allow-Origin` cannot be `*`
In order to validate requests with the cookie to header approach:
1. Send cookie with CSRF token. Tornado sets the cookie under `_xsrf`
2. Ensure header for token is allowed and sent. Tornado uses the header `X-XSRFToken`.
---
**Contribution License Agreement**
By submiting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1571/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1571/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1571",
"html_url": "https://github.com/streamlit/streamlit/pull/1571",
"diff_url": "https://github.com/streamlit/streamlit/pull/1571.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1571.patch",
"merged_at": "2020-06-20T01:37:40"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1570 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1570/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1570/comments | https://api.github.com/repos/streamlit/streamlit/issues/1570/events | https://github.com/streamlit/streamlit/issues/1570 | 637,962,489 | MDU6SXNzdWU2Mzc5NjI0ODk= | 1,570 | Streamlit freezing when training pytorch model | {
"login": "keltin13",
"id": 35310549,
"node_id": "MDQ6VXNlcjM1MzEwNTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/35310549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keltin13",
"html_url": "https://github.com/keltin13",
"followers_url": "https://api.github.com/users/keltin13/followers",
"following_url": "https://api.github.com/users/keltin13/following{/other_user}",
"gists_url": "https://api.github.com/users/keltin13/gists{/gist_id}",
"starred_url": "https://api.github.com/users/keltin13/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/keltin13/subscriptions",
"organizations_url": "https://api.github.com/users/keltin13/orgs",
"repos_url": "https://api.github.com/users/keltin13/repos",
"events_url": "https://api.github.com/users/keltin13/events{/privacy}",
"received_events_url": "https://api.github.com/users/keltin13/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 1 | 2020-06-12T19:32:02 | 2020-08-06T23:07:48 | 2020-06-12T20:08:48 | NONE | null | # Summary
When training a pytorch model from the simpletransformers library my streamlit app freezes and writes 'Stopping...' to the console but never stops, and can only be stopped by killing the terminal. I am running streamlit in an AWS instance and ssh to access the app. I am working in a conda environment.
# Steps to reproduce
Training this model in the terminal or a jupyter notebook works fine, but not when running streamlit.
`import streamlit as st
import pandas as pd
from simpletransformers.classification import ClassificationModel
data = pd.DataFrame({
'text' : ['this is some text', 'i do not want this'],
'label': [1, 0]
})
model = ClassificationModel('distilbert', 'distilbert-base-cased', use_cuda=False)
model.train_model(data)
st.write('done training')`
## Expected behavior:
Train the model and write 'done training'.
## Actual behavior:
Freezes after processing the dataframe, writing Stopping... to the terminal in blue, but not stopping. It can only be stopped by killing the terminal.
## Is this a regression?
Yes. Just began having an issue with this today.
# Debug info
- Streamlit version: 0.61.0
- Python version: 3.7.7
- Using Conda
- OS version: Ubuntu 18.04.4
- Browser version: Chrome 83
# Additional information
None
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1570/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1570/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1569 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1569/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1569/comments | https://api.github.com/repos/streamlit/streamlit/issues/1569/events | https://github.com/streamlit/streamlit/pull/1569 | 637,938,013 | MDExOlB1bGxSZXF1ZXN0NDMzODMwOTU0 | 1,569 | Use env variable for RTD environment name instead of IF | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 2 | 2020-06-12T18:39:34 | 2020-06-15T12:44:16 | 2020-06-15T12:41:11 | CONTRIBUTOR | null | Fixes #1540
Per [RTD docs](https://docs.readthedocs.io/en/stable/builds.html#build-environment), `READTHEDOCS_VERSION` is available in the build container to indicate what version is building. This clarifies the `env_setup.sh` build script, while also allowing for any version of the docs to be built, not just `stable` and `latest`
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1569/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1569/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1569",
"html_url": "https://github.com/streamlit/streamlit/pull/1569",
"diff_url": "https://github.com/streamlit/streamlit/pull/1569.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1569.patch",
"merged_at": "2020-06-15T12:41:11"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1568 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1568/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1568/comments | https://api.github.com/repos/streamlit/streamlit/issues/1568/events | https://github.com/streamlit/streamlit/issues/1568 | 637,742,442 | MDU6SXNzdWU2Mzc3NDI0NDI= | 1,568 | st.cache problems with min_value and max_value | {
"login": "jk31",
"id": 20073408,
"node_id": "MDQ6VXNlcjIwMDczNDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/20073408?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jk31",
"html_url": "https://github.com/jk31",
"followers_url": "https://api.github.com/users/jk31/followers",
"following_url": "https://api.github.com/users/jk31/following{/other_user}",
"gists_url": "https://api.github.com/users/jk31/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jk31/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jk31/subscriptions",
"organizations_url": "https://api.github.com/users/jk31/orgs",
"repos_url": "https://api.github.com/users/jk31/repos",
"events_url": "https://api.github.com/users/jk31/events{/privacy}",
"received_events_url": "https://api.github.com/users/jk31/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1607719438,
"node_id": "MDU6TGFiZWwxNjA3NzE5NDM4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:cache",
"name": "feature:cache",
"color": "C5DEF5",
"default": false,
"description": "Related to st.cache, st.experimental_singleton, st.experimental_memo"
}
] | closed | false | null | [] | null | 2 | 2020-06-12T13:15:32 | 2020-07-07T18:50:02 | 2020-07-07T18:50:02 | NONE | null | # Summary
I plot a function and use the `slider` to change the parameters. With the `st.cache` decorator the function is not plotted correctly when the `min_value` or `max_value` are selected with the slider.
You may need to reload the page for the wrong behavior.
# Steps to reproduce
```python
import numpy as np
import matplotlib.pyplot as plt
import streamlit as st
st.title("Monopol")
y = np.linspace(0.001, 15, 100)
p = st.sidebar.slider("Intersection of Pricefunction", value=10.0, min_value=1.0, max_value=20.0, step=0.1)
a = st.sidebar.slider("Slope of Pricefunction", value=1.5, min_value=1.0, max_value=5.0, step=0.1)
c_factor = 0.02
#@st.cache
def monopol_figure(y, p, a, c_factor):
price = p - a*y
revenue = price * y
revenue_marginal = p - 2*a*y
costs = c_factor * y**3
costs_marginal = c_factor*3 * y**2
profit = revenue - costs
# e = (1/p'(y)) * (p/y)
e = (1/-a) * ((price)/y)
return price, revenue, revenue_marginal, costs, costs_marginal, profit, e
price, revenue, revenue_marginal, costs, costs_marginal, profit, e = monopol_figure(y, p, a, c_factor)
st.write(f"Intersection={p}, Slope={a}")
if st.sidebar.checkbox("Price", value=True):
plt.plot(y, price, color="blue", label="Price")
if st.sidebar.checkbox("Costs"):
plt.plot(y, costs, color="red", label="Costs")
if st.sidebar.checkbox("Marginal Costs"):
plt.plot(y, costs_marginal, color="red", ls="dashed", label="Marginal Costs")
if st.sidebar.checkbox("Revenue"):
plt.plot(y, revenue, color="purple", label="Revenue")
if st.sidebar.checkbox("Marginal Revenue"):
plt.plot(y, revenue_marginal, color="purple", ls="dashed", label="Marginal Revenue")
if st.sidebar.checkbox("Profit"):
plt.plot(y, profit, color="green", label="Profit")
if st.sidebar.checkbox("Elasticity"):
plt.plot(y, e, color="orange", label="Elasticity")
plt.xlabel("Quantity Y")
plt.legend()
ax = plt.axes()
plt.axhline(y=0, color="black", linewidth=1)
ax.set_xlim([0, 15])
ax.set_ylim([-5, 26])
st.pyplot()
```
## Expected behavior:
Correct without `st.cache`:
![image](https://user-images.githubusercontent.com/20073408/84506017-f9a00900-acbe-11ea-9b22-19fb7dfd92b2.png)
## Actual behavior:
Incorrect with `st.cache`:
![image](https://user-images.githubusercontent.com/20073408/84506127-2a803e00-acbf-11ea-9f80-b45eb571bf7c.png)
## Is this a regression?
I don't get this question.
# Debug info
- Streamlit version: (get it with `$ streamlit version`)
version 0.61.0
- Python version: (get it with `$ python --version`)
3.7.6
- Using Conda? PipEnv? PyEnv? Pex?
Conda and then virtualenv
- OS version:
Win10
- Browser version:
Chrome
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1568/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1568/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1567 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1567/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1567/comments | https://api.github.com/repos/streamlit/streamlit/issues/1567/events | https://github.com/streamlit/streamlit/issues/1567 | 637,221,439 | MDU6SXNzdWU2MzcyMjE0Mzk= | 1,567 | Serving content from static location | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 4762245906,
"node_id": "LA_kwDODCoeTs8AAAABG9obEg",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:in-progress",
"name": "status:in-progress",
"color": "FEF2C0",
"default": false,
"description": "We're working on fixing this issue"
}
] | open | false | null | [] | null | 10 | 2020-06-11T18:05:21 | 2023-02-05T06:10:35 | null | CONTRIBUTOR | null | Related to #1566
Having the ability to serve static content from a folder would help in the case where you want to both make the source files available from the Streamlit app, as well as using them. Currently, to provide download links, you need to do the Python bytes method of passing the entire thing as bytes in the HTML, which can make the page very heavy.
---
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1567/reactions",
"total_count": 27,
"+1": 27,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1567/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1566 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1566/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1566/comments | https://api.github.com/repos/streamlit/streamlit/issues/1566/events | https://github.com/streamlit/streamlit/issues/1566 | 637,190,487 | MDU6SXNzdWU2MzcxOTA0ODc= | 1,566 | Add animated gif support to st.image() | {
"login": "randyzwitch",
"id": 2762787,
"node_id": "MDQ6VXNlcjI3NjI3ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyzwitch",
"html_url": "https://github.com/randyzwitch",
"followers_url": "https://api.github.com/users/randyzwitch/followers",
"following_url": "https://api.github.com/users/randyzwitch/following{/other_user}",
"gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions",
"organizations_url": "https://api.github.com/users/randyzwitch/orgs",
"repos_url": "https://api.github.com/users/randyzwitch/repos",
"events_url": "https://api.github.com/users/randyzwitch/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyzwitch/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | closed | false | null | [] | null | 2 | 2020-06-11T17:17:18 | 2021-03-26T15:39:41 | 2021-03-26T15:39:40 | CONTRIBUTOR | null | Currently, `st.image()` only supports PNG and JPG files. Support for GIF would remove the need for doing the Python bytes dance:
```python
import streamlit as st
import base64
"""### gif from local file"""
file_ = open("/home/rzwitch/Desktop/giphy.gif", "rb")
contents = file_.read()
data_url = base64.b64encode(contents).decode("utf-8")
file_.close()
st.markdown(
f'<img src="data:image/gif;base64,{data_url}" alt="cat gif">',
unsafe_allow_html=True,
)
```
Would be much more elegant to be able to do `st.image("image.gif", format = 'GIF')`
Ref: https://discuss.streamlit.io/t/how-to-show-local-gif-image/3408/4 | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1566/reactions",
"total_count": 11,
"+1": 10,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/streamlit/streamlit/issues/1566/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1565 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1565/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1565/comments | https://api.github.com/repos/streamlit/streamlit/issues/1565/events | https://github.com/streamlit/streamlit/issues/1565 | 637,144,237 | MDU6SXNzdWU2MzcxNDQyMzc= | 1,565 | Create a config option to toggle XSRF in Streamlit server | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | closed | false | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
}
] | null | 0 | 2020-06-11T16:04:41 | 2020-06-20T01:37:40 | 2020-06-20T01:37:40 | CONTRIBUTOR | null | ### Problem
PR #1551 enabled XSRF in Streamlit server by default.
In order for XSRF to work, a cookie secret (default available) that works fine with one server. However, if deploying onto multiple servers without sticky routing, a cookie secret must be passed in to ensure a seamless experience for the end user.
In addition, to send a cookie, CORS must be disabled. Need to ensure that our configurations for XSRF and CORS are not in conflict.
### Solution
1. Create a new boolean config option server.enableXSRF to toggle XSRF. It should be enabled by default, and optionally users can override and disable it.
2. Add a conflict check for CORS and XSRF toggles. If a conflict exists, throw an error | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1565/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1564 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1564/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1564/comments | https://api.github.com/repos/streamlit/streamlit/issues/1564/events | https://github.com/streamlit/streamlit/issues/1564 | 636,852,823 | MDU6SXNzdWU2MzY4NTI4MjM= | 1,564 | Add Apache ECharts(incubating) to the display chart part | {
"login": "deqingli",
"id": 13548221,
"node_id": "MDQ6VXNlcjEzNTQ4MjIx",
"avatar_url": "https://avatars.githubusercontent.com/u/13548221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deqingli",
"html_url": "https://github.com/deqingli",
"followers_url": "https://api.github.com/users/deqingli/followers",
"following_url": "https://api.github.com/users/deqingli/following{/other_user}",
"gists_url": "https://api.github.com/users/deqingli/gists{/gist_id}",
"starred_url": "https://api.github.com/users/deqingli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/deqingli/subscriptions",
"organizations_url": "https://api.github.com/users/deqingli/orgs",
"repos_url": "https://api.github.com/users/deqingli/repos",
"events_url": "https://api.github.com/users/deqingli/events{/privacy}",
"received_events_url": "https://api.github.com/users/deqingli/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 1948948989,
"node_id": "MDU6TGFiZWwxOTQ4OTQ4OTg5",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:custom-components",
"name": "feature:custom-components",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 6 | 2020-06-11T09:09:40 | 2020-07-15T18:21:22 | 2020-07-15T18:21:22 | NONE | null |
### New Feature
Hi everyone, I am the PPMC of Apache ECharts(incubating) and want to add ECharts(https://github.com/apache/incubator-echarts) to the display chart part, but I don't know if your have already plan to do this, so I write to ask your ideas.
Best Regards,
Deqing Li
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1564/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1563 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1563/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1563/comments | https://api.github.com/repos/streamlit/streamlit/issues/1563/events | https://github.com/streamlit/streamlit/pull/1563 | 636,533,240 | MDExOlB1bGxSZXF1ZXN0NDMyNjg4NTY0 | 1,563 | Datetime timezone bandaid - convert all dataframe datetimes to UTC | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2020-06-10T20:39:32 | 2020-06-10T22:41:41 | 2020-06-10T22:41:41 | CONTRIBUTOR | null | **Issue:** #1288, #1061
**Description:** This is not the final solution and is intended only as a bandaid for handling errors when converting timezones around daylight savings. Changes:
1. We're converting all datetimes to UTC.
2. On the frontend, displaying all timezones in UTC.
The ultimate solution (in progress) will allow for displaying datetime in the provided timezones.
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1563/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1563",
"html_url": "https://github.com/streamlit/streamlit/pull/1563",
"diff_url": "https://github.com/streamlit/streamlit/pull/1563.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1563.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1562 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1562/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1562/comments | https://api.github.com/repos/streamlit/streamlit/issues/1562/events | https://github.com/streamlit/streamlit/pull/1562 | 636,298,812 | MDExOlB1bGxSZXF1ZXN0NDMyNDk4NzUw | 1,562 | Replace iterrows with itertuples in st.map code | {
"login": "tvst",
"id": 690814,
"node_id": "MDQ6VXNlcjY5MDgxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/690814?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tvst",
"html_url": "https://github.com/tvst",
"followers_url": "https://api.github.com/users/tvst/followers",
"following_url": "https://api.github.com/users/tvst/following{/other_user}",
"gists_url": "https://api.github.com/users/tvst/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tvst/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tvst/subscriptions",
"organizations_url": "https://api.github.com/users/tvst/orgs",
"repos_url": "https://api.github.com/users/tvst/repos",
"events_url": "https://api.github.com/users/tvst/events{/privacy}",
"received_events_url": "https://api.github.com/users/tvst/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-10T14:33:06 | 2020-06-11T00:59:38 | 2020-06-11T00:59:34 | CONTRIBUTOR | null | Speeds up part of `st.map` code from ~5s to 0.1s on a 100k-row dataset!
More info:
https://medium.com/swlh/why-pandas-itertuples-is-faster-than-iterrows-and-how-to-make-it-even-faster-bc50c0edd30d | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1562/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1562/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1562",
"html_url": "https://github.com/streamlit/streamlit/pull/1562",
"diff_url": "https://github.com/streamlit/streamlit/pull/1562.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1562.patch",
"merged_at": "2020-06-11T00:59:34"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1561 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1561/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1561/comments | https://api.github.com/repos/streamlit/streamlit/issues/1561/events | https://github.com/streamlit/streamlit/issues/1561 | 636,208,453 | MDU6SXNzdWU2MzYyMDg0NTM= | 1,561 | st.plotly_chart legend_title_text is not refreshed on update/refresh. | {
"login": "cedias",
"id": 1705336,
"node_id": "MDQ6VXNlcjE3MDUzMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1705336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cedias",
"html_url": "https://github.com/cedias",
"followers_url": "https://api.github.com/users/cedias/followers",
"following_url": "https://api.github.com/users/cedias/following{/other_user}",
"gists_url": "https://api.github.com/users/cedias/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cedias/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cedias/subscriptions",
"organizations_url": "https://api.github.com/users/cedias/orgs",
"repos_url": "https://api.github.com/users/cedias/repos",
"events_url": "https://api.github.com/users/cedias/events{/privacy}",
"received_events_url": "https://api.github.com/users/cedias/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1964044893,
"node_id": "MDU6TGFiZWwxOTY0MDQ0ODkz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:charts",
"name": "feature:charts",
"color": "C5DEF5",
"default": false,
"description": "Related to charting functionality"
}
] | closed | false | {
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "kantuni",
"id": 6151409,
"node_id": "MDQ6VXNlcjYxNTE0MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6151409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kantuni",
"html_url": "https://github.com/kantuni",
"followers_url": "https://api.github.com/users/kantuni/followers",
"following_url": "https://api.github.com/users/kantuni/following{/other_user}",
"gists_url": "https://api.github.com/users/kantuni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kantuni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kantuni/subscriptions",
"organizations_url": "https://api.github.com/users/kantuni/orgs",
"repos_url": "https://api.github.com/users/kantuni/repos",
"events_url": "https://api.github.com/users/kantuni/events{/privacy}",
"received_events_url": "https://api.github.com/users/kantuni/received_events",
"type": "User",
"site_admin": false
}
] | null | 0 | 2020-06-10T12:33:32 | 2020-08-27T22:39:01 | 2020-08-27T22:39:01 | NONE | null | # Summary
On update refresh of a st.plotly_chart, the legend title is not refreshed and keeps the existing value.
# Steps to reproduce
Here is an example of how to reproduce the bug
```python
import streamlit as st
import plotly.graph_objects as go
def title():
fig = go.Figure()
fig.add_trace(go.Bar(y=[10,10,10], x=["a","b","c"], name="a"))
fig.add_trace(go.Bar(y=[100,100,100], x=["a","b","c"], name="b"))
fig.update_layout(legend_title_text='I have a title')
st.plotly_chart(fig, key="graph2")
def noTitle():
fig = go.Figure()
fig.add_trace(go.Bar(y=[10,10,10],x=["1","2","3"],name="rolfla"))
fig.add_trace(go.Bar(y=[100,100,100], x=["a","b","c"], name="coulos"))
## fig.update_layout(legend_title_text='I have a title') # Removing the title
st.plotly_chart(fig)
plot = st.sidebar.radio("plots",('title', 'noTitle'))
functs = {'title':title,'noTitle':noTitle}
functs[plot]()
```
## Expected behavior:
One graph (`title()`) should have a legend title, the other one should not have a legend title (`noTitle()`)
## Actual behavior:
When switching between `title()` and `noTitle()`, the legend title is not refreshed.
## Is this a regression?
No
# Debug info
- Streamlit version: 0.61.0
- Python version: 3.7.4
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1561/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1561/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1560 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1560/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1560/comments | https://api.github.com/repos/streamlit/streamlit/issues/1560/events | https://github.com/streamlit/streamlit/pull/1560 | 635,799,293 | MDExOlB1bGxSZXF1ZXN0NDMyMDk4Nzg1 | 1,560 | Add diffmazing_cropper.sh to convert diff images from Cypress into snapshots you can commit to Git | {
"login": "tvst",
"id": 690814,
"node_id": "MDQ6VXNlcjY5MDgxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/690814?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tvst",
"html_url": "https://github.com/tvst",
"followers_url": "https://api.github.com/users/tvst/followers",
"following_url": "https://api.github.com/users/tvst/following{/other_user}",
"gists_url": "https://api.github.com/users/tvst/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tvst/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tvst/subscriptions",
"organizations_url": "https://api.github.com/users/tvst/orgs",
"repos_url": "https://api.github.com/users/tvst/repos",
"events_url": "https://api.github.com/users/tvst/events{/privacy}",
"received_events_url": "https://api.github.com/users/tvst/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-09T22:29:45 | 2020-06-19T19:35:12 | 2020-06-15T07:43:45 | CONTRIBUTOR | null | Usage:
./scripts/diffmazing_cropper.sh <diff files to convert>
Example:
./scripts/diffmazing_cropper.sh ~/downloads/*.diff.png
(This was already used in this PR: https://github.com/streamlit/streamlit/pull/1547) | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1560/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1560/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1560",
"html_url": "https://github.com/streamlit/streamlit/pull/1560",
"diff_url": "https://github.com/streamlit/streamlit/pull/1560.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1560.patch",
"merged_at": "2020-06-15T07:43:44"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1559 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1559/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1559/comments | https://api.github.com/repos/streamlit/streamlit/issues/1559/events | https://github.com/streamlit/streamlit/pull/1559 | 635,796,670 | MDExOlB1bGxSZXF1ZXN0NDMyMDk2Njk0 | 1,559 | New component naming scheme | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-09T22:23:43 | 2020-06-09T22:43:23 | 2020-06-09T22:43:20 | COLLABORATOR | null | `fully.qualified.module.name.[user_name]` | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1559/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1559",
"html_url": "https://github.com/streamlit/streamlit/pull/1559",
"diff_url": "https://github.com/streamlit/streamlit/pull/1559.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1559.patch",
"merged_at": "2020-06-09T22:43:20"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1558 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1558/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1558/comments | https://api.github.com/repos/streamlit/streamlit/issues/1558/events | https://github.com/streamlit/streamlit/pull/1558 | 635,773,214 | MDExOlB1bGxSZXF1ZXN0NDMyMDc3NzAx | 1,558 | Pass in server.maxUploadSize to http server max_buffer_size | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-09T21:32:23 | 2020-07-20T15:50:39 | 2020-06-10T22:40:12 | CONTRIBUTOR | null | **Issue:** Fixes #1522
**Description:**
Tornado has a parameter for `max_buffer_size` that sets the `Maximum amount of incoming data to buffer; defaults to 100MB.` When we set up our listener, we're creating a default HTTPServer with no httpserver parameters. This change manually creates the HTTPServer with `max_buffer_size` set to the `server.maxUploadSize` config value.
---
**Contribution License Agreement**
By submiting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1558/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1558/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1558",
"html_url": "https://github.com/streamlit/streamlit/pull/1558",
"diff_url": "https://github.com/streamlit/streamlit/pull/1558.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1558.patch",
"merged_at": "2020-06-10T22:40:11"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1557 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1557/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1557/comments | https://api.github.com/repos/streamlit/streamlit/issues/1557/events | https://github.com/streamlit/streamlit/issues/1557 | 635,679,036 | MDU6SXNzdWU2MzU2NzkwMzY= | 1,557 | text_area updates every other update | {
"login": "jetilton",
"id": 10262907,
"node_id": "MDQ6VXNlcjEwMjYyOTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/10262907?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jetilton",
"html_url": "https://github.com/jetilton",
"followers_url": "https://api.github.com/users/jetilton/followers",
"following_url": "https://api.github.com/users/jetilton/following{/other_user}",
"gists_url": "https://api.github.com/users/jetilton/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jetilton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jetilton/subscriptions",
"organizations_url": "https://api.github.com/users/jetilton/orgs",
"repos_url": "https://api.github.com/users/jetilton/repos",
"events_url": "https://api.github.com/users/jetilton/events{/privacy}",
"received_events_url": "https://api.github.com/users/jetilton/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1846373998,
"node_id": "MDU6TGFiZWwxODQ2MzczOTk4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:state",
"name": "feature:state",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2020-06-09T18:52:17 | 2020-08-14T17:54:32 | 2020-06-10T00:22:19 | NONE | null | # Summary
This is my first app with streamlit and wow, a complete pleasure to work with. So thank you for this amazing tool.
I am not quite sure if this is a bug or my misunderstanding of how streamlit works. So I want to allow people to edit a text area, then process the text after edits have been made. I have been writing a temp file for the updates and then reading it in on the text change so everything remains consistent for the user. However, it only appears to update every other change.
# Steps to reproduce
```
import streamlit as st
with open('test.txt', 'r+') as f:
template_string = f.read()
template_string = st.text_area("Test", template_string, height=200)
with open(f"test.txt", "w") as f:
f.write(template_string)
```
## Edit:
I subsequently found SessionState.py and thought this would solve my problem, but I run into the same behavior that there is an update on every other text_area change.
```
import streamlit as st
import SessionState
session_state = SessionState.get(user_name="None", favorite_color="black")
st.write(session_state.user_name)
session_state.user_name = "Mary"
st.write(session_state.user_name)
template_string = st.text_area("Test", session_state.user_name, height=200)
session_state.user_name = template_string
```
## Expected behavior:
Using either minimal example I would expect the text area to keep the update after every `text_area` change.
## Actual behavior:
The text_area only updates every other change. For example:
1. Start with a blank text area
2. Add new text "My" Press ctrl+enter
3. Text area has text "My"
4. Add more text "My text" Press ctrl+enter
5. Only the word "My" appears
6. Repeat 4
7. "My text" appears
## Is this a regression?
No
# Debug info
- Streamlit version: Streamlit, version 0.61.0
- Python version: Python 3.8.3
- conda
- OS version: Windows
- Browser version: Chrome
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1557/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1557/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1556 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1556/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1556/comments | https://api.github.com/repos/streamlit/streamlit/issues/1556/events | https://github.com/streamlit/streamlit/issues/1556 | 635,090,879 | MDU6SXNzdWU2MzUwOTA4Nzk= | 1,556 | File Uploader doesn't reset when the connection resets | {
"login": "jrhone",
"id": 699897,
"node_id": "MDQ6VXNlcjY5OTg5Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/699897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jrhone",
"html_url": "https://github.com/jrhone",
"followers_url": "https://api.github.com/users/jrhone/followers",
"following_url": "https://api.github.com/users/jrhone/following{/other_user}",
"gists_url": "https://api.github.com/users/jrhone/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jrhone/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jrhone/subscriptions",
"organizations_url": "https://api.github.com/users/jrhone/orgs",
"repos_url": "https://api.github.com/users/jrhone/repos",
"events_url": "https://api.github.com/users/jrhone/events{/privacy}",
"received_events_url": "https://api.github.com/users/jrhone/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1848183387,
"node_id": "MDU6TGFiZWwxODQ4MTgzMzg3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.file_uploader",
"name": "feature:st.file_uploader",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2020-06-09T03:56:51 | 2020-06-16T13:45:54 | 2020-06-16T13:45:53 | CONTRIBUTOR | null | Currently on S4A there's a bug where the app resets every 30 seconds.
If after uploading a file, a reset occurs, we end up in a weird state in the client.
![deep_dream](https://user-images.githubusercontent.com/699897/84104362-78f1bc00-a9e3-11ea-8f50-f0fed5318257.png)
Notes:
- server doesn't restart
- seeing missing file messages by media file manager
https://app.clubhouse.io/streamlit/story/595/file-uploader-doesn-t-reset-when-the-connection-resets | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1556/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1556/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1555 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1555/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1555/comments | https://api.github.com/repos/streamlit/streamlit/issues/1555/events | https://github.com/streamlit/streamlit/issues/1555 | 635,049,540 | MDU6SXNzdWU2MzUwNDk1NDA= | 1,555 | Streamlit is stuck after redirecting port with Apache and Nginx | {
"login": "juancitotrucupey",
"id": 20947723,
"node_id": "MDQ6VXNlcjIwOTQ3NzIz",
"avatar_url": "https://avatars.githubusercontent.com/u/20947723?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/juancitotrucupey",
"html_url": "https://github.com/juancitotrucupey",
"followers_url": "https://api.github.com/users/juancitotrucupey/followers",
"following_url": "https://api.github.com/users/juancitotrucupey/following{/other_user}",
"gists_url": "https://api.github.com/users/juancitotrucupey/gists{/gist_id}",
"starred_url": "https://api.github.com/users/juancitotrucupey/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/juancitotrucupey/subscriptions",
"organizations_url": "https://api.github.com/users/juancitotrucupey/orgs",
"repos_url": "https://api.github.com/users/juancitotrucupey/repos",
"events_url": "https://api.github.com/users/juancitotrucupey/events{/privacy}",
"received_events_url": "https://api.github.com/users/juancitotrucupey/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 7 | 2020-06-09T01:59:05 | 2020-09-22T03:03:12 | 2020-07-30T17:01:30 | NONE | null | # Summary
I want to direct to the output of port 8040 (where I have a streamlit application running) to the port 80 that is associated to the web server, I have installed both Nginx and Apache web servers and with both the application gets stuck after trying to access it via my_website.ai (this is the domain of my website) after redirecting the port 8040 to the port 80 with an Apache web server.
# Steps to reproduce
What are the steps we should take to reproduce the bug:
1. Install Apache web server and configure reverse proxy from port 8040 to port 80 using the following [link, the answer given by Louth](https://stackoverflow.com/questions/8541182/apache-redirect-to-another-port). This is my config file (I have both enabled proxy and http_proxy modules for Apache):
<VirtualHost *:80>
ProxyPreserveHost On
ProxyRequests Off
ServerName www.my_website.ai
ServerAlias my_website.ai
ProxyPass / http://localhost:8040/
ProxyPassReverse / http://localhost:8040/
</VirtualHost>
2. Access the streamlit application using the following url my_website.ai . Trying to follow the suggestion in a previous [issue](https://github.com/streamlit/streamlit/issues/1383) I configured my config.toml as follows:
[server]
port=8040
enableCORS=false
## Expected behavior:
When accessing the url my_website.ai I should have access to the streamlit application.
## Actual behavior:
The application gets stuck and keeps saying Please wait... Connecting
## Is this a regression?
no
# Debug info
- Streamlit version: 0.60.0
- Python version: 3.6.9
- Using PipEnv
- OS version: Ubuntu 18.04.4 LTS
- Browser version: Google Chrome 81.0.4044.92
# Additional information
When accessing with the url my_website.ai:8040 the application works fine. Also works fine when changing the url of my server for the ip of my server i.e. my_ip:8040.
I have used also a Nginx server and the same problem appeared.
I was not able to redirect traffic from port 8040 to port 80 using iptables.
I am using a droplet from DigitalOcean as my server.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1555/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/1554 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1554/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1554/comments | https://api.github.com/repos/streamlit/streamlit/issues/1554/events | https://github.com/streamlit/streamlit/pull/1554 | 635,027,542 | MDExOlB1bGxSZXF1ZXN0NDMxNDcxMzAz | 1,554 | st.iframe, st.html | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-09T00:51:35 | 2020-06-09T14:00:50 | 2020-06-09T14:00:49 | COLLABORATOR | null | st.iframe and st.html, plus some simple tests.
Frontend tests are missing. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1554/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1554/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1554",
"html_url": "https://github.com/streamlit/streamlit/pull/1554",
"diff_url": "https://github.com/streamlit/streamlit/pull/1554.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1554.patch",
"merged_at": "2020-06-09T14:00:49"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1553 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1553/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1553/comments | https://api.github.com/repos/streamlit/streamlit/issues/1553/events | https://github.com/streamlit/streamlit/pull/1553 | 634,999,001 | MDExOlB1bGxSZXF1ZXN0NDMxNDQ4OTE1 | 1,553 | Remove the 'loc' kwarg | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2020-06-08T23:27:45 | 2020-06-08T23:30:41 | 2020-06-08T23:30:38 | COLLABORATOR | null | We've decided to punt on this till after layout | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1553/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/1553",
"html_url": "https://github.com/streamlit/streamlit/pull/1553",
"diff_url": "https://github.com/streamlit/streamlit/pull/1553.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/1553.patch",
"merged_at": "2020-06-08T23:30:38"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/1552 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/1552/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/1552/comments | https://api.github.com/repos/streamlit/streamlit/issues/1552/events | https://github.com/streamlit/streamlit/issues/1552 | 634,850,709 | MDU6SXNzdWU2MzQ4NTA3MDk= | 1,552 | File uploader doesn't reset when connection resets | {
"login": "tvst",
"id": 690814,
"node_id": "MDQ6VXNlcjY5MDgxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/690814?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tvst",
"html_url": "https://github.com/tvst",
"followers_url": "https://api.github.com/users/tvst/followers",
"following_url": "https://api.github.com/users/tvst/following{/other_user}",
"gists_url": "https://api.github.com/users/tvst/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tvst/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tvst/subscriptions",
"organizations_url": "https://api.github.com/users/tvst/orgs",
"repos_url": "https://api.github.com/users/tvst/repos",
"events_url": "https://api.github.com/users/tvst/events{/privacy}",
"received_events_url": "https://api.github.com/users/tvst/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1848183387,
"node_id": "MDU6TGFiZWwxODQ4MTgzMzg3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.file_uploader",
"name": "feature:st.file_uploader",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | {
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "karriebear",
"id": 24946400,
"node_id": "MDQ6VXNlcjI0OTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24946400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karriebear",
"html_url": "https://github.com/karriebear",
"followers_url": "https://api.github.com/users/karriebear/followers",
"following_url": "https://api.github.com/users/karriebear/following{/other_user}",
"gists_url": "https://api.github.com/users/karriebear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karriebear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karriebear/subscriptions",
"organizations_url": "https://api.github.com/users/karriebear/orgs",
"repos_url": "https://api.github.com/users/karriebear/repos",
"events_url": "https://api.github.com/users/karriebear/events{/privacy}",
"received_events_url": "https://api.github.com/users/karriebear/received_events",
"type": "User",
"site_admin": false
}
] | null | 4 | 2020-06-08T18:48:25 | 2020-06-29T14:47:53 | 2020-06-29T14:47:53 | CONTRIBUTOR | null | Steps to repro:
1. Run a script that has a file uploader and prints the contents of the uploaded file into the app
2. Upload a file.
* You'll see the file's name in the uploader widget
* You'll see the contents of the file printed in the app
3. Ctrl-C from the Streamlit server BUT don't close the tab
* The app will disconnect, but will keep showing the filename and contents
4. Rerun the script from (1)
**Expected:**
The app should reconnect, causing the script to rerun, and you should see exactly the same as in step (2) above.
**Actual:**
The app reconnects, causing the script to rerun, but what you see this:
* The file's name in the uploader widget (YAY)
* **You do not see the contents of the file (SAD FACE)**
**Why this is happening:**
On the backend, we remove uploaded files from our cache as soon as the corresponding connection closes. This means when the connection is re-established, the file isn't no the server anymore.
Possible solution:
* [P0] Make file uploader re-upload the file when disconnected/reconnected
* If files doesn't exist in user machine anymore, reset file-uploader instead so it doesn't show the filename, and doesn't send the file hash.
* [P1] To avoid reuploading large files too often when in a crappy connection, files in the backend could have a TTL of X minutes after the connection closes. (Which means the frontend needs to know about the TTL too...) | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/1552/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/1552/timeline | null | completed | null | null | false |