You are not logged in.

#1 2016-05-08 05:33:50

aheader
Member
Registered: 2016-05-08
Posts: 1

Cannot open Retext which is installed by pacman

after I install it by typing "pacman -S retext"
then I type "retext" in my console
here's the result:

Using configuration file: /home/david/.config/ReText project/ReText.conf
Warning: no markups are available!
Traceback (most recent call last):
  File "/usr/bin/retext", line 81, in <module>
    main()
  File "/usr/bin/retext", line 76, in main
    window.createNew(inputData)
  File "/usr/lib/python3.5/site-packages/ReText/window.py", line 607, in createNew
    self.createTab("")
  File "/usr/lib/python3.5/site-packages/ReText/window.py", line 396, in createTab
    previewState=int(globalSettings.livePreviewByDefault))
  File "/usr/lib/python3.5/site-packages/ReText/tab.py", line 53, in __init__
    self.highlighter.docType = self.markup.name
AttributeError: 'NoneType' object has no attribute 'name'

I have met this before but I haven't solved it yet,please help

Offline

#2 2016-05-08 06:31:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Cannot open Retext which is installed by pacman

What version are you running?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-05-08 06:34:18

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Cannot open Retext which is installed by pacman

I am guessing python-markdown should NOT be an optdepends.... because as soon as I uninstall it, retext crashes the same way for me.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#4 2016-05-08 07:57:41

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Cannot open Retext which is installed by pacman

As you might guess from the warning message, you need at least one markup backend. I don't have python-markdown, but because I have python-docutils installed, I can start retext and use it for reStructuredText.

Offline

Board footer

Powered by FluxBB