List Info

Thread: Re: LAM: Problem with lsdyna and lam




Re: LAM: Problem with lsdyna and lam
country flaguser name
France
2007-09-25 02:17:52
The problem came from the oversight of the installation of
librarys 
delivered with lsdyna.

Special thanks to Michael Arndt.
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

strange UnicodeDecodeError after update to latest trunk
country flaguser name
United States
2007-09-25 04:17:37
Hello all
ever since updating to latest trunk (past merge of
unicode-branch), I
get spurious UnicodeDecodeErrors sometimes accessing my
views. I have
posted about this problem earlier in the wrong group,
django-
developers:
http://gr
oups.google.com/group/django-developers/browse_thread/thread
/54bf180fca0cd124/188ab761ec6411de

However, I have not managed to resolve this issue, I just
dont know
how to answer Malcoms questions in the thread above. Can
somebody help
me to find out whats wrong?
I am on python 2.5.1, mod_python 3.3.1. the stacktrace I get
is always

MOD_PYTHON ERROR

ProcessId:      16895
Interpreter:    'mcc'

ServerName:     'svti-test-master.local'
DocumentRoot:   '/Library/WebServer/Documents'

URI:            '/kluster/status/'
Location:       '/kluster'
Directory:      None
Filename:       '/Library/WebServer/Documents/kluster'
PathInfo:       '/status/'

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

Traceback (most recent call last):

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/mod_python/importer.py", line
1537, in
HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/mod_python/importer.py", line
1229, in
_process_target
    result = _execute_target(config, req, object, arg)

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/mod_python/importer.py", line
1128, in
_execute_target
    result = object(arg)

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/core/handlers/modpython.py&qu
ot;, line 178,
in handler
    return ModPythonHandler()(req)

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/core/handlers/modpython.py&qu
ot;, line 151,
in __call__
    response = self.get_response(request)

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/core/handlers/base.py",
line 53, in
get_response
    response = self._real_get_response(request)

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/core/handlers/base.py",
line 115, in
_real_get_response
    return debug.technical_500_response(request,
*sys.exc_info())

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/views/debug.py", line
151, in
technical_500_response
    return HttpResponseServerError(t.render(c),
mimetype='text/html')

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/template/__init__.py",
line 176, in
render
    return self.nodelist.render(context)

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/template/__init__.py",
line 732, in
render
    bits.append(self.render_node(node, context))

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/template/__init__.py",
line 745, in
render_node
    return node.render(context)

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/template/defaulttags.py"
, line 135, in
render
    nodelist.append(node.render(context))

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/template/__init__.py",
line 781, in
render
    return self.filter_expression.resolve(context)

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/template/__init__.py",
line 599, in
resolve
    obj = func(obj, *arg_vals)

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/template/defaultfilters.py&qu
ot;, line 25,
in _dec
    args[0] = force_unicode(args[0])

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/django/utils/encoding.py", line
41, in
force_unicode
    s = unicode(s, encoding, errors)

UnicodeDecodeError: 'utf8' codec can't decode bytes in
position 14-15:
invalid data

thanks,
-frank


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: strange UnicodeDecodeError after update to latest trunk
country flaguser name
United States
2007-09-29 07:28:40
for others stumbling upon the same problem: I found a fix
and filed a
ticket at http://code
.djangoproject.com/ticket/5640


On Sep 25, 11:17 am, "frank h."
<frank.hoffsum...gmail.com> wrote:
> Hello all
> ever since updating to latest trunk (past merge
ofunicode-branch), I
> get spurious UnicodeDecodeErrors sometimes accessing my
views. I have
> posted about this problem earlier in the wrong group,
django-
> developers:http://groups.google.com/group/django-de
velopers/browse_thread/thread...
>
> However, I have not managed to resolve this issue, I
just dont know
> how to answer Malcoms questions in the thread above.
Can somebody help
> me to find out whats wrong?
> I am on python 2.5.1, mod_python 3.3.1. the stacktrace
I get is always
>
> MOD_PYTHON ERROR
>
> ProcessId:      16895
> Interpreter:    'mcc'
>
> ServerName:     'svti-test-master.local'
> DocumentRoot:   '/Library/WebServer/Documents'
>
> URI:            '/kluster/status/'
> Location:       '/kluster'
> Directory:      None
> Filename:       '/Library/WebServer/Documents/kluster'
> PathInfo:       '/status/'
>
> Phase:          'PythonHandler'
> Handler:        'django.core.handlers.modpython'
>
> Traceback (most recent call last):
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

> python2.5/site-packages/mod_python/importer.py",
line 1537, in
> HandlerDispatch
>     default=default_handler, arg=req,
silent=hlist.silent)
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

> python2.5/site-packages/mod_python/importer.py",
line 1229, in
> _process_target
>     result = _execute_target(config, req, object, arg)
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

> python2.5/site-packages/mod_python/importer.py",
line 1128, in
> _execute_target
>     result = object(arg)
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

>
python2.5/site-packages/django/core/handlers/modpython.py&qu
ot;, line 178,
> in handler
>     return ModPythonHandler()(req)
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

>
python2.5/site-packages/django/core/handlers/modpython.py&qu
ot;, line 151,
> in __call__
>     response = self.get_response(request)
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

>
python2.5/site-packages/django/core/handlers/base.py",
line 53, in
> get_response
>     response = self._real_get_response(request)
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

>
python2.5/site-packages/django/core/handlers/base.py",
line 115, in
> _real_get_response
>     return debug.technical_500_response(request,
*sys.exc_info())
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

> python2.5/site-packages/django/views/debug.py",
line 151, in
> technical_500_response
>     return HttpResponseServerError(t.render(c),
mimetype='text/html')
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

>
python2.5/site-packages/django/template/__init__.py",
line 176, in
> render
>     return self.nodelist.render(context)
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

>
python2.5/site-packages/django/template/__init__.py",
line 732, in
> render
>     bits.append(self.render_node(node, context))
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

>
python2.5/site-packages/django/template/__init__.py",
line 745, in
> render_node
>     return node.render(context)
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

>
python2.5/site-packages/django/template/defaulttags.py"
, line 135, in
> render
>     nodelist.append(node.render(context))
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

>
python2.5/site-packages/django/template/__init__.py",
line 781, in
> render
>     return self.filter_expression.resolve(context)
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

>
python2.5/site-packages/django/template/__init__.py",
line 599, in
> resolve
>     obj = func(obj, *arg_vals)
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

>
python2.5/site-packages/django/template/defaultfilters.py&qu
ot;, line 25,
> in _dec
>     args[0] = force_unicode(args[0])
>
>   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/

> python2.5/site-packages/django/utils/encoding.py",
line 41, in
> force_unicode
>     s =unicode(s, encoding, errors)
>
> UnicodeDecodeError: 'utf8' codec can't decode bytes in
position 14-15:
> invalid data
>
> thanks,
> -frank


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )