After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 157659 - Warning when gedit-metadata.xml doesnt exist
Warning when gedit-metadata.xml doesnt exist
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
gedit QA volunteers
Depends on:
Blocks:
 
 
Reported: 2004-11-08 14:01 UTC by Marco Pesenti Gritti
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
trivial fix (586 bytes, patch)
2004-11-08 14:02 UTC, Marco Pesenti Gritti
none Details | Review
ooops I was fooled by the return below (609 bytes, patch)
2004-11-08 14:32 UTC, Marco Pesenti Gritti
accepted-commit_now Details | Review

Description Marco Pesenti Gritti 2004-11-08 14:01:07 UTC
I/O warning : failed to load external entity
"/home/devel/.gnome2/gedit-metadata.xml"
Comment 1 Marco Pesenti Gritti 2004-11-08 14:02:59 UTC
Created attachment 33552 [details] [review]
trivial fix

Can I check in?
Comment 2 Paolo Borelli 2004-11-08 14:21:54 UTC
shouldn't you free file_name before returning?
Comment 3 Marco Pesenti Gritti 2004-11-08 14:32:57 UTC
Created attachment 33553 [details] [review]
ooops I was fooled by the return below
Comment 4 Paolo Maggi 2004-11-08 14:49:08 UTC
Comment on attachment 33553 [details] [review]
ooops I was fooled by the return below

Thanks for the patch. Please commit to CVS HEAD (and eventually to gedit-2-8
branch).

BTW, I think the real problem is that  xmlParseFile should not print the
warning, but only return NULL.
Comment 5 Marco Pesenti Gritti 2004-11-08 15:09:06 UTC
Checked in on both branches, thanks.