[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#696541:



Hi,
I hope it's a good place to post a bug report about your filerock-client git repo :)

I think you should modify the "1002-setup_py.patch" a little bit because the COMMAND_LINE_ARGUMENTS variable should be a *list* of strings instead of a simple string.

So you should replace:
[...]
 # This should be a list of string, representing command line arguments
-COMMAND_LINE_ARGUMENTS = None
+COMMAND_LINE_ARGUMENTS = ''

With:
[...]
 # This should be a list of string, representing command line arguments
-COMMAND_LINE_ARGUMENTS = None
+COMMAND_LINE_ARGUMENTS = []

At the moment if I compile the package from your git repo and install the resulting deb file filerock doesn't start and fails with:
$ filerock
Traceback (most recent call last):
  File "/usr/bin/filerock", line 53, in <module>
    main()
  File "/usr/share/filerock-client/filerockclient/main.py", line 112, in main
    args.interface, get_command_line(), 'filerock.py')
  File "/usr/share/filerock-client/filerockclient/constants.py", line 170, in get_command_line
    cmdline = [get_executable_path()] + get_commandline_args()
TypeError: can only concatenate list (not "str") to list

Using the empty list in the build_spec.py file instead of an empty string all work as expected.

Cheers,
Laurento

Reply to: