On May 26, 2012, at 10:03 PM, DF wrote:

> The following issue has been plaguing me for many hours now and was hoping 
> someone might have some insight.
> 
> I've been working on my first Django project in PyCharm with few issues. This 
> morning, to update software, I closed the file and restarted the computer. 
> When i opened the file and ran the server again, I received the following 
> error:
> 
>     ImportError: No module named Stentorian
> 
> Stentorian is the name of the project. I have not been able to find any 
> remedy. I was researching for hours and decided to go back through the Time 
> Machine on the Mac to see if anything changed from previous versions. When 
> doing so, I found a strange inconsistency that may be related to this issue.
> 
> The project folder/directory is named "stentorian." Some time during the last 
> week, the directory replicated another copy of the folder/directory called 
> "Stentorian" – capitalized – in the same parent directory. While going 
> through Time Machine, some time in the pre-dawn hours, the second 
> folder/directory "Stentorian" disappeared. When I reopened the file this 
> morning after installing software updates and rebooting, I received the above 
> error, which has been impossible to resolve. What seems notable is that the 
> module missing has the uppercase "Stentorian," the same folder that seemingly 
> vanished.
> 
> I'm not sure why the duplicate, uppercase folder/directory was created to 
> begin with, why it disappeared and how this may be related to my problem. I 
> cannot find any documentation about this. I also added the lowercase 
> directory to the sys.path to no avail. I also tried to restore the mysterious 
> duplicate "Stentorian" from Time Machine to the current directory but it 
> wouldn't restore it because it was the same name, just uppercase. If anyone 
> can shed some light on what might be happening and how to resolve this, I'd 
> be most appreciative. This is very strange and I'm at a bit of a loss.
> 

I've had a similar problem once after I restored my hard disk from a SuperDuper 
clone. I have never really found the cause of it but for me the solution was to 
rename the folder Stentorian to something else and then rename it back to 
Stentorian making sure it's capitalized properly.

For some reason the folder was showing as lowercase but it was actually 
uppercase. In your case it seems that only the first letter got capitalized.

Johan


> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/django-users/-/-XaS8BpMntYJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@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-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to