Bug 1981309

Summary: [abrt] cjdns-graph: connectWithAdminInfo(): cjdnsadmin.py:329:connectWithAdminInfo:FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.cjdnsadmin'
Product: [Fedora] Fedora Reporter: Хуан <juan>
Component: cjdnsAssignee: Stuart D Gathman <stuart>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: stuart
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2417d20c78ffb23dcf174197aa0c3649f4c0590b
Whiteboard: abrt_hash:619cadabe4ddb89563e515ab47691d0526ccdb19;VARIANT_ID=xfce;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-08 00:54:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Хуан 2021-07-12 11:07:35 UTC
Version-Release number of selected component:
cjdns-graph-21.1-3.fc34

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        /usr/bin/python3 /usr/bin/drawgraph
crash_function: connectWithAdminInfo
exception_type: FileNotFoundError
executable:     /usr/bin/drawgraph
interpreter:    python3-3.9.5-2.fc34.x86_64
kernel:         5.12.13-300.fc34.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
cjdnsadmin.py:329:connectWithAdminInfo:FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.cjdnsadmin'

Traceback (most recent call last):
  File "/usr/bin/drawgraph", line 18, in <module>
    G=graph.makeGraph()
  File "/usr/lib/python3.9/site-packages/cjdnsadmin/graphMaker.py", line 19, in makeGraph
    cjdns=admin.connect()
  File "/usr/lib/python3.9/site-packages/cjdnsadmin/adminTools.py", line 32, in connect
    return connectWithAdminInfo()
  File "/usr/lib/python3.9/site-packages/cjdnsadmin/cjdnsadmin.py", line 329, in connectWithAdminInfo
    with open(path, 'rb') as adminInfo:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.cjdnsadmin'

Local variables in innermost frame:
path: '/home/user/.cjdnsadmin'

Comment 1 Хуан 2021-07-12 11:07:39 UTC
Created attachment 1800754 [details]
File: backtrace

Comment 2 Хуан 2021-07-12 11:07:42 UTC
Created attachment 1800755 [details]
File: cpuinfo

Comment 3 Хуан 2021-07-12 11:07:43 UTC
Created attachment 1800757 [details]
File: environ

Comment 4 Хуан 2021-07-12 11:07:45 UTC
Created attachment 1800758 [details]
File: mountinfo

Comment 5 Хуан 2021-07-12 11:07:47 UTC
Created attachment 1800759 [details]
File: namespaces

Comment 6 Хуан 2021-07-12 11:07:49 UTC
Created attachment 1800760 [details]
File: open_fds

Comment 7 Stuart D Gathman 2021-08-07 16:14:32 UTC
This is an ugly error message, but not a bug.  You do need the config to operate.  I already have a request upstream for cleaner errors.  I am not a javascript expert, if you know a pattern to trap expected exceptions like this and print a nicer error, I could make a patch.

Comment 8 Stuart D Gathman 2021-08-07 16:16:48 UTC
*** Bug 1985943 has been marked as a duplicate of this bug. ***

Comment 9 Ben Cotton 2022-05-12 16:34:40 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 10 Ben Cotton 2022-06-08 00:54:49 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.