Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19121 - Gnumeric 1.0.12 produces an error when trying to open Excel (XLS) files
Summary: Gnumeric 1.0.12 produces an error when trying to open Excel (XLS) files
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-10 23:59 UTC by Josh Goebel
Modified: 2003-04-22 03:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Goebel 2003-04-10 23:59:16 UTC
When trying to open an Excel (XLS) file GNumeric dies with an error saying it
cannot load the needed module "excel.la:dlname"...

Reproducible: Always
Steps to Reproduce:
1. Try to open Excel file in GNumeric 1.0.12.

Actual Results:  
See error saying module could not be loaded.

Expected Results:  
Excel file would open.

I changed the module file from "excel.la:dlname" to "excel.so" in the
/usr/lib/gnumeric/.../excel/plugin.xml file (as it is in the 1.0.8 ebuild and
now Excel files are working fine.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-04-13 19:47:20 UTC
what was it before you changed it?

my /usr/lib/gnumeric/1.0.12-bonobo/plugins/excel/plugin.xml has this:

       <loader type="g_module">
                <attribute name="module_file" value="excel.so"/>
        </loader>

it looks right to me, or what line did you change? as far as i can see, this is exactly the same as 1.0.8 was.
Comment 2 Josh Goebel 2003-04-14 09:04:32 UTC
This is what my 1.0.12 was by default before I changed it...

<loader type="g_module">
     <attribute name="module_file" value="excel.la:dlname"/>
</loader>
Comment 3 foser (RETIRED) gentoo-dev 2003-04-14 09:16:44 UTC
hmm i think that shouldve been buildtime substituted, not idea why it didn't happen in your case.

Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-04-21 16:10:05 UTC
the substitution should have been done properly as foser says. i can't find any way that it would fail unless there is something wrong with your "sed".

for reference, the substitution is done by gnumeric*/src/tools/fixup-plugin-xml.

can you try attaching the whole build log for gnumeric by doing this?

emerge gnumeric 2>&1 | tee /tmp/build.log

and attaching it to this bug?
Comment 5 Josh Goebel 2003-04-21 18:00:08 UTC
I'm re-emerging it right now... if it magically works I'll let you know but if I still have the problem I will create a log file as you show and attach it.
Comment 6 Josh Goebel 2003-04-21 19:51:58 UTC
It auto-magically started working when I re-emerged gnumeric... guess we won't ever know...  Thanks for the help though.
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2003-04-22 03:41:04 UTC
well, the only way i could make it happen was the interrupt the build process half way while it was doing plugin.xml with a Ctrl+S. in short, if you don't interrupt the build process, it shouldn't happen.