Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Python ➜ Python 2.6 error

Python 2.6 error

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Sun 15 Mar 2009 09:50 PM (UTC)

Amended on Sun 15 Mar 2009 09:51 PM (UTC) by Poromenos

Message
I just installed Python 2.6 and tried to run MC, and upon loading a plugin which depends on sqlobject I get:


Script error
Plugin: Roster (called from world: Poromenos)
Execution of line 145 column 0
Immediate execution
Traceback (most recent call last):
  File "<Script Block >", line 145, in <module>
    from sqlobject import *
  File "i:\libs\python26\lib\site-packages\sqlobject-0.11dev_r3792-py2.6.egg\sqlobject\__init__.py", line 5, in <module>
    from main import *
  File "i:\libs\python26\lib\site-packages\sqlobject-0.11dev_r3792-py2.6.egg\sqlobject\main.py", line 32, in <module>
    import dbconnection
  File "i:\libs\python26\lib\site-packages\sqlobject-0.11dev_r3792-py2.6.egg\sqlobject\dbconnection.py", line 10, in <module>
    import urllib
  File "I:\libs\Python26\lib\urllib.py", line 26, in <module>
    import socket
  File "I:\libs\Python26\lib\socket.py", line 46, in <module>
    import _socket
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

Line in error: 
from sqlobject import *
Error context in script:
 141 :  
 142 : 
 143 : 
 144 : import re
 145*: from sqlobject import *
 146 : 
 147 : roster_chars = []



Any idea why?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Worstje   Netherlands  (899 posts)  Bio
Date Reply #1 on Mon 16 Mar 2009 02:34 AM (UTC)
Message
A bit of googling found this post on their mailing list: http://mail.python.org/pipermail/python-list/2009-February/698953.html

Basically the issue is that you need to install a redistributable set of dll's which have been so common that the installer seems to have overlooked it. Imo, a stupid mistake on both the side of the Python maintainers, although the technical story makes me want to blame Microsoft too. It seems like such a messy and cluttered system. >_<
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #2 on Mon 16 Mar 2009 02:39 AM (UTC)
Message
I don't know, I have VS2008 so the files should already have been there...

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #3 on Mon 16 Mar 2009 02:44 AM (UTC)

Amended on Mon 16 Mar 2009 05:39 AM (UTC) by Nick Gammon

Message
I just installed the updated pack (with SP1) and nothing... For some reason, Python can't load its own _socked.pyd...

The interpreter loads this fine, so I'm thinking it's a MUSHclient problem...

When I try to load the plugin, I also get:


---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

Program: I:\Program Files\MUSHclient\mushclient.exe

R6034

An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.



Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Worstje   Netherlands  (899 posts)  Bio
Date Reply #4 on Mon 16 Mar 2009 02:56 AM (UTC)
Message
I can't help, although it seems those side-by-side assemblies mentioned in the link I gave you might be your answer. But that's about all I can do for you right now.
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #5 on Mon 16 Mar 2009 02:57 AM (UTC)
Message
Well, thanks for your help, I'll see if I can get this to work...

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


18,021 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.