Fails to download from channel w/ query args in the url.
Bug #244022 reported by
Rehan Khan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
In Progress
|
Medium
|
netmask |
Bug Description
Imported: http://
Reason for Import: Issue Review . Smart should work with these types of url
further details: https:/
To post a comment you must log in.
msg1268 (view) Author: urkle Date: 2007-12-31.17:14:29
Fetching packages...
-> http:// linux.dell. com/repo/ software/ .../libsmbios- bin-0.13. 13-2.el4. i386.rpm
libsmbios- bin-0.13. 13-2.el4. i386.rpm ####### ####### ####### ####### ####### ####### ####### ####### ####### ##### [ 25%] linux.dell. com/repo/ software/ .../libsmbios- 2.0.0_BETA_ 1-1.el4. i386.rpm
#######
-> http://
libsmbios- 2.0.0_BETA_ 1-1.el4. i386.rpm ####### ####### ####### ####### ####### ####### ####### ####### ####### ##### [ 50%] linux.dell. com/repo/ software/ .../smbios- utils-2. 0.0_BETA_ 1-1.el4. i386.rpm
#######
->
http://
-> http:// linux.dell. com/repo/ software/ .../libsmbios- libs-0. 13.13-2. el4.i386. rpm
libsmbios- libs-0. 13.13-2. el4.i386. rpm ####### ####### ####### ####### ####### ####### ####### ####### ####### ##### [ 75%] utils-2. 0.0_BETA_ 1-1.el4. i386.rpm ####### ####### ####### ####### ####### ####### ####### ####### ####### ##### [100%] sys.argv[ 1:]) opts.command, opts.argv) python2. 3/site- packages/ smart/interface .py", line 53, in run main(self. _ctrl, opts) python2. 3/site- packages/ smart/commands/ upgrade. py", line 187, commitTransacti on(trans, confirm=confirm) python2. 3/site- packages/ smart/control. py", line 500, in geSet(trans. getChangeSet( ), caching, confirm) python2. 3/site- packages/ smart/control. py", line 545, in python2. 3/site- packages/ smart/control. py", line 658, in run(what= _("packages" )) python2. 3/site- packages/ smart/fetcher. py", line 243, in run python2. 3/site- packages/ smart/fetcher. py", line 1514, in tick rename( localpath+ ".part" , localpath)
#######
smbios-
#######
Traceback (most recent call last):
File "/usr/bin/smart", line 194, in ?
main(
File "/usr/bin/smart", line 167, in main
exitcode = iface.run(
File "/usr/lib/
result = _command.
File "/usr/lib/
in main
ctrl.
File "/usr/lib/
commitTransaction
return self.commitChan
File "/usr/lib/
commitChangeSet
caching)
File "/usr/lib/
fetchPackages
fetcher.
File "/usr/lib/
if not handler.tick():
File "/usr/lib/
os.
OSError: [Errno 2] No such file or directory
msg1267 (view) Author: netmask Date: 2007-12-28.16:59:59
Please paste the trace you get with pycurl.
msg1266 (view) Author: urkle Date: 2007-12-28.16:50:56
if I *patch* smart's fetcher.py to use the value of 0 instead of the missing
constant (which is defined as 0 in curl 7.16.4), smart tries to download the
file AS mirrors.pl still. and ends up removing the file when done downloading
and then a new trace gets thrown stating "No such file or directory"
msg1265 (view) Author: urkle Date: 2007-12-28.16:44:23
if I install pycurl 7.12.1 smart crashes when downloading the first package
with this backtrace
Traceback (most recent call last):pm
File "/usr/b...