Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error on Windows 10: Looping path name makes filename too long #170

Open
aaronliu0130 opened this issue Oct 29, 2019 · 2 comments
Open

Comments

@aaronliu0130
Copy link
Contributor

So you've found a problem in CatBlock?

Answer these questions to help us solve the case!

(If you have a problem that isn't a bug, or want to suggest a feature, do so at http://support.getcatblock.com

1. List some steps we can follow to make the bug happen on our end.

  1. Download catblock_master.zip from github
  2. cd into the root directory using command prompt
  3. python3 tools/make_release.py -b chrome -ext browser

2. When you followed these steps above, what did you think should happen?

CatBlock should've been built succesfully.

3. What actually happened instead?

C:\Users\aaron\catblock-master>python3 tools/make_release.py -b chrome -ext browser
File not found - '*.DS_Store'
Generating browser package for chrome...
 > Generating CatBlock for Chrome...Traceback (most recent call last):
  File "tools/make_release.py", line 298, in <module>
    main()
  File "tools/make_release.py", line 289, in main
    generateBrowserPackage(args.browser)
  File "tools/make_release.py", line 228, in generateBrowserPackage
    shutil.copytree(os.getcwd(), BROWSER_PATH, ignore=shutil.ignore_patterns(".*", "builds", "tools"))
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.240.0_x64__qbz5n2kfra8p0\lib\shutil.py", line 547, in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.240.0_x64__qbz5n2kfra8p0\lib\shutil.py", line 504, in _copytree
    raise Error(errors)
shutil.Error: [('C:\\Users\\aaron\\catblock-master\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\background_safari.html', 'catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\background_safari.html', "[Errno 2] No such file or directory: 'catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\background_safari.html'"), ('C:\\Users\\aaron\\catblock-master\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock\\contentscript.js', 'catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock\\contentscript.js', "[Errno 2] No such file or directory: 'catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock\\\\contentscript.js'"), ('C:\\Users\\aaron\\catblock-master\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock\\pix', 'catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock\\pix', "[WinError 206] The filename or extension is too long: 'catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock\\\\pix'"), ('C:\\Users\\aaron\\catblock-master\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome', 'catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome\\catblock_chrome', "[WinError 206] The filename or extension is too long: 'catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome\\\\catblock_chrome'")]

4. Finally, click the CatBlock button, then Options, then Support on the page that appears. Provide us with the debug info from that page.

image
image
image
ice_screenshot_20191029-194618

<Copy and paste it over this line.>

5. Any other information you think might be useful for us to know?

This is a build error.

@aaronliu0130
Copy link
Contributor Author

What, it still hasn't been seen? I'll try to do it myself then.

@aaronliu0130
Copy link
Contributor Author

This seems to be somewhat of an internal error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant