unable to upload images

Asked by Alexander Joelly

hi,
i just installed redmine 1.0.3 and the local avatar plugin;
the plugin itself is working and displays the image from gravatar.com, but when i try to upload my own image i get an error with exclamation mark but no text and this in the production.log which does not help me:

--- snip ---
Processing MyController#save_avatar (for 93.82.174.178 at 2010-11-21 13:47:33) [POST]
  Parameters: {"commit"=>"Save", "action"=>"save_avatar", "authenticity_token"=>"wkBYvWGpZf3OewqOPzXVAI6rw5Ys/yvbai9x8fX48Oc=", "id"=>"3", "avatar"=>#<File:/tmp/RackMultipart20101121-3192-1ozhih2-0>, "controller"=>"my"}
Redirected to http://nds.it-factory.cc/my/avatar
Completed in 4ms (DB: 0) | 302 Found [http://nds.it-factory.cc/my/save_avatar/3]

Processing MyController#avatar (for 93.82.174.178 at 2010-11-21 13:47:33) [GET]
  Parameters: {"action"=>"avatar", "controller"=>"my"}
Rendering template within layouts/base
Completed in 17ms (View: 15, DB: 0) | 200 OK [http://nds.it-factory.cc/my/avatar]
--- snip ---

any ideas what could be the problem?

thanks,
alex

Question information

Language:
English Edit question
Status:
Solved
For:
Redmine Local Avatars Plugin Edit question
Assignee:
No assignee Edit question
Solved by:
Alexander Joelly
Solved:
Last query:
Last reply:
Revision history for this message
Luca Pireddu (pireddu) said :
#1

Hi Alexander. Did you manage to solve this problem? I don't know off hand what could be the cause but I can look into it.

Revision history for this message
Alexander Joelly (alex-joelly) said :
#2

Hi Luca,

It's working now - i have no idea why why not before, it's a fresh installation;
nothing changed, the only thing what happend is that for maintenance i had to move the vm to another hardware - but think not that a reboot would make this to work....i don't know

thanks

Revision history for this message
Ammar Memari (darkscorp777) said :
#3

Hi,
I have the same problem that wasn't solved by a reboot.. I am running Redmine 0.9.3
A red exclamation mark without any message is all I get.

Thanks a lot in advance

Revision history for this message
Luca Pireddu (pireddu) said :
#4

I've never tested with Redmine 0.9. The issue may be related to version. In any case, i've started looking into how to make the plugin run in development mode. We should be able to get more information on the problem once that's done.

Revision history for this message
Bo Sepehr (bosepehr) said :
#5

Hi Luca,
I came across the same problem.
installed Redmine 1.2.1.stable (SQLite).

Did you manage to resolve this problem?

Thank You

Revision history for this message
Luca Pireddu (pireddu) said :
#6

Hi Bo,

have you tried the development head?

I recently merged a patch from that should solve compatibility issues with Redmine 1.2 and 1.4.

Revision history for this message
Bo Sepehr (bosepehr) said :
#7

Thank you Luca,
I will check that.
Thank you again for your early response

Regards
Bo

Sent from my iPhone

On Mar 13, 2012, at 1:45 AM, Luca Pireddu <email address hidden> wrote:

> Question #134905 on Redmine Local Avatars Plugin changed:
> https://answers.launchpad.net/redminelocalavatars/+question/134905
>
> Luca Pireddu posted a new comment:
> Hi Bo,
>
> have you tried the development head?
>
> I recently merged a patch from that should solve compatibility issues
> with Redmine 1.2 and 1.4.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.