Error messages during encoding

Top  Previous  Next

You will see the log file printed in the terminal window during an encoding process. Encoding status message will be displayed for each encoded file. You may get the following status messages:

 

ok

The file was encoded no problem.

file not found or cannot be read

The specified file could not be found. Check the specified file path.

Ruby syntax or other compiler error

The original file has syntax or other errors and thus cannot be encoded. Check your file, test it with the Ruby interpreter. This error usually appear when encoding for multiple versions of Ruby and if your file is not compatible with all the target versions of Ruby. Make sure your ruby script is compatible with all versions of Ruby you are encoding for.

could not backup source file, skipped

The encoder could not make a backup copy of your original file (when no output directory was specified). RubyEncoder skips the file in that case to keep your original version. Check you have free space available and permissions to write to your original files directory.

cannot not write file

The encoder could not write the encoded file. Check you have free space available and permissions to write to the original files directory or to the output directory if you have specified it with -o option.

file is already processed by RubyEncoder

The encoder will not encode files which are already encoded with RubyEncoder. Check your original files directory.

empty file, skipped

The encoder will not encode empty files. If you need to have empty files for any reasons you may copy them manually.

not regular file, skipped

The encoder could not encode a file because it is not a regular file. It may be socket or a unix device for example.

do not encode, skipped

The file was marked as 'do not encode' and therefore was skipped

copied

The file was copied without encoding. It is possible when the -f option is used to specify files to encode and -o option is used to specify output directory. All other files than specified in -f option will be copied as-is without encoding. It is useful for encoding an entire project directory when it also may contain non-Ruby files.

internal encoder error,

unknown error

This is an internal problem with encoder. Check you have enough free memory space to run the encoder and some free space on the disk. If it is not a memory problem then let us know about this error. Send an email to support@rubyencoder.com with a detailed description of the error and the command line used for running the encoder. We will investigate the problem. We may also need some additional information from you.