Invalid type when opening a powerpoint presentation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Undecided
|
Jonathan Corwin |
Bug Description
While attempting to open a powerpoint presentation I got the following error message:
"Unsupported file
This type of presentation is not supported"
Which was rather strange as I'd just used powerpoint to generate the presentation (MS office 2000 sp 3), and powerpoint would re-open correctly.
Investigation points to the name having more than one "." in it (the name being dictated by a corporate policy which requires the use of "." as certain places...)
Renaming the file to the same name, but without the additional "." allows the file to be loaded.
This is reproducible with even the simplest single slide presentation with a name like "test.1.ppt" failing to load.
This behaviour is contrary to the windows file naming rules which state that "." are allowed within the name, the final one being used to identify the file extension.
Related branches
- Raoul Snyman: Approve
- Tim Bentley: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedopenlp/plugins/presentations/lib/mediaitem.py (+1/-1)
Changed in openlp: | |
assignee: | nobody → Jonathan Corwin (j-corwin) |
milestone: | none → 1.9.6 |
Changed in openlp: | |
status: | New → Fix Committed |
Changed in openlp: | |
status: | Fix Committed → Fix Released |
I've just tried to load the same presentation (with the "." in the name) using v.1.2.4 and it loads correctly.