I'm having trouble with the installation steps of Superdesk.
I'm running Crunchbang (Waldorf) and install gets stuck at step 3
"3. Build eggs by running the following command:
[path_to_superdesk]/build-egg"
I confirm I am running Python 3.2
~$ python3 -V
Python 3.2.3
And this is the error I receive
~$ /var/opt/ally-py/superdesk/build-eggs
python3: can't open file '../components/build_egg.py': [Errno 2] No such file or directory
python3: can't open file '../plugins/build_egg.py': [Errno 2] No such file or directory
python3: can't open file 'plugins/build_egg.py': [Errno 2] No such file or directory
python3: can't open file 'plugins/copy_eggs.py': [Errno 2] No such file or directory
Navigating to this cloned directory I see the same files that are supposedly not there. I saw a previous thread where the user was informed to use Python 3.2 which I confirmed I am using having just downloaded it direct form python.org
There was essentially the same errors but with a few permission errors thrown in so I ran again as sudo and still had a ton of problems by the looks...
You don't need mongoDb for common LiveBlog functionality. Just disable the content related plugins as specified on install file (see below):
# The prefix for the plugins to be excluded, something like: gui-action, introspection-request. excluded_plugins: - content_article - content_packager - content_publisher
I replace it with the excludes you provided so it looks precisely as you say.
I appreciate my netbook must run slow and the first run seems to take about 10 minutes. BUT the web interface has at last shown and I am able to log in!! Yay, Wahoo etc.
Terminal still shows a couple of errors:
ERROR plugins/livedesk_embed-1.0.dev-py3.2.egg/gui-resources/scripts/js/core/utils/extend.js: 'utf-8' codec can't decode byte 0xa9 in position 1221: invalid start byte internationalization.scanner
INFO Published themes 'lib/livedesk-embed' __plugin__.livedesk_embed.theme_default
ERROR Unable to deploy GraphicsMagic on all 7.4!
You must install it manually and set the proper path in the plugins.properties
file for the property gm_path (e.g. /usr/bin/gm). __plugin__.binary_gm
First time the server is started the js code is parsed in order to extract localization strings. When you start second time it will start in a few seconds.
Try to upload an image on media archive and if it is not working please install gm and set the path on plugins.properties file as it is explained on error message.
Just in case anyone comes at a later point with the same issue as I here's a link explaining the installation and path settings needed for GraphicsMagick (Note the 'K' at the end unlike the error message)
Again in case anyone else comes in after me with same issues:
1) the plugins.properties file needs editing again in sudo.. ( in crunchbang I had to type gksudo geany /var/opt/ally-py/superdesk/distribution/plugins.properties )
2) for the plugins, namely gm/ffmpeg (for audio and video as well as the temp folder)/exiv2 you need to type the correct path to the executable in eg. "/usr/bin/exiv2" (without the quotes). They seem to essentially be anything with the path "workspace"
3) you may need to install the packages from these if you can not locate them in /usr/bin (I did so via synaptic)
# The path where ffmpeg writes temp data audioDataHandler.ffmpeg_tmp_path: workspace/tools/ffmpeg/tmp
This is just a temporary path to save partial processed files, so there is not needed to change it. However the application should have the read&write rights in workspace directory.