Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't run on Debian Jessie #2

Open
cofi89 opened this issue Nov 19, 2014 · 0 comments
Open

Doesn't run on Debian Jessie #2

cofi89 opened this issue Nov 19, 2014 · 0 comments

Comments

@cofi89
Copy link

cofi89 commented Nov 19, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant