30 Apr
2012
30 Apr
'12
21:24
Hi, I am trying to add a repository using libzypp. I tried using zypp::RepoInfo, and calling addBaseUrl. I have used repoinfo.addBaseUrl(zypp::Url(repo->url().toStdString())); (repo is an object of a class that i have created, and stores QStrings for Repository Name and other details. url() returns the url in QString, which I converted to std::string) On executing, I get the following error terminate called after throwing an instance of 'zypp::url::UrlBadComponentException' what(): Url scheme is a required component Aborted What am I doing wrong here? Regards,. Saurabh -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org