Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Getting 'specified module cannot be found' error when synching model to DB [RSS Feed]

#1 Dec. 15, 2010 19:15:45

C.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Getting 'specified module cannot be found' error when synching model to DB


I've set up a PostgreSQL/PostGIS spatial database, and created
settings and model files for a new project. When I try to synch the
model with the DB, I get the following error message (last lines
only):

File "c:\Python26\lib\ctypes\__init__.py", line 355, in __init__
self._handle = _dlopen(self._name, mode)
WindowsError: The specified module could not be found

I ran a print statement in the __init__py file and found that the
module they're referring to is kernel32. Can anyone provide any
insight into this?

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Dec. 16, 2010 05:24:15

W. C.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Getting 'specified module cannot be found' error when synching model to DB


It sounds like you have a Windows and/or Python path problem. The DLL
that's being loaded (kernel32.dll?) isn't on the Windows path (or in the
Python lib directory) when Python is attempting to load it. Certainly
nothing to do with Django. What version of Python are you using?

- Craig -

On Wed, Dec 15, 2010 at 14:12, Charlie <cshor...@comcast.net> wrote:

> I've set up a PostgreSQL/PostGIS spatial database, and created
> settings and model files for a new project. When I try to synch the
> model with the DB, I get the following error message (last lines
> only):
>
> File "c:\Python26\lib\ctypes\__init__.py", line 355, in __init__
> self._handle = _dlopen(self._name, mode)
> WindowsError: The specified module could not be found
>
> I ran a print statement in the __init__py file and found that the
> module they're referring to is kernel32. Can anyone provide any
> insight into this?
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » Getting 'specified module cannot be found' error when synching model to DB [RSS Feed]

Board footer

Moderator control

Enjoy the 17th of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support