Ticket #184 (closed defect: fixed)

Opened 20 months ago

Last modified 20 months ago

ladish_control errors out when setting app ladish level

Reported by: http://obsoleteaudio.org/ Owned by: -
Priority: major Milestone: undecided
Keywords: Cc:

Description

When I try to instantiate an app via ladish_control, this is what I get:

$ ladish_control snewapp 'yoshimi -j -J' 'yoshimi synth' 2

--- new studio app
DBus exception: org.ladish.Error.InvalidArgs?: invalid integer level 50

It seems to be trying to set the app level to the ASCII code of "2"... when I set the level to 1 it says "invalid integer level 49", etc.

This is with the latest ladish svn version built Sept 29th.

Change History

Changed 20 months ago by http://nedko.arnaudov.name/

  • status changed from new to closed
  • resolution set to fixed

Fixed in 17e02f89a3ea1a9f9679ec7921909cc40c2d70f8

App levels are: 0, 1, lash and jacksession. 2 is invalid/incomplete app level (both lash and jacksession are at level 2).

Changed 20 months ago by http://obsoleteaudio.org/

  • status changed from closed to reopened
  • resolution fixed deleted

But as I said, it also errors out when I set the level to 1. I tried setting the level to 'lash' and here is the error I get:

ERROR:dbus.connection:Unable to set arguments (False, 'yoshimi -j -J', 'yoshimi synth', 'lash') according to signature u'bssy': <type 'exceptions.ValueError?'>: Expected a string of length 1 byte, but found 4 bytes
--- new studio app
Traceback (most recent call last):

File "/usr/bin/ladish_control", line 529, in <module>

main()

File "/usr/bin/ladish_control", line 449, in main

add_app(studio_obj, cmdline, name, level, term)

File "/usr/bin/ladish_control", line 134, in add_app

dbus.Interface(obj, app_supervisor_interface_name).RunCustom?(term, cmdline, name, level)

File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in call

return self._proxy_method(*args, **keywords)

File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 143, in call

**keywords)

File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 620, in call_blocking

message.append(signature=signature, *args)

ValueError?: Expected a string of length 1 byte, but found 4 bytes

Changed 20 months ago by http://obsoleteaudio.org/

  • status changed from reopened to closed
  • resolution set to fixed

Oh whoops I see you committed code for this ticket. I'll test and let you know if it still errors out, thanks!

Note: See TracTickets for help on using tickets.