Thursday, August 28, 2008

Stream seek error


Hi all!


Since Npgsql RC1, we started to receive some error reports about problems when closing connections. The typical stack trace looked like this:



System.NotSupportedException : This stream does not support seek operations.

at System.Net.Sockets.NetworkStream.Seek(Int64 offset, SeekOrigin origin)

at System.IO.BufferedStream.FlushRead()
at System.IO.BufferedStream.WriteByte(Byte value)

at Npgsql.NpgsqlQuery.WriteToStream(Stream outputStream) in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlQuery.cs:line 62

at Npgsql.NpgsqlReadyState.QueryEnum(NpgsqlConnector context, NpgsqlCommand command) in
C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlReadyState.cs:line 64

at Npgsql.NpgsqlConnector.ReleasePlansPortals() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnector.cs:line 373

at Npgsql.NpgsqlConnectorPool.UngetPooledConnector(NpgsqlConnection Connection, NpgsqlConnector Connector)
in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnectorPool.cs:line 541

at Npgsql.NpgsqlConnectorPool.ReleasePooledConnector(NpgsqlConnection Connection, NpgsqlConnector Connector) in
C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnectorPool.cs:line 284

at Npgsql.NpgsqlConnection.Close() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnection.cs:line 584



This seems to be caused by some out of sync problem with Npgsql. I proposed a solution in our bug tracking about this problem.

Please, give it a try and let me know if it solves the problem.

Thanks in advance.

Server donation received!


Hi all!

Today, Npgsql received a server donation from a person who prefers to remain anonymous.
With it, we will be able to provide nightly builds as well as a continuous integration build service. We are thinking about using CruiseControl.Net

Thank you very much for the donation!

Tuesday, August 05, 2008

Pé quebrado - Broken foot


Olá, pessoal!

Ontem eu quebrei o meu pé descendo as escadas!! Tristeza total. :(
Vou ficar 30 dias com gesso e esperar pelo melhor.

A parte boa disso é que eu vou ter mais tempo para o Npgsql e para ver TV :)

-------------

Hi, all!
Yesterday I broke my foot while I was going down the stairs!! Absolute sadness :(
I'm going to stay 30 days in plaster e hope for the best.

The good part of all this is that I'll have more time for Npgsql and to watch TV :)