GRAMPS 2.2.9 won't start (Fedora 7)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

GRAMPS 2.2.9 won't start (Fedora 7)

Piotr Czubaszek-2
GRAMPS won't start on my Fedora 7 system, both if called from rpm
installation or from source package.

I only get the following error in console:

Traceback (most recent call last):
  File "/usr/share/gramps/gramps.py", line 97, in <module>
    import gramps_main
  File "/usr/share/gramps/gramps_main.py", line 47, in <module>
    import ViewManager
  File "/usr/share/gramps/ViewManager.py", line 61, in <module>
    from PluginUtils import Plugins, Tool, PluginStatus, \
  File "/usr/share/gramps/PluginUtils/__init__.py", line 23, in <module>
    from _PluginMgr import \
  File "/usr/share/gramps/PluginUtils/_PluginMgr.py", line 46, in <module>
    from ReportBase import MODE_GUI, MODE_CLI, MODE_BKI, book_categories
  File "/usr/share/gramps/ReportBase/__init__.py", line 33, in <module>
    from _ReportDialog import report
  File "/usr/share/gramps/ReportBase/_ReportDialog.py", line 56, in <module>
    from _BareReportDialog import BareReportDialog
  File "/usr/share/gramps/ReportBase/_BareReportDialog.py", line 49, in <module>
    from Filters import FilterComboBox,Rules
  File "/usr/share/gramps/Filters/__init__.py", line 51, in <module>
    reload_custom_filters()
  File "/usr/share/gramps/Filters/__init__.py", line 45, in
reload_custom_filters
    CustomFilters.load()
  File "/usr/share/gramps/Filters/_FilterList.py", line 72, in load
    parser.parse(the_file)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py",
line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
line 311, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/usr/share/gramps/Filters/_FilterParser.py", line 67, in startElement
    self.f = GenericFilterFactory(self.namespace)()
TypeError: 'NoneType' object is not callable

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Gramps-bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-bugs
Reply | Threaded
Open this post in threaded view
|

Re: GRAMPS 2.2.9 won't start (Fedora 7)

Benny Malengier
Piotr,

you probably made a note filter in 3.0 development.
Gramps 2.2.x crashes on that, this is known.
Move/delete .gramps/custom_filters.xml and all works again.

If you don't want to loose your defined filters delete the note filter in 3.0, or edit the xml file manually.

Benny

2007/10/19, Piotr Czubaszek <[hidden email]>:
GRAMPS won't start on my Fedora 7 system, both if called from rpm
installation or from source package.

I only get the following error in console:

Traceback (most recent call last):
  File "/usr/share/gramps/gramps.py", line 97, in <module>
    import gramps_main
  File "/usr/share/gramps/gramps_main.py", line 47, in <module>
    import ViewManager
  File "/usr/share/gramps/ViewManager.py", line 61, in <module>
    from PluginUtils import Plugins, Tool, PluginStatus, \
  File "/usr/share/gramps/PluginUtils/__init__.py", line 23, in <module>
    from _PluginMgr import \
  File "/usr/share/gramps/PluginUtils/_PluginMgr.py", line 46, in <module>
    from ReportBase import MODE_GUI, MODE_CLI, MODE_BKI, book_categories
  File "/usr/share/gramps/ReportBase/__init__.py", line 33, in <module>
    from _ReportDialog import report
  File "/usr/share/gramps/ReportBase/_ReportDialog.py", line 56, in <module>
    from _BareReportDialog import BareReportDialog
  File "/usr/share/gramps/ReportBase/_BareReportDialog.py", line 49, in <module>
    from Filters import FilterComboBox,Rules
  File "/usr/share/gramps/Filters/__init__.py", line 51, in <module>
    reload_custom_filters()
  File "/usr/share/gramps/Filters/__init__.py", line 45, in
reload_custom_filters
    CustomFilters.load()
  File "/usr/share/gramps/Filters/_FilterList.py", line 72, in load
    parser.parse(the_file)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py",
line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
line 311, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/usr/share/gramps/Filters/_FilterParser.py", line 67, in startElement
    self.f = GenericFilterFactory( self.namespace)()
TypeError: 'NoneType' object is not callable

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Gramps-bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-bugs


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Gramps-bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-bugs
Reply | Threaded
Open this post in threaded view
|

Re: GRAMPS 2.2.9 won't start (Fedora 7)

Piotr Czubaszek-2
Thanks for advice. You were right.

Piotrek

On 10/19/07, Benny Malengier <[hidden email]> wrote:

> Piotr,
>
> you probably made a note filter in 3.0 development.
> Gramps 2.2.x crashes on that, this is known.
> Move/delete .gramps/custom_filters.xml and all works again.
>
> If you don't want to loose your defined filters delete the note filter in
> 3.0, or edit the xml file manually.
>
> Benny
>
> 2007/10/19, Piotr Czubaszek <[hidden email]>:
> >
> > GRAMPS won't start on my Fedora 7 system, both if called from rpm
> > installation or from source package.
> >
> > I only get the following error in console:
> >
> > Traceback (most recent call last):
> >   File "/usr/share/gramps/gramps.py", line 97, in <module>
> >     import gramps_main
> >   File "/usr/share/gramps/gramps_main.py", line 47, in
> <module>
> >     import ViewManager
> >   File "/usr/share/gramps/ViewManager.py", line 61, in
> <module>
> >     from PluginUtils import Plugins, Tool, PluginStatus, \
> >   File "/usr/share/gramps/PluginUtils/__init__.py", line
> 23, in <module>
> >     from _PluginMgr import \
> >   File "/usr/share/gramps/PluginUtils/_PluginMgr.py",
> line 46, in <module>
> >     from ReportBase import MODE_GUI, MODE_CLI, MODE_BKI, book_categories
> >   File "/usr/share/gramps/ReportBase/__init__.py", line
> 33, in <module>
> >     from _ReportDialog import report
> >   File "/usr/share/gramps/ReportBase/_ReportDialog.py",
> line 56, in <module>
> >     from _BareReportDialog import BareReportDialog
> >   File
> "/usr/share/gramps/ReportBase/_BareReportDialog.py", line
> 49, in <module>
> >     from Filters import FilterComboBox,Rules
> >   File "/usr/share/gramps/Filters/__init__.py", line 51,
> in <module>
> >     reload_custom_filters()
> >   File "/usr/share/gramps/Filters/__init__.py", line 45,
> in
> > reload_custom_filters
> >     CustomFilters.load()
> >   File "/usr/share/gramps/Filters/_FilterList.py", line
> 72, in load
> >     parser.parse(the_file)
> >   File
> "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
> > line 109, in parse
> >     xmlreader.IncrementalParser.parse(self, source)
> >   File
> "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py",
> > line 123, in parse
> >     self.feed(buffer)
> >   File
> "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
> > line 216, in feed
> >     self._parser.Parse(data, isFinal)
> >   File
> "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
> > line 311, in start_element
> >     self._cont_handler.startElement(name,
> AttributesImpl(attrs))
> >   File "/usr/share/gramps/Filters/_FilterParser.py", line
> 67, in startElement
> >     self.f = GenericFilterFactory( self.namespace)()
> > TypeError: 'NoneType' object is not callable
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Gramps-bugs mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gramps-bugs
> >
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Gramps-bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-bugs