Re: slowly losing my ming w/ a django error in command line on windows

2006-11-01 Thread programguru


Interesting, DOS converts all of my lowercase folder names into UPPERCASE!
After reading your post, and several others, I decided to change my folder
names to upper case, and it solved the issue.

Now, does anyone know if there is a way to configure DOS NOT to convert my
folder names into uppercase?

Thanks for letting me keep my sanity :)





Kenneth Gonsalves wrote:
> 
> 
> 
> On 01-Nov-06, at 10:03 AM, programguru wrote:
> 
>> ImportError: No module named MYSITE
> 
> why is it asking for caps? is it mysite or MYSITE?
> 
> -- 
> 
> regards
> kg
> http://lawgon.livejournal.com
> http://nrcfosshelpline.in/web/
> 
> 
> 
> > 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/slowly-losing-my-ming-w--a-django-error-in-command-line-on-windows-tf2550223.html#a7114910
Sent from the django-users mailing list archive at Nabble.com.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: slowly losing my ming w/ a django error in command line on windows

2006-11-01 Thread programguru


Interesting, DOS converts all of my lowercase folder names into UPPERCASE!
After reading your post, and several others, I decided to change my folder
names to upper case, and it solved the issue.

Now, does anyone know if there is a way to configure DOS NOT to convert my
folder names into uppercase?

Thanks for letting me keep my sanity :)


Jeremy Dunck wrote:
> 
> 
> On 10/31/06, programguru <[EMAIL PROTECTED]> wrote:
> ...
>> Directory of C:\MYDJANGO\MYSITE
> ...
>> project_module = __import__(project_name, '', '', [''])
>> ImportError: No module named MYSITE
>> --
> 
> I'm not sure how python on windows handles imports, since the native
> file system isn't case-sensitive, but try making MYSITE lowercase;
> python is case-sensitive.
> 
> > 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/slowly-losing-my-ming-w--a-django-error-in-command-line-on-windows-tf2550223.html#a7114911
Sent from the django-users mailing list archive at Nabble.com.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: slowly losing my ming w/ a django error in command line on windows

2006-10-31 Thread Kenneth Gonsalves


On 01-Nov-06, at 10:03 AM, programguru wrote:

> ImportError: No module named MYSITE

why is it asking for caps? is it mysite or MYSITE?

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Re: slowly losing my ming w/ a django error in command line on windows

2006-10-31 Thread James Bennett

On 10/31/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> I'm not sure how python on windows handles imports, since the native
> file system isn't case-sensitive, but try making MYSITE lowercase;
> python is case-sensitive.

The importing behavior on Windows and other case-insensitive
filesystems is defined in PEP 235[1]; if I'm reading it correctly,
trying 'import MYSITE' should work if 'MYSITE' (case-sensitively) is
the actual name of the directory.

I can't see anything in management.py which would normalize the path
before doing things (that *would* screw things up, since normalization
lowercases the names on Windows); can anyone else running Windows
verify this as a bug?


[1] http://www.python.org/dev/peps/pep-0235/


-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: slowly losing my ming w/ a django error in command line on windows

2006-10-31 Thread Jeremy Dunck

On 10/31/06, programguru <[EMAIL PROTECTED]> wrote:
...
> Directory of C:\MYDJANGO\MYSITE
...
> project_module = __import__(project_name, '', '', [''])
> ImportError: No module named MYSITE
> --

I'm not sure how python on windows handles imports, since the native
file system isn't case-sensitive, but try making MYSITE lowercase;
python is case-sensitive.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---