<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>101116</bug_id>
          
          <creation_ts>2005-03-08 18:46:40 +0000</creation_ts>
          <short_desc>On Solaris 2.6 the new trash mechanism does not work</short_desc>
          <delta_ts>2005-03-11 11:47:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kio</product>
          <component>trash</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Solaris</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Steve Evans">stevee</reporter>
          <assigned_to name="David Faure">faure</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>322213</commentid>
    <comment_count>0</comment_count>
    <who name="Steve Evans">stevee</who>
    <bug_when>2005-03-08 18:46:40 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.3.92)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.3 
OS:                Solaris

On Solaris 2.6 if I attempt to move a file to the wastebin I get a progress dialogue with empty Source and Destination fields and the file does not get moved.

Also if I select Go/Wastebin in Konqueror&apos;s menu the resulting window has a continually spinning wheel icon and the stop button stays on red.

This happens when I log in as a new user so there are no legacy settings to interfere with the process :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>322221</commentid>
    <comment_count>1</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2005-03-08 19:09:13 +0000</bug_when>
    <thetext>On Tuesday 08 March 2005 18:46, stevee@zuken.co.uk wrote:
&gt; Also if I select Go/Wastebin in Konqueror&apos;s menu the resulting window has a continually spinning wheel icon and the stop button stays on red.

Ouch. Can you check for messages from kio_trash in your log files?
On linux it&apos;s ~/.xsession-errors, it mostly depends on how you start the X server.
Alternatively, type kdeinit in a terminal and try again, to get kio_trash&apos;s output in that terminal.


Also, can you use the regression-testing program to find out at which point it breaks?
cd kdebase/kioslave/trash ; make check
add &quot;&gt;log 2&gt;&amp;1&quot; without the quotes, to get a log file out of it.

Thanks.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>322441</commentid>
    <comment_count>2</comment_count>
    <who name="Steve Evans">stevee</who>
    <bug_when>2005-03-09 12:21:12 +0000</bug_when>
    <thetext>There are no messages from kio_trash in my log file.

Here is the output from the test program:

Making check in .
gmake[1]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
gmake  testtrash
gmake[2]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include   -I/gorbag/exta/cad/externals/SOLARIS/include  -DQT_THREAD_SUPPORT -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT testtrash.o -MD -MP -MF &quot;.deps/testtrash.Tpo&quot; -c -o testtrash.o testtrash.cpp; \
then mv -f &quot;.deps/testtrash.Tpo&quot; &quot;.deps/testtrash.Po&quot;; else rm -f &quot;.deps/testtrash.Tpo&quot;; exit 1; fi
testtrash.cpp: In member function `void TestTrash::urlTestFile()&apos;:
testtrash.cpp:286: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::urlTestDirectory()&apos;:
testtrash.cpp:301: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::urlTestSubDirectory()&apos;:
testtrash.cpp:316: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::trashFile(const QString&amp;, const QString&amp;)&apos;:
testtrash.cpp:363: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::trashFileIntoOtherPartition()&apos;:
testtrash.cpp:460: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::trashFileOwnedByRoot()&apos;:
testtrash.cpp:500: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::delRootFile()&apos;:
testtrash.cpp:612: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::delFileInDirectory()&apos;:
testtrash.cpp:626: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::delDirectory()&apos;:
testtrash.cpp:643: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::statRoot()&apos;:
testtrash.cpp:659: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::statFileInRoot()&apos;:
testtrash.cpp:676: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::statDirectoryInRoot()&apos;:
testtrash.cpp:694: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::statSymlinkInRoot()&apos;:
testtrash.cpp:711: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::statFileInDirectory()&apos;:
testtrash.cpp:728: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::copyFromTrash(const QString&amp;, const QString&amp;, const QString&amp;)&apos;:
testtrash.cpp:751: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::moveFromTrash(const QString&amp;, const QString&amp;, const QString&amp;)&apos;:
testtrash.cpp:806: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::trashDirectoryOwnedByRoot()&apos;:
testtrash.cpp:858: warning: unused variable &apos;ok&apos;
testtrash.cpp:860: warning: unused variable &apos;err&apos;
testtrash.cpp: In member function `void TestTrash::restoreFile()&apos;:
testtrash.cpp:915: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::restoreFileFromSubDir()&apos;:
testtrash.cpp:942: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::restoreFileToDeletedDirectory()&apos;:
testtrash.cpp:961: warning: unused variable &apos;delOK&apos;
testtrash.cpp:976: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::listRootDir()&apos;:
testtrash.cpp:997: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::listRecursiveRootDir()&apos;:
testtrash.cpp:1014: warning: unused variable &apos;ok&apos;
testtrash.cpp: In member function `void TestTrash::listSubDir()&apos;:
testtrash.cpp:1031: warning: unused variable &apos;ok&apos;
testtrash.cpp: At global scope:
testtrash.cpp:324: warning: unused parameter &apos;origFilePath&apos;
/bin/ksh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE   -L/opt/kde/lib -L/gorbag/exta/cad/externals/SOLARIS/lib -L/opt/qt/lib -lnsl -lxnet -lsocket -o testtrash -L/opt/kde/lib -L/opt/qt/lib     -L/gorbag/exta/cad/externals/SOLARIS/lib testtrash.o libtrashcommon.la -lkio -L/gorbag/exta/cad/externals/SOLARIS/lib -lnsl -lxnet -lsocket
ld: warning: file /usr/local/gcc-3.4.3/lib/gcc/sparc-sun-solaris2.6/3.4.3/../../../libstdc++.so: linked to /usr/local/gcc-3.4.3/lib/libstdc++.so: attempted multiple inclusion of file
gmake[2]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
gmake  check-TESTS
gmake[2]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
testtrash: WARNING: No writable partition other than $HOME found, some tests will be skipped
couldn&apos;t set locale correctly
mkdir: Owner of /tmp/.ICE-unix should be set to root
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
kbuildsycoca running...
kio (KSycoca): WARNING: Found version 78, expecting version 79 or higher.
kio (KSycoca): WARNING: Found version 78, expecting version 79 or higher.
kbuildsycoca: WARNING: Property &apos;X-KDE-Weight&apos; is defined multiple times (KOfficeFilter)
kbuildsycoca: WARNING: &apos;Graphics/gimp.desktop&apos; specifies undefined mimetype/servicetype &apos;image/bmp&apos;
kbuildsycoca: WARNING: &apos;Graphics/gimp.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-xcf&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kpovmodeler.desktop&apos; specifies undefined mimetype/servicetype &apos;KPovModeler/Document&apos;
kbuildsycoca: WARNING: &apos;klinkstatus_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;klinkstatus_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;klinkstatus_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kvoctrain.desktop&apos; specifies undefined mimetype/servicetype &apos;application/x-kvoctrain&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kvoctrain.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-kvtml&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kde-gimp2.desktop&apos; specifies undefined mimetype/servicetype &apos;image/bmp&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kde-gimp2.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-xcf&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/gimp2.desktop&apos; specifies undefined mimetype/servicetype &apos;image/bmp&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/gimp2.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-xcf&apos;
kbuildsycoca: WARNING: &apos;kdevjavadebugger.desktop&apos; specifies undefined mimetype/servicetype &apos;KDevelop/Part&apos;
kbuildsycoca: WARNING: &apos;Editors/gvim.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;Editors/gvim.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;Editors/gvim.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kopete.desktop&apos; specifies undefined mimetype/servicetype &apos;application/x-icq&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kuickshow.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-psd&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kuickshow.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-eim&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/mathml&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/richtext&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/tab-separated-values&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-authors&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-comma-separated-values&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-copying&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-credits&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-csh&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-dcl&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-dsl&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-dtd&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-emacs-lisp&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-gtkrc&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-idl&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-install&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-perl&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-python&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-readme&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-scheme&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-setext&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-sh&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-sql&apos;
kbuildsycoca: WARNING: &apos;kivioconnectortool.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;kcertpart.desktop&apos; specifies undefined mimetype/servicetype &apos;application/binary-certificate&apos;
kbuildsycoca: WARNING: &apos;Editors/xemacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;Editors/xemacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;Editors/xemacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;kxsldbg_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;kxsldbg_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;kxsldbg_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;Editors/emacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;Editors/emacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;Editors/emacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kolourpaint.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-psd&apos;
kbuildsycoca: WARNING: &apos;Editors/nedit.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;Editors/nedit.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;Editors/nedit.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;OpenOffice.org 1.1.4/web.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.stardivision.writer.global&apos;
kbuildsycoca: WARNING: &apos;kspreadcalc.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;kiviotexttool.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;qeditor_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;qeditor_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;qeditor_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;qeditor_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-sql&apos;
kbuildsycoca: WARNING: &apos;knotify.desktop&apos; specifies undefined mimetype/servicetype &apos;KNotify&apos;
kbuildsycoca: WARNING: &apos;kivioselecttool.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;OpenOffice.org 1.1.4/writer.desktop&apos; specifies undefined mimetype/servicetype &apos;application/x-doc&apos;
kbuildsycoca: WARNING: &apos;kiviozoomtool.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;gvimagepart.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-krl&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.kword&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.kpresenter&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.kspread&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.karbon&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.kontour&apos;
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = babc0 ): KAccel object already contains an action name &quot;file_quit&quot;
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = babc0 ): KAccel object already contains an action name &quot;file_quit&quot;
testtrash: FATAL: no Trash Info group in /home/2/stevee/.local-testtrash/Trash/info/fileFromHome.trashinfo
KCrash: Application &apos;testtrash&apos; crashing...
FAIL: testtrash
===================
1 of 1 tests failed
===================
gmake[2]: *** [check-TESTS] Error 1
gmake[2]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
gmake[1]: *** [check-am] Error 2
gmake[1]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
gmake: *** [check-recursive] Error 1
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
ICE default IO error handler doing an exit(), pid = 24179, errno = 0

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>322469</commentid>
    <comment_count>3</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2005-03-09 13:44:28 +0000</bug_when>
    <thetext>On Wednesday 09 March 2005 12:21, stevee@zuken.co.uk wrote:
&gt; testtrash: FATAL: no Trash Info group in /home/2/stevee/.local-testtrash/Trash/info/fileFromHome.trashinfo
&gt; KCrash: Application &apos;testtrash&apos; crashing...

Can you send me that file?

Also, I see that everything is compiled with non-debug, so the asserts in testtrash.cpp don&apos;t work
(and this is also why there is not much output).

Can you either
1) reconfigure kdebase without the --disable-debug
or
2) remove -DNDEBUG -DNO_DEBUG from the Makefile in kioslave/trash
or
3) add #undef NDEBUG at the top of testtrash.cpp?
Then make clean ; make ; make install ; make check   (from kioslave/trash)

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>322480</commentid>
    <comment_count>4</comment_count>
    <who name="Steve Evans">stevee</who>
    <bug_when>2005-03-09 14:15:34 +0000</bug_when>
    <thetext>The file /home/2/stevee/.local-testtrash/Trash/info/fileFromHome.trashinfo does not exist. however after rebuilding as debug and rerunning make check the file appears. It now contains:

[Trash Info]
Path=/home/2/stevee/.kde/testtrash/fileFromHome
DeletionDate=2005-03-09T13:07:19

The make check however still doesn&apos;t work. The output is

Making check in .
gmake[1]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
gmake  testtrash
gmake[2]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
/opt/qt/bin/moc ./testtrash.h -o testtrash.moc
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include   -I/gorbag/exta/cad/externals/SOLARIS/include  -DQT_THREAD_SUPPORT -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -g -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT testtrash.o -MD -MP -MF &quot;.deps/testtrash.Tpo&quot; -c -o testtrash.o testtrash.cpp; \
then mv -f &quot;.deps/testtrash.Tpo&quot; &quot;.deps/testtrash.Po&quot;; else rm -f &quot;.deps/testtrash.Tpo&quot;; exit 1; fi
/bin/ksh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -g -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE   -L/opt/kde/lib -L/gorbag/exta/cad/externals/SOLARIS/lib -L/opt/qt/lib -lnsl -lxnet -lsocket -o testtrash -L/opt/kde/lib -L/opt/qt/lib     -L/gorbag/exta/cad/externals/SOLARIS/lib testtrash.o libtrashcommon.la -lkio -L/gorbag/exta/cad/externals/SOLARIS/lib -lnsl -lxnet -lsocket
ld: warning: file /usr/local/gcc-3.4.3/lib/gcc/sparc-sun-solaris2.6/3.4.3/../../../libstdc++.so: linked to /usr/local/gcc-3.4.3/lib/libstdc++.so: attempted multiple inclusion of file
gmake[2]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
gmake  check-TESTS
gmake[2]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
testtrash: setup: using trash directory /home/2/stevee/.local-testtrash/Trash
testtrash: WARNING: No writable partition other than $HOME found, some tests will be skipped
couldn&apos;t set locale correctly
mkdir: Owner of /tmp/.ICE-unix should be set to root
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
kbuildsycoca running...
Reusing existing ksycoca
kbuildsycoca: WARNING: Property &apos;X-KDE-Weight&apos; is defined multiple times (KOfficeFilter)
kbuildsycoca: WARNING: &apos;Graphics/gimp.desktop&apos; specifies undefined mimetype/servicetype &apos;image/bmp&apos;
kbuildsycoca: WARNING: &apos;Graphics/gimp.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-xcf&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kpovmodeler.desktop&apos; specifies undefined mimetype/servicetype &apos;KPovModeler/Document&apos;
kbuildsycoca: WARNING: &apos;klinkstatus_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;klinkstatus_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;klinkstatus_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kvoctrain.desktop&apos; specifies undefined mimetype/servicetype &apos;application/x-kvoctrain&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kvoctrain.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-kvtml&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kde-gimp2.desktop&apos; specifies undefined mimetype/servicetype &apos;image/bmp&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kde-gimp2.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-xcf&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/gimp2.desktop&apos; specifies undefined mimetype/servicetype &apos;image/bmp&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/gimp2.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-xcf&apos;
kbuildsycoca: WARNING: &apos;kdevjavadebugger.desktop&apos; specifies undefined mimetype/servicetype &apos;KDevelop/Part&apos;
kbuildsycoca: WARNING: &apos;Editors/gvim.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;Editors/gvim.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;Editors/gvim.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kopete.desktop&apos; specifies undefined mimetype/servicetype &apos;application/x-icq&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kuickshow.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-psd&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kuickshow.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-eim&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/mathml&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/richtext&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/tab-separated-values&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-authors&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-comma-separated-values&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-copying&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-credits&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-csh&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-dcl&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-dsl&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-dtd&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-emacs-lisp&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-gtkrc&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-idl&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-install&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-perl&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-python&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-readme&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-scheme&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-setext&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-sh&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-sql&apos;
kbuildsycoca: WARNING: &apos;kivioconnectortool.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;kcertpart.desktop&apos; specifies undefined mimetype/servicetype &apos;application/binary-certificate&apos;
kbuildsycoca: WARNING: &apos;Editors/xemacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;Editors/xemacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;Editors/xemacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;kxsldbg_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;kxsldbg_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;kxsldbg_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;Editors/emacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;Editors/emacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;Editors/emacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kolourpaint.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-psd&apos;
kbuildsycoca: WARNING: &apos;Editors/nedit.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;Editors/nedit.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;Editors/nedit.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;OpenOffice.org 1.1.4/web.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.stardivision.writer.global&apos;
kbuildsycoca: WARNING: &apos;kspreadcalc.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;kiviotexttool.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;qeditor_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;qeditor_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;qeditor_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;qeditor_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-sql&apos;
kbuildsycoca: WARNING: &apos;knotify.desktop&apos; specifies undefined mimetype/servicetype &apos;KNotify&apos;
kbuildsycoca: WARNING: &apos;kivioselecttool.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;OpenOffice.org 1.1.4/writer.desktop&apos; specifies undefined mimetype/servicetype &apos;application/x-doc&apos;
kbuildsycoca: WARNING: &apos;kiviozoomtool.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;gvimagepart.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-krl&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.kword&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.kpresenter&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.kspread&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.karbon&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.kontour&apos;
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = babc0 ): KAccel object already contains an action name &quot;file_quit&quot;
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = babc0 ): KAccel object already contains an action name &quot;file_quit&quot;
testtrash: makeURL for a file : checking &apos;trash:/1-fileId&apos; against expected value &apos;trash:/1-fileId&apos;... ok
testtrash: parseURL: trashId : checking &apos;1&apos; against expected value &apos;1&apos;... ok
testtrash: parseURL: fileId : checking &apos;fileId&apos; against expected value &apos;fileId&apos;... ok
testtrash: parseURL: relativePath : checking &apos;&apos; against expected value &apos;&apos;... ok
testtrash: makeURL : checking &apos;trash:/1-fileId/subfile&apos; against expected value &apos;trash:/1-fileId/subfile&apos;... ok
testtrash: parseURL: trashId : checking &apos;1&apos; against expected value &apos;1&apos;... ok
testtrash: parseURL: fileId : checking &apos;fileId&apos; against expected value &apos;fileId&apos;... ok
testtrash: parseURL: relativePath : checking &apos;subfile&apos; against expected value &apos;subfile&apos;... ok
testtrash: makeURL : checking &apos;trash:/1-fileId/subfile/foobar&apos; against expected value &apos;trash:/1-fileId/subfile/foobar&apos;... ok
testtrash: parseURL: trashId : checking &apos;1&apos; against expected value &apos;1&apos;... ok
testtrash: parseURL: fileId : checking &apos;fileId&apos; against expected value &apos;fileId&apos;... ok
testtrash: parseURL: relativePath : checking &apos;subfile/foobar&apos; against expected value &apos;subfile/foobar&apos;... ok
testtrash: [void TestTrash::trashFileFromHome()] 
kio_trash: TrashProtocol::rename(): old=file:///home/2/stevee/.kde/testtrash/fileFromHome new=trash:/fileFromHome overwrite=false
kio_trash: [bool TrashImpl::createInfo(const QString&amp;, int&amp;, QString&amp;)] trying to create /home/2/stevee/.local-testtrash/Trash/info/fileFromHome.trashinfo
kio_trash: [bool TrashImpl::createInfo(const QString&amp;, int&amp;, QString&amp;)] info file created in trashId=0 : fileFromHome
kio_trash: calling moveToTrash(/home/2/stevee/.kde/testtrash/fileFromHome 0 fileFromHome)
kio_trash: [bool TrashImpl::moveToTrash(const QString&amp;, int, const QString&amp;)] 
kio_trash: [bool TrashImpl::directRename(const QString&amp;, const QString&amp;)] /home/2/stevee/.kde/testtrash/fileFromHome -&gt; /home/2/stevee/.local-testtrash/Trash/files/fileFromHome
testtrash: [void checkInfoFile(const QString&amp;, const QString&amp;)] /home/2/stevee/.local-testtrash/Trash/info/fileFromHome.trashinfo
testtrash: trash:/0-fileFromHome
kio_trash: TrashProtocol::rename(): old=file:///home/2/stevee/.kde/testtrash/fileFromHome new=trash:/fileFromHome overwrite=false
kio_trash: [bool TrashImpl::createInfo(const QString&amp;, int&amp;, QString&amp;)] trying to create /home/2/stevee/.local-testtrash/Trash/info/fileFromHome.trashinfo
kio_trash: [bool TrashImpl::createInfo(const QString&amp;, int&amp;, QString&amp;)] trying to create /home/2/stevee/.local-testtrash/Trash/info/fileFromHome_1.trashinfo
kio_trash: [bool TrashImpl::createInfo(const QString&amp;, int&amp;, QString&amp;)] info file created in trashId=0 : fileFromHome_1
kio_trash: calling moveToTrash(/home/2/stevee/.kde/testtrash/fileFromHome 0 fileFromHome_1)
kio_trash: [bool TrashImpl::moveToTrash(const QString&amp;, int, const QString&amp;)] 
kio_trash: [bool TrashImpl::directRename(const QString&amp;, const QString&amp;)] /home/2/stevee/.kde/testtrash/fileFromHome -&gt; /home/2/stevee/.local-testtrash/Trash/files/fileFromHome_1
testtrash: [void checkInfoFile(const QString&amp;, const QString&amp;)] /home/2/stevee/.local-testtrash/Trash/info/fileFromHome_1.trashinfo
testtrash: trash:/0-fileFromHome_1
testtrash: [void TestTrash::trashPercentFileFromHome()] 
kio_trash: TrashProtocol::rename(): old=file:///home/2/stevee/.kde/testtrash/file%252f new=trash:/file%252f overwrite=false
kio_trash: [bool TrashImpl::createInfo(const QString&amp;, int&amp;, QString&amp;)] trying to create /home/2/stevee/.local-testtrash/Trash/info/file%2f.trashinfo
kio_trash: [bool TrashImpl::createInfo(const QString&amp;, int&amp;, QString&amp;)] info file created in trashId=0 : file%2f
kio_trash: calling moveToTrash(/home/2/stevee/.kde/testtrash/file%2f 0 file%2f)
kio_trash: [bool TrashImpl::moveToTrash(const QString&amp;, int, const QString&amp;)] 
kio_trash: [bool TrashImpl::directRename(const QString&amp;, const QString&amp;)] /home/2/stevee/.kde/testtrash/file%2f -&gt; /home/2/stevee/.local-testtrash/Trash/files/file%2f
testtrash: [void checkInfoFile(const QString&amp;, const QString&amp;)] /home/2/stevee/.local-testtrash/Trash/info/file%2f.trashinfo
testtrash: trash:/0-file%252f
testtrash: [void TestTrash::trashUmlautFileFromHome()] 
kio_trash: TrashProtocol::rename(): old=file:///home/2/stevee/.kde/testtrash/umlautë new=trash:/umlautë overwrite=false
kio_trash: [bool TrashImpl::createInfo(const QString&amp;, int&amp;, QString&amp;)] trying to create /home/2/stevee/.local-testtrash/Trash/info/umlautë.trashinfo
kio_trash: [bool TrashImpl::createInfo(const QString&amp;, int&amp;, QString&amp;)] info file created in trashId=0 : umlautë
kio_trash: calling moveToTrash(/home/2/stevee/.kde/testtrash/umlautë 0 umlautë)
kio_trash: [bool TrashImpl::moveToTrash(const QString&amp;, int, const QString&amp;)] 
kio_trash: [bool TrashImpl::directRename(const QString&amp;, const QString&amp;)] /home/2/stevee/.kde/testtrash/umlautë -&gt; /home/2/stevee/.local-testtrash/Trash/files/umlautë
testtrash: [void checkInfoFile(const QString&amp;, const QString&amp;)] /home/2/stevee/.local-testtrash/Trash/info/umlautë.trashinfo
testtrash: trash:/0-umlautë
testtrash: [void TestTrash::trashFileFromOther()] 
kio_trash: TrashProtocol::rename(): old=file:///tmp/testtrash/fileFromOther new=trash:/fileFromOther overwrite=false
kio_trash: mountPoint=/tmp trashDir=/tmp/.Trash-349
kio_trash: [void TrashImpl::scanTrashDirectories() const] found /tmp/.Trash-349 gave it id 1
Assertion failed: ok, file testtrash.cpp, line 364
KCrash: Application &apos;testtrash&apos; crashing...
FAIL: testtrash
===================
1 of 1 tests failed
===================
gmake[2]: *** [check-TESTS] Error 1
gmake[2]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
gmake[1]: *** [check-am] Error 2
gmake[1]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
gmake: *** [check-recursive] Error 1
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
ICE default IO error handler doing an exit(), pid = 3030, errno = 0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>322489</commentid>
    <comment_count>5</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2005-03-09 14:24:12 +0000</bug_when>
    <thetext>On Wednesday 09 March 2005 14:15, stevee@zuken.co.uk wrote:
&gt; Assertion failed: ok, file testtrash.cpp, line 364

Looks like the handling of the partition that holds /tmp is what makes it fail.
I guess /tmp a partition of its own. Is it a ramdisk maybe?

Can you please apply the attached patch and try again (make sure to do &quot;make install&quot;
too, the testtrash program launched by &quot;make check&quot; uses the installed kio_trash).

Thanks.



Created an attachment (id=10037)
trash.diff</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>322503</commentid>
    <comment_count>6</comment_count>
    <who name="Steve Evans">stevee</who>
    <bug_when>2005-03-09 14:54:23 +0000</bug_when>
    <thetext>On 9 Mar 2005, faure@kde.org wrote:

&gt; ------- You are receiving this mail because: -------
&gt; You reported the bug, or are watching the reporter.
&gt;
&gt; http://bugs.kde.org/show_bug.cgi?id=101116         
&gt;
&gt;
&gt;
&gt;
&gt; ------- Additional Comments From faure kde org 2005-03-09 14:24
&gt;         -------
&gt; On Wednesday 09 March 2005 14:15, stevee zuken co uk wrote:
&gt;&gt; Assertion failed: ok, file testtrash.cpp, line 364
&gt;
&gt; Looks like the handling of the partition that holds /tmp is what
&gt; makes it fail. I guess /tmp a partition of its own. Is it a ramdisk
&gt; maybe?
&gt;

Sun mounts /tmp using tmpfs, sharing it with swap:

mount| grep tmp
/tmp on swap read/write on Tue Jan  4 08:05:44 2005

&gt; Can you please apply the attached patch and try again (make sure to
&gt; do &quot;make install&quot; too, the testtrash program launched by &quot;make
&gt; check&quot; uses the installed kio_trash).
&gt;

Unfortunately the patch doesn&apos;t apply to trashimpl.cpp - it looks to
me as though the CVS version has changed significantly since 4.2-rc1:

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|? Trash_system_messages
|? diff
|? log
|? test.diff
|? trying_with_a_query_but_kdirlister_problems.diff
|? wrongtest_fileidfororigpath
|Index: testtrash.cpp
|===================================================================
|RCS file: /home/kde/kdebase/kioslave/trash/testtrash.cpp,v
|retrieving revision 1.37
|diff -u -p -r1.37 testtrash.cpp
|--- testtrash.cpp      23 Jan 2005 22:50:58 -0000      1.37
|+++ testtrash.cpp      9 Mar 2005 13:20:30 -0000
--------------------------
Patching file testtrash.cpp using Plan A...
Hunk #1 succeeded at 361.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: trashimpl.cpp
|===================================================================
|RCS file: /home/kde/kdebase/kioslave/trash/trashimpl.cpp,v
|retrieving revision 1.34.2.1
|retrieving revision 1.35
|diff -u -p -r1.34.2.1 -r1.35
|--- trashimpl.cpp      25 Feb 2005 17:53:54 -0000      1.34.2.1
|+++ trashimpl.cpp      25 Feb 2005 17:53:21 -0000      1.35
--------------------------
Patching file trashimpl.cpp using Plan A...
Hunk #1 failed at 759.
Hunk #2 failed at 810.
Hunk #3 failed at 828.
3 out of 3 hunks failed--saving rejects to trashimpl.cpp.rej
done

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>322515</commentid>
    <comment_count>7</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2005-03-09 15:28:25 +0000</bug_when>
    <thetext>On Wednesday 09 March 2005 14:54, stevee@zuken.co.uk wrote:
&gt; me as though the CVS version has changed significantly since 4.2-rc1:
4.2-rc1? That&apos;s not a KDE version :) I guess you mean 3.4-rc1.

The diff is against KDE_3_4_0_RELEASE. Hmm I see no rc1 tag to diff against.
Oh well - here&apos;s the full tarball of the most current code, including that patch.
http://kdab.net/~dfaure/trash.tgz

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>322527</commentid>
    <comment_count>8</comment_count>
    <who name="Steve Evans">stevee</who>
    <bug_when>2005-03-09 15:58:05 +0000</bug_when>
    <thetext>On 9 Mar 2005, faure@kde.org wrote:

&gt; ------- You are receiving this mail because: -------
&gt; You reported the bug, or are watching the reporter.
&gt;
&gt; http://bugs.kde.org/show_bug.cgi?id=101116         
&gt;
&gt;
&gt;
&gt;
&gt; ------- Additional Comments From faure kde org 2005-03-09 15:28
&gt;         -------
&gt; On Wednesday 09 March 2005 14:54, stevee zuken co uk wrote:
&gt;&gt; me as though the CVS version has changed significantly since
&gt;&gt; 4.2-rc1:
&gt; 4.2-rc1? That&apos;s not a KDE version :) I guess you mean 3.4-rc1.
&gt;

Oops, yes I did mean 3.4-rc1 - I am working on something else that is
version 4.2, so that number was in my head :-)

&gt; The diff is against KDE_3_4_0_RELEASE. Hmm I see no rc1 tag to diff
&gt; against. Oh well - here&apos;s the full tarball of the most current code,
&gt; including that patch. http://kdab.net/~dfaure/trash.tgz
&gt;

OK, I rebuilt and installed that. It still doesn&apos;t work :-( Here is
the output:

Making check in .
gmake[1]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
gmake  testtrash
gmake[2]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
/opt/qt/bin/moc ./testtrash.h -o testtrash.moc
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include   -I/gorbag/exta/cad/externals/SOLARIS/include  -DQT_THREAD_SUPPORT -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -g -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT testtrash.o -MD -MP -MF &quot;.deps/testtrash.Tpo&quot; -c -o testtrash.o testtrash.cpp; \
then mv -f &quot;.deps/testtrash.Tpo&quot; &quot;.deps/testtrash.Po&quot;; else rm -f &quot;.deps/testtrash.Tpo&quot;; exit 1; fi
/bin/ksh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -g -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE   -L/opt/kde/lib -L/gorbag/exta/cad/externals/SOLARIS/lib -L/opt/qt/lib -lnsl -lxnet -lsocket -o testtrash -L/opt/kde/lib -L/opt/qt/lib     -L/gorbag/exta/cad/externals/SOLARIS/lib testtrash.o libtrashcommon.la -lkio -L/gorbag/exta/cad/externals/SOLARIS/lib -lnsl -lxnet -lsocket
ld: warning: file /usr/local/gcc-3.4.3/lib/gcc/sparc-sun-solaris2.6/3.4.3/../../../libstdc++.so: linked to /usr/local/gcc-3.4.3/lib/libstdc++.so: attempted multiple inclusion of file
gmake[2]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
gmake  check-TESTS
gmake[2]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
testtrash: setup: using trash directory /home/2/stevee/.local-testtrash/Trash
testtrash: [void TrashImpl::scanTrashDirectories() const] found /tmp/.Trash-349 gave it id 1
testtrash: OK, found another writable partition: topDir=/tmp/ trashDir=/tmp/.Trash-349 id=1
couldn&apos;t set locale correctly
mkdir: Owner of /tmp/.ICE-unix should be set to root
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
kbuildsycoca running...
Reusing existing ksycoca
kbuildsycoca: WARNING: Property &apos;X-KDE-Weight&apos; is defined multiple times (KOfficeFilter)
kbuildsycoca: WARNING: &apos;Graphics/gimp.desktop&apos; specifies undefined mimetype/servicetype &apos;image/bmp&apos;
kbuildsycoca: WARNING: &apos;Graphics/gimp.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-xcf&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kpovmodeler.desktop&apos; specifies undefined mimetype/servicetype &apos;KPovModeler/Document&apos;
kbuildsycoca: WARNING: &apos;klinkstatus_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;klinkstatus_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;klinkstatus_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kvoctrain.desktop&apos; specifies undefined mimetype/servicetype &apos;application/x-kvoctrain&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kvoctrain.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-kvtml&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kde-gimp2.desktop&apos; specifies undefined mimetype/servicetype &apos;image/bmp&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kde-gimp2.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-xcf&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/gimp2.desktop&apos; specifies undefined mimetype/servicetype &apos;image/bmp&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/gimp2.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-xcf&apos;
kbuildsycoca: WARNING: &apos;kdevjavadebugger.desktop&apos; specifies undefined mimetype/servicetype &apos;KDevelop/Part&apos;
kbuildsycoca: WARNING: &apos;Editors/gvim.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;Editors/gvim.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;Editors/gvim.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kopete.desktop&apos; specifies undefined mimetype/servicetype &apos;application/x-icq&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kuickshow.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-psd&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kuickshow.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-eim&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/mathml&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/richtext&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/tab-separated-values&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-authors&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-comma-separated-values&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-copying&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-credits&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-csh&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-dcl&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-dsl&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-dtd&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-emacs-lisp&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-gtkrc&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-idl&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-install&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-perl&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-python&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-readme&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-scheme&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-setext&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-sh&apos;
kbuildsycoca: WARNING: &apos;vimpart.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-sql&apos;
kbuildsycoca: WARNING: &apos;kivioconnectortool.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;kcertpart.desktop&apos; specifies undefined mimetype/servicetype &apos;application/binary-certificate&apos;
kbuildsycoca: WARNING: &apos;Editors/xemacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;Editors/xemacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;Editors/xemacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;kxsldbg_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;kxsldbg_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;kxsldbg_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;Editors/emacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;Editors/emacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;Editors/emacs.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kolourpaint.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-psd&apos;
kbuildsycoca: WARNING: &apos;Editors/nedit.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;Editors/nedit.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;Editors/nedit.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;OpenOffice.org 1.1.4/web.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.stardivision.writer.global&apos;
kbuildsycoca: WARNING: &apos;kspreadcalc.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;kiviotexttool.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;qeditor_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/english&apos;
kbuildsycoca: WARNING: &apos;qeditor_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c&apos;
kbuildsycoca: WARNING: &apos;qeditor_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-c++&apos;
kbuildsycoca: WARNING: &apos;qeditor_part.desktop&apos; specifies undefined mimetype/servicetype &apos;text/x-sql&apos;
kbuildsycoca: WARNING: &apos;knotify.desktop&apos; specifies undefined mimetype/servicetype &apos;KNotify&apos;
kbuildsycoca: WARNING: &apos;kivioselecttool.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;OpenOffice.org 1.1.4/writer.desktop&apos; specifies undefined mimetype/servicetype &apos;application/x-doc&apos;
kbuildsycoca: WARNING: &apos;kiviozoomtool.desktop&apos; specifies undefined mimetype/servicetype &apos;KPlugin&apos;
kbuildsycoca: WARNING: &apos;gvimagepart.desktop&apos; specifies undefined mimetype/servicetype &apos;image/x-krl&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.kword&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.kpresenter&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.kspread&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.karbon&apos;
kbuildsycoca: WARNING: &apos;kfile_koffice.desktop&apos; specifies undefined mimetype/servicetype &apos;application/vnd.kde.kontour&apos;
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = bc8e8 ): KAccel object already contains an action name &quot;file_quit&quot;
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = bc8e8 ): KAccel object already contains an action name &quot;file_quit&quot;
testtrash: makeURL for a file : checking &apos;trash:/1-fileId&apos; against expected value &apos;trash:/1-fileId&apos;... ok
testtrash: parseURL: trashId : checking &apos;1&apos; against expected value &apos;1&apos;... ok
testtrash: parseURL: fileId : checking &apos;fileId&apos; against expected value &apos;fileId&apos;... ok
testtrash: parseURL: relativePath : checking &apos;&apos; against expected value &apos;&apos;... ok
testtrash: makeURL : checking &apos;trash:/1-fileId/subfile&apos; against expected value &apos;trash:/1-fileId/subfile&apos;... ok
testtrash: parseURL: trashId : checking &apos;1&apos; against expected value &apos;1&apos;... ok
testtrash: parseURL: fileId : checking &apos;fileId&apos; against expected value &apos;fileId&apos;... ok
testtrash: parseURL: relativePath : checking &apos;subfile&apos; against expected value &apos;subfile&apos;... ok
testtrash: makeURL : checking &apos;trash:/1-fileId/subfile/foobar&apos; against expected value &apos;trash:/1-fileId/subfile/foobar&apos;... ok
testtrash: parseURL: trashId : checking &apos;1&apos; against expected value &apos;1&apos;... ok
testtrash: parseURL: fileId : checking &apos;fileId&apos; against expected value &apos;fileId&apos;... ok
testtrash: parseURL: relativePath : checking &apos;subfile/foobar&apos; against expected value &apos;subfile/foobar&apos;... ok
testtrash: [void TestTrash::trashFileFromHome()] 
kio_trash: TrashProtocol::rename(): old=file:///home/2/stevee/.kde/testtrash/fileFromHome new=trash:/fileFromHome overwrite=false
kio_trash: [void TrashImpl::scanTrashDirectories() const] found /tmp/.Trash-349 gave it id 1
testtrash: ERROR: moving file:///home/2/stevee/.kde/testtrash/fileFromHome to trash failed with error 20 
Assertion failed: ok, file testtrash.cpp, line 366
KCrash: Application &apos;testtrash&apos; crashing...
FAIL: testtrash
===================
1 of 1 tests failed
===================
gmake[2]: *** [check-TESTS] Error 1
gmake[2]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
gmake[1]: *** [check-am] Error 2
gmake[1]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash&apos;
gmake: *** [check-recursive] Error 1
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
couldn&apos;t set locale correctly
ICE default IO error handler doing an exit(), pid = 5953, errno = 0

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>323060</commentid>
    <comment_count>9</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2005-03-11 11:46:59 +0000</bug_when>
    <thetext>CVS commit by faure: 

Don&apos;t mount all automounted directories when starting kio_trash, it can take a VERY long time.
(The result is that trashing from such directories will move the file to $HOME, which is OK I think).
BUG: 101116


  M +2 -1      trashimpl.cpp   1.38


--- kdebase/kioslave/trash/trashimpl.cpp  #1.37:1.38
@@ -720,5 +720,6 @@ void TrashImpl::scanTrashDirectories() c
         // ## Maybe we should also skip readonly filesystems
         if ( str != &quot;proc&quot; &amp;&amp; str != &quot;devfs&quot; &amp;&amp; str != &quot;usbdevfs&quot; &amp;&amp;
-             str != &quot;sysfs&quot; &amp;&amp; str != &quot;devpts&quot; &amp;&amp; str != &quot;subfs&quot; /* #96259 */ ) {
+             str != &quot;sysfs&quot; &amp;&amp; str != &quot;devpts&quot; &amp;&amp; str != &quot;subfs&quot; /* #96259 */ &amp;&amp;
+             str != &quot;autofs&quot; /* #101116 */ ) {
             QString topdir = (*it)-&gt;mountPoint();
             QString trashDir = trashForMountPoint( topdir, false );
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>10037</attachid>
            <date>2005-03-09 14:24:11 +0000</date>
            <delta_ts>2005-03-09 14:24:11 +0000</delta_ts>
            <desc>trash.diff</desc>
            <filename>trash.diff</filename>
            <type>text/x-diff</type>
            <size>4659</size>
            <attacher name="David Faure">faure</attacher>
            
              <data encoding="base64">PyBUcmFzaF9zeXN0ZW1fbWVzc2FnZXMKPyBkaWZmCj8gbG9nCj8gdGVzdC5kaWZmCj8gdHJ5aW5n
X3dpdGhfYV9xdWVyeV9idXRfa2Rpcmxpc3Rlcl9wcm9ibGVtcy5kaWZmCj8gd3Jvbmd0ZXN0X2Zp
bGVpZGZvcm9yaWdwYXRoCkluZGV4OiB0ZXN0dHJhc2guY3BwCj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6
IC9ob21lL2tkZS9rZGViYXNlL2tpb3NsYXZlL3RyYXNoL3Rlc3R0cmFzaC5jcHAsdgpyZXRyaWV2
aW5nIHJldmlzaW9uIDEuMzcKZGlmZiAtdSAtcCAtcjEuMzcgdGVzdHRyYXNoLmNwcAotLS0gdGVz
dHRyYXNoLmNwcAkyMyBKYW4gMjAwNSAyMjo1MDo1OCAtMDAwMAkxLjM3CisrKyB0ZXN0dHJhc2gu
Y3BwCTkgTWFyIDIwMDUgMTM6MjA6MzAgLTAwMDAKQEAgLTM2MSw2ICszNjEsOCBAQCB2b2lkIFRl
c3RUcmFzaDo6dHJhc2hGaWxlKCBjb25zdCBRU3RyaW5nCiAgICAgUU1hcDxRU3RyaW5nLCBRU3Ry
aW5nPiBtZXRhRGF0YTsKICAgICAvL2Jvb2wgb2sgPSBLSU86Ok5ldEFjY2Vzczo6bW92ZSggdSwg
InRyYXNoOi8iICk7CiAgICAgYm9vbCBvayA9IEtJTzo6TmV0QWNjZXNzOjpzeW5jaHJvbm91c1J1
biggam9iLCAwLCAwLCAwLCAmbWV0YURhdGEgKTsKKyAgICBpZiAoICFvayApCisgICAgICAgIGtk
RXJyb3IoKSA8PCAibW92aW5nICIgPDwgdSA8PCAiIHRvIHRyYXNoIGZhaWxlZCB3aXRoIGV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yB0cmFzaERpciA9IHJvb3RUcmFz
aERpciArICIvIiArIFFTdHJpbmc6Om51bWJlciggdWlkICk7CisgICAgICAgICAgICBjb25zdCBR
Q1N0cmluZyB0cmFzaERpcl9jID0gUUZpbGU6OmVuY29kZU5hbWUoIHRyYXNoRGlyICk7CisgICAg
ICAgICAgICBpZiAoIEtERV9sc3RhdCggdHJhc2hEaXJfYywgJmJ1ZmYgKSA9PSAwICkgeworICAg
ICAgICAgICAgICAgIGlmICggKGJ1ZmYuc3RfdWlkID09IHVpZCkgLy8gbXVzdCBiZSBvd25lZCBi
eSB1c2VyCisgICAgICAgICAgICAgICAgICAgICAmJiAoU19JU0RJUihidWZmLnN0X21vZGUpKSAv
LyBtdXN0IGJlIGEgZGlyCisgICAgICAgICAgICAgICAgICAgICAmJiAoIVNfSVNMTksoYnVmZi5z
dF9tb2RlKSkgLy8gbm90IGEgc3ltbGluaworICAgICAgICAgICAgICAgICAgICAgJiYgKGJ1ZmYu
c3RfbW9kZSAmIFNfSVJXWFUpICkgeyAvLyByd3ggZm9yIHVzZXIKKyAgICAgICAgICAgICAgICAg
ICAgcmV0dXJuIHRyYXNoRGlyOworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICBr
ZERlYnVnKCkgPDwgIkRpcmVjdG9yeSAiIDw8IHRyYXNoRGlyIDw8ICIgZXhpc3RzIGJ1dCBkaWRu
J3QgcGFzcyB0aGUgc2VjdXJpdHkgY2hlY2tzLCBjYW4ndCB1c2UgaXQiIDw8IGVuZGw7CisgICAg
ICAgICAgICB9CisgICAgICAgICAgICBlbHNlIGlmICggY3JlYXRlSWZOZWVkZWQgJiYgaW5pdFRy
YXNoRGlyZWN0b3J5KCB0cmFzaERpcl9jICkgKSB7CiAgICAgICAgICAgICAgICAgcmV0dXJuIHRy
YXNoRGlyOwogICAgICAgICAgICAgfQotICAgICAgICAgICAgICAgIGtkRGVidWcoKSA8PCAiRGly
ZWN0b3J5ICIgPDwgdHJhc2hEaXIgPDwg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