Strange problems encountered during repackaging

Source: Internet
Author: User

The problem that the sisfile cannot be generated is always prompted that the last row of the PKG file has an error "XXX. PKG (21) unknown line ". The lines at the end of this PKG file are all empty lines. Setting the file content to utf8 (no mark) encoding does not solve the problem. Deleting all empty lines is still the same. Later, we found that the last line of text can be deleted to generate the sisfile. I tried again and typed the carriage return on the basis of the empty line at the end. The sisfile was generated when I packed it again.

 

Conclusion: The problem is solved by adding an empty row at the end of the PKG file. However, the cause is unknown and analysis will be performed when you are available in the future.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.