[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Python
. . -> [Subject]  Python 2.6 error
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Python 2.6 error

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Sun 15 Mar 2009 09:50 PM (UTC)  quote  ]

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!
[Go to top] top

Posted by Worstje   Netherlands  (867 posts)  [Biography] bio
Date Reply #1 on Mon 16 Mar 2009 02:34 AM (UTC)  quote  ]
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. >_<
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #2 on Mon 16 Mar 2009 02:39 AM (UTC)  quote  ]
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!
[Go to top] top

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

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!
[Go to top] top

Posted by Worstje   Netherlands  (867 posts)  [Biography] bio
Date Reply #4 on Mon 16 Mar 2009 02:56 AM (UTC)  quote  ]
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.
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #5 on Mon 16 Mar 2009 02:57 AM (UTC)  quote  ]
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!
[Go to top] 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.


2,777 views.

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]