OwO-Network/DeepLX

flag provided but not defined: -logging-level

Closed this issue · 4 comments

From version v0.7.8 to the newest v0.8.0, deeplx running with --logging-level info will get a error message: flag provided but not defined: -logging-level.

I had thought that cause the brew issue.

missuo commented

There is indeed a problem with homebrew, I will fix it tonight. Sorry, I was too sleepy in the morning, I got off the plane and arrived home without sleeping before releasing v0.8.0.

change plist file to

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>homebrew.mxcl.deeplx</string>
    <key>ProgramArguments</key>
    <array>
        <string>/opt/homebrew/Cellar/deeplx/0.8.0/bin/deeplx</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <dict>
        <key>SuccessfulExit</key>
        <false/>
    </dict>
    <key>WorkingDirectory</key>
    <string>/opt/homebrew/var/run/deeplx</string>
    <key>StandardOutPath</key>
    <string>/opt/homebrew/var/log/deeplx/deeplx.log</string>
    <key>StandardErrorPath</key>
    <string>/opt/homebrew/var/log/deeplx/deeplx.log</string>
</dict>
</plist>

can fix this problem

missuo commented

change plist file to


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

    <key>Label</key>

    <string>homebrew.mxcl.deeplx</string>

    <key>ProgramArguments</key>

    <array>

        <string>/opt/homebrew/Cellar/deeplx/0.8.0/bin/deeplx</string>

    </array>

    <key>RunAtLoad</key>

    <true/>

    <key>KeepAlive</key>

    <dict>

        <key>SuccessfulExit</key>

        <false/>

    </dict>

    <key>WorkingDirectory</key>

    <string>/opt/homebrew/var/run/deeplx</string>

    <key>StandardOutPath</key>

    <string>/opt/homebrew/var/log/deeplx/deeplx.log</string>

    <key>StandardErrorPath</key>

    <string>/opt/homebrew/var/log/deeplx/deeplx.log</string>

</dict>

</plist>

can fix this problem

Thanks.

missuo commented