[GH-ISSUE #280] TypeError: must be string, not list #222

Closed
opened 2026-02-27 16:38:28 +03:00 by kerem · 1 comment
Owner

Originally created by @pschrammel on GitHub (Apr 13, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/280

Hi, It try to get current master working c442dddf38 after an upgrade but sth. goes wrong. It this info enough?

DocumentRoot:   '/var/www'

URI:            '/index.html'
Location:       None
Directory:      None
Filename:       '/var/www/index.html'
PathInfo:       None

Phase:          'PythonHandler'
Handler:        'django.core.handlers.modpython'

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target
    result = object(arg)

  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/modpython.py", line 180, in handler
    return ModPythonHandler()(req)

  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/modpython.py", line 134, in __call__
    os.environ.update(req.subprocess_env)

  File "/usr/lib/python2.7/os.py", line 486, in update
    self[k] = dict[k]

  File "/usr/lib/python2.7/os.py", line 471, in __setitem__
    putenv(key, item)

TypeError: must be string, not list
Originally created by @pschrammel on GitHub (Apr 13, 2014). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/280 Hi, It try to get current master working c442dddf38ba35dfbf59106087d32e74f3489ea5 after an upgrade but sth. goes wrong. It this info enough? ``` DocumentRoot: '/var/www' URI: '/index.html' Location: None Directory: None Filename: '/var/www/index.html' PathInfo: None Phase: 'PythonHandler' Handler: 'django.core.handlers.modpython' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch default=default_handler, arg=req, silent=hlist.silent) File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target result = _execute_target(config, req, object, arg) File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target result = object(arg) File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/modpython.py", line 180, in handler return ModPythonHandler()(req) File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/modpython.py", line 134, in __call__ os.environ.update(req.subprocess_env) File "/usr/lib/python2.7/os.py", line 486, in update self[k] = dict[k] File "/usr/lib/python2.7/os.py", line 471, in __setitem__ putenv(key, item) TypeError: must be string, not list ```
kerem closed this issue 2026-02-27 16:38:28 +03:00
Author
Owner

@pschrammel commented on GitHub (Apr 13, 2014):

okay, seems to be an ugrade bug...

<!-- gh-comment-id:40305289 --> @pschrammel commented on GitHub (Apr 13, 2014): okay, seems to be an ugrade bug...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#222
No description provided.