汉化版的sublime text安装软件包的时候报错如下:
There are no packages available for install
打开控制台,ctrl+~,然后看到如下错误:
Package Control: Channel http://www.anchen8.net/channel.php does not appear to be a valid channel file because the "schema_version" is not a valid number.
貌似提示的这个channel不对头,看样子是这个网页上的json的schema_version不正确,看了下packages_control的user settings:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfAAAABdCAIAAADVO6M1AAAHRElEQVR4nO3dPW7jSBCGYZ9gj+BgEk28+Q6wye655jYb+QgODOe6iuFI2WwgwOA0i9XV3UWyq/QCTyCJ/d/kZ5pje54u378BABJ4On0ERtfr2/X6tnyBkWWcqqnTV+PIubz8/PXy89f6NTDuoQM9QSSdOGWXps7dAgIdyRDoPk1FMdvqEegEOhwR6D5NRTHb6hHoBDochQl0xf1qXF+T4lVaXMNbtVovb70vsd/qdPQWqtOvNug+ZX0k60PVkSsb57vmhdvt83b7FA99RfD9xTqOqx8S6NhP+EBfhoKYF2L5i5Qm66bsEWAMF719vYzlw6YGfafcNJL1h60b7bXmomqgrxUFxFr6a2Bc7EDfCojlW7GKWMDy9UAfSbUvvf2tiNRbsHdhLNAx5aaNqO6RZa+91rxVNcEJdJwodqCvdQd6tbC93/HB2Avs2mPHlJWOxMIj3e09QVFTXlcLEOjwlSTQvyLjMQN9ZPqiwSlv3RobQ9nYHYEOFMIHupJijxDo49P3CnT7l5N1rb4VJtCBQuxA1y/y9IHuOP3BxW+69e4bA4EOVKUK9OoNoH4X2X3zaO9Lb7/1nndw+pY2jfPtXmfHL5mWFevY1oLlRxXFtwQ6DpAh0EV6geKoUnh8MJaj9hYcpz84ZUtHWwXWA2jqrnvFtj4sWH4OXflQ/9FGJdCVfgGL2IF++f2SXn4illkf1QuPjKdovPhQab/aguP0R6asfG3QC+jtGLsbXDG9r8FAX364/C2kdWECHb7CB3oU1RwZCTukQaBjBIFuojxSMAaupWT1u4dYU565uzmR5hhEoJscGeiTZBmBDoRDoB+kNfpJMQCtCHQASIJAB4AkCHQASIJAB4AkC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96BiBHruO3TlQ69AVy57seUZAl0MxJEUsFdXEtke6B37Mjgee79Np5DjRowvtW/vlmZjiRHoWTWddiOnY/VS37qcjikpjrZv4oMp1pcy3VvjO57qLjd1vcdGjC+1b+/GbQokRqBzh6681lsTDx0T0/aS+iwcL9S+6t1bVt0a3/FYAn1kKfYI9Nal3rV3Ah1DBgO9evVuHVX6VbrYtaQ+1KbrUHnbUX28hZFgahqPXrJ1IoMbsdNSb51I9jPc2EJQMQL9we/Q72/F1wWxHeOJW42D/UqKUxZnZ48JcWUGq7u34NWaeAIMLsXgRrgvtWVs46fZ+hwu3P/ftGqxs8QI9KzsJ33xunghnohb1161/PElletcn0u1zY7eleruLYy3Ji6X11KMbIT7UivD6NgmyxUkItAdZL1D79Z0ChoDHaE91LaOT3akBQIdzgh0FB5qW08M9JnT/BIl0LlDLzzU1QsUzr1Dn1mMQEch6+kIWBDoW2IEOnfoAFAVI9ABAFX/A3jPamgxkHxNAAAAAElFTkSuQmCC" alt="" />
再看看default settings:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdMAAABtCAIAAAB1KxxLAAAHDElEQVR4nO3dQXLcNhAFUJ8lG+ca2SS38B288AV9Ad3FKy2zUJVKNQQbDZDs4ZCv6i00JAGiAfCHNbaVb9///utov37++PXzx9rH4Mq1i78e3OuC5pDW+pm46V5Dmr7pdJPkem1fiAw7ZHSHBNPYrWiozPrN8NK+HX2DfOw2z35ukaWgw9E1XnYb97PLcxUUFQxp+qbTTYIxzIVFUPXodrJDRicwWVFyPncsP95p1yN5G/fq9lPwXK0Nafqm002CAUzMSabq/HayQybmMFNRcj53LD/eadfzGsmb7395cHSND9pY3eajNY7edLrJ9N03Vp2cCjtk+9wO3Vry7uLsyds8uFzC+BbxBcHHYK8MfRy9ID9po7t5dJyH3r27H+yQ7TskM43Tt55O3rWPQ1W8tGOTd3R/BAv2ID7b3Df5C5rjeTibGVV3KiaGFMzY9OzFSxAM4GuH+YctWZodsssOiWdyYjaWi77cANOb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ZqK2zPOhFxw67UNtR4d6kskMFv2I6S3mnXfGccn7/cv2ivdE8BzG/ZwteZu6JV81eYPZCO6ej9HMweC+W+YqWVo8zuN2dTHvvDN2zKb4YP5xWrt42c++oRM3jI90H8ignGYnB9U4d8HcnknGU3L180PN32v6gmRp+cHvu+LFvPPO2DGb1g6Onso/e/uGTtwwPjKx7y+fvN3a86v/eXDi1gVztWXeCtbraN55Z2zMpuCZyefpln6aH+cGuSV5k02ahQejzZQwN/ND0zi6Z7qDHJrqLanUnOF8842ljY5zxwWt5J13RnIvfnxs/vxg2U9wajmAYDyZW6xl2VoP03GwNvJMyRNHhuZ54kGdnqi52Qhqidvmt2uzh2Tz7aVlOj90QSt5552R32oPPz/8sLbq8dMV3yvTz/JsMNr8U7f2MCSnLihh+kg8A8ka84PPJ8iW2RjdOaPJGG+2I0obmreNz073YA3vvKX2Wulk8nJJt1ruqxbrnbeU5GW7Wy33VYv1zlvqqtsIjtD9suh1eectddVtBEe48PPinRegmndegGqSF6Ca5AWoJnkBqh2bvO/vfz49vVSAk5C8ANUqvm2QvABfSV6AapIXoJrkBagmeQGqSV6AapIXoJrkBagmeQGqSV6AapIXoNoTklcQAzcneQGqPefbBskL3Nlz3nmfXjbAE/n9vADVJC9ANf8fNoBqkhegmuQFqCZ5AapJXoBqkhegmuQFqCZ5AapJXoBqkhegmuQFqCZ5AapJXoBqkhegmuQFqCZ5AapJXoBqkhegmuQFqCZ5AapJXoBqkhegmuQFqCZ5AapJXoBqkheg2v8s97aOCg1dJAAAAABJRU5ErkJggg==" alt="" />
打开这两个url发现user settings里面的schema_version是3.0.0,而default的是2.0 。。。
这是什么鬼,好吧不管他,删掉user settings中的channels,一些正常了!
当然如果需要换其他的channel,直接ctrl+shift+p然后输入add channel即可