Modify

Opened 2 years ago

Closed 23 months ago

Last modified 23 months ago

#6470 closed defect (fixed)

imagery: no default server list

Reported by: skyper Owned by: Upliner
Priority: normal Component: Core imagery
Version: Keywords: imagery list emty startup
Cc:

Description

If you start josm with a new pref dir, the imagery server list is empty. This is not very intuitive for beginners. Please, fill the list with some default servers.

Thanks

r4137

Attachments (0)

Change History (9)

comment:1 Changed 2 years ago by skyper

I also can not download the available default list from server nor exists any entry and there is no output on the console. No message about downloading nor a message about failure. Not very user-friendly.

I played with proxies and restarting and it works from time to time. Once the list is download during startup (no message on the console) the default entries appear and the list under prefs.

Sorry, no time for wireshark right now, maybe later. But yesterday I had the same issue on a different system and different internet provider/router.

comment:2 Changed 2 years ago by skyper

  • Resolution set to duplicate
  • Status changed from new to closed

comment:3 Changed 2 years ago by skyper

Closed as duplicate of #6481.

comment:4 Changed 23 months ago by skyper

  • Resolution duplicate deleted
  • Status changed from closed to reopened

I have an empty list on first startup again, maybe it is not the same.

I hava a available list, so I can manually fill the list, but this is not very userfriendly.

r4201

comment:5 Changed 23 months ago by skyper

  • Type changed from enhancement to defect

comment:6 Changed 23 months ago by skyper

the list is in ~.josm-latest/preferences which is created on startup:

user@localhost:~$cat .josm-latest/preferences
cache.motd.html=1309889552
cache.motd.html.lang=De:
cache.motd.html.version=4201
imagery.layers.default=http://irs.gis-lab.info/?layers=landsat&bing:bingtms:http://oatile1.mqcdn.com/naip/{zoom}/{x}/{y}.pngtms[18]:http://tile.openstreetmap.org/tms[18]:http://{switch:a,b,c}.www.toolserver.org/tiles/bw-mapnik/{zoom}/{x}/{y}.png
josm.version=4201
mappaint.renderer-class-name=org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer
mappaint.style.known-defaults=resource://styles/standard/elemstyles.xmlresource://styles/standard/potlatch2.mapcss
mappaint.style.sources-list.0=resource://styles/standard/elemstyles.xmlstandardJOSM-interner Stiltrue
mappaint.style.sources-list.1=resource://styles/standard/potlatch2.mapcssstandardPotlatch 2false
mirror.http://josm.openstreetmap.de/maps=1309889552445/home/user/.josm-latest/mirror_http___josm.openstreetmap.de_maps
shortcut.groups.1=128
shortcut.groups.10=64
shortcut.groups.11=576
shortcut.groups.12=64
shortcut.groups.13=512
shortcut.groups.15=640
shortcut.groups.16=640
shortcut.groups.17=576
shortcut.groups.18=512
shortcut.groups.19=128
shortcut.groups.2=128
shortcut.groups.20=512
shortcut.groups.3=0
shortcut.groups.4=512
shortcut.groups.5=0
shortcut.groups.6=512
shortcut.groups.8=192
shortcut.groups.9=192
shortcut.groups.configured=true
taggingpreset.sources-list.0=resource://data/defaultpresets.xmlInterne Objektvorlage

I start josm with the debian-script a bit adjusted to my needs:

user@localhost:~$ cat /usr/local/bin/josm-latest
#!/bin/sh
# Simple wrapper script used to start JOSM in Debian
set -e

# Options
java_option="-Xmx250m -Djosm.home=$HOME/.josm-latest"
josm_dir="/usr/local/share/josm"

# First, the users preference as defined by $JAVA_HOME. Next, use OpenJDK.
# Override to a specific one using $JAVACMD
JAVA_CMDS="$JAVA_HOME/bin/java /usr/lib/jvm/java-6-openjdk/bin/java /usr/lib/jvm/java-6-sun/bin/java /usr/lib/jvm/java-1.5.0-sun/lib/java"

for jcmd in $JAVA_CMDS; do 
    if [ -x "$jcmd" -a -z "${JAVACMD}" ]; then
        JAVACMD="$jcmd"
    fi
done

if [ "$JAVACMD" ]; then
    echo "Using $JAVACMD to execute josm."
    exec $JAVACMD $JAVA_OPTS $java_option -jar $josm_dir/josm-latest.jar --maximize "$@" 
else    
    echo "No valid JVM found to run JOSM."
    exit 1
fi
Last edited 23 months ago by skyper (previous) (diff)

comment:7 Changed 23 months ago by skyper

Can anyone else reproduce this ?

I did a cap dump but can not find any problems. If you need the dump, please tell me.

r4205

comment:8 follow-up: Changed 23 months ago by stoecker

  • Resolution set to fixed
  • Status changed from reopened to closed

JOSM server had timeout problems. Newer JOSM version waits a bit longer and I think this solved the issue.

comment:9 in reply to: ↑ 8 Changed 23 months ago by skyper

Replying to stoecker:

JOSM server had timeout problems. Newer JOSM version waits a bit longer and I think this solved the issue.

You are right. Works for me. Thanks

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.