Skip to content

Doesn't run on Debian Jessie #2

@cofi89

Description

@cofi89

Hi,

I have a problem running smart on Debian Jessie. It exits with the following error ( in --gui mode also ):


sudo smart update
[sudo] password for filip:
Traceback (most recent call last):
File "/usr/local/bin/smart", line 200, in
main(sys.argv[1:])
File "/usr/local/bin/smart", line 173, in main
exitcode = iface.run(opts.command, opts.argv)
File "/usr/local/lib/python2.7/dist-packages/smart/interface.py", line 53, in run
result = _command.main(self._ctrl, opts)
File "/usr/local/lib/python2.7/dist-packages/smart/commands/update.py", line 81, in main
ctrl.reloadChannels()
File "/usr/local/lib/python2.7/dist-packages/smart/control.py", line 388, in reloadChannels
if not channel.fetch(self._fetcher, progress):
File "/usr/local/lib/python2.7/dist-packages/smart/channels/apt_deb.py", line 241, in fetch
release_item = fetcher.enqueue(self._getURL("Release"))
File "/usr/local/lib/python2.7/dist-packages/smart/fetcher.py", line 180, in enqueue
item = FetchItem(self, url, mirror)
File "/usr/local/lib/python2.7/dist-packages/smart/fetcher.py", line 459, in init
self._urlobj = URL(mirror.getNext())
File "/usr/local/lib/python2.7/dist-packages/smart/fetcher.py", line 625, in init
self.set(url)
File "/usr/local/lib/python2.7/dist-packages/smart/fetcher.py", line 658, in set
user, host = urllib.splituser(host)
File "/usr/lib/python2.7/urllib.py", line 1105, in splituser
match = _userprog.match(host)
TypeError: expected string or buffer


Also, I get the same error with both Debian packaged (1.4-2) and current GitHub (1.5) version.
If you need any more info, let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions