【问题标题】:play! bundle for textmate is giving me errors玩! textmate 的捆绑包给了我错误
【发布时间】:2010-11-29 10:06:00
【问题描述】:

我正在尝试使用 Play 配置 textmate!当我使用模型快捷方式时,我不断收到此错误

/Users/bennett/Library/Application Support/TextMate/Pristine Copy/Bundles/Play!.tmbundle/Support/bin/model.py:权限被拒绝

任何人都可以对此做出正面或反面吗?其他一些捷径也有效。只是不是模特或班级。 谢谢!

【问题讨论】:

    标签: playframework textmatebundles


    【解决方案1】:

    我解决了如下:

    chmod -R +x /Users/**YOURUSERNAMEHERE**/Library/Application Support/TextMate/Pristine Copy/Bundles/Play!.tmbundle/Support/bin
    

    【讨论】:

    • 执行此操作时出现错误。 -bash: !.tmbundle/Support/bin: 找不到事件
    【解决方案2】:

    只需转义特殊字符:

    chmod +x /Users/<username>/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles/Play\!.tmbundle/Support/bin/*.py
    

    【讨论】:

      【解决方案3】:

      如果这可以帮助我遇到同样的问题并通过以下方式解决它:

      1. Play!.tmbundle 重命名为Play!.zip(在/Users/xxx/Library/Application Support/TextMate/Pristine Copy/Bundles/ 内)
      2. 将执行权限 (744) 添加到 python 脚本:Support/bin/*.py
      3. Play!.zip 重命名为Play!.tmbundle

      【讨论】:

        【解决方案4】:

        它似乎是一个错误。我建议你在这里创建一张票:http://play.lighthouseapp.com/dashboard

        【讨论】:

          猜你喜欢
          • 2011-03-12
          • 1970-01-01
          • 1970-01-01
          • 2023-03-23
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多