[Kde-bindings] Rbuic4 generate bad file when text edit widget is filled with a big text
Cédric HAMEL
cedric.hamel at gmail.com
Sat Dec 12 15:51:08 UTC 2009
Hi,
I triggered a bug in rbuic4.
This ui file generate a bad ruby file using rbuic4. The bug is triggered by
adding a long default text in a text edit widget.
Here is the traceback given when triing to require the file bug.ui.rb :
/home/mak2k/plasma/branch/html-plasmoids/htmlembed/contents/code/main.rb:11:in
`require': /tmp/bug.ui.rb:42: syntax error, unexpected tSTRING_BEG,
expecting ')'
"argin-left:0px; margin-right:0...
^
/tmp/bug.ui.rb:226: syntax error, unexpected ',', expecting kEND
...nt:0px;\"></p></body></html>", nil, Qt::Application::Unicode...
^
/tmp/bug.ui.rb:226: Can't assign to nil
...x;\"></p></body></html>", nil, Qt::Application::UnicodeUTF8)
^
/tmp/bug.ui.rb:226: dynamic constant assignment
/tmp/bug.ui.rb:226: syntax error, unexpected ')', expecting '='
/tmp/bug.ui.rb:239: syntax error, unexpected $end, expecting kEND
(SyntaxError)
/home/mak2k/plasma/branch/html-plasmoids/htmlembed/contents/code/main.rb:11
/home/mak2k/plasma/branch/html-plasmoids/htmlembed/contents/code/main.rb:9:in
`each'
/home/mak2k/plasma/branch/html-plasmoids/htmlembed/contents/code/main.rb:9
/usr/share/kde4/apps/plasma_scriptengine_ruby/applet.rb:191:in
`load'
/usr/share/kde4/apps/plasma_scriptengine_ruby/applet.rb:191:in
`init'
Thanks
Cedric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20091212/500cdffb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.ui
Type: application/octet-stream
Size: 29960 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20091212/500cdffb/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.ui.rb
Type: application/x-ruby
Size: 28252 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20091212/500cdffb/attachment.bin>
More information about the Kde-bindings
mailing list