Thanks Dima,

Opened an issue as you suggested: 
https://bugzilla.redhat.com/show_bug.cgi?id=2125737. I'm surprised nobody 
else has hit the same issue yet, I just tried sage 9.4 and I can't get 
nauty generators to work either (slightly different behavior though). 

Anyways, thanks again.
Jakub

On Saturday, 10 September 2022 at 00:23:57 UTC+2 [email protected] wrote:

> Hi Jakub,
> this looks like a Fedora packaging problem.
> Please report it to them.
> Dima
>
>
> On Fri, 9 Sep 2022, 23:12 Jakub Sliacan, <[email protected]> wrote:
>
>> Hi!
>>
>> I'm using sage 9.6 on Fedora 36, installed via dnf. I am seeing the 
>> following. The version of nauty package that I see installed is 
>> nauty-2.7.4-1.fc36.x86_64. 
>>
>> ```
>> sage: for t in digraphs.tournaments_nauty(6):
>> ....:     print(t)
>> ....: 
>>
>> ---------------------------------------------------------------------------
>> FeatureNotPresentError                    Traceback (most recent call 
>> last)
>> Input In [1], in <cell line: 1>()
>> ----> 1 for t in digraphs.tournaments_nauty(Integer(6)):
>>       2     print(t)
>>
>> File 
>> /usr/lib64/python3.10/site-packages/sage/graphs/digraph_generators.py:532, 
>> in DiGraphGenerators.tournaments_nauty(self, n, min_out_degree, 
>> max_out_degree, strongly_connected, debug, options)
>>     530 import shlex
>>     531 from sage.features.nauty import NautyExecutable
>> --> 532 gentourng_path = NautyExecutable("gentourng").absolute_filename()
>>     534 sp = subprocess.Popen(shlex.quote(gentourng_path) + " 
>> {0}".format(nauty_input),
>>     535                       shell=True,
>>     536                       stdin=subprocess.PIPE, 
>> stdout=subprocess.PIPE,
>>     537                       stderr=subprocess.PIPE, close_fds=True)
>>     539 if debug:
>>
>> File /usr/lib64/python3.10/site-packages/sage/features/__init__.py:619, 
>> in Executable.absolute_filename(self)
>>     617 if path is not None:
>>     618     return path
>> --> 619 raise FeatureNotPresentError(self,
>>     620                              reason="Executable {executable!r} 
>> not found on PATH.".format(executable=self.executable),
>>     621                              resolution=self.resolution())
>>
>> FeatureNotPresentError: nauty_gentourng is not available.
>> Executable 'gentourng' not found on PATH.
>> No equivalent system packages for pip are known to Sage.
>> ```
>> It seems like no generators based on nauty are available, as I get the 
>> same error with `geng` if I want to access items from 
>> `graphs.nauty_geng("2")`. 
>>
>> If I recall correctly, there were no additional (installation) steps 
>> needed for these things to work in e.g. Sage 8.3. And I can't find any 
>> notes about this afterwards. Any help is much appreciated! 
>>
>> Thanks in advance,
>> Jakub
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-devel/73f2313f-db93-4db0-bbae-9153f0603c42n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-devel/73f2313f-db93-4db0-bbae-9153f0603c42n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/3e06a0d6-5341-4cdd-a911-1fa70bf5aeb0n%40googlegroups.com.

Reply via email to