Page 1 of 1

Re: OpenSUSE buildservice Debian GIT builds

Posted: Fri Oct 02, 2015 8:47 am
by cingulingu
Found a glitch. In update-fixture-map.rb
I don't know what happened. Yesterday, morning it worked as usual. But now it give me this.

Code: Select all

./update-fixture-map.rb:239:in `load': undefined method `content' for nil:NilClass (NoMethodError)
        from ./update-fixture-map.rb:210:in `initialize'
        from ./update-fixture-map.rb:258:in `new'
        from ./update-fixture-map.rb:258:in `block (2 levels) in load_fixtures'
        from ./update-fixture-map.rb:257:in `glob'
        from ./update-fixture-map.rb:257:in `block in load_fixtures'
        from ./update-fixture-map.rb:256:in `chdir'
        from ./update-fixture-map.rb:256:in `load_fixtures'
        from ./update-fixture-map.rb:479:in `<main>'
There was no changes in ruby or ruby-xml.

Re: OpenSUSE buildservice Debian GIT builds

Posted: Fri Oct 02, 2015 8:47 am
by mcallegari
cingulingu wrote:Found a glitch. In update-fixture-map.rb
I don't know what happened. Yesterday, morning it worked as usual. But now it give me this.
There was no changes in ruby or ruby-xml.
We haven't touched that script (last change was 5 months ago).
Probably something bad happened to your Ruby installation ?

Re: OpenSUSE buildservice Debian GIT builds

Posted: Fri Oct 02, 2015 9:58 am
by janosvitok
Fixed in https://github.com/mcallegari/qlcplus/c ... 6ac944645f
Problem was that XML namespace was changed in https://github.com/mcallegari/qlcplus/c ... 2184319f8e

I'll update all data files to the new namespace later.

Re: XML namespace changed to www.qlcplus.org

Posted: Fri Oct 02, 2015 10:30 am
by mcallegari
Can the Ruby script handle both sourceforge and qlcplus.org namespaces ?

Otherwise, what happens if we change the URL here ?
https://github.com/mcallegari/qlcplus/b ... ap.rb#L233
https://github.com/mcallegari/qlcplus/b ... ap.rb#L274

Re: XML namespace changed to www.qlcplus.org

Posted: Fri Oct 02, 2015 10:50 am
by cingulingu
Working again.. Thanks.

Re: XML namespace changed to www.qlcplus.org

Posted: Fri Oct 02, 2015 2:06 pm
by janosvitok
I've replaced all namespaces in data files and schemas. The script now works with the new namespace only. I wasn't able to replace namespace with libxml-ruby.
I'll do it later by bruteforce.