HI Thomos

I tried this

nikhil@nikhil-desktop:~$ sudo apt-get install libjpeg libjpeg-dev
libfreetype6-dev zlib1g-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libjpeg62-dev' instead of 'libjpeg-dev'
E: Unable to locate package libjpeg
nikhil@nikhil-desktop:~$ sudo apt-get install libjpeg-dev libfreetype6-dev
zlib1g-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libjpeg62-dev' instead of 'libjpeg-dev'
zlib1g-dev is already the newest version.
zlib1g-dev set to manually installed.
libfreetype6-dev is already the newest version.
libfreetype6-dev set to manually installed.
The following packages were automatically installed and are no longer
required:
  libopenraw1 libbabl-0.1-0 libgegl-0.2-0 libgimp2.0 gimp-data
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  libjpeg62-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 192 kB of archives.
After this operation, 500 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://archive.ubuntu.com/ubuntu/ oneiric/main libjpeg62-dev amd64
6b1-1ubuntu2 [192 kB]
Fetched 192 kB in 3s (57.9 kB/s)
Selecting previously deselected package libjpeg62-dev.
(Reading database ... 302567 files and directories currently installed.)
Unpacking libjpeg62-dev (from .../libjpeg62-dev_6b1-1ubuntu2_amd64.deb) ...
Setting up libjpeg62-dev (6b1-1ubuntu2) ...
nikhil@nikhil-desktop:~$


Still the same error.



On Sun, Jul 1, 2012 at 10:02 PM, Thomas Orozco <g.orozco.tho...@gmail.com>wrote:

> Installing the packages through apt-get gave you the error?
>
> Could you please post the full output of the apt-get command?
> Le 1 juil. 2012 18:27, "Nikhil Verma" <varma.nikhi...@gmail.com> a écrit :
>
> HI Thomos
>>
>>
>> I tried what you suggest and i recieved this.
>>
>> sudo apt-get install libjpeg libjpeg-dev libfreetype6 libfreetype6-dev 
>> zlib1g-dev
>>
>> Traceback (most recent call last):
>>   File "/home/nikhil/Citysom/bin/easy_install", line 8, in <module>
>>
>>
>>     load_entry_point('setuptools==0.6c11', 'console_scripts', 
>> 'easy_install')()
>>   File 
>> "/home/nikhil/Citysom/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py",
>>  line 1712, in main
>>
>>
>>   File 
>> "/home/nikhil/Citysom/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py",
>>  line 1700, in with_ei_usage
>>   File 
>> "/home/nikhil/Citysom/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py",
>>  line 1716, in <lambda>
>>
>>
>>   File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
>>     dist.run_commands()
>>   File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
>>     self.run_command(cmd)
>>
>>
>>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
>>     cmd_obj.run()
>>   File 
>> "/home/nikhil/Citysom/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py",
>>  line 211, in run
>>
>>
>>   File 
>> "/home/nikhil/Citysom/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py",
>>  line 434, in easy_install
>>   File 
>> "/home/nikhil/Citysom/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/package_index.py",
>>  line 475, in fetch_distribution
>>
>>
>> AttributeError: 'NoneType' object has no attribute 'clone'
>>
>>
>> Thanks for help
>>
>>
>>
>>
>> On Sun, Jul 1, 2012 at 9:53 PM, Thomas Orozco 
>> <g.orozco.tho...@gmail.com>wrote:
>>
>>> Do you have jpeg support installed for PIL?
>>> Le 1 juil. 2012 18:13, "Nikhil Verma" <varma.nikhi...@gmail.com> a
>>> écrit :
>>>
>>>>
>>>> Hi All
>>>>
>>>> I am trying to add jpeg image in a ImageField. and it gives this error
>>>> . It is not allowing me to save the image.
>>>>
>>>> I have installed PIL and image other utilities.
>>>>
>>>> Upload a valid image. The file you uploaded was either not an image or
>>>> a corrupted image.
>>>>
>>>> Can anybody point what is missing ?
>>>>
>>>> Thanks in advance
>>>>
>>>>
>>>> --
>>>> Regards
>>>> Nikhil Verma
>>>> +91-958-273-3156
>>>>
>>>>  --
>>>> 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.
>>>>
>>>  --
>>> 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.
>>>
>>
>>
>>
>> --
>> Regards
>> Nikhil Verma
>> +91-958-273-3156
>>
>>  --
>> 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.
>>
>  --
> 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.
>



-- 
Regards
Nikhil Verma
+91-958-273-3156

-- 
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