[OSM-dev] rails_port problem

Kirill Bestoujev bestoujev at gmail.com
Wed May 4 14:57:39 BST 2011


Found a strange thing:

http://cruise.openstreetmap.org/builds/osm-rails/3700b53/test.log 
contains MANY

"ERROROAuth::Signature::UnknownSignatureMethod" errors. Same as I get, but in many place. Why is osm server working well and mine does not?

And why nobody cares???

Kirill




On 04.05.2011 16:35, Kirill Bestoujev wrote:
> Hi!
>
> I've been trying to find a solution for a whole week. I tried 
> different distros of Linux, none worked.
>
> Today I installed the brand new Ubuntu 11.04 and decided to give a 
> final try. What I have now:
>
> 1. The text of the error in Josm changed, now it is:
>
> POST http://127.0.0.1/api/0.6/changeset/4575222/upload... Bad Request
> Error header: Document is not accessible to Ruby (hint - did you call 
> Reader#expand?).
> org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error 
> Header=<Document is not accessible to Ruby (hint - did you call 
> Reader#expand?).>
>
> 2. The 'rake test' passes (previously it was falling in the middle of 
> functional tests with segmentation fault) but gives about 20 failures 
> with 500 or 400 error code.
>
>
> What can all this mean?
>
> Kirill
>
>
>
> On 22.04.2011 14:15, Shaun McDonald wrote:
>> The problem is to do with OAuth. Have you setup a new OAuth 
>> application in your rails port install and entered those settings 
>> into JOSM?
>>
>> Shaun
>>
>> On 22 Apr 2011, at 11:11, Kirill Bestoujev wrote:
>>
>>> I just tried to edit the data with Poltach - it works ok...
>>>
>>> Is Poltach interacting with the api in a different way then josm does?
>>>
>>> Kirill
>>>
>>> 2011/4/22 Kirill Bestoujev <bestoujev at gmail.com 
>>> <mailto:bestoujev at gmail.com>>
>>>
>>>     Hi everybody!
>>>
>>>     I have a problem with rails port.
>>>
>>>     Ubuntu 10.04, x64.
>>>     I installed the rails port according to the wiki, uploaded the
>>>     data into it. Activated the users.\
>>>
>>>     All looks fine, I can download data with Josm, but I fail to
>>>     upload anything.
>>>
>>>     In josm I get Internal server error 500.
>>>     In rails log I have
>>>
>>>     [2011-04-22 09:32:45.814749 #13100] Processing
>>>     ChangesetController#close (for 127.0.0.1 at 2011-04-22 09:32:45)
>>>     [PUT]
>>>     [2011-04-22 09:32:45.814877 #13100]   Parameters:
>>>     {"action"=>"close", "id"=>"4575187", "controller"=>"changeset"}
>>>     [2011-04-22 09:32:45.815438 #13100]
>>>     ERROROAuth::Signature::UnknownSignatureMethod
>>>
>>>     In apache error.log I get:
>>>
>>>     [Thu Apr 21 17:38:14 2011] [error] [client 127.0.0.1] Premature
>>>     end of script headers: 0.6
>>>     [ pid=21761 thr=139954888980288 file=ext/apache2/Hooks.cpp:822
>>>     time=2011-04-21 17:38:14.321 ]: The backend application (process
>>>     22666) did not send a valid HTTP response; instead, it sent
>>>     nothing at all. It is possible that it has crashed; please check
>>>     whether there are crashing bugs in this application.
>>>     /home/kirill/fork/rails/app/models/node.rb:82: [BUG]
>>>     Segmentation fault
>>>     ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
>>>
>>>
>>>     I tried different version of josm, the problem is always there.
>>>
>>>     What can it be?
>>>
>>>     Kirill
>>>
>>>
>>> _______________________________________________
>>> dev mailing list
>>> dev at openstreetmap.org <mailto:dev at openstreetmap.org>
>>> http://lists.openstreetmap.org/listinfo/dev
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20110504/199fd0a0/attachment.html>


More information about the dev mailing list