Bug 154125 - (B5.2) I/O warning : failed to load external entity ""
Summary: (B5.2) I/O warning : failed to load external entity ""
Status: RESOLVED FIXED
: 153309 160512 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Beta 5
Hardware: All SuSE Linux 10.1
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Jiri Srain
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 140732
  Show dependency treegraph
 
Reported: 2006-02-28 15:24 UTC by Marco Michna
Modified: 2006-03-27 13:48 UTC (History)
2 users (show)

See Also:
Found By: Beta-NTS
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
complete /var/log/Yast2 (480.65 KB, application/x-tbz)
2006-02-28 15:25 UTC, Marco Michna
Details
just after: I/O warning : failed to load external entity "" (23.10 KB, application/octet-stream)
2006-03-20 14:31 UTC, Lukas Ocilka
Details
strace -s 128 /usr/lib/YaST2/bin/y2base inst_source qt 1>out 2>err (821.66 KB, application/octet-stream)
2006-03-20 14:41 UTC, Lukas Ocilka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Michna 2006-02-28 15:24:33 UTC
When I try to add more sources then I can read (on the console where I started YaST):

     I/O warning : failed to load external entity ""

for every entry that is in there.
Comment 1 Marco Michna 2006-02-28 15:25:16 UTC
Created attachment 70657 [details]
complete /var/log/Yast2
Comment 2 Klaus Kämpf 2006-02-28 15:30:01 UTC
xml parser ?!
Comment 3 Jiri Srain 2006-02-28 19:41:38 UTC
Marco, the log is terribly long, and I can't find adding the installation source in it. Would it be possible to remove contents of /var/log/YaST2 directory, start adding the installation source, and stop YaST when first message appears? I can't even find which source you added...

The message comes from libxml2, I just don't understand why is it not redirected to the log.
Comment 4 Stanislav Visnovsky 2006-03-03 08:17:59 UTC
What about defining a schema for sources?
Comment 5 Stanislav Visnovsky 2006-03-03 08:41:21 UTC
*** Bug 153309 has been marked as a duplicate of this bug. ***
Comment 6 Lukas Ocilka 2006-03-20 14:31:09 UTC
Created attachment 73978 [details]
just after: I/O warning : failed to load external entity ""

liche(14980) [base] Exception.cc(log):94 ProductMetadataParser.cc(parse):61 THROW:    ProductMetadataParser.cc(parse):61: Can't read product file :/var/lib/zypp/cache/0/DATA/content
liche(14980) [susetags] SuseTagsImpl.cc(provideProducts):354 cannot parse content file
liche(14980) [wfm] Source.cc(SourceProductData):379 Product for source '2' not found
Comment 7 Lukas Ocilka 2006-03-20 14:41:21 UTC
Created attachment 73983 [details]
strace -s 128 /usr/lib/YaST2/bin/y2base inst_source qt 1>out 2>err

Search the 'err' log for "failed to load external entity" string and check against the 'y2log' in the same archive.
Comment 8 Lukas Ocilka 2006-03-20 14:53:32 UTC
2006-03-20 15:37:45 <0> liche(15022) [store] XMLFilesBackend.cc(storedSources):1003 [source-list] - 85755354bdec6c14482b519f49dcc1df

...somewhere here...

2006-03-20 15:37:45 <2> liche(15022) [parser] XMLNodeIterator.cc(XMLNodeIteratorBase):138 Could not enable validation of document using

see the strace output for more info
Comment 9 Stanislav Visnovsky 2006-03-27 13:44:08 UTC
*** Bug 160512 has been marked as a duplicate of this bug. ***
Comment 10 Duncan Mac-Vicar 2006-03-27 13:48:49 UTC
Fixed in revision 2700. Note that only works for new added sources as the namespace changed so the schema will not validate. But by default now all source xmls are validated.