Mailinglist Archive: opensuse-bugs (4243 mails)

< Previous Next >
[Bug 1017610] During Initialize software manager - YAST not able to create repository from external USB diskdrive
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 15 Jan 2017 10:58:57 +0000
  • Message-id: <bug-1017610-21960-MOPqkZ69O3@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1017610
http://bugzilla.opensuse.org/show_bug.cgi?id=1017610#c8

--- Comment #8 from Richard Bos <richard.bos@xxxxxxxxx> ---
Created attachment 710127
--> http://bugzilla.opensuse.org/attachment.cgi?id=710127&action=edit
debug src files and logs from debug session

I've been doing some debugging and the culprit seems to be in lines:
193: zypp::Pathname pth(probe_url.getPathName());
194: pth /= path_r;
195:
196: probe_url.setPathName(pth.asString());

I added DEBUG statements (like DEBUG A6.1) to lines 160 - 199, see file
src/Source_Create.cc-20170115_044600.

The result of that can be seen in corresponding log log/y2log-20170115_044600.

2017-01-15 04:46:53 <1> install(7713) [Pkg]
Source_Create.cc(createManagedSource):204 DEBUG A6.1:
cd:///?devices=/dev/disk/by-id/usb-TSSTcorp_CDDVDW_SE-208AB_RL6X853-0:0
2017-01-15 04:46:53 <1> install(7713) [Pkg]
Source_Create.cc(createManagedSource):206 DEBUG A6.2:
cd:///%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00?devices=/dev/disk/by-id/usb-TSSTcorp_CDDVDW_SE-208AB_RL6X853-0:0

Something between A6.1 and A6.2 is clearly adding the zero's...., this is:
if (!path_r.asString().empty())
{
y2milestone("DEBUG A6");
zypp::Pathname pth(probe_url.getPathName());
????? pth /= path_r;

y2milestone("DEBUG A6.1: %s", probe_url.asString().c_str() );
>>>>> probe_url.setPathName(pth.asString());
y2milestone("DEBUG A6.2: %s", probe_url.asString().c_str() );


In my next attempt I uncommented "probe_url.setPathName(pth.asString())", this
resulted in another (internal) error message...., see log
log/y2log-20170115_045400.

The error message shown on the screen: 'No base product found'. In the log
this is:
yast/wfm.rb:229 Client call failed with 'No base product found' and backtrace
["/mounts/mp_0001/usr/share/YaST2/modules/Product.rb:117:in `FindBaseProducts'"


I hope that is sufficient information to provide a fix...

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >