Hi Moeketsi,
I guess there is a bug in fred-whois that requires django package to be
installed even though it is not django application. We are just about
to release a rewritten whois that is written as django application as
part of FRED-2.35. We are finishing last tests and this should be out
in about 2 weeks.
Regards,
Jaromir
On Thu, 2018-02-22 at 10:13 +0200, Moeketsi Maphoi wrote:
Hello!
I am having problems with my newly installed fred-whois server on
Ubunu Server 16.04. What is happening is that the whois webpage can
display all attributes as needed (after searching for a domain), when
I click on attribute links like registrar ID they appear fine. The
problem comes when I want to view or click on the contact attribute,
it gives out the error code 500 Internal Server Error. This error
only occurs when I want to view details about the contact attached to
the domain, either be an administrative contact or technical contact.
Apache error log show the following (searched for domain.domain, then
click on the administrative contact):
…mod_wsgi (pid=27416): Exception occurred processing WSGI script
'/usr/lib/python2.7/dist-packages/fred_whois/whois_wsgi.py'.,
referer: http:// localhost /whois/?d=domain.domain
…Traceback (most recent call last):, referer:
http://localhost/whois/
?d=domain.domain
…File "/usr/lib/python2.7/dist-packages/beaker/middleware.py", line
155, in __call__, referer: http:// localhost /whois/?d=domain.domain
…return self.wrap_app(environ, session_start_response), referer:
http:// localhost /whois/?d=domain.domain
…File "/usr/lib/python2.7/dist-packages/fred_whois/whois_wsgi.py",
line 145, in application, referer: http:// localhost
/whois/?d=domain.domain
…links={'registrars_list': '/whois/registrars'}, referer: http://
localhost /whois/?d= domain.domain
…File "/usr/lib/python2.7/dist-packages/fred_whois/whois.py", line
1199, in render, referer: http:// localhost /whois/?d= domain.domain
…answer['is_site_nic'] = settings.SITE_DIR_NAME == "nic", referer:
http:// localhost /whois/?d= domain.domain
…File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py",
line 54, in __getattr__, referer: http:// localhost /whois/?d=
domain.domain
…self._setup(name), referer: http:// localhost /whois/?d=
domain.domain
…File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py",
line 47, in _setup, referer: http:// localhost /whois/?d=
domain.domain
…% (desc, ENVIRONMENT_VARIABLE)), referer: http:// localhost
/whois/?d= domain.domain
…ImproperlyConfigured: Requested setting SITE_DIR_NAME, but settings
are not configured. You must either define the environment variable
DJANGO_SETTINGS_MODULE or call settings.configure() before accessing
settings., referer:
http://localhost/whois/?d= domain.domain
Any ideas on what causes this particularly on contacts handles?
Thank you.
Regards,
Moeketsi Maphoi
_______________________________________________
fred-users mailing list
fred-users(a)lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/fred-users --
Jaromir Talir
Technicky partner / Technical Fellow
-------------------------------------------
CZ.NIC, z.s.p.o. -- .cz domain registry
Milesovska 5, 130 00 Praha 3, Czech Republic
mailto:jaromir.talir@nic.cz
sip:jaromir.talir@nic.cz tel:+420.222745107
mob:+420.739632712 fax:+420.222745112
-------------------------------------------