Comment 2 for bug 334576

Revision history for this message
vitjok (vitjok-gmx) wrote :

The tuxpaint-import script executes the grep commands, I think it trys to find config files.

My english is very poor, so i posted the executed commands and the followed outputs.

command: $ tuxpaint-import Desktop/file.png # (file.png exists)

output: grep: /usr/local/etc/tuxpaint/tuxpaint.conf: No such file or directory
                grep: /home/vitjok/.tuxpaintrc: No such file or directory
                Using save directory: /home/vitjok/.tuxpaint/saved
                grep: /usr/local/etc/tuxpaint/tuxpaint.conf: No such file or directory
                grep: /home/vitjok/.tuxpaintrc: No such file or directory
                Using 608 x 496 images (for 800 x 600 Tux Paint
                Desktop/file.png -> /home/vitjok/.tuxpaint/saved/20090225224308.png

What is happened? >> the script tuxpaint-import created the file 20090225224308.png in the folder /home/vitjok/.tuxpaint/saved.
This is exactly that what the job of tuxpaint-imort is.

on execute this command: $ tuxpaint-import Desktop/tux\ folder/other\ file.png

occours an error, error output: [: 50: folder/other: unexpected operator
                                                 grep: /usr/local/etc/tuxpaint/tuxpaint.conf: No such file or directory
                                                 grep: /home/vitjok/.tuxpaintrc: No such file or directory
                                                 Using save directory: /home/vitjok/.tuxpaint/saved
                                                 grep: /usr/local/etc/tuxpaint/tuxpaint.conf: No such file or directory
                                                 grep: /home/vitjok/.tuxpaintrc: No such file or directory
                                                 Using 608 x 496 images (for 800 x 600 Tux Paint
                                                 [: 173: folder/other: unexpected operator
                                                 Desktop/tux folder/other file.png - File not found

What is happened? >> nothing, file was not created/imported.

I hope this describes the bug better.