Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
May 14, 2010 [Issue 4187] New: Error Message for std.file.remove outputting wrong file and line | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4187 Summary: Error Message for std.file.remove outputting wrong file and line Product: D Version: 2.041 Platform: Other OS/Version: Windows Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: Jesse.K.Phillips+D@gmail.com CC: Jesse.K.Phillips+D@gmail.com --- Comment #0 from Jesse Phillips <Jesse.K.Phillips+D@gmail.com> 2010-05-14 16:41:15 PDT --- Using remove on a file that does not exist will result in a compiler error that not clear what the issue is example below: import std.file; void main() { remove("IDontExist.txt"); } std.file.FileException: In std\file.d(400), data file IDontExist.txt: The operation completed successfully. The exception is return the the file and line number in std.file rather than the line in my code. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 18, 2010 [Issue 4187] Error Message for std.file.remove outputting wrong file and line | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | http://d.puremagic.com/issues/show_bug.cgi?id=4187 David Simcha <dsimcha@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dsimcha@yahoo.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 18, 2010 [Issue 4187] Error Message for std.file.remove outputting wrong file and line | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | http://d.puremagic.com/issues/show_bug.cgi?id=4187 David Simcha <dsimcha@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #1 from David Simcha <dsimcha@yahoo.com> 2010-06-17 18:06:55 PDT --- Ignore my having marked this as resolved. It was by accident. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 18, 2010 [Issue 4187] Error Message for std.file.remove outputting wrong file and line | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | http://d.puremagic.com/issues/show_bug.cgi?id=4187 Brad Roberts <braddr@puremagic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |braddr@puremagic.com Resolution| |DUPLICATE --- Comment #2 from Brad Roberts <braddr@puremagic.com> 2010-06-17 18:26:02 PDT --- you were right.. or even better, closing as a dup of another identical ticket. *** This issue has been marked as a duplicate of issue 4188 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 18, 2010 [Issue 4187] Error Message for std.file.remove outputting wrong file and line | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | http://d.puremagic.com/issues/show_bug.cgi?id=4187 Jesse Phillips <Jesse.K.Phillips+D@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE | --- Comment #3 from Jesse Phillips <Jesse.K.Phillips+D@gmail.com> 2010-06-18 08:47:55 PDT --- This is not an identical ticket to issue 4188, it uses the same example but is reporting on different portions of the message. 4188 is related to the message "The operation completed successfully." This issue is with reporting the incorrect file and line number for the offending code. And it has not been fixed in version 2.047 std.file.FileException: In std\file.d(409), data file IDontExist.txt: The system cannot find the file specified. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 09, 2011 [Issue 4187] Error Message for std.file.remove outputting wrong file and line | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | http://d.puremagic.com/issues/show_bug.cgi?id=4187 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED CC| |andrei@metalanguage.com AssignedTo|nobody@puremagic.com |andrei@metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 20, 2012 [Issue 4187] Error Message for std.file.remove outputting wrong file and line | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | http://d.puremagic.com/issues/show_bug.cgi?id=4187 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #4 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-20 14:45:41 PST --- I think this is now supposed to be handled by reading the stack trace. Otherwise there are plenty of functions in Phobos which would be candidates of taking __LINE__ and __FILE__, but I'm not sure if it's worth doing that.. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 20, 2012 [Issue 4187] Error Message for std.file.remove outputting wrong file and line | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | http://d.puremagic.com/issues/show_bug.cgi?id=4187 Jesse Phillips <Jesse.K.Phillips+D@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Jesse Phillips <Jesse.K.Phillips+D@gmail.com> 2012-12-20 15:04:08 PST --- (In reply to comment #4) I think I can agree with that. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation