Skip to content


Subversion checkout URL

You can clone with
Download ZIP


export to ODT fails ... #337

oz123 opened this Issue · 1 comment

2 participants

  Server error: /home/ozn/wikis/wikidata/static/Error_Building_The_Work_Space.jpg: openFile: does not exist (No such file or directory)

as a work around I copied "static" into wikidata, and put the images inside it.

$ ls wikidata/static/
css               Error_Building_The_Work_Space.jpg  screenshot.1.jpg    Target_Editing.jpg
Empty_Target.jpg  img                                Target_Content.jpg

The problem with this work around is that, new images are uploaded in wikidata and not to wikidata/static/.

I have no clue about Haskell. But, I think this is because in the file Handlers.hs the variable dropWhile is hard coded:

uploadFile :: Handler
     uploadFile = withData $ \(params :: Params) -> do
     let origPath = pFilename params
     let filePath = pFilePath params
     let wikiname = normalise
              $ dropWhile (=='/')

IMHO, it would make sense to make this a configurable option.


Sounds related to #353 and #346.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.