Closed kirantpatil closed 9 years ago
ImageMagick is a system requirement for running TestCaseDB. The system uses ImageMagick to resize and alter images for previews. The imagemagick install is included in the documentation. Installing imagemagick is pretty simple on ubuntu.
sudo apt-get install imagemagick
Now with imagemagick installed it uploads but does not display the image, as shown in below screenshot.
Also we should get some pop up message as upload completed and blue loading bar should not display anymore.
Assuming things are working, the image should appear as soon as the upload is complete. I'm assuming that the conversion failed.
Can you please provide logs from the image upload.
Also, I will change the progress bar to disappear when the upload is complete.
What logs should I provide ?
production.log or unicorn or any other ?
On Wed, Feb 4, 2015 at 9:56 PM, joffems notifications@github.com wrote:
Assuming things are working, the image should appear as soon as the upload is complete. I'm assuming that the conversion failed.
Can you please provide logs from the image upload.
Also, I will change the progress bar to disappear when the upload is complete.
Reply to this email directly or view it on GitHub https://github.com/msjit/testcasedb/issues/70#issuecomment-72886162.
If you're running the production environment, production.log would be useful.
Please find the attached production.log file.
On Wed, Feb 4, 2015 at 10:22 PM, joffems notifications@github.com wrote:
If you're running the production environment, production.log would be useful.
Reply to this email directly or view it on GitHub https://github.com/msjit/testcasedb/issues/70#issuecomment-72891383.
@kirantpatil Can you please email the log to me. mjoffe AT msjit.ca
The issue is with file types. The change I made is not working for non-image files. I simply need to set an icon for other file types. I will fix in the morning
I upgraded to latest master and made changes for nginx in production.rb file and restarted the app and nginx and tried to upload a image and the blue bar still does not disappear once upload is finished.
@kirantpatil A fix for the progress bars has been pushed.
I updated the code and recompiled assets and reloaded unicorn and nginx and issue still persists.
@kirantpatil Did you force a refresh in your browser? I currently can't reproduce this with the latest code in master.
Also, can you please let me know which browser you're seeing this issue with.
Thanks, Marc
I think I missed the nginx configuration file correction part. Looking in to it.
I added below code to nginx conf file, I am getting "404 Not Found" page for it.
I am getting below error.
testcasedb$ tail -f log/unicorn.stderr.log X-Accel-Mapping header missing X-Accel-Mapping header missing X-Accel-Mapping header missing X-Accel-Mapping header missing X-Accel-Mapping header missing X-Accel-Mapping header missing X-Accel-Mapping header missing X-Accel-Mapping header missing X-Accel-Mapping header missing X-Accel-Mapping header missing
I reverted all changes of nginx conf file and with only change in production.rb file image upload, delete works fine but I have no idea why the blue bar is not disappearing.
I did "sudo ldconfig /usr/local/lib" as mentioned in http://robmclarty.com/blog/how-to-install-image-magick-and-setup-paperclip and restarted unicorn and nginx and it works now...
Hi,
I did below steps to update the app 1) git pull 2) rake db:migrate RAILS_ENV=production 3) rake assets:precompile RAILS_ENV=production
I went to Result screen of one of the executed testcase and tried to upload a screenshot which is giving me below error.
It is expecting to install ImageMagick, is that correct ?
Thanks.