Closed alphastar868 closed 8 years ago
On further investigation, it seems like this is caused by a missing pastebinit.conf file at /usr/share/i-nex/pastebinit/pastebin.d/. (There is no default pastebinit
package in CentOS).
Will try to investigate some more to provide further details.
Discovered that this works on CentOS 7.x as long as the following lines are commented (i.e. deleted) from the SUSE RPM SPEC file prior to building:
# Let's use system's `pastebinit`.
#rm -rf %{buildroot}%{_datadir}/%{name}/pastebinit
Additionally, the following path should be added to the end of the %files
section of the SPECfile:
%files
...
/usr/share/i-nex/pastebinit
With the two above fixes, the necessary pastebinit files to populate the Send report to nopaste service combobox in Generate report (3rd button, bottom left in I-Nex) are packaged into the I-Nex RPM, and therefore get installed to /usr/share/i-nex/pastebinit/ and /usr/share/i-nex/pastebinit/pastebin.d/ when I-Nex is installed.
Note that a separate Pastebinit is not required for CentOS, nor the Fedora/RedHat/CentOS equivalent FPaste.
I-Nex crashes with the above error when the Generate report button is clicked.
Looks like the path /usr/share/i-nex/pastebinit/pastebin.d/ does not exist or isn't created when it should be.