Bug Report

View: New views
5 Messages — Rating Filter:   Alert me  

Bug Report

by Wilcox, Tom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Found error whilst following the setup from "Fictional Story" in documentation. See attached.

Whilst performing cmd: "mtn ssh_agent_export ./.shh/id_monotone"

Err Msg:

...
Mtn: fatal: Botan::Stream_IO_Error: Botan: I/O Error: DataSink_Stream: Failure writing to std::ostream
...

T

monotone 0.40 (base revision: 5ccc279f9dea0444b47f03dd5291ecc985fcb7f6)
Running on          : Windows NT/2000/XP/2003 (5.1, build 2600, Service Pack 2) on ia32 (level 15, rev 1025)
C++ compiler        : GNU C++ version 3.4.5 (mingw special)
C++ standard library: GNU libstdc++ version 20051201
Boost version       : 1_34_1
Changes since base revision:
format_version "1"

new_manifest [0fcbb0ac9e81ed63e9594ffb2807ece15035b31a]

old_revision [dedb7e96fe917e0e8a30862b38e8092eefd7afa3]

patch "win32/monotone.iss"
 from [fe681cbaf7a90c2b7d01a5f529a975bc062ae04e]
   to [35a5602603ccd6435f5ca667fa6824d7c5ef5def]

  Generated from data cached in the distribution;
  further changes may have been made.


_______________________________________________
Monotone-devel mailing list
Monotone-devel@...
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Re: Bug Report

by Thomas Keller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Tom!

Wilcox, Tom schrieb:
> Found error whilst following the setup from "Fictional Story" in
> documentation. See attached.
>
> Whilst performing cmd: "mtn ssh_agent_export ./.shh/id_monotone"
>
> Err Msg:
>
> ... Mtn: fatal: Botan::Stream_IO_Error: Botan: I/O Error:
> DataSink_Stream: Failure writing to std::ostream ...

Sounds like you wanted to write to

~/.ssh/id_monotone

? If this was just a typo in this email and there is still an error,
please run the command again with --debug and attach the full output in
your next email...

Thanks,
Thomas.

--
GPG-Key 0x160D1092 | tommyd3mdi@... | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en



_______________________________________________
Monotone-devel mailing list
Monotone-devel@...
http://lists.nongnu.org/mailman/listinfo/monotone-devel

signature.asc (265 bytes) Download Attachment

Re: Bug Report

by Tim Kettler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Wilcox, Tom schrieb:
> Found error whilst following the setup from "Fictional Story" in documentation. See attached.
>
> Whilst performing cmd: "mtn ssh_agent_export ./.shh/id_monotone"
>
> Err Msg:
>
> ...
> Mtn: fatal: Botan::Stream_IO_Error: Botan: I/O Error: DataSink_Stream: Failure writing to std::ostream
> ...

I can reproduce this when the '.ssh' directory does not exist. I tested
with a non-dot directory as well, with the same result. It seems that
monotone doesn't create the missing directory. When the directory exists
everything is working.

The fix would be to either create the directory or at least print a more
meaningful error message.

>
> T
>

-Tim



_______________________________________________
Monotone-devel mailing list
Monotone-devel@...
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Re: Bug Report

by Nathaniel Smith :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jul 5, 2008 at 1:52 PM, Tim Kettler <tim.kettler@...> wrote:
> The fix would be to either create the directory or at least print a more
> meaningful error message.

Yeah, it looks like the bug is just that ssh_agent_export isn't
properly checking for errors on the file-open call, so when that fails
you're getting the ugly default "unhandled exception" error message
instead of a prettier one.  So it should be fixed, but doesn't
represent any kind of dire data-eating problem, just a cosmetic one.

-- Nathaniel


_______________________________________________
Monotone-devel mailing list
Monotone-devel@...
http://lists.nongnu.org/mailman/listinfo/monotone-devel

RE: Bug Report

by Wilcox, Tom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oh dear. Apologies. It seems that there was a typo. Also, I found that it would create the directory if it does not exist..

Cheers,
Tom

-----Original Message-----
From: Thomas Keller [mailto:me@...]
Sent: 05 July 2008 21:11
To: Wilcox, Tom
Cc: monotone-devel@...
Subject: Re: [Monotone-devel] Bug Report


Hi Tom!

Wilcox, Tom schrieb:
> Found error whilst following the setup from "Fictional Story" in
> documentation. See attached.
>
> Whilst performing cmd: "mtn ssh_agent_export ./.shh/id_monotone"
>
> Err Msg:
>
> ... Mtn: fatal: Botan::Stream_IO_Error: Botan: I/O Error:
> DataSink_Stream: Failure writing to std::ostream ...

Sounds like you wanted to write to

~/.ssh/id_monotone

? If this was just a typo in this email and there is still an error, please run the command again with --debug and attach the full output in your next email...

Thanks,
Thomas.

--
GPG-Key 0x160D1092 | tommyd3mdi@... | http://thomaskeller.biz Please note that according to the EU law on data retention, information on every electronic information exchange might be retained for a period of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en



_______________________________________________
Monotone-devel mailing list
Monotone-devel@...
http://lists.nongnu.org/mailman/listinfo/monotone-devel
LightInTheBox - Buy quality products at wholesale price!