Shadow-Here


Server : Apache/2.4.41 (Ubuntu)
System : Linux cls 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : iscuser ( 1001)
PHP Version : 7.4.12
Disable Function : shell_exec,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /home/akriveia/apps/vmware-log/errors/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :
Current File : //home/akriveia/apps/vmware-log/errors/modwsgi-20251216-225214-52040.txt
From: 
To: 
Subject: CGI/WSGI Error

Traceback (most recent call last):
  File "/home/akriveia/FW/FW-MYSQL/src/haf/wsgirun/error.py", line 99, in __call__
    return self.next_app(environ, start_response)
  File "/home/akriveia/FW/FW-MYSQL/src/haf/wsgirun/versioncheck.py", line 19, in __call__
    return self.next_app(environ, start_response)
  File "/home/akriveia/FW/FW-MYSQL/src/haf/wsgirun/cgimako.py", line 17, in mako_page
    return app(environ, start_response)
  File "/home/akriveia/FW/FW-MYSQL/src/haf/wsgi/sendfile.py", line 44, in __call__
    return self.app(environ, start_response)
  File "/home/akriveia/FW/FW-MYSQL/src/haf/wsgi/sendfile.py", line 18, in __call__
    return self.app(environ, start_response)
  File "/home/akriveia/FW/FW-MYSQL/src/haf/wsgi/sessioncart.py", line 44, in __call__
    return self.app(environ, start_response2)
  File "/home/akriveia/FW/FW-MYSQL/src/haf/wsgi/session.py", line 77, in __call__
    return self.app(environ, start_response2)
  File "/home/akriveia/FW/FW-MYSQL/src/haf/wsgi/redirect.py", line 13, in __call__
    return self.next_app(environ, start_response)
  File "/home/akriveia/FW/FW-MYSQL/src/haf/wsgi/request.py", line 48, in __call__
    return self.app(environ, start_response)
  File "/home/akriveia/FW/FW-MYSQL/src/haf/wsgi/pagecode.py", line 77, in __call__
    page_module_func(app_context, data)
  File "/home/akriveia/apps/vmware/src/page/send_attachment.py", line 22, in GET
    if os.path.exists(stored_name):
UnboundLocalError: local variable 'stored_name' referenced before assignment


WSGI Environment:
-----------------
CONTEXT_DOCUMENT_ROOT = /home/akriveia/apps/vmware/www
CONTEXT_PREFIX       = 
DOCUMENT_ROOT        = /home/akriveia/apps/vmware/www
GATEWAY_INTERFACE    = CGI/1.1
HTTP_ACCEPT          = */*
HTTP_ACCEPT_ENCODING = gzip, deflate, br
HTTP_CONNECTION      = keep-alive
HTTP_HOST            = online.srishtigifts.com
HTTP_USER_AGENT      = Mozilla/5.0 (Linux; Android 9; ASUS_I005DA Build/PI; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/133.0.6943.122 Mobile
PATH_INFO            = /send_attachment.mako
PATH_TRANSLATED      = /home/akriveia/apps/vmware/www/send_attachment.mako
PROJ_HOST            = https://online.srishtigifts.com/
QUERY_STRING         = attachment_type=category&attachment_type=%27&ca_id=b70b08_26.pdf
REDIRECT_HANDLER     = haf-mako
REDIRECT_HTTPS       = on
REDIRECT_QUERY_STRING = attachment_type=category&attachment_type=%27&ca_id=b70b08_26.pdf
REDIRECT_SSL_TLS_SNI = online.srishtigifts.com
REDIRECT_STATUS      = 200
REDIRECT_UNIQUE_ID   = aUGVRr3@CLuJM1AmxONRDwAAAAg
REDIRECT_URL         = /send_attachment.mako
REMOTE_ADDR          = 193.32.249.238
REMOTE_PORT          = 52879
REQUEST_METHOD       = GET
REQUEST_SCHEME       = https
REQUEST_URI          = /send_attachment.mako?attachment_type=category&attachment_type=%27&ca_id=b70b08_26.pdf
SCRIPT_FILENAME      = /home/akriveia/apps/vmware/www/haf-mako.py
SCRIPT_NAME          = /haf-mako.py
SERVER_ADDR          = 139.59.61.193
SERVER_ADMIN         = webmaster@srishtigifts.com
SERVER_NAME          = online.srishtigifts.com
SERVER_PORT          = 443
SERVER_PROTOCOL      = HTTP/1.1
SERVER_SIGNATURE     = <address>Apache/2.4.41 (Ubuntu) Server at online.srishtigifts.com Port 443</address>

SERVER_SOFTWARE      = Apache/2.4.41 (Ubuntu)
SSL_TLS_SNI          = online.srishtigifts.com
UNIQUE_ID            = aUGVRr3@CLuJM1AmxONRDwAAAAg
apache.version       = (2, 4, 41)
haf.haflink          = <module 'haflink' from '/home/akriveia/apps/vmware/src/haflink.pyc'>
haf.request_id       = modwsgi-20251216-225214-52040
haf.request_params   = {'environ': {'REDIRECT_UNIQUE_ID': 'aUGVRr3@CLuJM1AmxONRDwAAAAg', 'haf.wsgi.request.upload_dir': '/home/akriveia/apps/vmware-data/upload', 'REDIRECT_QUERY_STRING': 'attachment_type=category&attachment_type=%27&ca_id=b70b08_26.pdf', 'mod_wsgi.listener_port': '443', 'REDIRECT_STATUS': '200', 'CONTEXT_DOCUMENT_ROOT': '/home/akriveia/apps/vmware/www', 'SERVER_SOFTWARE': 'Apache/2.4.41 (Ubuntu)', 'session_crtid': None, 'SCRIPT_NAME': '/haf-mako.py', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'SERVER_SIGNATURE': '<address>Apache/2.4.41 (Ubuntu) Server at online.srishtigifts.com Port 443</address>\n', 'REQUEST_METHOD': 'GET', 'PATH_INFO': '/send_attachment.mako', 'REDIRECT_URL': '/send_attachment.mako', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': 'attachment_type=category&attachment_type=%27&ca_id=b70b08_26.pdf', 'wsgi.errors': <mod_wsgi.Log object at 0x7f264ae0c620>, 'SSL_TLS_SNI': 'online.srishtigifts.com', 'haf.request_params': {...}, 'REDIRECT_HANDLER': 'haf-mako', 'session_user': None, 'HTTP_USER_AGENT': 'Mozilla/5.0 (Linux; Android 9; ASUS_I005DA Build/PI; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/133.0.6943.122 Mobile', 'HTTP_CONNECTION': 'keep-alive', 'SERVER_NAME': 'online.srishtigifts.com', 'REMOTE_ADDR': '193.32.249.238', 'PROJ_HOST': 'https://online.srishtigifts.com/', 'mod_wsgi.request_handler': 'wsgi-script', 'apache.version': (2, 4, 41), 'haf.haflink': <module 'haflink' from '/home/akriveia/apps/vmware/src/haflink.pyc'>, 'wsgi.url_scheme': 'https', 'PATH_TRANSLATED': '/home/akriveia/apps/vmware/www/send_attachment.mako', 'SERVER_PORT': '443', 'mod_wsgi.thread_id': 0, 'wsgi.multiprocess': True, 'SERVER_ADDR': '139.59.61.193', 'DOCUMENT_ROOT': '/home/akriveia/apps/vmware/www', 'REDIRECT_SSL_TLS_SNI': 'online.srishtigifts.com', 'mod_wsgi.process_group': '', 'mod_wsgi.thread_requests': 0L, 'mod_wsgi.total_requests': 0L, 'mod_wsgi.request_id': 'aUGVRr3@CLuJM1AmxONRDwAAAAg', 'SCRIPT_FILENAME': '/home/akriveia/apps/vmware/www/haf-mako.py', 'SERVER_ADMIN': 'webmaster@srishtigifts.com', 'mod_wsgi.ignore_activity': '0', 'wsgi.input': <mod_wsgi.Input object at 0x7f264ae3d110>, 'HTTP_HOST': 'online.srishtigifts.com', 'CONTEXT_PREFIX': '', 'wsgi.multithread': False, 'mod_wsgi.callable_object': 'application', 'session_sid': None, 'REQUEST_URI': '/send_attachment.mako?attachment_type=category&attachment_type=%27&ca_id=b70b08_26.pdf', 'HTTP_ACCEPT': '*/*', 'mod_wsgi.path_info': '/send_attachment.mako', 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>, 'wsgi.version': (1, 0), 'GATEWAY_INTERFACE': 'CGI/1.1', 'REDIRECT_HTTPS': 'on', 'mod_wsgi.script_name': '/haf-mako.py', 'REMOTE_PORT': '52879', 'mod_wsgi.listener_host': '', 'REQUEST_SCHEME': 'https', 'mod_wsgi.version': (4, 6, 8), 'wsgi.run_once': False, 'haf.request_id': 'modwsgi-20251216-225214-52040', 'mod_wsgi.script_start': '1765905734465623', 'mod_wsgi.application_group': 'online.srishtigifts.com|/haf-mako.py', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.request_start': '1765905734456136', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br', 'UNIQUE_ID': 'aUGVRr3@CLuJM1AmxONRDwAAAAg', 'wsgi.input_terminated': True}, 'attachment_type': [u'category', u"'"], 'ca_id': u'b70b08_26.pdf'}
haf.wsgi.request.upload_dir = /home/akriveia/apps/vmware-data/upload
mod_wsgi.application_group = online.srishtigifts.com|/haf-mako.py
mod_wsgi.callable_object = application
mod_wsgi.enable_sendfile = 0
mod_wsgi.handler_script = 
mod_wsgi.ignore_activity = 0
mod_wsgi.listener_host = 
mod_wsgi.listener_port = 443
mod_wsgi.path_info   = /send_attachment.mako
mod_wsgi.process_group = 
mod_wsgi.request_handler = wsgi-script
mod_wsgi.request_id  = aUGVRr3@CLuJM1AmxONRDwAAAAg
mod_wsgi.request_start = 1765905734456136
mod_wsgi.script_name = /haf-mako.py
mod_wsgi.script_reloading = 1
mod_wsgi.script_start = 1765905734465623
mod_wsgi.thread_id   = 0
mod_wsgi.thread_requests = 0
mod_wsgi.total_requests = 0
mod_wsgi.version     = (4, 6, 8)
session_crtid        = None
session_sid          = None
session_user         = None
wsgi.errors          = <mod_wsgi.Log object at 0x7f264ae0c620>
wsgi.file_wrapper    = <type 'mod_wsgi.FileWrapper'>
wsgi.input           = <mod_wsgi.Input object at 0x7f264ae3d110>
wsgi.input_terminated = True
wsgi.multiprocess    = True
wsgi.multithread     = False
wsgi.run_once        = False
wsgi.url_scheme      = https
wsgi.version         = (1, 0)

Samx