id
int64 393k
2.82B
| repo
stringclasses 68
values | title
stringlengths 1
936
| body
stringlengths 0
256k
⌀ | labels
stringlengths 2
508
| priority
stringclasses 3
values | severity
stringclasses 3
values |
---|---|---|---|---|---|---|
43,801,163 | rust | backtraces broken on the Android bot | PIE is now required by Android (#17437) but it breaks backtrace support on the Android bot. It may just need to be updated to the current NDK / Android versions.
| O-android,C-bug | medium | Critical |
44,108,389 | kubernetes | Make deleted objects available from API for some time. | Users should be able to get information about deleted objects from the API for some time after deletion.
This cannot be by name, since the name may need to be reused immediately. So it has to be by UID (the time-space unique identifier described in #1225). This means that:
1. need to keep deleted objects in etcd for a while.
2. need to support requests like `GET /api/v1beta3/pods?uid=50949775-45c3-11e4-a380-b8f6b11c8883`
Implementation options:
1. will need indexing system for finding object in etcd by uuid or name. something like #1183 could help.
2. could set etcd TTL on deleted object so they are deleted after a few days.
| priority/backlog,area/api,area/etcd,area/usability,sig/api-machinery,kind/feature,lifecycle/frozen,sig/etcd | medium | Major |
44,366,441 | nvm | Convenience installation feature for upgrading an installed Node.js version | It would be helpful to have a convenience `nvm` command - e.g., `nvm upgrade <newVersion> [<oldVersion>]` - that bundles the following 3 operations, so as to facilitate _upgrading_ a locally installed version:
- install new Node.js version `<newVersion>`
- copy global packages from version `<oldVersion>`, which defaults to the latest already-installed version with the same major and minor version as `<newVersion>`
- uninstall `<oldVersion>`
In other words: this command would provide in a single operation what currently requires 3 commands in sequence: `nvm install`, `nvm copy-packages`, `nvm uninstall`.
If any step fails, processing should abort with an error message that provides hints as to what commands to use to complete the steps manually later.
Not finding an already-installed `<oldVersion>` (whether explicitly specified or implied) should be considered an error.
| feature requests | low | Critical |
44,580,957 | electron | Idea of runtime mode | Currently developers using atom-shell have to ship the whole atom-shell binaries when distributing their apps, but since now we have [asar](https://github.com/atom/asar) as atom-shell's app format, we may add runtime mode to atom-shell like [Adobe Air](http://www.adobe.com/products/air.html) or [Chrome Hosted Apps](https://developers.google.com/chrome/apps/docs/developers_guide) that developers only need to distribute packaged app in `asar` format as long as end users have the runtime mode of atom-shell installed.
The runtime mode can just be another app based on atom-shell (let's call it `atom-runtime` for now), and has deep platform integrations:
- On Windows, we can provide installer and auto updater for atom-runtime, and register the `.asar` file type to be opened with it.
- On Linux, we provide official software sources of atom-runtime for some popular distributions, and also register atom-runtime as handler of `.asar` files.
- On Mac, we need to provide a tool to help users package their apps into Mac bundles. We can reference how Steam created bundles for downloaded games, or how Parallel created bundles for applications in hosted OS.
We can even provide a tool or service to help generating installers for developers' apps which can automatically download atom-runtime if it is not installed on user's machine, just like many .NET applications.
| discussion | high | Critical |
44,634,459 | TypeScript | Duplicate identifier error does not show up for method signatures | ``` TypeScript
interface A {
a();
a();
a();
}
```
Expected:
```
file.ts(2,5): error TSxxxx: Duplicate overload signature for 'a'.
file.ts(3,5): error TSxxxx: Duplicate overload signature for 'a'.
file.ts(4,5): error TSxxxx: Duplicate overload signature for 'a'.
```
Actual:
```
```
(no error)
---
Apparently the following also gives no error:
``` TypeScript
function f();
function f();
function f() {
}
```
| Bug,Help Wanted | low | Critical |
44,650,229 | bitcoin | Unix Domain Sockets | Does bitcoind support unix domain sockets? I don't see any mention of it. If not, I would like to be able to use them for RPC instead of regular sockets. This will reduce the attack surface when there is not Internet communication needed.
| Feature,RPC/REST/ZMQ | low | Minor |
44,913,544 | rust | LLVM bindings have become incorrect in places. | Because of x86/x86_64 specifics, certain LLVM functions that used to return `unsigned int` and now return `unsigned long long` continue to be usable, ending up in truncated return values.
``` rust
pub fn LLVMABISizeOfType(TD: TargetDataRef, Ty: TypeRef) -> c_uint;
```
``` c
unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty);
```
This is just one example of such incorrectness arising over time, there could be more.
Would be nice if we could use [bindgen](https://github.com/crabtw/rust-bindgen) every LLVM upgrade to verify our bindings (or just generate new ones).
| A-LLVM,A-testsuite,T-compiler,I-unsound,E-help-wanted,C-bug | low | Major |
44,929,293 | rust | Unable to export unmangled dll entry points for stdcall | Hi.
After some questions on IRC I think this might be a bug or at least a missing feature:
I'd like to export functions with a name of my choosing. I knew about #[no_mangle] and learned about #[export_name] on IRC, but both fail to work in my case.
Code/test.rs:
```
pub extern "stdcall" fn stdcall() {
}
#[no_mangle]
pub extern "stdcall" fn stdcall_nomangle() {
}
#[export_name="stdcall_export"]
pub extern "stdcall" fn stdcall_exportname() {
}
pub extern "C" fn c() {
}
#[no_mangle]
pub extern "C" fn c_nomangle() {
}
#[export_name="c_export"]
pub extern "C" fn c_exportname() {
}
```
Build with `rustc --cratetype dylib test.rs`
Result:

So, every single stdcall entry point follows the name@sizeofarguments convention. I have a number of DLLs right in front of me (not based on rust) that export stdcall entries and DON'T use that convention. In fact, I'm reasonably sure that most of the windows API is both using stdcall and exporting 'unmangled' names.
Can I create something similar with rust? Am I missing another attribute? Should no_mangle work in these cases? Should export_name?
| A-linkage,O-windows,C-enhancement | medium | Critical |
45,099,860 | youtube-dl | [site-support-request] turtlediary.com | ```
D:\youtube-dl>youtube-dl.exe --verbose http://www.turtlediary.com/kindergarten-games/science-games/plant-life-cycle.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.turtlediary.com/kindergarten-games/science-games/plant-life-cycle.html']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.10.05.2
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] plant-life-cycle: Requesting header
WARNING: Falling back on generic information extractor.
[generic] plant-life-cycle: Downloading webpage
[generic] plant-life-cycle: Extracting information
[redirect] Following redirect to http://www.turtlediary.com/kindergarten-games/science-games/plant-life-cycle.html?PageSpeed=noscript
[generic] plant-life-cycle: Requesting header
WARNING: Falling back on generic information extractor.
[generic] plant-life-cycle: Downloading webpage
[generic] plant-life-cycle: Extracting information
ERROR: Unsupported URL: http://www.turtlediary.com/kindergarten-games/science-games/plant-life-cycle.html?PageSpeed=noscript; please report this issue
on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest ver
sion; type youtube-dl -U to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 540, in _real_extract
File "youtube_dl\utils.pyo", line 1550, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: not well-formed (invalid token): line 4, column 547
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 524, in extract_info
File "youtube_dl\extractor\common.pyo", line 193, in extract
File "youtube_dl\extractor\generic.pyo", line 907, in _real_extract
ExtractorError: Unsupported URL: http://www.turtlediary.com/kindergarten-games/science-games/plant-life-cycle.html?PageSpeed=noscript; please report t
his issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the l
atest version; type youtube-dl -U to update.
D:\youtube-dl>
```
| site-support-request | low | Critical |
45,235,490 | youtube-dl | [site-support-request] educreations.com | ```
D:\youtube-dl>youtube-dl.exe --update
youtube-dl is up-to-date (2014.10.05.2)
D:\youtube-dl>youtube-dl.exe --verbose https://www.educreations.com/lesson/view/fact-and-opinion/18906630/?ref=appemail
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.educreations.com/lesson/view/fact-and-opinion/18906630/?ref=appemail']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.10.05.2
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] ?ref=appemail: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ?ref=appemail: Downloading webpage
[generic] ?ref=appemail: Extracting information
ERROR: Unsupported URL: https://www.educreations.com/lesson/view/fact-and-opinion/18906630/?ref=appemail; please report this issue on https://yt-dl.or
g/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-
dl -U to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 540, in _real_extract
File "youtube_dl\utils.pyo", line 1550, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: not well-formed (invalid token): line 1, column 1811
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 524, in extract_info
File "youtube_dl\extractor\common.pyo", line 193, in extract
File "youtube_dl\extractor\generic.pyo", line 907, in _real_extract
ExtractorError: Unsupported URL: https://www.educreations.com/lesson/view/fact-and-opinion/18906630/?ref=appemail; please report this issue on https:/
/yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.
```
| site-support-request | low | Critical |
45,259,606 | youtube-dl | problem www.ruscircus.ru | $ youtube-dl --verbose http://www.ruscircus.ru/video?act=play&vid=754
[3] 4500
mryazanov-2:~ maximryazanov$ [debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.ruscircus.ru/video?act=play']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.05.2
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] Proxy map: {}
[generic] video?act=play: Requesting header
WARNING: Falling back on generic information extractor.
[generic] video?act=play: Downloading webpage
[generic] video?act=play: Extracting information
ERROR: Unsupported URL: http://www.ruscircus.ru/video?act=play; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 540, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1550, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: mismatched tag: line 42, column 6
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 524, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 193, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 907, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.ruscircus.ru/video?act=play; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
45,396,864 | rust | Recursive traits should be allowed when boxing | The following should work:
``` rust
trait Future<T> {
fn take(self) -> T;
}
trait Stream<T>: Future<Option<(T, Box<Stream<T>>)>> {
}
pub fn main() {
println!("zomg");
}
```
| A-type-system,A-trait-system,T-lang,C-feature-request,T-types | low | Major |
45,423,396 | kubernetes | Image name/tag resolution preprocessing pass | As discussed in #1007, #1694, #1132, and elsewhere, Docker image names/tags are not immutable. If one wants a repeatable deployment, predictable rollbacks, etc., they need to be resolved at deployment time and recorded. I expect rollbacks to be driven off of version-controlled configuration data, which means they need to be processed on the client side or returned to the client. I propose a self-contained pre-processing program to do this, to fit into the build-oriented approach proposed in #1694.
The original names/tags should be recorded in the pod as annotations.
| priority/important-soon,area/app-lifecycle,area/images-registry,sig/apps,lifecycle/frozen | medium | Critical |
45,718,265 | youtube-dl | DL on mytpi.com | kde$ youtube-dl --verbose http://www.mytpi.com/exercises#figure_4_vertical_bridge
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.mytpi.com/exercises#figure_4_vertical_bridge']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.25.1
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] Proxy map: {}
[generic] exercises#figure_4_vertical_bridge: Requesting header
WARNING: Falling back on generic information extractor.
[generic] exercises#figure_4_vertical_bridge: Downloading webpage
[generic] exercises#figure_4_vertical_bridge: Extracting information
ERROR: Unsupported URL: http://www.mytpi.com/exercises#figure_4_vertical_bridge; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 456, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1418, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 36, column 89
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 169, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 751, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.mytpi.com/exercises#figure_4_vertical_bridge; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
45,873,174 | You-Dont-Know-JS | "this & object prototypes": cover strict mode `this` differences | Apparently in ES6 strict mode, `this` values of primitives are no longer boxed. News to me!
``` js
function foo() {
"use strict";
console.log(typeof this);
}
foo.call("hello"); // "string"
```
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-function-objects
"...means that the this value is used exactly as provided by an invocation of the function"
(credit to @webreflection -- https://twitter.com/webreflection/status/522389313800400896)
| for second edition | low | Major |
45,905,242 | rust | Investigate how LLVM deals with huge stack frames | According to @thestinger, LLVM has UB when dealing with stack frames that have size of the order of magnitude of the address space. Investigate this and add the needed fixes.
This is related to #17913 and not dealt with in #18041.
| A-LLVM,A-codegen,P-low,T-compiler,I-unsound,C-bug | low | Major |
45,927,411 | youtube-dl | Keep Uploaded Date/Time after merging | eg. when downloading a file using -f bestvideo+bestaudio the resulting file has current date/time instead of when the original video was uploaded.
| request | low | Minor |
46,094,525 | bitcoin | Headers-first is disconnecting nodes added via config. | Just a note that if your headers first (HF) sync is latched on to a relatively fast node other nodes continue to be disconnected even where other nodes are nodes added via -addnode in the config/start-up.
I would guess this is not a major issue.
I saw this when I tested a HF node. Also had two other regular nodes present on the LAN. One slower and one faster. I added via bitcoin-cli addnode onetry the two lan nodes to speed up testing HF. The HF node dropped the connection to the slower LAN node.
I then added the slower LAN node to the conf file with an addnode directive there. The HF node still dropped the slower lan node. It came back every now and then but would then be dropped soon after returning.
It would be interesting to see what it did with nodes added via -connect.
@sipa asked me to add this issue.
| P2P | low | Major |
46,125,256 | TypeScript | Support for wildcards in command line | It would be great if we could have wildcard support for files.
``` bash
tsc -w -m amd -t es5 **/*.ts
```
Currently we need to use unix commands.
``` unix
find . -name "*.ts" | xargs tsc -w -m amd -t es5
```
There are also cases when we would like to have wildcards for multiple different folders
``` bash
tsc -w -m amd -t es5 _generated/**/*.ts Typescript/**/*.ts
```
| Suggestion,Help Wanted | low | Major |
46,174,814 | nvm | Testing the install script | I was thinking about @ljharb's [comment](https://github.com/creationix/nvm/pull/549#issuecomment-58923065) about the install script being untested, and had a look at how we could test it.
The testing tools that seem of interest to me are [Roundup](https://github.com/bmizerany/roundup), [shunt](https://github.com/odb/shunt) and the classic [shunit2](https://code.google.com/p/shunit2/). Feedback about this list is more than welcome, I don't have much experience in unit-testing shell scripts.
The strategy is currently as follows:
- rewrite the script so we have smaller and more dedicated functions
- those smaller functions would be tested against their return code
- external tools would be mocked using aliases, for example
``` sh
curl_mock_success() {
exit 0
}
curl_mock_failure() {
exit 1
}
alias curl=curl_mock_success #or curl_mock_failure, depending on the test
```
- `setUp` and `tearDown` would create/reset mocks as needed (if tests are not sandboxed)
- function calls would be tested as external tools, with mocking. This is helpful to test the flow.
This is certainly not perfect and there is probably more to do than the described above, but I'm willing to give it a try and wanted to have your opinion on this firsthand.
| installing node,testing,pull request wanted | low | Critical |
46,408,664 | youtube-dl | Site Support Request: tv.jw.org | This is a new one - very valuable to those who use it, but unfortunately not supported. I did update to version 2014-10-18 to be sure. Here is the output: This is over 4 hours (!) and unwatchable live from Ireland due to bottlenecks somewhere. The url underneath is folded.
```
bash-4.3$ youtube-dl/youtube-dl --verbose http://tv.jw.org/#video/VODProgramsEvents/pub-jwbam_E_201410_1_VIDEO
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://tv.jw.org/#video/VODProgramsEvents/pub-jwbam_E_201410_1_VIDEO']
[debug] Encodings: locale ISO-8859-1, fs ISO-8859-1, out ISO-8859-1, pref ISO-8859-1
[debug] youtube-dl version 2014.10.18
[debug] Python version 2.7.5 - Linux-3.14.5-6-x86_64-Intel-R-_Core-TM-_i3-3110M_CPU_@_2.40GHz-with-slackware-14.1
[debug] Proxy map: {}
[generic] pub-jwbam_E_201410_1_VIDEO: Requesting header
WARNING: Falling back on generic information extractor.
[generic] pub-jwbam_E_201410_1_VIDEO: Downloading webpage
[generic] pub-jwbam_E_201410_1_VIDEO: Extracting information
ERROR: Unsupported URL: http://tv.jw.org/#video/VODProgramsEvents/pub-jwbam_E_201410_1_VIDEO; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "youtube-dl/youtube-dl/youtube_dl/extractor/generic.py", line 541, in _real_extract
doc = parse_xml(webpage)
File "youtube-dl/youtube-dl/youtube_dl/utils.py", line 1550, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: mismatched tag: line 1, column 1432
Traceback (most recent call last):
File "youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 524, in extract_info
ie_result = ie.extract(url)
File "youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 193, in extract
return self._real_extract(url)
File "youtube-dl/youtube-dl/youtube_dl/extractor/generic.py", line 920, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://tv.jw.org/#video/VODProgramsEvents/pub-jwbam_E_201410_1_VIDEO; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
In closing, I would say that jw.org strive to be compatible, and their services cater for techno-phobic and low tech users without too much reliance on flash.
```
| site-support-request | low | Critical |
46,747,700 | youtube-dl | radio-canada.ca site support request | hello
it would be great if this would work:
```
anarcat@angela:Downloads$ python ./youtube-dl --verbose http://ici.radio-canada.ca/widgets/mediaconsole/medianet/7184272
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://ici.radio-canada.ca/widgets/mediaconsole/medianet/7184272']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.24
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.6
[debug] Proxy map: {}
[generic] 7184272: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 7184272: Downloading webpage
[generic] 7184272: Extracting information
ERROR: Unsupported URL: http://ici.radio-canada.ca/widgets/mediaconsole/medianet/7184272; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/extractor/generic.py", line 553, in _real_extract
doc = parse_xml(webpage)
File "./youtube-dl/youtube_dl/utils.py", line 1550, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
raise err
ParseError: syntax error: line 1, column 0
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 526, in extract_info
ie_result = ie.extract(url)
File "./youtube-dl/youtube_dl/extractor/common.py", line 193, in extract
return self._real_extract(url)
File "./youtube-dl/youtube_dl/extractor/generic.py", line 933, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://ici.radio-canada.ca/widgets/mediaconsole/medianet/7184272; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
```
this is with the latest version.
| site-support-request | low | Critical |
46,753,414 | youtube-dl | Support for http://rosenwasser.co.uk | http://rosenwasser.co.uk requires you to log in to a see the videos. This is usually done through your web browser of course. How can you use youtube-dl on such a web site? Basically, how do you log in with youtube-dl?
Unfortunately I can't give a username and password but maybe the problem and solution is well known?
An example failure is
youtube-dl --verbose -u user@foo -p password http://rosenwasser.co.uk/videos/video/de80c015
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-u', u'PRIVATE', '-p', u'PRIVATE', 'http://rosenwasser.co.uk/videos/video/de80c015']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.24
[debug] Python version 2.7.6 - Linux-3.13.0-37-generic-i686-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[generic] de80c015: Requesting header
WARNING: Falling back on generic information extractor.
[generic] de80c015: Downloading webpage
[generic] de80c015: Extracting information
ERROR: Unsupported URL: http://rosenwasser.co.uk/videos/video/de80c015; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 553, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 1550, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: mismatched tag: line 53, column 2
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 526, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 193, in extract
return self._real_extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 933, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://rosenwasser.co.uk/videos/video/de80c015; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
46,934,027 | rust | rustdoc output directory structure leaks home directory structure | Since Rust-CI has been continuously failing I've been looking to move my docs to GitHub Pages. This led me to notice that when `rustdoc` is called with an absolute path as input (as `cargo` does) the files in doc/src will show your entire home directory layout.
This is problematic not only because of the leak of someone's home directory layout, but because those links will break if I build from a new directory, a new computer, and a different contributor commits those changes. Also if you have 2+ contributors you're going to have massive churn on a repo checking in those files. Least importantly the URLs are ugly when clicking on a src link. :)
As an example on Rust's own API docs, If you click the [src] link on http://doc.rust-lang.org/std/vec/ you end up at http://doc.rust-lang.org/src/collections/home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libcollections/vec.rs.html#11-2901
| T-rustdoc,C-bug,A-reproducibility,E-needs-investigation | low | Major |
46,973,290 | three.js | Loaders | List of loaders that would be nice to have:
## 3D
- [x] 3DMLoader
- https://www.rhino3d.com/opennurbs
- [x] 3DSLoader
- http://en.wikipedia.org/wiki/.3ds
- http://dzzd.net/3DSChunkDefinitions.html
- http://k3d.ivank.net/demos/parsing3DS.html
- [x] 3MFLoader
- [x] AMFLoader
- http://en.wikipedia.org/wiki/Additive_Manufacturing_File_Format
- [ ] BREPLoader
- https://en.wikipedia.org/wiki/Boundary_representation
- [x] BVHLoader
- https://sites.google.com/a/cgspeed.com/cgspeed/motion-capture/cmu-bvh-conversion
- [x] ColladaLoader
- [ ] DXFLoader
- http://en.wikipedia.org/wiki/AutoCAD_DXF
- https://github.com/gdsestimating/dxf-parser
- [x] FBXLoader
- https://banexdevblog.wordpress.com/2014/06/23/a-quick-tutorial-about-the-fbx-ascii-format/
- http://code.blender.org/2013/08/fbx-binary-file-format-specification/
- https://github.com/hamish-milne/FbxWriter
- http://wiki.blender.org/index.php/User:Mont29/Foundation/FBX_File_Structure
- https://github.com/dobkeratops/openfbx
- [x] GLTFLoader
- [x] IFCLoader
- [ ] IGESLoader
- http://en.wikipedia.org/wiki/IGES
- [x] KMZLoader
- https://3dwarehouse.sketchup.com/model.html?id=907f1fa5805282f8630a81e41b3b6ffd
- [x] LWOLoader
- http://static.lightwave3d.com/sdk/2018/html/filefmts/lwo3.html
- https://github.com/marcbizal/lwo-parser
- [x] M2Loader
- https://wowdev.wiki/M2
- https://github.com/Dramacydal/M2Lib https://github.com/Koward/M2Lib
- [x] MD2Loader
- [x] MDDLoader
- [x] MMDLoader
- http://mikumikudance.wikia.com/wiki/MMD:Polygon_Model_Data
- [x] MTLLoader (needs refactoring)
- [x] NRRDLoader
- http://lessons.goxtk.com/10/
- [x] OBJLoader
- [x] PDBLoader
- [x] PCDLLoader
- [x] PLYLoader
- [x] PVRLoader
- [ ] QuakeBSPLoader
- https://github.com/mrdoob/three.js/issues/11604
- [ ] STEPLoader
- https://github.com/mrdoob/three.js/issues/7125#issuecomment-308232748
- [x] STLLoader
- [x] TILTLoader
- https://github.com/benfoxall/tiltbrush/blob/master/lib/Sketch.js
- https://github.com/googlevr/tilt-brush-toolkit
- https://docs.google.com/document/d/11ZsHozYn9FnWG7y3s3WAyKIACfbfwb4PbaS8cZ_xjvo/preview
- [x] URDFLoader
- #13768
- [x] USDLoader
- #14219
- https://graphics.pixar.com/usd/docs/Usdz-File-Format-Specification.html
- https://fereria.github.io/reincarnation_tech/05_DCCTool/10_Houdini/11_SOLARIS/12_usd_preview_surface/
- https://github.com/usd-wg/assets
- https://github.com/erich666/McUsd
- https://github.com/syoyo/tinyusdz
- [ ] VDBLoader
- https://www.openvdb.org/
- [x] VRMLLoader
- [x] VTKLoader
- [ ] X3DLoader
## Bitmap
- [x] DDSLoader
- [x] HDRLoader
- [x] TGALoader
- [x] TIFFLoader
## Vector
- [ ] IVGLoader
- https://github.com/google/iconvg/blob/main/spec/iconvg-spec.md
- [x] SVGLoader
- [x] TTFLoader
| Enhancement,Loaders | high | Critical |
47,274,889 | youtube-dl | ERROR: Unsupported URL: https://cloud.mail.ru/....mov | youtube-dl --verbose 'http://cloud.mail.ru/public/fd0f575a49ef/%d0%94%d0%a2%d0%9f%2d4.mov'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://cloud.mail.ru/public/fd0f575a49ef/%d0%94%d0%a2%d0%9f%2d4.mov']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.29
[debug] Python version 3.4.2 - Linux-3.16.3-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 2.4.2, ffprobe 2.4.2
[debug] Proxy map: {}
[generic] %d0%94%d0%a2%d0%9f%2d4: Requesting header
[redirect] Following redirect to https://cloud.mail.ru/public/fd0f575a49ef/%d0%94%d0%a2%d0%9f-4.mov
[generic] %d0%94%d0%a2%d0%9f-4: Requesting header
WARNING: Falling back on generic information extractor.
[generic] %d0%94%d0%a2%d0%9f-4: Downloading webpage
[generic] %d0%94%d0%a2%d0%9f-4: Extracting information
ERROR: Unsupported URL: https://cloud.mail.ru/public/fd0f575a49ef/%d0%94%d0%a2%d0%9f-4.mov; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 533, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 197, in extract
return self._real_extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/generic.py", line 962, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
youtube_dl.utils.ExtractorError: Unsupported URL: https://cloud.mail.ru/public/fd0f575a49ef/%d0%94%d0%a2%d0%9f-4.mov; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
47,513,380 | youtube-dl | Support request: youwatch.org | Support request: youwatch.org
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-g', 'http://youwatch.org/embed-fbfbjp9sxxrd-640x391.html', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.30
[debug] Python version 2.7.6 - Linux-3.16.0-24-generic-i686-with-LinuxMint-17-qiana
[debug] exe versions: avconv 9.16-6, avprobe 9.16-6, ffmpeg 2.4.2, ffprobe 2.4.2
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
ERROR: Unsupported URL: http://youwatch.org/embed-fbfbjp9sxxrd-640x391.html; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 581, in _real_extract
doc = parse_xml(webpage)
File "/usr/lib/python2.7/dist-packages/youtube_dl/utils.py", line 1629, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: mismatched tag: line 60, column 6
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 533, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 198, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 962, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://youwatch.org/embed-fbfbjp9sxxrd-640x391.html; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
47,580,495 | neovim | better 'autoread' (file-change detection) | 1. Libuv supports file notifications
2. Working with files that are also changed by other editors in (n)vim is finnicky at best, unless of course I'm misconfiguring. In that case mea culpa.
3. As mentioned by http://andre.arko.net/2013/09/11/vim-is-the-worst-editor/, if you have a lot of buffers open and some paranoid settings, things become quite wasteful.
Since all our target OS'es support file notifications and even libuv does, perhaps we could use that?
| enhancement,events,filesystem,options | high | Critical |
47,667,338 | rust | DST/custom coercions | Tracking issue for RFC rust-lang/rfcs#982.
Current state:
- [x] Implementation work (largely done)
- [ ] Stabilization -- the `CoerceUnsized` trait is unstable and we wish to revisit its design before stabilizing, so for now only stdlib types can be "unsized"
Things to consider prior to stabilization
* Interaction with pin, see [this internals thread](https://internals.rust-lang.org/t/unsoundness-in-pin/11311) and #68015 for details.
Part of #18469
| B-RFC-approved,A-DSTs,T-lang,C-tracking-issue,A-coercions,S-tracking-needs-summary | medium | Critical |
47,773,932 | TypeScript | Gracefully handle template literal properties in the parser | ``` TypeScript
var x = {
a: "Hello"
`b`: 123
}
```
Right now, the parser encounters the template string, decides it should bail out of object literal parsing, and we more or less recover thinking we have something like the following:
``` TypeScript
var x = ({ a: "Hello" } `b`) : 123 }
```
So we'll report an error on what we think is:
``` TypeScript
{ a: "Hello" } `b`
```
- On the syntactic layer under ES5 mode, we'll say tagged templates are not supported unless in ES6.
- On the semantic layer, we'll say `{ a: "Hello" }` is not invokable.
| Help Wanted,Effort: Moderate,Domain: Error Messages,Experience Enhancement | low | Critical |
47,791,943 | youtube-dl | Unable to download thatguywiththeglasses.com's videos. | Example:
$ youtube-dl -v http://thatguywiththeglasses.com/videolinks/thatguywiththeglasses/nostalgia-critic/45455-rise-of-the-commercials
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://thatguywiththeglasses.com/videolinks/thatguywiththeglasses/nostalgia-critic/45455-rise-of-the-commercials']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.11.02.1
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.7
[debug] exe versions: avconv 1.0.10, avprobe 1.0.10, ffmpeg 1.0.10, ffprobe 1.0.10
[debug] Proxy map: {}
[generic] 45455-rise-of-the-commercials: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 45455-rise-of-the-commercials: Downloading webpage
[generic] 45455-rise-of-the-commercials: Extracting information
[BlipTV] gbk7g7GfSAI: Resolving lookup id
ERROR: Unable to extract video_id; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 533, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 198, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/bliptv.py", line 78, in _real_extract
video_id = self._search_regex(r'data-episode-id="([0-9]+)', info_page, 'video_id')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 432, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video_id; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Thank you in advance. :)
| site-support-request | low | Critical |
47,925,843 | nvm | `ksh` doesn't support `local` | `ksh` doesn't support `local` with portable function syntax, and `dash` doesn't support `typeset`.
| bugs,shell: ksh,pull request wanted | low | Major |
47,981,826 | rust | No way to have + or * as separator token in macros | I'm trying to write a macro that sums a list of expressions, but it doesn't work because it's not possible to have + or \* as the seperator token. For example:
``` rust
macro_rules! sum {
(
$($e:expr)+ => (
$($e)++ // ???
)
}
```
It'll interpret is as there being no seperator token, and it seems to just stick a `+` at the end. Escaping the first `+` doesn't work either.
I'm using rust head
@bstrie
| C-enhancement,A-macros,T-lang | low | Major |
47,999,195 | neovim | Feature: text objects as command ranges | Something I've always wished Vim had is the ability to use text objects as command ranges, so you could do:
``` vim
:i}norm ^i// <CR>
```
to comment out lines inside a pair of curly brackets (that's a bad example, but it's the only one I could think of that doesn't use one of my user defined commands) rather than having to:
``` vim
vi}
:'<,'>norm ^i// <CR>
```
| enhancement | low | Major |
48,013,530 | kubernetes | Policies on Labels and Selectors | Suppose there is one namespace with two users.
- Trustworthy Tammy is trusted to manage the prod pods.
- Fat-fingered Fred is only trusted to manage the dev pods. fred is prone to making mistakes.
Tammy makes a service that selects pods with "type=prod".
Now, say Fred starts some buggy code in pods. He meant to apply label "type=dev", but by accident he applies "type=prod". Now user requests are hitting his buggy servers.
We should have a way to control who can apply and select a certain label-key-value. ABAC policy could certainly support this.
This is relatively low priority, since people could use namespaces to separate Fred and Tammy's pods. But, in the long run, I think we want to encourage people to put more things in a single namespace.
| area/security,priority/awaiting-more-evidence,sig/service-catalog,lifecycle/frozen | medium | Critical |
48,023,075 | rust | "Ghost" methods in rustdoc for cross-crate trait impls | Consider the following MWE:
```rs
pub trait Foo { fn root(); }
impl Foo for Option<usize> {
fn root() {}
}
```
Compiling, and navigating to `doc/lib/index.html?search=root` shows a clickable `core::option::Option::root` result. Clicking on it takes you to `doc/core/option/enum.Option.html#method.root` -- the page doesn't exist, however if you've copied in the docs like Servo does, you'll get the following [search page](http://doc.servo.org/core/option/enum.Option.html?search=root) and [result](http://doc.servo.org/core/option/enum.Option.html#method.root) — the actual trait is [here](http://doc.servo.org/script/dom/bindings/js/trait.OptionalRootable.html).
Since crates are compiled by rustdoc individually, a cross-crate trait implementation can't show up on the type it is implemented on. However, it still is part of the search results, which is confusing. Removing it from search results isn't an option either — there still is the problem that a doc comment for methods in this impl will not be shown anywhere.
Perhaps cross crate trait implementations should go in the crate of origin of the impl, not the type<sup>1</sup>? . This will make search results work.
We'd need a new type of doc page for this though -- one that displays a single trait implementation; or alternatively all the trait impls for a type defined outside of a crate. Some sort of "addendum" page.
<sup>1.</sup> Crate of origin of trait doesn't work either since we can have trait `A<T>` from crate `a`, type `B` from crate `b`, and type `C` from crate `c`, with an `impl A<C> for B` in crate `c`, which we encounter while compiling crate `c` and can no longer touch the docs for crate `a`, which is the crate of origin of the trait.
| T-rustdoc,C-bug | low | Major |
48,026,235 | neovim | Feature: Elastic Tabstops | http://nickgravgaard.com/elastictabstops/
Would be nice if neovim could have a mode to support elastic tabstops which is I think a very good solution to the long standing tab or space problem among programmers who have to read other's source code written in other less ideal editors.
I heard that this requires modifying the vim source, would be nice if someone can take over and implement this in neovim.
| enhancement | high | Critical |
48,113,604 | rust | Cleanup and consolidate operator/method dispatch code | Once upon a time, both operator dispatch and method lookup went through the same tangled, twisty paths. It was a mess. But lo, they were severed and made two. Each could follow its own path. Overall, this is progress. But there is still room for improvement:
1. The second half of "operator dispatch" is basically the same as `confirm::confirm`, but with some slight differences.
2. The autoderef loop for `[]` is basically the same as `probe`, but with some slight differences (e.g., at each step it consists builtin `[]` as well).
3. The `probe` loop, which uses `check::autoderef`, isn't able to be part of an inference transaction between `check::autoderef` uses operator dispatch which adds things into the main fulfillment context, thus leaking inference types etc outside the transaction.
It feels like things could still be cleaned up a bit further, allowing for more code reuse and happiness all around.
Some FIXMEs are scattered about at relevant points of the code.
| C-cleanup,A-type-system,T-compiler,T-types | medium | Major |
48,142,274 | rust | Unexpected trait behavior with default_type_params | This seems more like an error message issue than anything, but I was very confused for a while. Here is a repro:
``` rust
#![feature(unboxed_closures)]
#![feature(default_type_params)]
pub trait Invoke<A, R = ()> {
fn invoke(&mut self, args: A) -> R;
}
impl<A, R, F: Send + FnMut(A) -> R> Invoke<A, R> for F {
fn invoke(&mut self, args: A) -> R {
self.call_mut((args,))
}
}
pub struct Foo;
impl Invoke<uint, uint> for Foo {
fn invoke(&mut self, args: uint) -> uint {
args
}
}
fn repro<A, I: Invoke<A>>(_: I) {
unimplemented!();
}
pub fn main() {
repro(Foo);
}
```
output:
```
repro.rs:28:5: 28:10 error: the trait `core::ops::Fn<(_,), ()>` is not implemented for the type `Foo`
repro.rs:28 repro(Foo);
^~~~~
repro.rs:28:5: 28:10 note: the trait `core::ops::Fn` must be implemented because it is required by `repro`
repro.rs:28 repro(Foo);
^~~~~
error: aborting due to previous error
```
| A-diagnostics,A-closures,T-compiler,C-bug,F-unboxed_closures | low | Critical |
48,153,553 | rust | Lifetime error messages should have better spans | This error has an arrow pointing where the lifetime issue is (though I don't know why it isn't more precise):
``` rust
struct Mine<'a> { s: &'a str }
impl <'a>Iterator<&'a str> for Mine<'a> {
fn next(&mut self) -> Option<&str> { Some("h") }
}
fn main() {}
```
```
<anon>:4:5: 4:53 error: method `next` has an incompatible type for trait: expected concrete lifetime, found bound lifetime parameter [E0053]
<anon>:4 fn next(&mut self) -> Option<&str> { Some("h") }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<anon>:4:40: 4:53 note: expected concrete lifetime is the lifetime 'a as defined on the block at 4:39
<anon>:4 fn next(&mut self) -> Option<&str> { Some("h") }
^~~~~~~~~~~~~
error: aborting due to previous error
playpen: application terminated with error code 101
```
---
This won't because `next()` is multiline:
``` rust
struct Mine<'a> { s: &'a str }
impl <'a>Iterator<&'a str> for Mine<'a> {
fn next(&mut self) -> Option<&str> {
Some("h")
}
}
fn main() {}
```
```
<anon>:4:5: 6:6 error: method `next` has an incompatible type for trait: expected concrete lifetime, found bound lifetime parameter [E0053]
<anon>:4 fn next(&mut self) -> Option<&str> {
<anon>:5 Some("h")
<anon>:6 }
<anon>:4:40: 6:6 note: expected concrete lifetime is the lifetime 'a as defined on the block at 4:39
<anon>:4 fn next(&mut self) -> Option<&str> {
<anon>:5 Some("h")
<anon>:6 }
error: aborting due to previous error
playpen: application terminated with error code 101
```
---
Best would be:
```
<anon>:4:40: 4:53 note: expected concrete lifetime is the lifetime 'a as defined on the block at 4:39
<anon>:4 fn next(&mut self) -> Option<&str> { Some("h") }
^~~~~~~~~~~~~
```
Someone might easily put the lifetime on `next(&'a self)` instead of `Option<&'a str>` because it didn't point and they didn't understand the message.
| A-diagnostics,P-medium,T-compiler,C-bug | low | Critical |
48,168,790 | neovim | UI: custom placement of statusline, tabline, winbar, cmdline | As long as ncurses are used, it should be pretty straightforward to add option for showing the _statusline_ and the _cmdline_ at the top (under the tab list if any) instead of at the bottom.
This is a feature I've been waiting for for more than 6 years. I have all important stuff in all applications at the top and _(n)vim_ is the only one, which forces me to often look at the very bottom of my screen which causes unnecessary neck and back pain even after a short-time use on a notebook.
| enhancement,ui,ui-extensibility,statusline | medium | Critical |
48,217,140 | TypeScript | No way to type an object with null prototype | Currently the base type of all objects in TS seems to be `{}`, which looks like an empty type but actually has members inherited from the Object object. This leaves no way to express a type with null prototype.
``` javascript
var foo: ??? = Object.create(null);
foo.toString(); // Want a compile error here
```
I did accidentally discover that it's possible to type a variable as void:
``` javascript
var foo: void = Object.create(null);
```
This appears to suppress intellisense for members in VS and the playground, and it is assignable to `any` (`Object.keys(foo)` compiles), so it would seem to be what I'm looking for. However this still lets `foo.toString()` compile somehow - I imagine the void type is getting elevated to Object automatically.
Edit: [Ryan's workaround](https://github.com/Microsoft/TypeScript/issues/1108#issuecomment-62406685) to subtype Object and override all its members to void prevents those properties from being called as functions, but as he points out, that doesn't prevent them from being accessed.
``` javascript
var bar = foo.toString; // Want a compiler error here too. Won't get one with Ryan's workaround.
```
| Suggestion,Needs Proposal | medium | Critical |
48,403,101 | rust | monomorphization recursion limit error should be caught earlier | This little program gives a "reached the recursion limit during monomorphization" error.
``` rust
fn main() {
go(range(0, 5u));
}
fn go<T>(it: T) where T: Iterator<uint> {
let mut p = it;
match p.next() {
Some(_) => {
go(p.by_ref());
}
None => {}
}
}
```
http://is.gd/3iN5Kf
The recursion limit is reached due to wrapping the iterator into ByRefs for every recursion step. IRC suggested that this could be a bug as this should be caught before monomorphization.
| A-type-system,C-enhancement,T-compiler,I-monomorphization,T-types | low | Critical |
48,553,075 | youtube-dl | Error downloading GDC video | Actually it's an audio file, not a video. Verbose output is below. Note that downloading free content (audio & video) seems to work. Just in case it might be a problem, there is a `*` character in my password (which I can't change). I'm using quotes on the command line (`-p "my*password"`)
```
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-u', u'PRIVATE', '-p', u'PRIVATE', 'http://ww
w.gdcvault.com/play/515/Challenging-Everyone-Dynamic-Difficulty']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.11.12.1
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {'http': 'http://proxy-mtl.ubisoft.org:3128', u'https': 'http
://proxy-mtl.ubisoft.org:3128'}
[GDCVault] 515: Downloading webpage
[GDCVault] 515: Logging in
[GDCVault] 515: Getting authenticated video page
[GDCVault] 515: Logging out
ERROR: Unable to extract xml root; please report this issue on https://yt-dl.org
/bug . Be sure to call youtube-dl with the --verbose flag and include its comple
te output. Make sure you are using the latest version; type youtube-dl -U to u
pdate.
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 536, in extract_info
File "youtube_dl\extractor\common.pyo", line 199, in extract
File "youtube_dl\extractor\gdcvault.pyo", line 145, in _real_extract
File "youtube_dl\extractor\common.pyo", line 446, in _html_search_regex
File "youtube_dl\extractor\common.pyo", line 436, in _search_regex
RegexNotFoundError: Unable to extract xml root; please report this issue on http
s://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and inclu
de its complete output. Make sure you are using the latest version; type youtub
e-dl -U to update.
```
| account-needed | low | Critical |
48,587,265 | neovim | tcsh shell escaping | Backgroud:
I compile & install both Python[2.7.8] and Neovim in $HOME/INSTALL. And I have also added $HOME/INSTALL/bin to $PATH.
When start nvim, below 'COMMENT OUT' check will fail.
```
...
" \ && index(s:supported, system('python'.s:get_version)) >= 0 --> COMMENT OUT
...
let s:import_result = system(s:python_interpreter_path .
\ ' -c "import neovim, sys; sys.stdout.write(\"ok\")"')
if s:import_result != 'ok'
" call s:ShowError('No neovim module found for ' . s:python_version) --> COMMENT OUT
" finish --> COMMENT OUT
...
```
After 'COMMENT OUT' this, my nvim work well with YCM.
```
:echo has('python')
```
return 1
Could anyone give me some comments about this ? Thanks in advance.
| environment,bug-vim | medium | Critical |
48,627,533 | TypeScript | Parameter info missing for generics | Hi,
**VS**: 2013 Update 4 RC
**TS**: 1.3
I believe we used to get help with the generic parameter at the point indicated below:
``` TypeScript
class Foo<TDescription>{ }
var foo = new Foo<
```
The parameter info only appears after the generic parameter has been filled in and the parenthesis opened:
``` TypeScript
var foo = new Foo<string>(
```
| Suggestion,Help Wanted | low | Minor |
48,916,771 | neovim | CAPSLOCK detection provider | Users/plugins should be able to easily detect whether capslock is enabled. This can be done with a provider using these strategies:
- X11: `xset -q | grep Caps`
- Windows: http://stackoverflow.com/questions/13905342/winapi-how-to-get-the-caps-lock-state
- we can probably bake this into the nvim core without much trouble; otherwise it can be a small shell utility
- or we could use AutoHotkey: https://github.com/kshenoy/CapsUnlocked
- macOS `IOHIDGetModifierLockState` ([sample code](https://github.com/neovim/neovim/issues/1480#issuecomment-1936273719))
- old/outdated: ~~https://developer.apple.com/library/mac/qa/qa1519/_index.html~~ , ~~https://discussions.apple.com/thread/7094207~~
| enhancement,mappings,normal-mode | low | Major |
49,096,307 | rust | Coherence and blanket impls interact in a suboptimal fashion with generic impls | There is a tricky scenario with coherence rules and blanket impls of traits. This manifested as #18835, which is an inability to implement `FnOnce` manually for generic types. It turns out to be a legitimate coherence violation, at least according to the current rules (in other words, the problem is not specific to `FnOnce`, but rather an undesired interaction between blanket impls (like those used in the fn trait inheritance hierarchy) and coherence. I am not sure of the best fix, though negative where clauses would provide one possible solution. Changing the `Fn` type parameters to associated types, which arguably they ought to be, would also solve the problem.
Let me explain what happens. There is a blanket impl of `FnOnce` for all things that implement `FnMut`:
```
impl<A,R,F:FnMut<A,R>> FnOnce<A,R> for F { ... }
```
Now imagine someone tries to implement `FnOnce` in a generic way:
```
struct Thunk<R> { value: R }
impl<R> FnOnce<(),R> for Thunk<R> {
fn call_once(self) -> R { self.value }
}
```
If you try this, you wind up with a coherence violation. The coherence checker is concerned because it is possible that someone from another crate comes along implements `FnMut` for `Thunk` as well:
```
struct SomeSpecificType;
impl FnMut<(),SomeSpecificType> for Thunk<SomeSpecificType> { ... }
```
This impl passes the orphan check because `SomeSpecificType` is local to the current crate. Now there is a coherence problem with respect to `FnOnce` for `Thunk<SomeSpecificType>` -- do use the impl that delegates to `FnMut`, or the direct impl?
If the `A` and `R` arguments to the `Fn` traits were associated types, there would be no issue, because the second impl would be illegal -- the `Fn` traits could only be implemented within the same crate as the main type itself.
If we had negative where clauses, one could write the manual `FnOnce` impl using a negative where clause:
```
struct Thunk<R> { value: R }
impl<R> FnOnce<(),R> for Thunk<R>
where Thunk<R> : !FnMut<(),R> // imaginary syntax
{
fn call_once(self) -> R { self.value }
}
```
This is _basically_ specialization: we implement `FnOnce`, so long as nobody has implemented `FnMut`, in which case that version wins. This is not necessarily what the author wanted to write, it's just something that would be possible.
There is also the (somewhat weird) possibility that one could write a negative where clause on the original blanket impl, kind of trying to say "you can implement FnOnce in terms of FnMut, but only if FnOnce is not implemented already". But if you think about it for a bit this is (a) basically a weird ad-hoc kind of specialization and (b) sort of a logical contradiction. I think the current logic, if naively extended with negative where clauses, would essentially reject that sort of impl, because the negative where clause doesn't hold (FnOnce _is_ implemented, by that same impl).
Note that we don't have to solve this for 1.0 because direct impls of the `Fn` traits are going to be behind a feature gate (per #18875).
cc @aturon
| A-type-system,C-enhancement,T-lang,T-types | medium | Critical |
49,187,331 | bitcoin | Initial connection management | Pointing two peers at each other via the "addnode" / "connect" args in bitcoin.conf on init results in multiple (3 as observed in getpeerinfo on regtest) connections (on different ports) and, hence, chatty traffic (say inventory exchange) when running off of the current master. Connecting via the "addnode" RPC call after a successful initialization of both peers corrects this.
| Bug,P2P | low | Major |
49,306,579 | javascript | Best practices for promises? | First of all, great job on this guide, I agree with it almost 100%. All of this should really be common knowledge, but I sure as hell didn't know most of these things when I started, so kudos for writing it all down.
Now, since promises have been standardized and a lot of people have started using them, it would be nice to have a section on how to keep promise-based code readable. For instance, when chaining multiple promises together, there are at least two alternative ways to do it:
#### Option 1: anonymous functions
``` javascript
return doSomething(foo).then(function(result) {
// ...
}).then(function(result2) {
// ...
}).then(function(result3) {
// ...
}).catch(function(error) {
// ...
}).finally(function() {
// ...
});
```
#### Option 2: named functions
``` javascript
function doThis(result) {
// ...
}
function doThat(result) {
// ...
}
function handleError(error) {
// ...
}
function done() {
// ...
}
return doSomething(foo)
.then(doThis)
.then(doThat)
.catch(handleError)
.finally(done);
```
The second way, while being somewhat more verbose, seems to be preferable, as the chain of tasks that the promise result travels through becomes more obvious.
I did an internal poll of our developers, and so far, option 2 seems to be ahead, although I have not heard from everyone yet. How does AirBnB deal with this, and what are your opinions?
| enhancement,question,pull request wanted | high | Critical |
49,380,447 | gin | Automatically generate RESTful API documentation with Swagger | One thing I really like about [go-restful](https://github.com/emicklei/go-restful) is their [built-in Swagger integration](https://github.com/emicklei/go-restful/blob/master/examples/restful-user-service.go). Check out the example project: https://github.com/emicklei/mora#swagger
Some things I really love about Gin is the focus on performance, and overall, it just seems like a much better designed framework. However, I think that auto-generated documentation with Swagger is pretty awesome. It makes it easy for new engineers to get up-to-speed quickly by reading through the docs, and I especially love the way you can [auto-generate API clients for lots of different languages](https://github.com/swagger-api/swagger-codegen).
I'm not sure how involved this change would be, I'm not sure if this could be done as an extension. But we could probably take lots of inspiration from (or just copy) [the swagger code from go-restful](https://github.com/emicklei/go-restful/tree/master/swagger) (MIT licensed).
Anyway, this is not a huge priority for me, just a nice to have.
| enhancement | high | Major |
49,435,213 | neovim | :! (bang) and system() are not interactive | If I type `!git add -p` it loops over the output and only stops if i press ctrl-c.
| bug,enhancement,terminal | medium | Critical |
49,436,743 | TypeScript | Allow classes to be parametric in other parametric classes | This is a proposal for allowing generics as type parameters. It's currently possible to write specific examples of monads, but in order to write the interface that all monads satisfy, I propose writing
``` javascript
interface Monad<T<~>> {
map<A, B>(f: (a: A) => B): T<A> => T<B>;
lift<A>(a: A): T<A>;
join<A>(tta: T<T<A>>): T<A>;
}
```
Similarly, it's possible to write specific examples of cartesian functors, but in order to write the interface that all cartesian functors satisfy, I propose writing
``` javascript
interface Cartesian<T<~>> {
all<A>(a: Array<T<A>>): T<Array<A>>;
}
```
Parametric type parameters can take any number of arguments:
``` javascript
interface Foo<T<~,~>> {
bar<A, B>(f: (a: A) => B): T<A, B>;
}
```
That is, when a type parameter is followed by a tilde and a natural arity, the type parameter should be allowed to be used as a generic type with the given arity in the rest of the declaration.
Just as is the case now, when implementing such an interface, the generic type parameters should be filled in:
``` javascript
class ArrayMonad<A> implements Monad<Array> {
map<A, B>(f: (a:A) => B): Array<A> => Array<B> {
return (arr: Array<A>) => arr.map(f);
}
lift<A>(a: A): Array<A> { return [a]; }
join<A>(tta: Array<Array<A>>): Array<A> {
return tta.reduce((prev, cur) => prev.concat(cur));
}
}
```
In addition to directly allowing compositions of generic types in the arguments, I propose that typedefs also support defining generics in this way (see [issue 308](https://github.com/Microsoft/TypeScript/issues/308)):
``` javascript
typedef Maybe<Array<~>> Composite<~> ;
class Foo implements Monad<Composite<~>> { ... }
```
The arities of the definition and the alias must match for the typedef to be valid.
| Suggestion,Help Wanted | high | Critical |
49,659,354 | youtube-dl | Downloading mp3 but message says video | Simple problem. When you download an audio file e.g. from soundcloud (thanks for supporting it!) then the message looks as following:
```
[download] Downloading video #8 of 14
```
We could change it to "Downloading file" or make it dependent on the file extension.
| request | low | Minor |
49,685,083 | youtube-dl | Site Request: UOL Mais | Example:
http://mais.uol.com.br/view/w72sr1ihch6f/filha-diz-que-largou-a-faculdade-de-direito-para-maquiar-defuntos-04020C9A3562D8915326?types=A&
Should support this kind of url ^
ps: same video above has a "short" url, http://mais.uol.com.br/view/15261550 not sure if this url should be supported as well, since it just redirects to "full" url.
ps²: query string ?types=A& are not required, maybe it us used for stats, dunno.
---
To eventual users checking this issue:
Any video hosted on www.uol.com.br sub-websites are hosted at this "Mais" service. After to watch most of videos, the end screen displays the embed code and it's url. For the video from example, it was embedded on:
http://www.redetv.uol.com.br/vocenatv/video/426835/filha-diz-que-largou-a-faculdade-de-direito-para-maquiar-defuntos.html
For videos without end screen you can search by the title on http://mais.uol.com.br
Example: http://www1.folha.uol.com.br/mercado/2014/11/1547481-video-saiba-em-que-investir-para-dar-entrada-na-casa-propria.shtml
Same video http://mais.uol.com.br/view/e0qbgxid79uv/15275470?types=A&
| site-support-request | low | Minor |
49,850,452 | You-Dont-Know-JS | "this & object prototypes": node.js REPL environment differences | Just started reading, great book. I got to here:
https://github.com/getify/You-Dont-Know-JS/blob/master/this%20&%20object%20prototypes/ch2.md#implicitly-lost
This snippet:
``` js
function foo() {
console.log( this.a );
}
var obj = {
a: 2,
foo: foo
};
var bar = obj.foo; // function reference/alias!
var a = "oops, global"; // `a` also property on global object
bar(); // "oops, global"
```
When run in node.js, it logs `undefined`, see http://runnable.com/me/VHKV6afPSmV9xlkJ
When run in browser environment (tested in Chrome Version 41.0.2228.1 canary (64-bit) and http://repl.it/languages/JavaScript/), logs `oops, global`.
Does this have to do with node's lack of `window` object?
| for second edition | low | Minor |
49,881,476 | youtube-dl | Site Request: nos.nl. | For example, [this url](http://nos.nl/artikel/2005405-rutte-meer-openheid-financi-n-navo.html) contains one video on the right-hand side of the screen. It would be nice if `youtube-dl` would notice that, and subsequently download the video.
Thank you.
| site-support-request | low | Major |
49,962,345 | TypeScript | Consider property access a form of type guards | This is a proposal for using property access as another form of type guards (see #900) to narrow union types. While we're investigating expanding the power of type guards (#1007) this feature would support the natural style that JavaScript programmers have in their code today.
### Using property access to narrow union types
``` ts
var x: string|number;
if (x.length) { // no error even though number lacks a length property
var r = x.charAt(3); // x is of type string inside this block
}
var r2 = x.length || x * x; // no error, x narrowed to number on right hand side, r3 is number
var y: string[]|number[]|string;
if (y.length && y.push) {
// y is string[]|number[] now
var first = y[0]; // first is string|number
if (first.length) {
// first is string in here
} else {
// first is number in here
}
}
```
We do not expand the situations in which types are narrowed, but we do expand the known type guard patterns to include basic property access. In these narrowing contexts it would be an error to access a property that does not exist in at least one of the constituent types of a union type (as it is today). However, it would now be valid to access a property that exists in at least one, but not all, constituent types. Any such property access will then narrow the type of the operand to only those constituent types in the union which do contain the accessed property. In any other context property access is unchanged.
### Invalid property access
``` ts
var x: string|number;
var r = x.length; // error, not a type guard, normal property access rules apply
if (x.len) { } // error, len does not exist on type string|number
var r3 = !x.len && x.length; // error, len does not exist on type string|number
var r4 = x.length && x.len; // error, len does not exist on type string
```
### Issues/Questions
- Should the language service behave differently in these type guard contexts? Should dotting off a union type in a type guard list all members on all types rather than only those that exist on all of them?
- Need to understand performance implications
I have a sample implementation and tests in a branch here: https://github.com/Microsoft/TypeScript/tree/typeGuardsViaPropertyAccess. There're a couple bugs remaining but examples like the above all work and no existing behavior was changed.
| Suggestion,Awaiting More Feedback | high | Critical |
50,438,399 | rust | Surpress, mark, or order superflous trait resolution type errors correctly | During a `rusti` session on IRC, a confusing class of type errors has been discovered. This piece of code:
```
fn main() {
"1 2 3".split(" ").collect::<Vec<_>>()
}
```
Currently emits these two error messages:
```
figment_sketch.rs:2:13: 2:23 error: the trait `core::str::CharEq` is not implemented for the type `&str`
figment_sketch.rs:2 "1 2 3".split(" ").collect::<Vec<_>>()
^~~~~~~~~~
figment_sketch.rs:2:24: 2:43 error: type `core::str::CharSplits<'_, &str>` does not implement any method in scope named `collect`
figment_sketch.rs:2 "1 2 3".split(" ").collect::<Vec<_>>()
^~~~~~~~~~~~~~~~~~~
```
Where `&str` does not implement `CharEq` and `split()` is defined as `fn split<Sep: CharEq>(&self, s: Sep) -> CharSplit<, Sep>`
Both are correct type errors, however the second error is confusing because its not he actual cause, AND it depends on the other type error existing, which IS the actual cause.
Furthermore, sometimes those two errors are emitted in a different order, making it even more confusing to understand.
The basic reasoning here is "&str does not implement CharEq" and "CharSplits<'_, &str> does not Implement something that provides collect() because the only candidate, Iterator, is only implemented if &str implements CharEq". However, the `split` invocation only typechecks if `&str` implements `CharEq`, and hence any type error on the return type becomes irrelevant, as the type would not be valid to begin with.
If possible, typecheck should construct a dependency graph between the type errors it encounters, so that for every pair of type errors `a, b` it is known if `b` depends on `a`.
Using this information, the error messages could be improved in a few ways:
1. Only emit all type errors that are not depended on other type errors (suppressing the superfluous errors)
2. Emit all errors, but in the order of their dependencies so that the actual relevant errors are always the first ones.
3. Emit all errors, but mark all that have any dependencies with a note like "This might be a spurious error"
| C-enhancement,A-diagnostics,T-compiler | low | Critical |
50,460,850 | TypeScript | Some comments not emitted - upgrade 1.0.1 to 1.3.0 | > more file.ts
>
> ``` javascript
> // test
> var f = ''
> // test #2
> module foo {
> function bar() { }
> }
> // test #3
> module empty {
> }
> // test #4
> ```
>
> more file.js
>
> ``` javascript
> // test
> var f = '';
> // test #2
> var foo;
> (function (foo) {
> function bar() {
> }
> })(foo || (foo = {}));
> ```
Looks like comments _after_ a 'block' aren't emitted. Could it be a missing emitTrailingComments(node) ?
| Bug,Help Wanted | low | Major |
50,500,891 | youtube-dl | Support iltalehti.fi (first? tabloid website of Finland) | ERROR: type should be string, got "https://en.wikipedia.org/wiki/Iltalehti\n\n$ youtube-dl --verbose http://www.iltalehti.fi/iltvdigi/201411290140927_v4.shtml\n[debug] System config: ['--prefer-free-formats']\n[debug] User config: []\n[debug] Command-line args: ['--verbose', 'http://www.iltalehti.fi/iltvdigi/201411290140927_v4.shtml']\n[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8\n[debug] youtube-dl version 2014.11.27\n[debug] Python version 2.7.5 - Linux-3.17.2-200.fc20.x86_64-x86_64-with-fedora-20-Heisenbug\n[debug] exe versions: ffmpeg 2.1.3, ffprobe 2.1.3\n[debug] Proxy map: {}\n[generic] 201411290140927_v4: Requesting header\nWARNING: Falling back on generic information extractor.\n[generic] 201411290140927_v4: Downloading webpage\n[generic] 201411290140927_v4: Extracting information\nERROR: Unsupported URL: http://www.iltalehti.fi/iltvdigi/201411290140927_v4.shtml; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.\nTraceback (most recent call last):\n File \"/usr/bin/youtube-dl/youtube_dl/extractor/generic.py\", line 651, in _real_extract\n doc = parse_xml(webpage)\n File \"/usr/bin/youtube-dl/youtube_dl/utils.py\", line 1411, in parse_xml\n tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)\n File \"/usr/lib64/python2.7/xml/etree/ElementTree.py\", line 1300, in XML\n parser.feed(text)\n File \"/usr/lib64/python2.7/xml/etree/ElementTree.py\", line 1642, in feed\n self._raiseerror(v)\n File \"/usr/lib64/python2.7/xml/etree/ElementTree.py\", line 1506, in _raiseerror\n raise err\nParseError: syntax error: line 24, column 0\nTraceback (most recent call last):\n File \"/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 553, in extract_info\n ie_result = ie.extract(url)\n File \"/usr/bin/youtube-dl/youtube_dl/extractor/common.py\", line 240, in extract\n return self._real_extract(url)\n File \"/usr/bin/youtube-dl/youtube_dl/extractor/generic.py\", line 1044, in _real_extract\n raise ExtractorError('Unsupported URL: %s' % url)\nExtractorError: Unsupported URL: http://www.iltalehti.fi/iltvdigi/201411290140927_v4.shtml; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.\n" | site-support-request | low | Critical |
50,554,298 | youtube-dl | www.wienerstadtgespraech.at is not supported | E.g. http://www.wienerstadtgespraech.at/video/bude/
```
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-F', '--verbose', 'http://www.wienerstadtgespraech.at/video/bude/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.11.23.1
[debug] Python version 2.7.6 - Linux-3.13.0-40-generic-i686-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.16-6, avprobe 9.16-6, rtmpdump 2.4
[debug] Proxy map: {}
[generic] bude: Requesting header
WARNING: Falling back on generic information extractor.
[generic] bude: Downloading webpage
[generic] bude: Extracting information
ERROR: Unsupported URL: http://www.wienerstadtgespraech.at/video/bude/; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
```
| site-support-request | low | Critical |
50,723,628 | youtube-dl | [youtube.com] Issue with detecting already downloaded files | Hello,
I noticed that youtube-dl is not able to detect wether a youtube video is already downloaded if it was downloaded as two separated dash streams and merged with avconv and both streams are deleted afterwards.
For example if you download a video with the format 299+141 youtube-dl only checks if there are files called FILENAME.f299.mp4 and FILENAME.f141.m4a and not FILENAME.mp4. This makes it difficult to have a script download whole youtube channels without re-downloading all videos each time.
It would be nice if you could this functionality.
| request | low | Minor |
50,888,009 | youtube-dl | video download from serviziopubblico.it | [debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.serviziopubblico.it/puntate/ricchezza-e-nobilta/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.03
[debug] Python version 2.7.6 - Darwin-14.0.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.4.4, ffprobe 2.4.4
[debug] Proxy map: {}
[generic] ricchezza-e-nobilta: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ricchezza-e-nobilta: Downloading webpage
[generic] ricchezza-e-nobilta: Extracting information
ERROR: Unsupported URL: http://www.serviziopubblico.it/puntate/ricchezza-e-nobilta/; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 651, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1411, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: undefined entity: line 23, column 0
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 553, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 241, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1044, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.serviziopubblico.it/puntate/ricchezza-e-nobilta/; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
| site-support-request | low | Critical |
50,913,671 | rust | Method lookup goes down the auto-deref rabbit hole when it doesn't need to | Here's a pathological example of two types, each implementing `Deref` on the other:
``` rust
use std::ops::Deref;
use std::rc::Rc;
struct Foo;
struct Bar;
impl Deref<Bar> for Foo {
fn deref<'a>(&'a self) -> &'a Bar {
panic!()
}
}
impl Deref<Foo> for Bar {
fn deref<'a>(&'a self) -> &'a Foo {
panic!()
}
}
fn main() {
let foo = Rc::new(Foo);
let foo2 = foo.clone();
}
```
```
<anon>:21:20: 21:27 error: reached the recursion limit while auto-dereferencing alloc::rc::Rc<Foo> [E0055]
<anon>:21 let foo2 = foo.clone();
^~~~~~~
```
Even though `Rc<T>` implements `Clone` and thus has a `clone` method, method resolution still tries to look up methods available via deref. This also happens for trying to call inherent methods on a `Foo` directly (without using `Rc`).
## Update:
Modern code on playground: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=2ca8f056b69c0cd8e4ce0365a6356f02
Current error (as of 2024):
```
error[E0055]: reached the recursion limit while auto-dereferencing `Foo`
--> src/main.rs:23:20
|
23 | let foo2 = foo.clone();
| ^^^^^ deref recursion limit reached
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`playground`)
For more information about this error, try `rustc --explain E0055`.
``` | P-low,T-lang,C-bug | low | Critical |
50,938,499 | youtube-dl | [site-support-request] Please add support for www.icourse163.org | PeterdeMacBook-Pro:~ Lin$ youtube-dl --verbose http://www.icourse163.org/learn/nudt-9004?tid=109001#/learn/content?type=detail&id=200005&cid=216009
[1] 34720
[2] 34721
PeterdeMacBook-Pro:~ Lin$ [debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.icourse163.org/learn/nudt-9004?tid=109001#/learn/content?type=detail']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.03
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[generic] content?type=detail: Requesting header
[redirect] Following redirect to http://www.icourse163.org/course/nudt-9004?tid=109001
[generic] nudt-9004?tid=109001: Requesting header
WARNING: Falling back on generic information extractor.
[generic] nudt-9004?tid=109001: Downloading webpage
[generic] nudt-9004?tid=109001: Extracting information
ERROR: Unsupported URL: http://www.icourse163.org/course/nudt-9004?tid=109001; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 651, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1411, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: undefined entity: line 1, column 16152
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 553, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 241, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1044, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.icourse163.org/course/nudt-9004?tid=109001; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
| site-support-request | low | Critical |
51,272,416 | youtube-dl | Add support for nzz.ch | rudolffischer@BueroPC-RF:~$ youtube-dl "http://www.nzz.ch/panorama/30-jahre-herzschmerz-aus-saas-fee-1.18438209" -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.nzz.ch/panorama/30-jahre-herzschmerz-aus-saas-fee-1.18438209', '-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.06.1
[debug] Python version 2.7.6 - Linux-3.13.0-39-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: rtmpdump 2.4
[debug] Proxy map: {}
[generic] 30-jahre-herzschmerz-aus-saas-fee-1: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 30-jahre-herzschmerz-aus-saas-fee-1: Downloading webpage
[generic] 30-jahre-herzschmerz-aus-saas-fee-1: Extracting information
ERROR: Unsupported URL: http://www.nzz.ch/panorama/30-jahre-herzschmerz-aus-saas-fee-1.18438209; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 651, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1425, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 2, column 42
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 553, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 241, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1044, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.nzz.ch/panorama/30-jahre-herzschmerz-aus-saas-fee-1.18438209; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
rudolffischer@BueroPC-RF:~$
| site-support-request | low | Critical |
51,276,401 | go | proposal: spec: various changes to := | <pre>This code is subtly wrong:
func f() (err os.Error) {
v, err := g();
if err != nil {
return;
}
if v {
v, err := h();
if err != nil {
return;
}
}
}
The := in the if statement causes a new err variable that shadows the
return parameter.
Maybe doing this should be an error. Maybe return parameters should be
special so that := doesn't ever shadow them. (I like the latter.)</pre>
| LanguageChange,Proposal,LanguageChangeReview | high | Critical |
51,276,493 | go | cmd/vet: warn about unused struct or array, ignoring assignment to field or element | by **RyanneDolan**:
<pre>What steps will reproduce the problem?
v := new(struct{i int})
v.i = 1
What is the expected output? What do you see instead?
Should get "v declared and not used" error. Instead, compiles fine.
What is your $GOOS? $GOARCH?
linux/386
Which revision are you using? (hg identify)
54392bd03d06 tip
Please provide any additional information below.
The dot operator should mark its left operand as "used" only when it
appears on the RHS.
a = 1 // 'a' is not marked as used (CORRECT)
v.i = 1 // 'v' is marked as used (WRONG)
a = v.i // 'v' is marked as used (CORRECT)
This bug is important to fix for consistency, and because it confuses new
programmers who might expect reference semantics:
for _,v := range arr {v.i = 1} // doesn't do anything
Mentioned here:
<a href="http://groups.google.com/group/golang-">http://groups.google.com/group/golang-</a>
nuts/browse_thread/thread/342fe61c78916496/fbb57f693f1aca72</pre>
| help wanted,NeedsFix,Analysis | low | Critical |
51,276,517 | go | gccgo: compilation fails on Darwin | by **f.guerrieri**:
<pre>What steps will reproduce the problem?
1. After the fix of <a href="https://golang.org/issue/392">issue #392</a> I updated the svn repo
2. from a clean objdir run configure and make
3. wait for the compilation to fail
What is the expected output? What do you see instead?
go1: warning: internal and protected visibility attributes not supported in
this configuration; ignored
go1: warning: internal and protected visibility attributes not supported in
this configuration; ignored
/var/folders/q1/q1Dz7ZzsFY4lXXLuWTaMgU+++TI/-Tmp-//cc2HM7VZ.s:31:Expected
comma after segment-name
/var/folders/q1/q1Dz7ZzsFY4lXXLuWTaMgU+++TI/-Tmp-//cc2HM7VZ.s:31:Rest of
line ignored. 1st junk character valued 32 ( ).
/var/folders/q1/q1Dz7ZzsFY4lXXLuWTaMgU+++TI/-Tmp-//cc2HM7VZ.s:31:Junk
character 92 (\).
/var/folders/q1/q1Dz7ZzsFY4lXXLuWTaMgU+++TI/-Tmp-//cc2HM7VZ.s:31:Rest of
line ignored. 1st junk character valued 49 (1).
make[3]: *** [runtime/libruntime.a] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libgo] Error 2
make: *** [all] Error 2
What is your $GOOS? $GOARCH?
darwin, 386
Which revision are you using?
~/projects/gccgo 506 $ svn info
Path: .
URL: svn://gcc.gnu.org/svn/gcc/branches/gccgo
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 155457
Node Kind: directory
Schedule: normal
Last Changed Author: ian
Last Changed Rev: 155452
Last Changed Date: 2009-12-24 08:51:30 +0100 (Gio, 24 Dic 2009)
Please provide any additional information below.
Tell me if you need the output of make and/or of configure. I get a good
number of warning during the build.</pre>
| ExpertNeeded,help wanted,NeedsInvestigation | medium | Critical |
51,277,185 | go | cmd/cgo: cannot call functions with variable-argument lists. | by **akidan**:
<pre>A package such as the following will not compile with cgo.
(printf is a contrived example, but this would be useful for bridging objective c
through id objc_msgSend(id self, SEL op, ...);)
--- (file foo.go)
package foo
// #include <stdio.h>
import "C"
func PrintStuff() {
C.printf(C.CString("Hello"))
}
---
$ cgo foo.go
What is the expected output?
Program compiles and is able to call function with variable-argument list.
What do you see instead?
unexpected type: ...
What is your $GOOS? $GOARCH?
darwin amd64
Which revision are you using? (hg identify)
43fd9bb529f0+ tip</pre>
| NeedsInvestigation | low | Major |
51,277,467 | go | os/v2: fix inconsistent casing in names | <pre>Is there any sort of rule about the casing of functions used in the "os"
package? Looking through, it doesn't sound like it's very easy to recall whether a
given function should be called LikeThat or Likethat.
For instance:
Mkdir
MkdirAll
TempDir
Getenv
ForkExec
Readlink
ReadAt
Readdir
It feels very ad-hoc, and hard to recall.</pre>
| v2,NeedsInvestigation | medium | Major |
51,277,898 | go | x/build: set up a qemu builder | by **[email protected]**:
<pre>I noticed a significant improvements in the arm tool chain :-)
I think it makes now a sense to take a closer look at bugs
in different environments.
The first shot is a qemu in user mode:
qemu-arm version 0.12.5
The host is (ubuntu 10.10)
GOARCH=arm
GORUN=qemu-arm
hg identify ba58b167f1fc+ tip
I tried with disabled peep or with GOARM=5, the bugs are similar.
Some syscalls are not covered, (I would propose
a QUEMU_UM to disable tests that use them):
(epoll_create)
netchan\
rpc\
websocket\
Some packages show a non-deterministic behaviour,
a few do always break. I have no clue if qemu, go or
both are buggy:
go/printer\
compress/flate\
compress/gzip\
compress/zlib\
os\
big\
rpc/jsonrpc\
sync\ #(+ run.bash)
bytes\
After disabling them, the test-suite *passed* all remaining tests.
----
Script bugs:
run.bash: cmd/ebnflint ???
run.bash: doc/progs [ "$GOHOSTOS" == windows ] ???
run.bash: doc/codelab/wiki
The test/run script fails with:
./run -v
sed: can't read ./tmp.go: No such file or directory
fail: chan/powser2.go
fail: chan/select3.go
109a110,119
> =========== chan/powser2.go
> throw: malloc/free - deadlock
>
> [signal 0xb code=0x1 addr=0x0 pc=0x15720]
>
>
> =========== chan/select3.go
> qemu-arm: /build/buildd/qemu-kvm-0.12.5+noroms/cpu-exec.c:784: handle_cpu_signal:
Assertion `__ret == (abi_ulong)__ret' failed.
> $RUNFILE: line 1: PID Aborted $E ./$A.out
>
158a169,174
>
> =========== fixedbugs/bug243.go
> Unsupported setsockopt level=41 optname=26
> qemu: Unsupported syscall: 250
> Start pollServer: epoll_create: function not implemented
> Unsupported setsockopt level=41 optname=26
1 known bugs; 0 unexpected bugs; test output differs
The captured outputs are attached.</pre>
Attachments:
1. <a href="https://storage.googleapis.com/go-attachment/1508/0/qemu-um-bugs.txt">qemu-um-bugs.txt</a> (26808 bytes)
| help wanted,Builders,NeedsInvestigation,new-builder | medium | Critical |
51,278,171 | go | cmd/cgo: add C.WcharString | <pre>for calling routines that need a wchar_t*</pre>
| help wanted,FeatureRequest | medium | Major |
51,278,400 | go | cmd/compile: 1.3MB program takes 290MB of memory to compile | <pre>When compiling pkg/exp/eval or test/64bit.go, RSS memory usage using 5g or 6g exceeds
100mb.
What is the expected output?
RSS usage should be more inline with other packages, around 10-20 mb
What do you see instead?
When compiling pkg/exp/eval or test/64bit.go, RSS memory usage using 5g or 6g exceeds
100mb.
Which compiler are you using (5g, 6g, 8g, gccgo)?
5g and 6g
Which operating system are you using?
Debian 6 amd64 and arm5
Which revision are you using? (hg identify)
+tip
Please provide any additional information below.</pre>
| Performance | low | Major |
51,278,874 | go | cmd/link: generate mingw-compatible symbol table | <pre>As per summary.</pre>
| NeedsInvestigation | low | Major |
51,279,108 | go | image/jpeg: chroma downsampling ratios are restricted | by **laeuter**:
<pre>What steps will reproduce the problem?
1. Try to decode my JPEG photos
What is the expected output?
They should be decodable
What do you see instead?
A good number is rejected with the UnsupportedError "chroma downsample ratio".
Inspection show that the (h,v) pairs of the components are (2,2), (1,1), (2,2).
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
MacOS X 10.7.1
Which revision are you using? (hg identify)
32a5db196298 (release-branch.r60) release/release.r60.2
Please provide any additional information below.
I tried to recode the images by opening them in other programs, rotating and resaving
them, but in most cases the images remain undecodable.</pre>
| NeedsInvestigation | medium | Critical |
51,279,131 | go | x/pkgsite: generate static docs | <pre>It is fairly trivial to compile a given Go version and run the doc server locally to
search for an older API.
But it would be nice if golang.org provided access to docs per release. One simple
solution to this is to add an option to godoc to generate static docs on disk -- just a
tree of static files (search would be disabled of course). Then docs for old versions
could be made available somewhere in golang.org.
One additional benefit is that projects that want to ship docs could generate the static
files and provide the html files for download, or create pdfs, chms etc based on them.
PS: I tried searching for a similar issue; sorry if this is a duplicate.</pre>
| NeedsInvestigation,FeatureRequest,pkgsite | high | Critical |
51,279,198 | go | cmd/compile: include registerization info for gdb | <pre>What steps will reproduce the problem?
foo.go:
package main
import "os"
type I interface{}
func main() {
var i I = 1
os.Exit(i.(int))
}
6g foo.go
6l foo.6
gdb 6.out
GNU gdb (GDB) 7.2-gg20
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html>">http://gnu.org/licenses/gpl.html></a>;
Type "show copying" and "show warranty" for licensing/warranty
details.
This GDB was configured as "x86_64-linux".
<<a href="http://wiki/Main/GnuDebugger">http://wiki/Main/GnuDebugger</a> FAQ: <a href="http://go/gdb">http://go/gdb</a> Email: gdb-team IRC: #gdb>
Hey, I'm GDB 7.x. Check me out! <a href="http://wiki/Main/Gdb7x">http://wiki/Main/Gdb7x</a>
Reading symbols from /home/iant/gcc/gccgo2-objdir/6.out...done.
Loading Go Runtime support.
(gdb) break foo.go:9
Breakpoint 1 at 0x400c36: file /home/iant/foo1.go, line 9.
(gdb) run
Starting program: /home/iant/gcc/gccgo2-objdir/6.out
Breakpoint 1, main.main () at /home/iant/foo1.go:9
9 os.Exit(i.(int))
(gdb) print i
No symbol "i" in current context.
(gdb) info locals
No locals.
(gdb) step
runtime.assertE2T (t=void, e=void) at /home/iant/go/src/pkg/runtime/iface.c:286
286 runtime·assertE2T(Type *t, Eface e, ...)
(gdb) finish
Run till exit from #0 runtime.assertE2T (t=void, e=void)
at /home/iant/go/src/pkg/runtime/iface.c:286
0x0000000000400c4f in main.main () at /home/iant/foo1.go:9
9 os.Exit(i.(int))
(gdb) print i
No symbol "i" in current context.
(gdb) step
os.Exit (code=1) at /home/iant/go/src/pkg/os/proc.go:34
34 func Exit(code int) { syscall.Exit(code) }
What is the expected output?
I expect to see information about the local variable.</pre>
| NeedsInvestigation | low | Critical |
51,279,283 | go | cmd/gofix: typechecker should vet input | <pre>in gofix:
Method entries require "func()".
Func entries require not having it.
both should be consistent, and the
type checker should panic when presented
with input it doesn't understand.</pre>
| NeedsInvestigation | low | Major |
51,279,382 | go | cmd/compile: static init maps should never generate code | <pre>so that unreferenced maps can be dropped by linker</pre>
| Performance,NeedsInvestigation,binary-size | high | Critical |
51,279,393 | go | cmd/go: distingush between command line and gui apps on windows | <pre>Something that is controlled by "-H windows" / "-H windowsgui" flag
in 8l/6l at this moment.</pre>
| OS-Windows | low | Major |
51,279,634 | go | cmd/compile: why are stack frames so large? | <pre>In src/cmd/go, scanPackage has a 1816-byte stack frame on my 64-bit Mac.
Quickly counting local variables I see about 46 words worth of automatics,
so 368 bytes. Where is the rest?</pre>
| Performance,help wanted | medium | Major |
51,279,872 | go | x/tools/build/dashboard: email notify on subrepo breakages | <pre>Send mail when a sub-repository fails to build.</pre>
| NeedsInvestigation | low | Major |
51,279,949 | go | go/doc: collect methods from embedded interfaces | <pre>Summary says it all.</pre>
| NeedsInvestigation | low | Major |
51,280,143 | go | proposal: spec: cannot assign to a field of a map element directly: m["foo"].f = x | <pre>The non-addressability requirement of map index expressions makes sense by itself since
we don't want a surviving pointer to a map element.
But surely it should be ok to have an invisible temporary pointer p to the respective
field which is just used during the assignment (*p = x). It seems that this doesn't
introduce any more issues than what we have already when assigning to a larger map
element that cannot be assigned to atomically.
E.g., the following program should be legal:
package main
import "fmt"
var m = map[string]struct{x, y int} {
"foo": {2, 3},
}
func main() {
m["foo"].x = 4 // cannot assign to m["foo"].x
fmt.Println(m)
}</pre>
| LanguageChange,Proposal,LanguageChangeReview | high | Critical |
51,280,192 | go | compress/flate: api to configure sliding window size | <pre>It seems there is no way to set window size in current compress/flate API. (it looks
const value now)
In <a href="http://tools.ietf.org/html/draft-tyoshino-hybi-websocket-perframe-deflate-05">http://tools.ietf.org/html/draft-tyoshino-hybi-websocket-perframe-deflate-05</a>, there
is a parameter to limit the LZ77 sliding window size.
I think I need such API in go.net/websocket.
Could you add some API to set window size in future (after Go1)?
When tip added new API, could I use the package in Go1 with
import "code.google.com/p/go/compress/flate"
or so?</pre>
| help wanted | medium | Major |
51,280,193 | go | cmd/api: work with gccgo | <pre>And use it to track the two implementations stay in sync.</pre>
| Suggested | low | Major |
51,280,248 | go | x/pkgsite: list main programs / commands separately from other packages | <pre>This is a follow-up to the really nice update from Russ with CL:
<a href="http://golang.org/cl/5711058/">http://golang.org/cl/5711058/</a>
It will be nice to separate user ($GOPATH) commands from packages in directory listing.
One way to do this is to show user commands (from $GOPATH/src/cmd/*) in Commands view,
and not in Packages view.
godoc currently handles user packages found in $GOPATH nicely, by putting user packages
alongside built-in packages, so one sees all the packages available to him.
In the same vein, it will be nice if godoc can handle commands, by putting user commands
alongside built-in commands.
For example, suppose you have:
$GOPATH/src/{pkg1...n}
$GOPATH/src/cmd/{cmd1...n}
It will be nice if godoc skips showing anything under src/cmd in the
"Packages" view (ie skip cmd/{cmd1...n}), and show stuff under src/cmd/
({cmd1...n}) in the "Commands" view.
Currently, I see my commands in the Packages view, and the import line is wrong, and
there's really no extra information it gives, since I can't use the command code in any
other packages (so it ends up adding clutter).
To illustrate further, in my codebase, when I run godoc, I see my commands somewhere in
the middle of the pack, below my b###.net/* and bytes packages and before
code.google.com/* packages. It's very easy to miss (especially with the comfortable
spacing style), and you wouldn't realize those are not actually packages, but commands.
I then click the "Commands" link where I'd expect to see them, but see only
the standard ones (like go, gofmt, vet, yacc, etc).
(This suggestion is limited to godoc alone; the definition of $GOPATH and its
interaction with go command shouldn't be affected)
##################### DETOUR ######################
It will also be nice if there's a quick link above Packages/Commands views to:
.. (up one directory level)
Packages
Commands
Currently, the .. is way at the bottom (along with Sub Directories), and to get to
Packages or Commands listing, you have to click References at the top and start over.
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
Linux
Which revision are you using? (hg identify)
ba91b34fe212+ tip
Please provide any additional information below.</pre>
| NeedsInvestigation,pkgsite | low | Major |
51,280,375 | go | x/build: allow installation in a different directory on macos | <pre>The default is /usr/local/go, but it would be nice if it could do the right things if
you elect to install elsewhere.</pre>
| help wanted,OS-Darwin | low | Major |
51,280,389 | go | gccgo: gcov branch coverage doesn't look quite right | <pre>What steps will reproduce the problem?
<a href="https://groups.google.com/d/msg/golang-nuts/g8DsZaN8o9Q/hsY_83nDGiMJ">https://groups.google.com/d/msg/golang-nuts/g8DsZaN8o9Q/hsY_83nDGiMJ</a>
What do you see instead?
look at a report like
<a href="http://alberts.github.com/home/alberts/deps/src/code.google.com/p/go.crypto/cast5/cast5.go.gcov.html">http://alberts.github.com/home/alberts/deps/src/code.google.com/p/go.crypto/cast5/cast5.go.gcov.html</a>
there's lots of untaken branches in places that look like code that doesn't involve
branches at all.
I'm wondering if it's due to bounds checks, allocations that could fail, etc.
Overall, I think these make the branch coverage numbers less useful than they could be.
Which compiler are you using (5g, 6g, 8g, gccgo)?
gccgo
Which operating system are you using?
linux
Which revision are you using? (hg identify)
gofrontend rev ca4aaf510222</pre>
| NeedsInvestigation | low | Major |
51,280,513 | go | x/crypto/ssh/terminal: file descriptor type is inconvenient | by **jeff.allen**:
<pre>What steps will reproduce the problem?
1. write terminal.MakeRaw(os.Stdout.Fd())
2. notice it doesn't compile
3. write terminal.MakeRaw(int(os.Stdout.Fd()))
What is the expected output?
It would be nicer if MakeRaw agreed with Fd() that the type of a file descriptor is
uintptr.
Which revision are you using? (hg identify)
bce220d03774 weekly/weekly.2012-03-22</pre>
| NeedsInvestigation | low | Major |
51,280,542 | go | x/pkgsite: support custom build tags list | <pre>Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull", "hg update default", rebuild, and
retry
what you did to reproduce the problem. Thanks.
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Run godoc on a package having some files with build constraints e.g. // +build ignore
2. The files are skipped by godoc and their contents are not reflected in godoc output.
I don't see the files listed either.
3.
What is the expected output?
I expected to see the information in godoc.
What do you see instead?
Nothing.
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
Linux
Which version are you using? (run 'go version')
Running at tip, but go version gives:
go version weekly.2012-03-22 +de7e784537ac
Please provide any additional information below.</pre>
| NeedsInvestigation,FeatureRequest,pkgsite | medium | Critical |
51,280,551 | go | syscall: support 'mode 2 seccomp' on Linux | <pre>Ubuntu 12.04 LTS comes with "mode 2 seccomp" and the mainline kernel is
currenly in the process of accepting seccomp patches.
In short, "mode 2 seccomp" adds an ability to apply syscall filters to the
current process.
A good tutorial is <a href="http://outflux.net/teach-seccomp/">http://outflux.net/teach-seccomp/</a>
I have tested it with the daily build of Ubuntu 12.04 LTS,
$ uname -a
Linux krasin-seccomp 3.2.0-20-generic #32-Ubuntu SMP Thu Mar 22 02:22:46 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux
I understand that this feature is not on top of the priority, but when Go 1 is here, it
would be probably time to add this support.</pre>
| NeedsInvestigation | medium | Critical |
51,280,591 | go | go/build: ImportDir accepts directories that don't exist | <pre>What steps will reproduce the problem?
<a href="http://play.golang.org/p/P1R9-ON7KU">http://play.golang.org/p/P1R9-ON7KU</a>
What is the expected output?
Some sort of error.
What do you see instead?
An incomplete build.Package describing something that doesn't exist.
Which compiler are you using (5g, 6g, 8g, gccgo)?
gc
Which version are you using? (run 'go version')
go1</pre>
| Thinking | medium | Critical |
51,280,994 | go | encoding/xml: foo>bar,attr - foo ignored | by **krolaw**:
<pre>see - <a href="http://play.golang.org/p/KIbSFNO0Sz">http://play.golang.org/p/KIbSFNO0Sz</a>
In the case of foo>bar,attr
foo is ignored in both Marshal an Unmarshal. This behavior contradicts tags.
Thanks.</pre>
| Suggested | high | Critical |
51,281,324 | go | doc: document typical runtime requirements of Go programs | by **hadrien.grasland**:
<pre>While browsing the golang.org website, I was unable to find a satisfactory documentation
of the run-time requirements of Go programs.
I did explore the "tiny" toy OS kernel example of the Go source tree, but it
is now deprecated. The "How is the run-time support implemented?" FAQ entry,
on its side, only provides compiler-specific data, and with no guarantee that it will
remain valid in the future.
I believe that documenting these in the spec (the "System considerations"
section comes to mind) is important if Go is to be used for system programming tasks. As
of now, there is no way to clearly draw the line between what can be implemented in Go
and what must be implemented in a lower-level language like C or C++, in a manner that
won't change in the future. There is also no way to guarantee that switching or
upgrading compilers won't break existing Go system software by suddenly adding more
run-time requirements.</pre>
| Documentation,NeedsInvestigation | low | Major |
51,281,388 | go | proposal: spec: remove string(int) | <pre>The conversion of an integer to a string was put in very early to bootstrap formatted
printing, if I remember correctly. It's odd, though, and no longer necessary, if it ever
was. It also causes inconsistencies, since string(0xD800) cannot produce the UTF-8
encoding for that code point (by definition, surrogates are not legal in UTF-8) so must
produce something else. We chose the "\uFFFD" since that's the only reasonable
option, but that means:
1) the result isn't obvious
2) string(0xD800) and "\uD800" do different things: the former produces the
UTF-8 for U+FFFD while the latter is statically rejected.
I propose that, in some remote future, we eliminate this conversion from the language.</pre>
| LanguageChange,Proposal,LanguageChangeReview | high | Critical |
51,281,707 | go | reflect: MakeInterface | <pre>Feature request for MakeInterface, to go along with the newly-arrived MakeFunc (Issue
1765).
Good goal would be gomock without source code generation.</pre>
| NeedsInvestigation | high | Critical |
51,281,861 | go | cmd/compile: output variable names in data race reports | <pre>It would be nice if in data race reports we print variable size and symbolic name as
well. E.g. "Read of 'foo.Bar'".</pre>
| RaceDetector | low | Minor |
Subsets and Splits