media uploading and image uploading not working
  • i have installed superdesk and everything works fine expect the "media archive" were i try to add  media file  but nothing happens and the following error show in the console :

    image

    also the same error appears when i try to upload an image at live blog. so is there away to fix this ? thanks in advance.

  • 4 Comments sorted by
  • Please send us the error from server console.
    It should be more than "image" word.
  • the server show : "windows error: [ error 2] the system cannot find the file specified.

      

    C:\Ally-Py\Superdesk\distribution>python application.py
    INFO     Nothing to report for 'Users gateways', everything fits nicely
                                  ally.design.processor.assembly
    INFO     Nothing to report for 'Active rights', everything fits nicely
                                  ally.design.processor.assembly
    INFO     Nothing to report for 'Anonymous gateways', everything fits nicely
                                  ally.design.processor.assembly
    INFO     Nothing to report for 'Captcha gateways', everything fits nicely
                                  ally.design.processor.assembly
    INFO     Published themes 'lib/livedesk-embed'
                                  __plugin__.livedesk_embed.theme_default
    INFO     Nothing to report for 'Server', everything fits nicely
                                  ally.design.processor.assembly
    INFO     ================================================== Started Async HTTP s
    erver...                      ally.http.server.server_asyncore
    INFO     Registering 64 services into the resources structure
                                  __setup__.ally_core.resources
    ================================================== Application started in 44.46
    seconds
    ERROR    Exception occurred while processing the chain
                                  ally.http.impl.processor.internal_error
    Traceback (most recent call last):
      File "build\bdist.win32\egg\ally\design\processor\execution.py", line 254, in
    do
        try: call(self, **self.arg.__dict__)
      File "build\bdist.win32\egg\ally\design\processor\processor.py", line 169, in
    wrapper
        call(**keyargs)
      File "build\bdist.win32\egg\ally\core\impl\processor\invoking.py", line 100, i
    n process
        value = request.invoker.invoke(*arguments)
      File "build\bdist.win32\egg\ally\core\impl\invoker.py", line 77, in invoke
        return getattr(self.implementation, self.call.name)(*args)
      File "build\bdist.win32\egg\ally\container\impl\proxy.py", line 245, in __call
    __
        return Execution(self, deque(self.proxy._proxy_handlers), args, keyargs).inv
    oke()
      File "build\bdist.win32\egg\ally\container\impl\proxy.py", line 193, in invoke

        return handler.handle(self)
      File "build\bdist.win32\egg\ally\support\sqlalchemy\session.py", line 222, in
    handle
        try: returned = execution.invoke()
      File "build\bdist.win32\egg\ally\container\impl\proxy.py", line 193, in invoke

        return handler.handle(self)
      File "build\bdist.win32\egg\ally\container\impl\binder.py", line 241, in handl
    e
        value = execution.invoke()
      File "build\bdist.win32\egg\ally\container\impl\proxy.py", line 193, in invoke

        return handler.handle(self)
      File "build\bdist.win32\egg\ally\container\impl\proxy.py", line 330, in handle

        return method(*execution.args, **execution.keyargs)
      File "build\bdist.win32\egg\superdesk\media_archive\impl\meta_data.py", line 1
    19, in insert
        if handler.processByInfo(metaData, contentPath, content.type):
      File "build\bdist.win32\egg\ally\container\impl\proxy.py", line 245, in __call
    __
        return Execution(self, deque(self.proxy._proxy_handlers), args, keyargs).inv
    oke()
      File "build\bdist.win32\egg\ally\container\impl\proxy.py", line 193, in invoke

        return handler.handle(self)
      File "build\bdist.win32\egg\ally\support\sqlalchemy\session.py", line 222, in
    handle
        try: returned = execution.invoke()
      File "build\bdist.win32\egg\ally\container\impl\proxy.py", line 193, in invoke

        return handler.handle(self)
      File "build\bdist.win32\egg\ally\container\impl\proxy.py", line 330, in handle

        return method(*execution.args, **execution.keyargs)
      File "build\bdist.win32\egg\superdesk\media_archive\impl\image_persist.py", li
    ne 82, in processByInfo
        return self.process(metaDataMapped, contentPath)
      File "build\bdist.win32\egg\superdesk\media_archive\impl\image_persist.py", li
    ne 95, in process
        p = Popen([self.metadata_extractor_path, contentPath], stdin=PIPE, stdout=PI
    PE, stderr=STDOUT)
      File "C:\Python32\lib\subprocess.py", line 736, in __init__
        restore_signals, start_new_session)
      File "C:\Python32\lib\subprocess.py", line 946, in _execute_child
        startupinfo)
    WindowsError: [Error 2] The system cannot find the file specified

  • ????????
  • We tried to install automatically some tools that we use in LiveBlog application.
    This is not working well due to different lib dependencies on different version of the same OS.
    We will drop this support in the next version of the application and the dependence tools should be installed from original sources.

    For the application are needed the following tools:
    ffmpeg - to install see http://www.ffmpeg.org/download.html
    graphics magic - to install see http://www.graphicsmagick.org/INSTALL-windows.html
    exiv2 - to install see http://www.exiv2.org/archive.html


    On plugin.properties files you have to change the following properties:

    imageDataHandler.metadata_extractor_path: add full path to exiv2 executable
    audioDataHandler.ffmpeg_path: add full path to ffmpeg executable
    videoDataHandler.ffmpeg_path: add full path to ffmpeg executable
    thumbnailProcessor.ThumbnailProcessorGM.gm_path: add full path to gm executable
    thumnail_processor: gm