Bug 822454 - ImportError when exporting page as Markdown format
Summary: ImportError when exporting page as Markdown format
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Zim
Version: 16
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Robin Lee
QA Contact: Fedora Extras Quality Assurance
URL: https://bugs.launchpad.net/zim/+bug/1...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-17 11:45 UTC by David Kovalsky
Modified: 2014-03-31 23:46 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-07 02:53:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Kovalsky 2012-05-17 11:45:56 UTC
I tried to export a page to text file via pandoc / Markdown, but Zim doesn't install markdown dependencies. 

I tried installing  python-markdown2 and pandoc, but that doesn't help. Zim still fails with the following traceback:


__init__.py:118:get_module:ImportError: No module named markdown (pandoc)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/gui/widgets.py", line 3176, in next_page
    return self.set_page(self._page + 1)
  File "/usr/lib/python2.7/site-packages/zim/gui/widgets.py", line 3154, in set_page
    page.init_uistate()
  File "/usr/lib/python2.7/site-packages/zim/gui/exportdialog.py", line 288, in init_uistate
    ext = zim.formats.get_format(self.uistate['format']).info['extension']
  File "/usr/lib/python2.7/site-packages/zim/formats/__init__.py", line 153, in get_format
    return get_format_module(name)
  File "/usr/lib/python2.7/site-packages/zim/formats/__init__.py", line 162, in get_format_module
    return zim.plugins.get_module('zim.formats', name)
  File "/usr/lib/python2.7/site-packages/zim/plugins/__init__.py", line 118, in get_module
    mod = __import__(modname)
ImportError: No module named markdown (pandoc)


Zim-0.56-1.fc16.noarch

Comment 1 David Kovalsky 2012-05-17 11:47:29 UTC
And the crash happens between display 2/3 and 3/3 window.

Comment 2 Fedora Update System 2012-05-24 07:23:30 UTC
Zim-0.56-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/Zim-0.56-2.fc16

Comment 3 Fedora Update System 2012-05-25 00:01:14 UTC
Package Zim-0.56-2.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing Zim-0.56-2.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-8371/Zim-0.56-2.fc16
then log in and leave karma (feedback).

Comment 4 David Kovalsky 2012-05-25 15:24:31 UTC
Works for me, thanks for the packaging and taking this upstream!

Comment 5 Fedora Update System 2012-05-27 08:58:40 UTC
Zim-0.56-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/Zim-0.56-3.fc16

Comment 6 Fedora Update System 2012-05-28 01:19:01 UTC
Package Zim-0.56-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing Zim-0.56-3.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-8505/Zim-0.56-3.fc16
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-06-07 02:53:39 UTC
Zim-0.56-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.