Re: [OSM-dev] [JOSM][RemoteControl] import?url

2009-09-23 Thread Etienne Chové
Frederik Ramm a écrit :
 Hi,
 
 Etienne Chové wrote:
 I'm trying to use remote control plugin from JOSM with function 
 /import?url=... When I put an invalid url, I get an error, but when I 
 put a valid osm file url, nothing appens.
 
 People are reporting server problems ATM so try again later, and if the 
 problem persist, we'll investigate further.

I've josm-tested (version 1981) = it works
  josm-latest (version 2180) = it doesn't work

The bug occurs if no data have been downloaded before the call to 
openUrl (wich calls DownloadOsmTask). If I download some data with 
Ctrl+Maj+D and then call openUrl, it works fine.

I think the bug comes from :
http://tiny.cc/YYd0a

Cheers.

Etienne

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] [JOSM][RemoteControl] import?url

2009-09-22 Thread Etienne Chové
Hi,

I'm trying to use remote control plugin from JOSM with function 
/import?url=... When I put an invalid url, I get an error, but when I 
put a valid osm file url, nothing appens.

What shoul'd I do to get remote data into osm ?

I'm using JOSM 2180 on windows with RemoteControl 17590

-- 
Etienne

* Test 1 (incomplete file) :
http://127.0.0.1:8111/import?url=http://api.openstreetmap.org/api/0.6/way/31591786

= Console result :
RemoteControl received: GET 
/import?url=http://api.openstreetmap.org/api/0.6/way
/31591786 HTTP/1.1
GET http://api.openstreetmap.org/api/0.6/way/31591786
22 sept. 2009 18:13:08 org.openstreetmap.josm.io.OsmReader 
processWaysAfterParsi
ng
ATTENTION: marked way 31á591á786 with 5 nodes incomplete because at 
least one no
de was missing in the loaded data and is therefore incomplete too
RemoteControl received: GET 
/import?url=http://api.openstreetmap.org/api/0.6/way
/31591786/full HTTP/1.1

* Test 2 (valid file) :
http://127.0.0.1:8111/import?url=http://api.openstreetmap.org/api/0.6/way/31591786/full

= Console result :
RemoteControl received: GET 
/import?url=http://api.openstreetmap.org/api/0.6/way
/31591786/full HTTP/1.1
GET http://api.openstreetmap.org/api/0.6/way/31591786/full

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] [JOSM][RemoteControl] import?url

2009-09-22 Thread Frederik Ramm
Hi,

Etienne Chové wrote:
 I'm trying to use remote control plugin from JOSM with function 
 /import?url=... When I put an invalid url, I get an error, but when I 
 put a valid osm file url, nothing appens.

People are reporting server problems ATM so try again later, and if the 
problem persist, we'll investigate further.

Bye
Frederik


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev