Git Product home page Git Product logo

ghiro's People

Contributors

bparmentier avatar burlone avatar jekil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ghiro's Issues

initial install issue

When trying to get the app to run from command line after installing required packages i run -

sudo python manage.py syncdb

But get...

Traceback (most recent call last):

File "manage.py", line 10, in

execute_from_command_line(sys.argv)

File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 353, in execute_from_command_line

utility.execute()

File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 302, in execute

settings.INSTALLED_APPS

File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 55, in getattr

self._setup(name)

File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 43, in _setup

self._wrapped = Settings(settings_module)

File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 99, in init

mod = importlib.import_module(self.SETTINGS_MODULE)

File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module

__import__(name)

File "/home/ghiro-0.2.1/ghiro/init.py", line 8, in

from lib.db import mongo_connect

File "/home/ghiro-0.2.1/lib/db.py", line 29, in

db = mongo_connect()

File "/home/ghiro-0.2.1/lib/db.py", line 21, in mongo_connect

db = Database(MongoClient(settings.MONGO_URI), settings.MONGO_DB)

File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 55, in getattr

self._setup(name)

File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 43, in _setup

self._wrapped = Settings(settings_module)

File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 99, in init

mod = importlib.import_module(self.SETTINGS_MODULE)

File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module

__import__(name)

File "/home/ghiro-0.2.1/ghiro/settings.py", line 89, in

"django.core.context_processors.request",

TypeError: can only concatenate list (not "tuple") to list

VM Unstable

Hi, I was using the Ghiro Virtual Machine on Virtual Box and it worked quite well for me for a period of time. However, it started to display abnormal activity recently - not being able to upload the files. When I tested it on other devices, the VM keeps looping back to 127.0.0.1 despite using the "sudo ifconfig eth0 192.168.0.10 up" command. Would greatly appreciate if you could assist on this matter!

MySQL server as gone away

The following error was reported:

2015-09-15 08:45:19,033 [DEBUG] lib.analyzer.processing - No tasks. Waiting...
2015-09-15 08:45:20,036 [DEBUG] lib.analyzer.processing - No tasks. Waiting...
2015-09-15 08:45:21,039 [DEBUG] lib.analyzer.processing - No tasks. Waiting...
2015-09-15 08:45:22,042 [DEBUG] lib.analyzer.processing - No tasks. Waiting...
2015-09-15 08:45:23,053 [DEBUG] lib.analyzer.processing - Processing task 4502
2015-09-15 08:45:23,067 [DEBUG] lib.analyzer.processing - No tasks. Waiting...
2015-09-15 08:45:23,140 [ERROR] lib.analyzer.processing - Critical error in plugin <class 'plugins.analyzer.gexiv.GexivAnalyzer'>, skipping: (2006, 'MySQL server has gone away')
Traceback (most recent call last):
File "/var/www/html/ghiro/lib/analyzer/processing.py", line 57, in _process_image
output = current.run(task)
File "/var/www/html/ghiro/plugins/analyzer/gexiv.py", line 120, in run
self._get_exif()
File "/var/www/html/ghiro/plugins/analyzer/gexiv.py", line 64, in _get_exif
self._add_key(key, self.metadata.get(key))
File "/var/www/html/ghiro/plugins/analyzer/gexiv.py", line 49, in _add_key
add_metadata_description(key, self.metadata.get_tag_description(key))
File "/var/www/html/ghiro/lib/utils.py", line 108, in add_metadata_description
AnalysisMetadataDescription.objects.get(key=key.lower())
File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 151, in get
return self.get_queryset().get(_args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 304, in get
num = len(clone)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 77, in len
self._fetch_all()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 857, in _fetch_all
self._result_cache = list(self.iterator())
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 220, in iterator
for row in compiler.results_iter():
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 713, in results_iter
for rows in self.execute_sql(MULTI):
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 69, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 99, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py", line 124, in execute
return self.cursor.exe:cute(query, args)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 205, in execute
self.errorhandler(self, exc, value)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (2006, 'MySQL server has gone away')
2015-09-15 08:45:24,073 [DEBUG] lib.analyzer.processing - No tasks. Waiting...
2015-09-15 08:45:25,080 [DEBUG] lib.analyzer.processing - Processing task 4503
2015-09-15 08:45:25,093 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-09-15 08:45:26,102 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-09-15 08:45:27,107 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-09-15 08:45:27,927 [ERROR] lib.analyzer.processing - Critical error in plugin <class 'plugins.analyzer.hashcomparer.HashComparerAnalyzer'>, skipping: (2006, 'MySQL server has gone away')
Traceback (most recent call last):
File "/var/www/html/ghiro/lib/analyzer/processing.py", line 57, in _process_image
output = current.run(task)
File "/var/www/html/ghiro/plugins/analyzer/hashcomparer.py", line 27, in run
hash_lists = List.objects.filter(cipher=key).filter(Q(owner=task.owner) | Q(public=True))
File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/related.py", line 320, in get
rel_obj = qs.get()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 304, in get
num = len(clone)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 77, in len
self._fetch_all()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 857, in _fetch_all
self._result_cache = list(self.iterator())
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 220, in iterator
for row in compiler.results_iter():
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 713, in results_iter
for rows in self.execute_sql(MULTI):
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 69, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 99, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py", line 124, in execute
return self.cursor.execute(query, args)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 205, in execute
self.errorhandler(self, exc, value)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (2006, 'MySQL server has gone away')
2015-09-15 08:45:28,035 [INFO] lib.analyzer.processing - Processed task 4502 with success
Process AnalysisRunner-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/var/www/html/ghiro/lib/analyzer/processing.py", line 39, in run
self._process_image(task)
File "/var/www/html/ghiro/lib/analyzer/processing.py", line 77, in _process_image
task.save()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 545, in save
force_update=force_update, update_fields=update_fields)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 570, in save_base
with transaction.commit_on_success_unless_managed(using=using, savepoint=False):
File "/usr/local/lib/python2.7/dist-packages/django/db/transaction.py", line 280, in enter
connection.set_autocommit(False)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/init.py", line 340, in set_autocommit
self._set_autocommit(autocommit)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py", line 461, in _set_autocommit
self.connection.autocommit(autocommit)
File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 99, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py", line 461, in _set_autocommit
self.connection.autocommit(autocommit)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py", line 243, in autocommit
_mysql.connection.autocommit(self, on)
OperationalError: (2006, 'MySQL server has gone away')
2015-09-15 08:45:28,110 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-09-15 08:45:29,113 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-09-15 08:45:30,115 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-09-15 08:45:31,117 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-09-15 08:45:32,120 [DEBUG] lib.analyzer.processing - Queue full. Waiting..

Missing feature when i run localhost

My manage.py process say this. Follow this i can see that something wrong with my gexiv, maybe, because i can't figure out how to fix it. I have installed all gexiv library i can find but no help, python-gi too.

2018-05-08 00:44:26,104 [WARNING] lib.analyzer.processing - Detected SQLite database, decreased parallelism to 1. SQLite doesn't support parallelism. 
2018-05-08 00:44:26,104 [DEBUG] lib.analyzer.processing - Using pool on 1 core 
2018-05-08 00:44:26,110 [DEBUG] lib.analyzer.processing - Found module: ElaAnalyzer 
2018-05-08 00:44:26,112 [DEBUG] lib.analyzer.processing - Found module: GexivAnalyzer 
2018-05-08 00:44:26,113 [DEBUG] lib.analyzer.processing - Found module: HashAnalyzer 
2018-05-08 00:44:26,114 [DEBUG] lib.analyzer.processing - Found module: HashComparerAnalyzer 
2018-05-08 00:44:26,114 [DEBUG] lib.analyzer.processing - Found module: InfoAnalyzer 
2018-05-08 00:44:26,125 [DEBUG] lib.analyzer.processing - Found module: MimeAnalyzer 
2018-05-08 00:44:26,126 [DEBUG] lib.analyzer.processing - Found module: PreviewComparerAnalyzer 
2018-05-08 00:44:26,130 [DEBUG] lib.analyzer.processing - Found module: SignatureAnalyzer 
2018-05-08 00:44:26,130 [WARNING] lib.analyzer.processing - Kicked module, requirements not found: GexivAnalyzer 
2018-05-08 00:44:26,130 [WARNING] lib.analyzer.processing - Detected SQLite database, decreased parallelism to 1. SQLite doesn't support parallelism. 
2018-05-08 00:44:26,137 [WARNING] lib.analyzer.processing - Detected SQLite database, decreased parallelism to 1. SQLite doesn't support parallelism. 
2018-05-08 00:44:26,137 [DEBUG] lib.analyzer.processing - AnalysisRunner started 
2018-05-08 00:44:26,143 [DEBUG] lib.analyzer.processing - No tasks. Waiting... 
2018-05-08 00:44:27,145 [DEBUG] lib.analyzer.processing - No tasks. Waiting... 

pip installation error Pillow

Hello!
Run into problem when installing Ghiro!
System I use: Linux kali 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux
Problem i run into:
root@kali:~/Forensic/ghiro# pip install -r requirements.txt
Collecting Django==1.9.7 (from -r requirements.txt (line 1))
Downloading Django-1.9.7-py2.py3-none-any.whl (6.6MB)
100% |████████████████████████████████| 6.6MB 111kB/s
Collecting Pillow==3.2.0 (from -r requirements.txt (line 2))
Downloading Pillow-3.2.0.zip (10.5MB)
100% |████████████████████████████████| 10.5MB 73kB/s
Requirement already satisfied (use --upgrade to upgrade): argparse>=1.2.1 in /usr/lib/python2.7 (from -r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): chardet==2.3.0 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 4))
Collecting pdfkit==0.5.0 (from -r requirements.txt (line 5))
Downloading pdfkit-0.5.0-py2-none-any.whl
Collecting pymongo==3.2.2 (from -r requirements.txt (line 6))
Downloading pymongo-3.2.2.tar.gz (504kB)
100% |████████████████████████████████| 512kB 514kB/s
Collecting python-dateutil==2.5.3 (from -r requirements.txt (line 7))
Downloading python_dateutil-2.5.3-py2.py3-none-any.whl (201kB)
100% |████████████████████████████████| 204kB 1.3MB/s
Collecting python-magic==0.4.11 (from -r requirements.txt (line 8))
Downloading python-magic-0.4.11.tar.gz
Collecting requests==2.10.0 (from -r requirements.txt (line 9))
Downloading requests-2.10.0-py2.py3-none-any.whl (506kB)
100% |████████████████████████████████| 512kB 523kB/s
Collecting nudepy>=0.2 (from -r requirements.txt (line 10))
Downloading nudepy-0.2.tar.gz
Collecting imagehash (from -r requirements.txt (line 11))
Downloading ImageHash-2.2.tar.gz
Requirement already satisfied (use --upgrade to upgrade): six>=1.5 in /usr/lib/python2.7/dist-packages (from python-dateutil==2.5.3->-r requirements.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): numpy in /usr/lib/python2.7/dist-packages (from imagehash->-r requirements.txt (line 11))
Collecting scipy (from imagehash->-r requirements.txt (line 11))
Downloading scipy-0.18.0-cp27-cp27mu-manylinux1_x86_64.whl (40.4MB)
100% |████████████████████████████████| 40.4MB 22kB/s
Collecting PyWavelets (from imagehash->-r requirements.txt (line 11))
Downloading PyWavelets-0.4.0.tar.gz (1.2MB)
100% |████████████████████████████████| 1.2MB 347kB/s
Building wheels for collected packages: Pillow, pymongo, python-magic, nudepy, imagehash, PyWavelets
Running setup.py bdist_wheel for Pillow ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-koGEJR/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /tmp/tmpuGZUnVpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/PIL
copying PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/MspImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/TarIO.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PngImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/BdfFontFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageColor.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/TiffTags.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/FontFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/_binary.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageQt.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/OleFileIO.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageCms.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageWin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageTk.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageDraw2.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/GdImageFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageMode.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ContainerIO.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/CurImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/_util.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageMorph.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImagePath.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageShow.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PcfFontFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageMath.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageFilter.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageFont.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PyAccess.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PSDraw.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/features.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/GimpGradientFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/Image.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/WalImageFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/GifImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageDraw.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageTransform.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ExifTags.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/JpegPresets.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageGrab.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageStat.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageEnhance.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/FliImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageChops.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/MicImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PaletteFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImagePalette.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/SunImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageOps.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/init.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageSequence.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
running egg_info
writing Pillow.egg-info/PKG-INFO
writing top-level names to Pillow.egg-info/top_level.txt
writing dependency_links to Pillow.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found

reading manifest file 'Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '.sh'
no previously-included directories found matching 'docs/static'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git
' found anywhere in distribution
warning: no previously-included files matching '
.pyc' found anywhere in distribution
warning: no previously-included files matching '_.so' found anywhere in distribution
writing manifest file 'Pillow.egg-info/SOURCES.txt'
copying PIL/OleFileIO-README.md -> build/lib.linux-x86_64-2.7/PIL
running build_ext
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-koGEJR/Pillow/setup.py", line 767, in
zip_safe=not debug_build(), )
File "/usr/lib/python2.7/distutils/core.py", line 151, 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 "/usr/lib/python2.7/dist-packages/wheel/bdist_wheel.py", line 179, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/tmp/pip-build-koGEJR/Pillow/setup.py", line 512, in build_extensions
' using --disable-%s, aborting' % (f, f))
ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting


Failed building wheel for Pillow
Running setup.py clean for Pillow
Running setup.py bdist_wheel for pymongo ... done
Stored in directory: /root/.cache/pip/wheels/a6/d7/ea/bd149d9e2fd0f9ab21959b63c250ef509e4e38cc6258f6a07d
Running setup.py bdist_wheel for python-magic ... done
Stored in directory: /root/.cache/pip/wheels/65/ab/71/40c6c38a050ce64fcbda7e3e8ee3096d5a6302ad4dab28ba8c
Running setup.py bdist_wheel for nudepy ... done
Stored in directory: /root/.cache/pip/wheels/81/e0/99/a5bfc4df141bfcc6db890aea7bdb1c0481e4394eb7d3a4a90a
Running setup.py bdist_wheel for imagehash ... done
Stored in directory: /root/.cache/pip/wheels/6a/cb/ec/7f6a27259d71d346e3b178b13cccc4fa0ccc1a412c04fb5cfe
Running setup.py bdist_wheel for PyWavelets ... done
Stored in directory: /root/.cache/pip/wheels/f3/e8/76/dc98fda69f38b6d620d27941c99d923f49835a5ae90e3718bb
Successfully built pymongo python-magic nudepy imagehash PyWavelets
Failed to build Pillow
Installing collected packages: Django, Pillow, pdfkit, pymongo, python-dateutil, python-magic, requests, nudepy, scipy, PyWavelets, imagehash
Found existing installation: Django 1.7.1
Uninstalling Django-1.7.1:
Not removing or modifying (outside of prefix):
/usr/bin/django-admin
Successfully uninstalled Django-1.7.1
Found existing installation: Pillow 3.3.0
Not uninstalling pillow at /usr/lib/python2.7/dist-packages, outside environment /usr
Running setup.py install for Pillow ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-koGEJR/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-FgeUeQ-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/PIL
copying PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/MspImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/TarIO.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PngImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/BdfFontFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageColor.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/TiffTags.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/FontFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/_binary.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageQt.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/OleFileIO.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageCms.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageWin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageTk.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageDraw2.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/GdImageFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageMode.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ContainerIO.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/CurImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/_util.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageMorph.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImagePath.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageShow.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PcfFontFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageMath.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageFilter.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageFont.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PyAccess.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PSDraw.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/features.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/GimpGradientFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/Image.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/WalImageFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/GifImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageDraw.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageTransform.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ExifTags.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/JpegPresets.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageGrab.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageStat.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageEnhance.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/FliImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageChops.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/MicImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PaletteFile.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImagePalette.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/SunImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageOps.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/init.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImageSequence.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
copying PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
running egg_info
writing Pillow.egg-info/PKG-INFO
writing top-level names to Pillow.egg-info/top_level.txt
writing dependency_links to Pillow.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found

reading manifest file 'Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
writing manifest file 'Pillow.egg-info/SOURCES.txt'
copying PIL/OleFileIO-README.md -> build/lib.linux-x86_64-2.7/PIL
running build_ext
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-koGEJR/Pillow/setup.py", line 767, in <module>
    zip_safe=not debug_build(), )
  File "/usr/lib/python2.7/distutils/core.py", line 151, 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 "/usr/local/lib/python2.7/dist-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
    self.run_command('build')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/tmp/pip-build-koGEJR/Pillow/setup.py", line 512, in build_extensions
    ' using --disable-%s, aborting' % (f, f))
ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting

----------------------------------------

Can't rollback Pillow, nothing uninstalled.
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-koGEJR/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-FgeUeQ-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-koGEJR/Pillow/

you're joking - it can't handle recursive folders!?!?!

after all I did to get it working
I add a folder via path on the same server
and it throws up an error
because there's a folder in my folder.

you never imagined there might be folders inside folders?

c'mon! fix it.

I'll try uploading via chrome
but it should be able to handle a path to a folder nest!

UserName and password

i try to going in with username: ghiro ; password : ghiromanager, like i read in officiel site but that's doesn't work.

Fail to open CR2

Ghiro fail to open CR2 image (Canon 5D Mark III). Got error like when run manualy command :
python manage.py process

2018-09-16 17:48:50,899 [DEBUG] lib.analyzer.processing - Using pool on 1 core
2018-09-16 17:48:50,901 [DEBUG] lib.analyzer.processing - Found module: ElaAnalyzer
2018-09-16 17:48:50,912 [DEBUG] lib.analyzer.processing - Found module: GexivAnalyzer
2018-09-16 17:48:50,913 [DEBUG] lib.analyzer.processing - Found module: HashAnalyzer
2018-09-16 17:48:50,913 [DEBUG] lib.analyzer.processing - Found module: HashComparerAnalyzer
2018-09-16 17:48:50,913 [DEBUG] lib.analyzer.processing - Found module: InfoAnalyzer
2018-09-16 17:48:50,917 [DEBUG] lib.analyzer.processing - Found module: MimeAnalyzer
2018-09-16 17:48:50,918 [DEBUG] lib.analyzer.processing - Found module: PreviewComparerAnalyzer
2018-09-16 17:48:50,921 [DEBUG] lib.analyzer.processing - Found module: SignatureAnalyzer
2018-09-16 17:48:50,923 [DEBUG] lib.analyzer.processing - AnalysisRunner started
2018-09-16 17:48:50,932 [INFO] lib.analyzer.processing - Found 2 stale analysis, putting them in queue.
2018-09-16 17:48:50,937 [DEBUG] lib.analyzer.processing - Processing task 3
2018-09-16 17:48:50,948 [DEBUG] lib.analyzer.processing - Processing task 4

** (process:2722): WARNING **: Directory Image3, entry 0x0111: Strip 0 is outside of the data area; ignored.

terminate called after throwing an instance of 'Exiv2::BasicError<char>'
  what():  /tmp/ghiro-wNv3x4: Failed to open the data source:  (errno = 2)

Waiting process

Hi guys,

I'm having some troubles testing ghiro on my laptop. This is weird, because I've also tested on my desktop computer and it works fine.

The problem is when I open a new case. After uploading some pics, the process changes to the waiting state and it doesn't change its state anymore. I go to the "images" tab, but it shows "No data available in table".

I'm running ghiro 0.2-1 OVA version in both computers.

Does anyone know what's the problem?

Thanks in advance,

Alex.

Ghiro appliance - image analysis "waiting"

Hi !
First of all, great job and excellent idea. Ghiro should help quite a lot of forensics examiners !

I downloaded the Ghiro appliance and imported it in VMWare. I logged in (nice web ui !) and created a case, imported images and nothing is happening: no analysis is taking place.

What am I doing wrong ?

Thanks !

some error during running ghiro

hey ,doc,
I had install ghiro in my Ubantu, and there are some error occur when run the script 'manage.py'.

when I us ghiro use git clone XX [as your homepage ]

I get an error when attempting to run the " python manage.py submit -u joe -c 2 -t images.jpg "

The error messages leads to the following:

Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 261, in fetch_command
commands = get_commands()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 107, in get_commands
apps = settings.INSTALLED_APPS
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 54, in getattr
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 49, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 128, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
import(name)
File "/home/joe/Desktop/GHIRO/ghiro/ghiro/settings.py", line 89, in
"django.core.context_processors.request",
TypeError: can only concatenate tuple (not "list") to tuple

and when i upgrade my django, the error had changed:
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 338, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 303, in execute
settings.INSTALLED_APPS
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 48, in getattr
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 92, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/joe/Desktop/GHIRO/ghiro/ghiro/settings.py", line 89, in
"django.core.context_processors.request",
TypeError: can only concatenate tuple (not "list") to tuple

so? This error have some relation with the version of django? which version should i choice ?

and when i use ghiro download from your homepage,
'python manage.py submit -u joe -c 2 -t images.jpg' also get the error ,but 'python manage.py process' can be run

how shold i do to solve it and get the analysis?

500 Server Error on images/new in api

As seen below calling api to create new case works fine but api complains when I try new image. For the image param iv'e tried using both a url and a path to an image on the server from which i'm running the curl request. Tried inside quotes and with no quotes.

Maybe you can spot something here?

Retina-MacBook-Pro:.ssh newuser$ curl -kis -F name=foo2 -F description=bar2 -F api_key=52............9a http://52.49.255.176/api/cases/new
HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Date: Wed, 30 Mar 2016 09:10:32 GMT
Server: Apache/2.4.7 (Ubuntu)
Content-Length: 9
Content-Type: application/json

{"id": 4}Retina-MacBook-Pro:.ssh newuser$
Retina-MacBook-Pro:.ssh newuser$ curl -kis -F case_id=4 -F image=https://upload.wikimedia.org/wikipedia/commons/1/1e/Stonehenge.jpg -F api_key=52...........9a http://52.49.255.176/api/images/new
HTTP/1.1 100 Continue

HTTP/1.1 500 INTERNAL SERVER ERROR
Date: Wed, 30 Mar 2016 09:11:51 GMT
Server: Apache/2.4.7 (Ubuntu)
Content-Length: 27
Connection: close
Content-Type: text/html

Server Error (500)

Retina-MacBook-Pro:.ssh newuser$

Queue always full

It seems that at some point image processing stops and the queue is always full:

2015-05-08 15:06:13,578 [DEBUG] lib.analyzer.processing - No tasks. Waiting...
2015-05-08 15:06:14,584 [DEBUG] lib.analyzer.processing - Processing task 49
2015-05-08 15:06:14,589 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:15,592 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:16,594 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:17,597 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:18,600 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:19,603 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:20,605 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:21,608 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:22,611 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:23,614 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:24,616 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:25,619 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:26,622 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:27,625 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:28,628 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:29,630 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:30,633 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:31,636 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:32,638 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:33,641 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:34,643 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:35,646 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:36,649 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:37,652 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:38,654 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:39,657 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:40,660 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:41,663 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:42,666 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:43,668 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:44,671 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:45,674 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:46,677 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:47,679 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:48,682 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:49,685 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:50,687 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:51,690 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:52,692 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:53,695 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:54,697 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:55,699 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:56,702 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:57,705 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:58,707 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:06:59,710 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:07:00,713 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:07:01,715 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:07:02,717 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:07:03,720 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:07:04,721 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:07:05,724 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:07:06,728 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:07:07,731 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:07:08,733 [DEBUG] lib.analyzer.processing - Queue full. Waiting...
2015-05-08 15:07:09,736 [DEBUG] lib.analyzer.processing - Queue full. Waiting...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.