Parent with automatic weights problem in Blender
I found the solution! I had already parentet the mesh to the armature erlier. Later I flipped the names from L to R. Then I parentet it again, and it had still saved some of the old vertex groups. I deleted all the vertex groups, and now it works:)