Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

How to fix "The filename or extension is too long" ? #264

Closed
DeadShotProdigy opened this issue Jul 25, 2016 · 7 comments
Closed

How to fix "The filename or extension is too long" ? #264

DeadShotProdigy opened this issue Jul 25, 2016 · 7 comments

Comments

@DeadShotProdigy
Copy link

DeadShotProdigy commented Jul 25, 2016

Description:
[Short description of the issue observed. If this ia feature request you can modify the template as required.]

Steps to reproduce:

  1. [Step 1]
  2. [Step 2]

Expected behavior:
[What should happen?]

Actual behavior:

C:\Users\TestPC\Desktop\PokemonGoBot\PokemonGoBot>gradlew build -x check
:PokeGOAPI-Java:extractIncludeProto UP-TO-DATE
:PokeGOAPI-Java:extractProto UP-TO-DATE
:PokeGOAPI-Java:generateProto FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':PokeGOAPI-Java:generateProto'.

    java.io.IOException: Cannot run program "C:\Users\TestPC.gradle\caches\modules-2\files-2.1\com.google.protobuf\protoc\3.0.0-beta-3\7fd402d66301a053e4d8018e8f91da03839e8f9c\protoc-3.0.0-beta-3-windows-x86_32.exe": CreateProcess error=206, The filename or extension is too long

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 6.362 secs

Stacktrace (If it's a crash):
[Please use pastebin if it's too long]

Version:
0.4.1

@DeadShotProdigy DeadShotProdigy changed the title How to fix "The filename or extension is too long" How to fix "The filename or extension is too long" ? Jul 25, 2016
@iamthasasquatch
Copy link

iamthasasquatch commented Jul 25, 2016

you ran ?
git submodule update --init --recursive

@DeadShotProdigy
Copy link
Author

Yep, ran git submodule and i still get this error, tried a fresh clone on two different comps but i get this same issue.

Also tried the 0.4.1 java file which didn't work.

0.3.0 works flawlessly for me.

@Letrico
Copy link

Letrico commented Jul 25, 2016

Same issue with me. Tried to make a build/run with the latest fix from the fork and got the same problem

@Forty-Tw0
Copy link
Contributor

Might just be a windows thing? Filepaths max out at 260 characters last I heard.

@Letrico
Copy link

Letrico commented Jul 25, 2016

@Forty-Tw0 seems like it is indeed the case. Rather unfortunate I can't run the bot at the moment due to the circling around blacklisted pokestop forever.

@Offline-R503B
Copy link
Contributor

I got this issue too http://pastebin.com/Q0qDhD7p
I'd love a new prebuilt...

@jabbink
Copy link
Owner

jabbink commented Jul 25, 2016

Clone repo in a higher directory (eg C:\). This is a known Windows issue.

@jabbink jabbink closed this as completed Jul 25, 2016
Repository owner deleted a comment from ashley200 Jul 30, 2017
Repository owner deleted a comment from Stepan222 Jul 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
@jabbink @Forty-Tw0 @Offline-R503B @Letrico @iamthasasquatch @DeadShotProdigy and others