Cannot get butler push to work

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
TeamDarknesse
Newbie
Posts: 2
Joined: Sun Mar 27, 2016 11:01 pm
Tumblr: teamdarknesse
Contact:

Cannot get butler push to work

#1 Post by TeamDarknesse »

I have been trying for days to use Itch.io's new Butler tool in order to push a patch for my Ren'Py game, The Wolf's Lounge Demo, but no matter what I do, it's just been coming up with nonstop errors. It can't find the game, the game is invalid, there's no target, the list never stops, no matter how many times I rewrite it. It just won't work.
Here's what I've done so far... http://teamdarknesse.tumblr.com/post/16 ... na-contact

The pictures, for those who can't see the small type of Windows Command, say this:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Users\--->butler push The_Wolf's_Lounge_Demo-1.0-win teamdarknesse/wolfsloungedemo:windows
∙ For channel `windows`: pushing first build
*os.PathError open The_Wolf's_Lounge_Demo-1.0-win: The system cannot find the file specified.
C:/Multi-Runner/builds/58469115/0/itchio/butler/src/github.com/itchio/butler/push.go:378 (0x8c9273)
C:/Go/src/runtime/asm_amd64.s:2197 (0x45b5a1)


C:\Users\--->butler push Games/The_Wolf's_Lounge_Demo-1.3-dists/The_Wolf's_Lounge_Demo-1.0-win teamdarknesse/wolfsloungedemo:windows
∙ For channel `windows`: pushing first build
*os.PathError open Games/The_Wolf's_Lounge_Demo-1.3-dists/The_Wolf's_Lounge_Demo-1.0-win: The system cannot find the path specified.
C:/Multi-Runner/builds/58469115/0/itchio/butler/src/github.com/itchio/butler/push.go:378 (0x8c9273)
C:/Go/src/runtime/asm_amd64.s:2197 (0x45b5a1)


C:\Users\--->butler help
usage: butler [<flags>] <command> [<args> ...]

Your happy little itch.io helper

Flags:
-h, --help Show context-sensitive help (also try --help-long and
--help-man).
-v, --verbose Be very chatty about what's happening
--assume-yes Don't ask questions, just proceed (at your own risk!)
-i, --identity="C:\\Users\\---\\.config\\itch\\butler_creds"
Path to your itch.io API token
--ignore=IGNORE ... Glob patterns of files to ignore when diffing
-V, --version Show application version.

Commands:
help [<command>...]
login
logout
push [<flags>] <src> <target>
fetch <target> <out>
status [<flags>] <target>
file <file>
ls <file>
which
version
upgrade [<flags>]
update [<flags>]
sign [<flags>] <dir> <signature>
verify [<flags>] <signature> <dir>
diff [<flags>] <old> <new> [<patch>]
apply [<flags>] <patch> <old>
heal <dir> <wounds> <spec>


C:\Users\--->butler which
You're running butler head, built on May 19 2017 @ 15:38:30, ref ed26a09b37c4a0892f33d216b27e46e0650bd6cc, from the following path:
C:\Users\---\Downloads\renpy-6.99.12.1-sdk\butler.exe

C:\Users\--->butler push renpy-6.99.12.1-sdk/Games/The_Wolf's_Lounge_Demo-1.3-dists/The_Wolf's_Lounge_Demo-1.0-win teamdarknesse/wolfsloungedemo:windows
∙ For channel `windows`: pushing first build
*os.PathError open renpy-6.99.12.1-sdk/Games/The_Wolf's_Lounge_Demo-1.3-dists/The_Wolf's_Lounge_Demo-1.0-win: The system cannot find the path specified.
C:/Multi-Runner/builds/58469115/0/itchio/butler/src/github.com/itchio/butler/push.go:378 (0x8c9273)
C:/Go/src/runtime/asm_amd64.s:2197 (0x45b5a1)


C:\Users\--->butler push The_Wolf's_Lounge"Demo-1.0-win.zip teamdarknesse/wolfsloungedemo:windows
butler: error: required argument 'target' not provided

usage: butler push [<flags>] <src> <target>

Upload a new build to itch.io. See `butler help push`.

Flags:
-h, --help Show context-sensitive help (also try
--help-long and --help-man).
-v, --verbose Be very chatty about what's happening
--assume-yes Don't ask questions, just proceed (at your own
risk!)
-i, --identity="C:\\Users\\---\\.config\\itch\\butler_creds"
Path to your itch.io API token
--ignore=IGNORE ... Glob patterns of files to ignore when diffing
-V, --version Show application version.
--userversion=USERVERSION A user-supplied version number that you can
later query builds by
--userversion-file=USERVERSION-FILE
A file containing a user-supplied version
number that you can later query builds by
--fix-permissions Detect Mac & Linux executables and adjust their
permissions automatically

Args:
<src> Directory to upload. May also be a zip archive (slower)
<target> Where to push, for example 'leafo/x-moon:win-64'. Targets are of the
form project:channel, where project is username/game or game_id.


C:\Users\--->butler push The_Wolf's_Lounge"Demo-1.0-win.zip teamdarknesse/the wolf's lounge demo:windows
butler: error: required argument 'target' not provided

usage: butler push [<flags>] <src> <target>

Upload a new build to itch.io. See `butler help push`.

Flags:
-h, --help Show context-sensitive help (also try
--help-long and --help-man).
-v, --verbose Be very chatty about what's happening
--assume-yes Don't ask questions, just proceed (at your own
risk!)
-i, --identity="C:\\Users\\---\\.config\\itch\\butler_creds"
Path to your itch.io API token
--ignore=IGNORE ... Glob patterns of files to ignore when diffing
-V, --version Show application version.
--userversion=USERVERSION A user-supplied version number that you can
later query builds by
--userversion-file=USERVERSION-FILE
A file containing a user-supplied version
number that you can later query builds by
--fix-permissions Detect Mac & Linux executables and adjust their
permissions automatically

Args:
<src> Directory to upload. May also be a zip archive (slower)
<target> Where to push, for example 'leafo/x-moon:win-64'. Targets are of the
form project:channel, where project is username/game or game_id.


C:\Users\--->butler push The_Wolf's_Lounge_Demo-1.0-win.zip teamdarknesse/the-wolf's-lounge-demo:windows
*errors.errorString itch.io API error: invalid game
C:/Multi-Runner/builds/58469115/0/itchio/butler/src/github.com/itchio/butler/push.go:31 (0x8c656f)
C:/Multi-Runner/builds/58469115/0/itchio/butler/src/github.com/itchio/butler/main.go:535 (0x8ceef5)
C:/Multi-Runner/builds/58469115/0/itchio/butler/src/github.com/itchio/butler/main.go:445 (0x8cd5eb)
C:/Go/src/runtime/proc.go:185 (0x42ff76)
C:/Go/src/runtime/asm_amd64.s:2197 (0x45b5a1)


C:\Users\--->butler push The_Wolf's_Lounge_Demo-1.0-win.zip teamdarknesse/the-wolfs-lounge-demo:windows
*errors.errorString itch.io API error: invalid game
C:/Multi-Runner/builds/58469115/0/itchio/butler/src/github.com/itchio/butler/push.go:31 (0x8c656f)
C:/Multi-Runner/builds/58469115/0/itchio/butler/src/github.com/itchio/butler/main.go:535 (0x8ceef5)
C:/Multi-Runner/builds/58469115/0/itchio/butler/src/github.com/itchio/butler/main.go:445 (0x8cd5eb)
C:/Go/src/runtime/proc.go:185 (0x42ff76)
C:/Go/src/runtime/asm_amd64.s:2197 (0x45b5a1)


C:\Users\--->butler push C:\Users\---\Downloads\renpy-6.99.12.1-sdk\Games\The_Wolf's_Lounge_Demo-1.3-dists\The_Wolf's_Lounge_Demo-1.0-win teamdarknesse/wolfsloungedemo:windows
∙ For channel `windows`: pushing first build
*os.PathError open C:\Users\---\Downloads\renpy-6.99.12.1-sdk\Games\The_Wolf's_Lounge_Demo-1.3-dists\The_Wolf's_Lounge_Demo-1.0-win: The system cannot find the file specified.
C:/Multi-Runner/builds/58469115/0/itchio/butler/src/github.com/itchio/butler/push.go:378 (0x8c9273)
C:/Go/src/runtime/asm_amd64.s:2197 (0x45b5a1)


Anyone else pushing Ren'Py games to itch? Maybe someone can tell me what I'm doing wrong?

User avatar
enkiv2
Newbie
Posts: 9
Joined: Thu Aug 17, 2017 4:14 pm
Completed: Manna for our Malices
Projects: Manna for our Malices, Trilogy, Book of the Damned
Organization: Double Mojo
IRC Nick: enkiv2
Tumblr: enki2
Github: enkiv2
Soundcloud: enkiv2
itch: enkiv2
Contact:

Re: Cannot get butler push to work

#2 Post by enkiv2 »

Have you performed a build for all the target environments before trying to upload them to itch.io? If you're using ren'py's built-in mechanism for uploading to itch, it gives an unhelpful message (rather than automatically rebuilding) if builds are missing or stale. That would explain why it's complaining about missing files. (Alternately, if you're saving builds to a different path than butler is looking, that'll do it too.)

Post Reply

Who is online

Users browsing this forum: Bing [Bot]