There are two separate notations. The first line says that he on December 2, 1907, was sentenced by Karlstad Rådhusrätt (the city court), to one month in prison for violence against a policeman on duty.
The second line says that he on July 2, 1908, was signed in to Karlstad Sjömanshus (the city's institution for keeping track of sailors and ships, as well as look after their and their families' rights) under No 1284.
Riksarkivet does not to have Karlstad Sjömanshus but Arkiv Digital does. There he goes by the name Erik Johan Gustafsson. He worked as an ordinary seaman. It also says that from 1909 he was employed at Vaxholm Grenadier Regiment. He was signed out of the books on November 20, 1914.
Source: Karlstads sjömanshus arkiv (S) DId:5 (1908-1913) Bild 9