Vesa-Matti Sarenius | 21 Oct 06:17
Picon
Picon

Error compiling the cvs-version

Hi!

I am getting this error, compiling valknut, dclib did compile ok:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDEBUG -I/usr/lib/qt-3.1/include
-I/usr/X11R6/include  -Iui  -DQT_THREAD_SUPPORT
-D_REENTRANT -Wnon-virtual-dtor -Wno-long-lo                     ng
-Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -fno-builtin -g3 -fno-inline
-Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common -I/usr/local/include
-I/usr/include/libxml2  -Wnon-virtual-dtor -Wn
o-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -fno-builtin -g                     3
-fno-inline -Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-                     check-new -fno-common  -c -o dcupdatemanager.o
`test -f 'dcupdatemanager.cpp' ||                      echo
'./'`dcupdatemanager.cpp
dcclient.cpp: In member function `void DCClient::InitDocument()':
dcclient.cpp:233: error: `handleWidth' undeclared (first use this
function)
dcclient.cpp:233: error: (Each undeclared identifier is reported only once
for
   each function it appears in.)
dcclient.cpp: In member function `void DCClient::slotSaveColumnWidth(int,
int,
   int)':
dcclient.cpp:1680: warning: unused parameter `int oldSize'
(Continue reading)

Rafal Prasal | 24 Oct 23:40
Picon
Favicon

Reading from socket

is there any buffering of data read from socket?

what if command goes to valknut in two packets?

do you test if command from hub has a '|' at the end before it is executed?

--

-- 
Pozdrawiam, Rafał R <at> V Prasał (GG#1392912)
Tommy Thorsen | 29 Oct 12:42
Picon
Favicon

Error compiling the cvs-version

Yesterday, when trying to build from cvs, I saw the same compile-problem 
as the one reported by Vesa-Matti Sarenius. It appears that the function 
QSplitter::handleWidth() does not exist in my qsplitter.h in my QT 
(version 3.1). From looking at Trolltechs online documentation, it 
appears this function was introduced between version 3.1.2 and version 
3.2.3.

I haven't had time to try yet, but I guess it would work to upgrate the 
QT version. I think I saw someplace, though, that Valknut was supposed 
to work with QT 3.x. If we want it to continue working with all QT 
versions from 3.0 upwards, we will need to change the two offending lines.

The change was introduced in version 1.274 of dcclient.cpp iirc. I think 
the change was checked in by mathen in august sometime.

-Tommy
Robin Hill | 31 Oct 00:13
Picon

Re: Error compiling the cvs-version

On Fri Oct 29, 2004 at 12:42:32PM +0200, Tommy Thorsen wrote:

> Yesterday, when trying to build from cvs, I saw the same compile-problem 
> as the one reported by Vesa-Matti Sarenius. It appears that the function 
> QSplitter::handleWidth() does not exist in my qsplitter.h in my QT 
> (version 3.1). From looking at Trolltechs online documentation, it 
> appears this function was introduced between version 3.1.2 and version 
> 3.2.3.
> 
> I haven't had time to try yet, but I guess it would work to upgrate the 
> QT version. I think I saw someplace, though, that Valknut was supposed 
> to work with QT 3.x. If we want it to continue working with all QT 
> versions from 3.0 upwards, we will need to change the two offending lines.
> 
> The change was introduced in version 1.274 of dcclient.cpp iirc. I think 
> the change was checked in by mathen in august sometime.
> 
Yes, this was a bit of code I'd added in - I forgot to check which
versions of QT it was provided in :(

You can download a patch against the current CVS from
http://www.robinhill.me.uk/files/valknut-savelayout-20041030.diff.gz -
I've changed the way the feature was being implemented & expanded it
slightly.  It now saves the column order & widths for the user list and
all panels on the transfer list, along with the slots granted, so these
are restored when restarting valknut.

Cheers,
        Robin
--

-- 
(Continue reading)

Paul Chatzidimitriou | 31 Oct 13:14
Picon
Favicon

connect problem

Hi i recently download and install dc-0.3.2.tar.bz2 ok in yoper linux 
2.1 but when i start it and try to connect i get this message : 
[14:06:37] <DCGUI> Error: 'Resolver error.'
                           [14:06:37] <DCGUI> Disconnected
Any ideas?
Robin Hill | 31 Oct 14:25
Picon

Re: connect problem

On Sun Oct 31, 2004 at 02:14:36PM +0200, Paul Chatzidimitriou wrote:

> Hi i recently download and install dc-0.3.2.tar.bz2 ok in yoper linux 
> 2.1 but when i start it and try to connect i get this message : 
> [14:06:37] <DCGUI> Error: 'Resolver error.'
>                           [14:06:37] <DCGUI> Disconnected
> Any ideas?

"Resolver error" would suggest it's having problems resolving the
hostname of the hub to an IP address.  Try doing "dig hostname" (e.g.
"dig dcgui.homelinux.org") from a console.

HTH,
        Robin
--

-- 
     ___        
    ( ' }     |       Robin Hill        <robin <at> robinhill.me.uk> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

Gmane