Posts

Showing posts from January 7, 2019

1986 San Francisco Giants season

Image
1986 San Francisco Giants season From Wikipedia, the free encyclopedia Jump to navigation Jump to search 1986 San Francisco Giants Major League affiliations National League (since 1883) Western Division (since 1969) Location Candlestick Park (since 1960) San Francisco (since 1958) Other information Owner(s) Bob Lurie General manager(s) Al Rosen Manager(s) Roger Craig Local television KTVU (Hank Greenwald, Gary Park) GiantsVision (Joe Morgan, Phil Stone, Duane Kuiper) Local radio KNBR (Hank Greenwald, Phil Stone) KIQI (Tito Fuentes, Edgard Martinez) < Previous season     Next season > The 1986 San Francisco Giants season was the Giants' 104th season in Major League Baseball, their 29th season in San Francisco since their move from New York following the 1957 season, and their 27th at Candlestick Park. The team finished in third place in the National League West with an 83-79 record, 13 games behind the Houston Astros. Contents 1

Qt Sql error coming from nowhere: No query Unable to fetch row

Image
1 I have a client connected to a server, and it is also connected to a Sqlite3 database. When I receive a message from the server a get an QMessageBox showing an error "No query Unable to fetch row" I tried it with qDebug() outputs and by Debugging the application but the message is not produced by me nor thrown by any DB execution, since none is executed at the moment when I get the message. Ok I figured out that the error is shown when I write something to the socket. The error does not affect anything, the program continues to run. Here is the code piece were the error is shown: void ConnectionHandler::sendBytes(QByteArray bytes) QMessageBox::critical(0, "test", "test"); this->socket->write(bytes); this->socket->flush(); // after this call the error message is shown this->socket->waitForBytesWritten(); QMessageBox::critical(0, "test2", "test2"); I checked the bytes that are supposed to be written