[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: Bug#34557: Error whilst expanding sidebar -> password protected ftp sites
From: Jason Wood <jasonwood () blueyonder ! co ! uk>
Date: 2002-01-17 16:25:12
[Download RAW message or body]
On Tuesday 06 November 2001 2:41 am, you wrote:
> On Mardi 6 Novembre 2001 00:19, jasonwood@cableinet.co.uk wrote:
>> <snip>
> > First, I set up an ftp link by going to Go->Sidebar configuration. I
> > browse to the remote/ftp directory in config, and create a new desktop
> > icon in there. I set the URL in the standard format i.e.
> >
> > ftp://myname:mypassword@ftp.myaddress.com
> >
> > (using a correct address, username and password, obviously).
> >
> > I can now open the ftp site from within konqueror, simply by expanding
> > the Network/FTP archives entry and clicking on the ftp entry I created.
> > This works.
> >
> > The problem arises as follows - the ftp entry that I have created has a
> > little plus the side of it saying that it can be expanded itself (i.e.
> > contains directories). If I click on this to expand the tree, I get the
> > following error message twice (presumably because I have two directories
> > on the ftp site I'm trying at the time):
> >
> > Can't find parent item ftp://myname:mypassword@ftp.myaddress.com/ in the
> > tree. Internal Error.
> <snip>
>
> Thanks for the precise report and analysis.
> This should fix it.
>
> RCS file:
> /home/kde/kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp
>,v retrieving revision 1.8
> diff -u -p -r1.8 dirtree_module.cpp
> --- dirtree_module.cpp 2001/10/12 13:06:07 1.8
> +++ dirtree_module.cpp 2001/11/06 02:42:06
> @@ -210,6 +210,7 @@ void KonqSidebarDirTreeModule::slotNewIt
> // Find parent item - it's the same for all the items
> KURL dir( firstItem->url() );
> dir.setFileName( "" );
> + dir.setPass( QString::null );
> kdDebug(1201) << this << " KonqSidebarDirTreeModule::slotNewItems
> dir=" << dir.url(-1) << endl; KonqSidebarTreeItem * parentItem =
> m_dictSubDirs[ dir.url(-1) ]; if( !parentItem )
>
> Committing to both branches.
Hi,
I've only had a chance over the last couple of weeks to check out HEAD from
cvs and the problem still partially exists.
For the first time that I attempt to expand a password protected ftp link on
the sidebar, I get the "Can't find parent item
ftp://myname:mypassword@ftp.myaddress.com/ in the tree. Internal Error." If I
then try to expand the link again, it works.
I have attatched the debug output produced by KDE during the two attempts in
the hope that it is useful. I added the c-style comments + blank lines to
easily distinguish the two attempts.
I was hoping to send this in as my first bug fix but I've been having
trouble figuring out exactly what konqueror is doing. If/when you fix this
bug, if you can give a quick explanation as to what was going wrong it would
make me very happy :-)
Regards,
Jason
["debug output" (text/x-c)]
/* First attempt to open folder */
konqtree: 0x82c27e8 openSubFolder( ftp://uchian@uchian.pwp.blueyonder.co.uk )
konqueror: getInterfaces()
konqueror: KonqSidebar::getInstance()
kio (KDirLister): KDirLister::openURL ftp://uchian@uchian.pwp.blueyonder.co.uk \
keep=true kio (KIOJob): Got auth-key: ftp-uchian.pwp.blueyonder.co.uk:uchian
kio (KIOJob): group-key: ftp-uchian.pwp.blueyonder.co.uk
kio (KIOJob): keep password: false
kio (KIOJob): Got auth-key: ftp-uchian.pwp.blueyonder.co.uk
kio (KIOJob): group-key: ftp-uchian.pwp.blueyonder.co.uk
kio (KIOJob): keep password: false
kio (KIOJob): Got auth-key: ftp-uchian.pwp.blueyonder.co.uk:uchian
kio (KIOJob): group-key: ftp-uchian.pwp.blueyonder.co.uk
kio (KIOJob): keep password: false
kio (KDirLister): KDirLister::slotRedirection \
ftp://uchian@uchian.pwp.blueyonder.co.uk/ kio (KIOJob): ListJob: Redirection to \
ftp://uchian@uchian.pwp.blueyonder.co.uk/
konqtree: 0x82c27e8 KonqSidebarDirTreeModule::slotNewItems \
dir=ftp://uchian@uchian.pwp.blueyonder.co.uk/
ASSERT: "item" in dirtree_module.cpp (326)
konqtree: KonqSidebarDirTree::slotListingStopped \
ftp://uchian@uchian.pwp.blueyonder.co.uk/
konqtree: m_selectAfterOpening
/* second attempt to open folder */
konqtree: 0x82c27e8 openSubFolder( ftp://uchian@uchian.pwp.blueyonder.co.uk )
kio (KDirLister): KDirLister::openURL ftp://uchian@uchian.pwp.blueyonder.co.uk \
keep=true kio (KDirLister): KDirLister::slotRedirection \
ftp://uchian@uchian.pwp.blueyonder.co.uk/
konqtree: KonqSidebarDirTreeModule::slotRedirection(ftp://uchian@uchian.pwp.blueyonder.co.uk/)
konqtree: Updating url to ftp://uchian@uchian.pwp.blueyonder.co.uk/
kio (KIOJob): ListJob: Redirection to ftp://uchian@uchian.pwp.blueyonder.co.uk/
konqtree: 0x82c27e8 KonqSidebarDirTreeModule::slotNewItems \
dir=ftp://uchian@uchian.pwp.blueyonder.co.uk/
konqtree: 0x82c27e8 KonqSidebarDirTreeModule::addSubDir \
ftp://uchian@uchian.pwp.blueyonder.co.uk/burnttv
konqtree: 0x82c27e8 KonqSidebarDirTreeModule::addSubDir \
ftp://uchian@uchian.pwp.blueyonder.co.uk/downloads
konqtree: 0x82c27e8 KonqSidebarDirTreeModule::addSubDir \
ftp://uchian@uchian.pwp.blueyonder.co.uk/graphics
konqtree: KonqSidebarDirTree::slotListingStopped \
ftp://uchian@uchian.pwp.blueyonder.co.uk/
konqtree: m_selectAfterOpening
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic