Network Chart 0.0.8 installation error

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

Network Chart 0.0.8 installation error

Ron Johnson
This is Gramps v4.2.6.  Unfortunately, there's no detail message. Am I
missing a new dependency?

--
World Peace Through Nuclear Pacification


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Network Chart 0.0.8 installation error

Peter Hewett-2

I have noticed the same error message here for the last week or two. It
does appear to be a new dependency.

------------------------
From: Ron Johnson <[hidden email]>
Date: Sat, 3 Feb 2018 10:39:05 -0600
To: [hidden email]
Subject: [Gramps-users] Network Chart 0.0.8 installation error

> This is Gramps v4.2.6.  Unfortunately, there's no detail message. Am I
> missing a new dependency?
>



 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Network Chart 0.0.8 installation error

Michel Vuijlsteke-2
Windows 10, Gramps 4.2.6:

69870: ERROR: _reportdialog.py: line 735: Failed to run report.
Traceback (most recent call last):
  File "C:\Program Files\GrampsAIO64-4.2.6\gramps\gui\plug\report\_reportdialog.py", line 699, in report
    MyReport.write_report()
  File "C:\Users\Michel Vuijlsteke\AppData\Roaming\gramps\gramps42\plugins\NetworkChart\NetworkChart.py", line 417, in write_report
    person, edge_marriage, edge_child = self.get_network()
  File "C:\Users\Michel Vuijlsteke\AppData\Roaming\gramps\gramps42\plugins\NetworkChart\NetworkChart.py", line 244, in get_network
    fmt_bdate = _datedisplay.display_formatted(h_event.get_date_object())
  File "C:\Program Files\GrampsAIO64-4.2.6\gramps\gen\datehandler\_datedisplay.py", line 493, in display_formatted
    text = self.display_cal[cal](start, inflect=date_type)
TypeError: _display_gregorian() got an unexpected keyword argument 'inflect'

On 3 February 2018 at 23:24, Sam Manzi <[hidden email]> wrote:
Hi Ron & Peter,

Just checked on both Microsoft Windows 10 and Linux Ubuntu 16.04 and it worked with no issues.

What Operating system are you both using as I have not tested with Apple Mac?

-
Sam

On 4 February 2018 at 08:25, Peter Hewett <[hidden email]> wrote:

I have noticed the same error message here for the last week or two. It
does appear to be a new dependency.

------------------------
From: Ron Johnson <[hidden email]>
Date: Sat, 3 Feb 2018 10:39:05 -0600
To: [hidden email]
Subject: [Gramps-users] Network Chart 0.0.8 installation error

> This is Gramps v4.2.6.  Unfortunately, there's no detail message. Am I
> missing a new dependency?
>



 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Network Chart 0.0.8 installation error

Michel Vuijlsteke-2
This is just defaults too. :/


On 3 February 2018 at 23:32, Sam Manzi <[hidden email]> wrote:
Michel,

Should mention I only ran the network chart using the defaults, can you mention what option you selected to get this error?

-
Sam

On 4 February 2018 at 09:29, Michel Vuijlsteke <[hidden email]> wrote:
Windows 10, Gramps 4.2.6:

69870: ERROR: _reportdialog.py: line 735: Failed to run report.
Traceback (most recent call last):
  File "C:\Program Files\GrampsAIO64-4.2.6\gramps\gui\plug\report\_reportdialog.py", line 699, in report
    MyReport.write_report()
  File "C:\Users\Michel Vuijlsteke\AppData\Roaming\gramps\gramps42\plugins\NetworkChart\NetworkChart.py", line 417, in write_report
    person, edge_marriage, edge_child = self.get_network()
  File "C:\Users\Michel Vuijlsteke\AppData\Roaming\gramps\gramps42\plugins\NetworkChart\NetworkChart.py", line 244, in get_network
    fmt_bdate = _datedisplay.display_formatted(h_event.get_date_object())
  File "C:\Program Files\GrampsAIO64-4.2.6\gramps\gen\datehandler\_datedisplay.py", line 493, in display_formatted
    text = self.display_cal[cal](start, inflect=date_type)
TypeError: _display_gregorian() got an unexpected keyword argument 'inflect'

On 3 February 2018 at 23:24, Sam Manzi <[hidden email]> wrote:
Hi Ron & Peter,

Just checked on both Microsoft Windows 10 and Linux Ubuntu 16.04 and it worked with no issues.

What Operating system are you both using as I have not tested with Apple Mac?

-
Sam

On 4 February 2018 at 08:25, Peter Hewett <[hidden email]> wrote:

I have noticed the same error message here for the last week or two. It
does appear to be a new dependency.

------------------------
From: Ron Johnson <[hidden email]>
Date: Sat, 3 Feb 2018 10:39:05 -0600
To: [hidden email]
Subject: [Gramps-users] Network Chart 0.0.8 installation error

> This is Gramps v4.2.6.  Unfortunately, there's no detail message. Am I
> missing a new dependency?
>



 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Network Chart 0.0.8 installation error

Ron Johnson
In reply to this post by Peter Hewett-2
A fully up-to-date Xubuntu 16.04.    Network Chart 0.0.7 installed cleanly a while back.


On 02/03/2018 04:24 PM, Sam Manzi wrote:
Hi Ron & Peter,

Just checked on both Microsoft Windows 10 and Linux Ubuntu 16.04 and it worked with no issues.

What Operating system are you both using as I have not tested with Apple Mac?

-
Sam

On 4 February 2018 at 08:25, Peter Hewett <[hidden email]> wrote:

I have noticed the same error message here for the last week or two. It
does appear to be a new dependency.

------------------------
From: Ron Johnson <[hidden email]>
Date: Sat, 3 Feb 2018 10:39:05 -0600
To: [hidden email]
Subject: [Gramps-users] Network Chart 0.0.8 installation error

> This is Gramps v4.2.6.  Unfortunately, there's no detail message. Am I
> missing a new dependency?
>


-- 
World Peace Through Nuclear Pacification

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Network Chart 0.0.8 installation error

Perditorum
In reply to this post by Michel Vuijlsteke-2
Hi Sam,

I get same error with network chart v. 0.0.8:
37891: ERROR: _reportdialog.py: line 735: Failed to run report.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gramps/gui/plug/report/_reportdialog.py", line 699, in report
    MyReport.write_report()
  File "/home/jan/.gramps/gramps42/plugins/NetworkChart/NetworkChart.py", line 417, in write_report
    person, edge_marriage, edge_child = self.get_network()
  File "/home/jan/.gramps/gramps42/plugins/NetworkChart/NetworkChart.py", line 244, in get_network
    fmt_bdate = _datedisplay.display_formatted(h_event.get_date_object())
  File "/usr/lib/python3/dist-packages/gramps/gen/datehandler/_datedisplay.py", line 493, in display_formatted
    text = self.display_cal[cal](start, inflect=date_type)
TypeError: _display_gregorian() got an unexpected keyword argument 'inflect'

I run Gramps:
Python version: 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
BSDDB version: 6.1.0 (5, 3, 28)
Gramps version: 4.2.6
LANG: nl_NL.UTF-8
OS: Linux Mint 18.3 Cinnamon 64-bit (3.6.7)
Distribution: 4.13.0-32-generic
GTK version    : 3.18.9
gobject version: 3.20.0
cairo version  : (1, 10, 0)
But I get this error only when I set my default language on Dutch, when I change it to English I don't have this problem.

Op 04-02-18 om 00:19 schreef Sam Manzi:
To the list.

---------- Forwarded message ----------
From: Sam Manzi
Date: 4 February 2018 at 10:15
Subject: Re: [Gramps-users] Network Chart 0.0.8 installation error
To: Michel Vuijlsteke


Here's the content of my ini file that comes as the default for comparison.   Note that center_radius for you is 10  while my default is 5 (this is set in the Highlight tab > Max connections from center: )  I changing this option to 10 and reran the report and it worked (can you change it to 5 and rerun?). As I've only been testing using example.gramps ( https://gramps-project.org/wiki/index.php?title=Example.gramps ) on a new family tree. this means something in your family tree is triggering the error. Can you test using example.gramps and confirm you have no issue please?

[Example Family Tree]
s_dbname = Example Family Tree
trim_list_children =
trim_list_parents =
path_start_end =
b_trim_children = 0
b_trim_parents = 0
b_trim_groups = 1
trim_groups_size = 2
show_path = None
show_highlight = None
b_center_person = 1
b_highlight_center = 1
center_person = I0044
center_radius = 5

[NetworkChart]
created = 2018-02-04 09:14:44
last_written = 2018-02-04 09:14:44



On 4 February 2018 at 10:04, Michel Vuijlsteke  wrote:
Sorry, missed the next message. This is the contents of NetworkChart.ini:

[Michel Vuijlsteke]
s_dbname = Michel Vuijlsteke
trim_list_children = 
trim_list_parents = 
path_start_end = 
b_trim_children = 0
b_trim_parents = 0
b_trim_groups = 1
trim_groups_size = 2
show_path = None
show_highlight = None
b_center_person = 1
b_highlight_center = 1
center_person = I0002
center_radius = 10

[NetworkChart]
created = 2018-02-02 19:33:21
last_written = 2018-02-03 23:28:38

On 3 February 2018 at 23:44, Sam Manzi wrote:
Michel,

It may be easier to look for the following file:

C:\Users\<username>\AppData\Roaming\gramps\gramps42\NetworkChart.ini

open it up in a text editor (not notepad and only while Gramps is not working)  and if you are happy that the contents contain no private information , paste the content into your next message.


-
Sam




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Network Chart 0.0.8 installation error

Ron Johnson
In reply to this post by Ron Johnson
Correct.  Presumably because it's not a run-time error.

On 02/03/2018 05:32 PM, Sam Manzi wrote:
Ron,

When you mentioned "Unfortunately, there's no detail message. " earlier  does that mean you ran gramps from the command line and had no messages?

Sam

On 4 February 2018 at 10:03, Ron Johnson  wrote:
A fully up-to-date Xubuntu 16.04.    Network Chart 0.0.7 installed cleanly a while back.


On 02/03/2018 04:24 PM, Sam Manzi wrote:
Hi Ron & Peter,

Just checked on both Microsoft Windows 10 and Linux Ubuntu 16.04 and it worked with no issues.

What Operating system are you both using as I have not tested with Apple Mac?

-
Sam




-- 
World Peace Through Nuclear Pacification

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Network Chart 0.0.8 installation error

Michel Vuijlsteke-2
In reply to this post by Perditorum
Yup. Same error when changing the 10 to a 5, and when using the sample data. 

My Gramps is also set to Dutch. 

On 4 February 2018 at 00:37, Perditorum <[hidden email]> wrote:
Hi Sam,

I get same error with network chart v. 0.0.8:
37891: ERROR: _reportdialog.py: line 735: Failed to run report.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gramps/gui/plug/report/_reportdialog.py", line 699, in report
    MyReport.write_report()
  File "/home/jan/.gramps/gramps42/plugins/NetworkChart/NetworkChart.py", line 417, in write_report
    person, edge_marriage, edge_child = self.get_network()
  File "/home/jan/.gramps/gramps42/plugins/NetworkChart/NetworkChart.py", line 244, in get_network
    fmt_bdate = _datedisplay.display_formatted(h_event.get_date_object())
  File "/usr/lib/python3/dist-packages/gramps/gen/datehandler/_datedisplay.py", line 493, in display_formatted
    text = self.display_cal[cal](start, inflect=date_type)
TypeError: _display_gregorian() got an unexpected keyword argument 'inflect'

I run Gramps:
Python version: 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
BSDDB version: 6.1.0 (5, 3, 28)
Gramps version: 4.2.6
LANG: nl_NL.UTF-8
OS: Linux Mint 18.3 Cinnamon 64-bit (3.6.7)
Distribution: 4.13.0-32-generic
GTK version    : 3.18.9
gobject version: 3.20.0
cairo version  : (1, 10, 0)
But I get this error only when I set my default language on Dutch, when I change it to English I don't have this problem.

Op 04-02-18 om 00:19 schreef Sam Manzi:
To the list.

---------- Forwarded message ----------
From: Sam Manzi
Date: 4 February 2018 at 10:15
Subject: Re: [Gramps-users] Network Chart 0.0.8 installation error
To: Michel Vuijlsteke


Here's the content of my ini file that comes as the default for comparison.   Note that center_radius for you is 10  while my default is 5 (this is set in the Highlight tab > Max connections from center: )  I changing this option to 10 and reran the report and it worked (can you change it to 5 and rerun?). As I've only been testing using example.gramps ( https://gramps-project.org/wiki/index.php?title=Example.gramps ) on a new family tree. this means something in your family tree is triggering the error. Can you test using example.gramps and confirm you have no issue please?

[Example Family Tree]
s_dbname = Example Family Tree
trim_list_children =
trim_list_parents =
path_start_end =
b_trim_children = 0
b_trim_parents = 0
b_trim_groups = 1
trim_groups_size = 2
show_path = None
show_highlight = None
b_center_person = 1
b_highlight_center = 1
center_person = I0044
center_radius = 5

[NetworkChart]
created = 2018-02-04 09:14:44
last_written = 2018-02-04 09:14:44



On 4 February 2018 at 10:04, Michel Vuijlsteke  wrote:
Sorry, missed the next message. This is the contents of NetworkChart.ini:

[Michel Vuijlsteke]
s_dbname = Michel Vuijlsteke
trim_list_children = 
trim_list_parents = 
path_start_end = 
b_trim_children = 0
b_trim_parents = 0
b_trim_groups = 1
trim_groups_size = 2
show_path = None
show_highlight = None
b_center_person = 1
b_highlight_center = 1
center_person = I0002
center_radius = 10

[NetworkChart]
created = 2018-02-02 19:33:21
last_written = 2018-02-03 23:28:38

On 3 February 2018 at 23:44, Sam Manzi wrote:
Michel,

It may be easier to look for the following file:

C:\Users\<username>\AppData\Roaming\gramps\gramps42\NetworkChart.ini

open it up in a text editor (not notepad and only while Gramps is not working)  and if you are happy that the contents contain no private information , paste the content into your next message.


-
Sam




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Network Chart 0.0.8 installation error

Ron Johnson
In reply to this post by Ron Johnson
Yup.  Note that there was also an installation error with v0.0.2 back in April 2017 (https://sourceforge.net/p/gramps/mailman/message/35800161/) caused by a missing dependency.  Back then, I had to install python3-networkx.  Maybe v0.0.8 adds another dependency?

 

Plugin name: Network Chart [0]

Description: Generates a family network chart.
Version: 0.0.7
Authors: Mark B.
Email: [hidden email]
Filename: NetworkChart.py
Location: /home/ron/.gramps/gramps42/plugins/NetworkChart


On 02/03/2018 06:00 PM, Sam Manzi wrote:
Hi Ron,

Ok, thanks for confirming.

Looking at the menu "Help>Plugin Manager" on the "Registered Plugins" tab see if you can see the "Network Chart" entry, does it list its status as "Visible"?

Not sure why Xubuntu would be different to Ubuntu we are both on 16.04?
-
Sam

On 4 February 2018 at 10:50, Ron Johnson <[hidden email]> wrote:
Correct.  Presumably because it's not a run-time error.

On 02/03/2018 05:32 PM, Sam Manzi wrote:
Ron,

When you mentioned "Unfortunately, there's no detail message. " earlier  does that mean you ran gramps from the command line and had no messages?

Sam

On 4 February 2018 at 10:03, Ron Johnson  wrote:
A fully up-to-date Xubuntu 16.04.    Network Chart 0.0.7 installed cleanly a while back.


On 02/03/2018 04:24 PM, Sam Manzi wrote:
Hi Ron & Peter,

Just checked on both Microsoft Windows 10 and Linux Ubuntu 16.04 and it worked with no issues.

What Operating system are you both using as I have not tested with Apple Mac?

-
Sam




-- 
World Peace Through Nuclear Pacification

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org



-- 
World Peace Through Nuclear Pacification

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Network Chart 0.0.8 installation error

Peter Hewett-2
In reply to this post by Peter Hewett-2

Here, Gramps 4.2.6 is running on Kubuntu 17.10, with all current
updates. In Gramps, under Help > Plugin manager, it has Network Chart as
visible.

$ gramps --version
Gramps Settings:
----------------
 python    : 3.6.3
 gramps    : 4.2.6
 gtk++     : 3.22.25
 pygobject : 3.24.1
 pango     : 1.40.12
 bsddb     : 6.1.0
 bsddb.db  : 5.3.28
 cairo     : 1.14.10
 pycairo   : 1.10.0
 osmgpsmap : 1.0
 GExiv2    : 0.10
 ICU       : 57.1
 PyICU     : 1.9.5
 o.s.      : linux
 kernel    : 4.13.0-32-generic

Environment settings:
---------------------
 LANG      : en_GB.UTF-8
 LANGUAGE  : en_GB:en
 GRAMPSI18N: not set
 GRAMPSHOME: not set
 GRAMPSDIR : not set
 PYTHONPATH:
    /usr/lib/python3/dist-packages/gramps
    /usr/bin
    /usr/lib/python36.zip
    /usr/lib/python3.6
    /usr/lib/python3.6/lib-dynload
    /usr/local/lib/python3.6/dist-packages
    /usr/lib/python3/dist-packages
    /usr/lib/python3.6/dist-packages

Non-python dependencies:
------------------------
 Graphviz  : 2.38
 Ghostscr. : 9.21


------------------------
From: Sam Manzi <[hidden email]>
Date: Sun, 4 Feb 2018 09:24:25 +1100
To: [hidden email]
Cc: [hidden email], [hidden email]
Subject: Re: [Gramps-users] Network Chart 0.0.8 installation error

> Hi Ron & Peter,
>
> Just checked on both Microsoft Windows 10 and Linux Ubuntu 16.04 and it
> worked with no issues.
>
> What Operating system are you both using as I have not tested with Apple
> Mac?
>
> -
> Sam
>
> On 4 February 2018 at 08:25, Peter Hewett <[hidden email]> wrote:
>>
>> I have noticed the same error message here for the last week or two. It
>> does appear to be a new dependency.
>>
>> ------------------------
>> From: Ron Johnson <[hidden email]>
>> Date: Sat, 3 Feb 2018 10:39:05 -0600
>> To: [hidden email]
>> Subject: [Gramps-users] Network Chart 0.0.8 installation error
>>
>>> This is Gramps v4.2.6.  Unfortunately, there's no detail message. Am I
>>> missing a new dependency?
>>>
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Gramps-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>> https://gramps-project.org
>>
>


 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Network Chart 0.0.8 installation error

Peter Hewett-2

It appears that the issue was that pygraphviz wasn't installed. This was
done with:
 sudo pip3 install pygraphviz

Now Gramps doesn't give that Network Chart error on startup.


------------------------
From: Peter Hewett <[hidden email]>
Date: Sun, 4 Feb 2018 19:26:40 +1300
To: [hidden email]
Subject: Re: [Gramps-users] Network Chart 0.0.8 installation error

>
> Here, Gramps 4.2.6 is running on Kubuntu 17.10, with all current
> updates. In Gramps, under Help > Plugin manager, it has Network Chart as
> visible.
>
> $ gramps --version
> Gramps Settings:
> ----------------
>  python    : 3.6.3
>  gramps    : 4.2.6
>  gtk++     : 3.22.25
>  pygobject : 3.24.1
>  pango     : 1.40.12
>  bsddb     : 6.1.0
>  bsddb.db  : 5.3.28
>  cairo     : 1.14.10
>  pycairo   : 1.10.0
>  osmgpsmap : 1.0
>  GExiv2    : 0.10
>  ICU       : 57.1
>  PyICU     : 1.9.5
>  o.s.      : linux
>  kernel    : 4.13.0-32-generic
>
> Environment settings:
> ---------------------
>  LANG      : en_GB.UTF-8
>  LANGUAGE  : en_GB:en
>  GRAMPSI18N: not set
>  GRAMPSHOME: not set
>  GRAMPSDIR : not set
>  PYTHONPATH:
>     /usr/lib/python3/dist-packages/gramps
>     /usr/bin
>     /usr/lib/python36.zip
>     /usr/lib/python3.6
>     /usr/lib/python3.6/lib-dynload
>     /usr/local/lib/python3.6/dist-packages
>     /usr/lib/python3/dist-packages
>     /usr/lib/python3.6/dist-packages
>
> Non-python dependencies:
> ------------------------
>  Graphviz  : 2.38
>  Ghostscr. : 9.21
>
>
> ------------------------
> From: Sam Manzi <[hidden email]>
> Date: Sun, 4 Feb 2018 09:24:25 +1100
> To: [hidden email]
> Cc: [hidden email], [hidden email]
> Subject: Re: [Gramps-users] Network Chart 0.0.8 installation error
>
>> Hi Ron & Peter,
>>
>> Just checked on both Microsoft Windows 10 and Linux Ubuntu 16.04 and it
>> worked with no issues.
>>
>> What Operating system are you both using as I have not tested with Apple
>> Mac?
>>
>> -
>> Sam
>>
>> On 4 February 2018 at 08:25, Peter Hewett <[hidden email]> wrote:
>>>
>>> I have noticed the same error message here for the last week or two. It
>>> does appear to be a new dependency.
>>>
>>> ------------------------
>>> From: Ron Johnson <[hidden email]>
>>> Date: Sat, 3 Feb 2018 10:39:05 -0600
>>> To: [hidden email]
>>> Subject: [Gramps-users] Network Chart 0.0.8 installation error
>>>
>>>> This is Gramps v4.2.6.  Unfortunately, there's no detail message. Am I
>>>> missing a new dependency?
>>>>
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Gramps-users mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>> https://gramps-project.org
>>>
>>
>
>
>  
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gramps-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-users
> https://gramps-project.org
>


 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Network Chart 0.0.8 installation error

Ron Johnson
In reply to this post by Peter Hewett-2

The solution for Debian-based systems (Ubuntu 16.04 is what I use) is to
install python3-pygraphviz.

On 02/04/2018 02:36 AM, Peter Hewett wrote:

> It appears that the issue was that pygraphviz wasn't installed. This was
> done with:
>   sudo pip3 install pygraphviz
>
> Now Gramps doesn't give that Network Chart error on startup.
>
>
> ------------------------
> From: Peter Hewett <[hidden email]>
> Date: Sun, 4 Feb 2018 19:26:40 +1300
> To: [hidden email]
> Subject: Re: [Gramps-users] Network Chart 0.0.8 installation error
>
>> Here, Gramps 4.2.6 is running on Kubuntu 17.10, with all current
>> updates. In Gramps, under Help > Plugin manager, it has Network Chart as
>> visible.
>>
>> $ gramps --version
>> Gramps Settings:
>> ----------------
>>   python    : 3.6.3
>>   gramps    : 4.2.6
>>   gtk++     : 3.22.25
>>   pygobject : 3.24.1
>>   pango     : 1.40.12
>>   bsddb     : 6.1.0
>>   bsddb.db  : 5.3.28
>>   cairo     : 1.14.10
>>   pycairo   : 1.10.0
>>   osmgpsmap : 1.0
>>   GExiv2    : 0.10
>>   ICU       : 57.1
>>   PyICU     : 1.9.5
>>   o.s.      : linux
>>   kernel    : 4.13.0-32-generic
>>
>> Environment settings:
>> ---------------------
>>   LANG      : en_GB.UTF-8
>>   LANGUAGE  : en_GB:en
>>   GRAMPSI18N: not set
>>   GRAMPSHOME: not set
>>   GRAMPSDIR : not set
>>   PYTHONPATH:
>>      /usr/lib/python3/dist-packages/gramps
>>      /usr/bin
>>      /usr/lib/python36.zip
>>      /usr/lib/python3.6
>>      /usr/lib/python3.6/lib-dynload
>>      /usr/local/lib/python3.6/dist-packages
>>      /usr/lib/python3/dist-packages
>>      /usr/lib/python3.6/dist-packages
>>
>> Non-python dependencies:
>> ------------------------
>>   Graphviz  : 2.38
>>   Ghostscr. : 9.21
>>
>>
>> ------------------------
>> From: Sam Manzi <[hidden email]>
>> Date: Sun, 4 Feb 2018 09:24:25 +1100
>> To: [hidden email]
>> Cc: [hidden email], [hidden email]
>> Subject: Re: [Gramps-users] Network Chart 0.0.8 installation error
>>
>>> Hi Ron & Peter,
>>>
>>> Just checked on both Microsoft Windows 10 and Linux Ubuntu 16.04 and it
>>> worked with no issues.
>>>
>>> What Operating system are you both using as I have not tested with Apple
>>> Mac?
>>>
>>> -
>>> Sam
>>>
>>> On 4 February 2018 at 08:25, Peter Hewett <[hidden email]> wrote:
>>>> I have noticed the same error message here for the last week or two. It
>>>> does appear to be a new dependency.
>>>>
>>>> ------------------------
>>>> From: Ron Johnson <[hidden email]>
>>>> Date: Sat, 3 Feb 2018 10:39:05 -0600
>>>> To: [hidden email]
>>>> Subject: [Gramps-users] Network Chart 0.0.8 installation error
>>>>
>>>>> This is Gramps v4.2.6.  Unfortunately, there's no detail message. Am I
>>>>> missing a new dependency?
>>>>>

--
World Peace Through Nuclear Pacification


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Network Chart 0.0.8 installation error

Perditorum
Hi Ron,

Pygraphziv and newotkx are indeed prerequisites to use nework chart but unfortunately this is not the right solution for this problem.
When I run this script with system default is set to American English I don't have this problem.
But when I set my system to Dutch environment the script ends with that strange error message 'TypeError: _display_gregorian() got an unexpected keyword argument 'inflect''.

So I guess it has something to do with localization.

Best regards,
Jan

On 02/04/2018 09:51 AM, Ron Johnson wrote:

The solution for Debian-based systems (Ubuntu 16.04 is what I use) is to install python3-pygraphviz.

On 02/04/2018 02:36 AM, Peter Hewett wrote:
It appears that the issue was that pygraphviz wasn't installed. This was
done with:
  sudo pip3 install pygraphviz

Now Gramps doesn't give that Network Chart error on startup.


------------------------
From: Peter Hewett [hidden email]
Date: Sun, 4 Feb 2018 19:26:40 +1300
To: [hidden email]
Subject: Re: [Gramps-users] Network Chart 0.0.8 installation error

Here, Gramps 4.2.6 is running on Kubuntu 17.10, with all current
updates. In Gramps, under Help > Plugin manager, it has Network Chart as
visible.

$ gramps --version
Gramps Settings:
----------------
  python    : 3.6.3
  gramps    : 4.2.6
  gtk++     : 3.22.25
  pygobject : 3.24.1
  pango     : 1.40.12
  bsddb     : 6.1.0
  bsddb.db  : 5.3.28
  cairo     : 1.14.10
  pycairo   : 1.10.0
  osmgpsmap : 1.0
  GExiv2    : 0.10
  ICU       : 57.1
  PyICU     : 1.9.5
  o.s.      : linux
  kernel    : 4.13.0-32-generic

Environment settings:
---------------------
  LANG      : en_GB.UTF-8
  LANGUAGE  : en_GB:en
  GRAMPSI18N: not set
  GRAMPSHOME: not set
  GRAMPSDIR : not set
  PYTHONPATH:
     /usr/lib/python3/dist-packages/gramps
     /usr/bin
     /usr/lib/python36.zip
     /usr/lib/python3.6
     /usr/lib/python3.6/lib-dynload
     /usr/local/lib/python3.6/dist-packages
     /usr/lib/python3/dist-packages
     /usr/lib/python3.6/dist-packages

Non-python dependencies:
------------------------
  Graphviz  : 2.38
  Ghostscr. : 9.21


------------------------
From: Sam Manzi [hidden email]
Date: Sun, 4 Feb 2018 09:24:25 +1100
To: [hidden email]
Cc: [hidden email], [hidden email]
Subject: Re: [Gramps-users] Network Chart 0.0.8 installation error

Hi Ron & Peter,

Just checked on both Microsoft Windows 10 and Linux Ubuntu 16.04 and it
worked with no issues.

What Operating system are you both using as I have not tested with Apple
Mac?

-
Sam

On 4 February 2018 at 08:25, Peter Hewett [hidden email] wrote:
I have noticed the same error message here for the last week or two. It
does appear to be a new dependency.

------------------------
From: Ron Johnson [hidden email]
Date: Sat, 3 Feb 2018 10:39:05 -0600
To: [hidden email]
Subject: [Gramps-users] Network Chart 0.0.8 installation error

This is Gramps v4.2.6.  Unfortunately, there's no detail message. Am I
missing a new dependency?




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: Network Chart 0.0.8 installation error

Ron Johnson
In reply to this post by Ron Johnson

The obvious answer is to speak English!!!  :)

But seriously... the subject of this thread is "installation error", and the problem you have is a run-time error after it's successfully installed.

On 02/04/2018 05:16 AM, Perditorum wrote:
Hi Ron,

Pygraphziv and newotkx are indeed prerequisites to use nework chart but unfortunately this is not the right solution for this problem.
When I run this script with system default is set to American English I don't have this problem.
But when I set my system to Dutch environment the script ends with that strange error message 'TypeError: _display_gregorian() got an unexpected keyword argument 'inflect''.

So I guess it has something to do with localization.

Best regards,
Jan

On 02/04/2018 09:51 AM, Ron Johnson wrote:

The solution for Debian-based systems (Ubuntu 16.04 is what I use) is to install python3-pygraphviz.

On 02/04/2018 02:36 AM, Peter Hewett wrote:
It appears that the issue was that pygraphviz wasn't installed. This was
done with:
  sudo pip3 install pygraphviz

Now Gramps doesn't give that Network Chart error on startup.

-- 
World Peace Through Nuclear Pacification

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org