Hi:

   At the moment I just solve the problem, the pictures up.

     To fix the problem I did was:
1 - sudo apt-get install libjpeg62 libjpeg62-dev tk8.4-dev tk8.4
tcl8.4-dev tcl8.4
2 - sudo easy_install - find-links
http://www.pythonware.com/products/pil/ Imaging
3 - sudo invoke-rc.d apache2 restart

While in another server I did was:
1 - sudo apt-get install libjpeg62 libjpeg62-dev tk8.4-dev tk8.4
tcl8.4-dev tcl8.4
2 - wget http://downloads.review-board.org/mirror/PIL-1.1.6.tar.gz
3-sudo tar-vzxf PIL-1.1.6.tar.gz
4-sudo nano PIL-1.1.6/setup.py
   change the line:
     TCL_ROOT = none
   by:
     TCL_ROOT = "/usr/include/tk"
5 - sudo python2.6 setup.py install
6 - sudo invoke-rc.d apache2 restart

Jose Carlos Ramos Carmenates

On Sep 19, 10:47 am, Ramos <joseramo...@gmail.com> wrote:
> Hi:
>
> I can not get screenshot, this is more or less the same problem I
> have:
>
> What's the URL of the page containing the 
> problem?https://reviewboard.cujae.edu.cu/r/16/
> (viewing a Review Request)
>
> What steps will reproduce the problem?
> a. Create new Review Request
> b. Attempt to upload screenshot in JPEG format.
>
> Error:
>
> "Upload a valid image. The file you uploaded was either not an image or
> a corrupted image."
>
> What operating system are you using? What browser? What version Python
> are you using?
> Ubuntu 8.04.1, Firefox 3.0.14,  Python 2.6.2
>
> Attachments:
>          screenshotUpload.jpg 34.7 KB
>
> more about:
>
>  Now, when installing PIL-1.1.6.tar.gz, view logs:
>
> josecar...@desarrollo:~$ sudo easy_install 
> -Uhttp://downloads.review-board.org/mirror/PIL-1.1.6.tar.gz
>
> Downloadinghttp://downloads.review-board.org/mirror/PIL-1.1.6.tar.gz
> Processing PIL-1.1.6.tar.gz
> Running PIL-1.1.6/setup.py -q bdist_egg
> --dist-dir /tmp/easy_install-KsK16f/PIL-1.1.6/egg-dist-tmp-P5SPrv
> libImaging/Effects.c:210: warning: ‘perlin_init’ defined but not used
> libImaging/File.c: In function ‘ImagingOpenPPM’:
> libImaging/File.c:112: warning: ignoring return value of ‘fread’,
> declared with attribute warn_unused_result
> libImaging/File.c:119: warning: ignoring return value of ‘fread’,
> declared with attribute warn_unused_result
> libImaging/Geometry.c:236: warning: ‘quadratic_transform’ defined but
> not used
> libImaging/Quant.c:311: warning: ‘test_sorted’ defined but not used
> libImaging/Quant.c:676: warning: ‘checkContained’ defined but not used
> libImaging/QuantHash.c:136: warning: ‘_hashtable_test’ defined but not
> used
> _imagingtk.c:20:16: error: tk.h: No such file or directory
> _imagingtk.c:23: error: expected ‘)’ before ‘*’ token
> _imagingtk.c:31: error: expected specifier-qualifier-list before
> ‘Tcl_Interp’
> _imagingtk.c: In function ‘_tkinit’:
> _imagingtk.c:37: error: ‘Tcl_Interp’ undeclared (first use in this
> function)
> _imagingtk.c:37: error: (Each undeclared identifier is reported only
> once
> _imagingtk.c:37: error: for each function it appears in.)
> _imagingtk.c:37: error: ‘interp’ undeclared (first use in this function)
> _imagingtk.c:45: error: expected expression before ‘)’ token
> _imagingtk.c:51: error: ‘TkappObject’ has no member named ‘interp’
> _imagingtk.c:55: warning: implicit declaration of function
> ‘TkImaging_Init’
> error: Setup script exited with error: command 'gcc' failed with exit
> status 1
>
> Thanks.
>
> Jose Carlos Ramos
>
>   ð r: Setup script exited with error: command 'gcc' failed with exit"1.png"
> 143KViewDownload
>
>  À Ø# r: Setup script exited with error: command 'gcc' failed with 
> exit"1.png""png"
> 133KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to