As part of its protection, Comodo Antivirus has something named "sandboxing", so when you execute anything, Comodo catches it, runs it inside a protected environment and if it finds it's not malware, runs the actual command.
Seems Comodo is mapping your D: drive to that C:\VTRoot\HarddiskVolume1 thing, so django-admin gets fooled.
I haven't used Comodo for decades so I can't help with this exact issue, sorry - maybe disabling the antivirus while you're at Django? O:-)
El 3 de mayo de 2018 a las 18:19:06, Duška Miloradović (daisyfields.dm@gmail.com) escribió:
Yes? :/--
On Thu, May 3, 2018 at 6:09 PM, Fidel Leon <fidel@flm.cat> wrote:
El jue., 3 may. 2018 a las 18:06, Duška Miloradović (<daisyfields.dm@gmail.com>) escribió:--Anthony, I got this:D:\projectdir>python create_dir.pyTraceback (most recent call last):File "create_dir.py", line 2, in <module>top_dir = path.join(os.getcwd(), 'python_created_me')NameError: name 'path' is not definedI searched for it through windows explorer again and I actually found it on this strange location: C:\VTRoot\HarddiskVolume1\projectdir\ mysite Do you have any clue how this happened?How to make things right? :)
On Thu, May 3, 2018 at 5:08 PM, Anthony Flury <anthony.flury@btinternet.com> wrote:
On 03/05/18 08:06, Anthony Flury wrote:
On Thursday, 03 May, 2018 03:25 PM, Daisy wrote:Sorry - that should be :
I tried what you suggested and got this:
D:\projectdir>python create_dir.py
Traceback (most recent call last):
File "create_dir.py", line 1, in <module>
from os import mkdirs
ImportError: cannot import name 'mkdirs'
import os
top_dir = path.join(os.getcwd(), 'python_created_me')
os.makedirs(top_dir)
The other thing you could do is to use the File Manager search to see if 'my_site' has been created else where on your system
Copy that to a python file called '*create_dir.py*' in your *projectdir* - and run it by this command '*python create_dir.py*'
One you run it you should have a new empty directory called 'python_created_me' - running the comand again should result in an error.
The reason for doing this is to check that the Python code that Django is using does work ok.
--
--
Anthony Flury
email : *Anthony.flury@btinternet.com*
Twitter : *@TonyFlury <https://twitter.com/TonyFlury/ >*
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com .
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ .CAJ0SFUA52autPYk95a9s4t% 2BHXzdx-OYgj%3DzLyfynYX9XiM% 3D6NQ%40mail.gmail.com
For more options, visit https://groups.google.com/d/optout .
--
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com .
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHXg% .3DN3rH--NCcJ9TLbLJsjtVv0% 3D0KoJLh5x01W%2BmrhzNz0oJw% 40mail.gmail.com
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJ0SFUC8dLCRZuq%2BF62o29i5MGGi%2B9E13i0gQ%2BvLkwO%3D1KM7OQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment