Closed GoogleCodeExporter closed 9 years ago
Here we have two differents problems:torrent
1. readFromDB error. You have an "old" version installed which build the
database.
Your have also the svn sources to works on code. But the database structure
between
the two versions is different. To solve this problem, re-read the xml file to
build
the database in good format.
2. the proxy can be used in current version. Availale in options dialog.
Original comment by jlbi...@gmail.com
on 4 Mar 2009 at 11:08
(Weird writting english whereas we may both write in french isn't it?) ;)
Shortly replies from two points :
1: That was true, but while I destroyed db rm ~/.qmagneto/qmagneto.db, the
problem
remained because web site was unreachable (auth from proxy required)
2: proxy option is available but not with authentication
Here are some more informations :
Well, I've checkouted the svn before running the test.
I noticed you use wget to retrieve xml files (zipped) from remote website.If no
error
from my analysis, wget is launched without any environnement variables to help
it to
pass proxies (wget only allows to have --proxy-user & --proxy-password options
nor
--proxy-address nor --proxy-port that should be provided by env through
http_proxy
envvar). On the other hand, Qt provides QHttp (you're using in GetImages). I've
done
some hack to replace QProcess/wget calls with QHttp call with or without proxy.
It
works fine with it (untested towards proxies, tomorrow I'll be able to do
such). I
also added some QLineEdit in config.ui to edit user and password for proxies.
I've attached an (unclean) patch from my sources (co from svn, then hacking) in
order
to provide authentication to proxy feature. I will test it tomorrow and maybe
clean
it for you.
Tell me if you're interested in further collaboration.
Regards
Original comment by jcarnu
on 4 Mar 2009 at 1:26
Attachments:
A cleaner patch.
Original comment by jcarnu
on 4 Mar 2009 at 2:08
Attachments:
Fixed in revision 122
Original comment by jlbi...@gmail.com
on 6 Apr 2009 at 4:26
Original issue reported on code.google.com by
jcarnu
on 3 Mar 2009 at 4:38