Can't add a new file to repos on Web page

Issue #52 new
bitworld created an issue

It's working for the released Kallithea 0.1, but failed for the newest Kallithea on Bitbucket repositories.

When adding a new file to a new and empty repositories, the web page shows error 500.

After adding some files through TortoiseHg, the 'Upload file' button has no responding when clicking it. When clicking the 'Commit Changes' button, a warning message of "No content" can be seen, and no file is added.

Comments (1)

  1. Thomas De Schampheleire

    I can confirm the following:

    • when adding a new file, and NOT giving a filename, then clicking the Commit Changes button renders a 500 Internal Server Error page, but a flash line at the top hinting that no filename was given.
    • similar behavior when specifying a filename but no content.

    Note that in your screenshot, no text field is shown for the file content. This is supposed to be shown below the 'File mode' and 'Commit message' fields. Do you never see such a text area? Which is your browser? Do you have Javascript enabled?

    Clicking the Upload file button works fine for me. Is this still a problem for you? If so, can you describe the scenario for that problem in more detail?

  2. Log in to comment