Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#6470 closed defect (fixed)

imagery: no default server list

Reported by: skyper Owned by: Upliner
Priority: normal Milestone:
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 by skyper, 13 years ago

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 by skyper, 13 years ago

Resolution: duplicate
Status: newclosed

comment:3 by skyper, 13 years ago

Closed as duplicate of #6481.

comment:4 by skyper, 13 years ago

Resolution: duplicate
Status: closedreopened

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 by skyper, 13 years ago

Type: enhancementdefect

comment:6 by skyper, 13 years ago

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 13 years ago by skyper (previous) (diff)

comment:7 by skyper, 13 years ago

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 by stoecker, 13 years ago

Resolution: fixed
Status: reopenedclosed

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

in reply to:  8 comment:9 by skyper, 13 years ago

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Upliner.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.