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

zat theme preview error #337

Open
renarsvilnis opened this issue Apr 27, 2020 · 1 comment
Open

zat theme preview error #337

renarsvilnis opened this issue Apr 27, 2020 · 1 comment

Comments

@renarsvilnis
Copy link

Hi,
I'm having an issue getting local theme preview working on an existing theme (v1).
I tried specifying api_version: 1 in manifest.json as in this #325 PR code.

Credentials are valid, tested with other API requests.

zat theme preview
Warning: unexpected string encoding: US-ASCII, zat runs best in UTF-8.
Please set the RUBYOPT environment variable to "-E utf-8".
  Generating  Generating theme from local files
  Generating  OK
   Uploading  Uploading theme
   Uploading  Failed: the server responded with status 400
       Error  assets L:: Mapping has more items than allowed.
== Sinatra (v1.4.8) has taken the stage on 4567 for development with backup from Thin
Thin web server (v1.7.2 codename Bachmanity)
Maximum connections set to 1024
Listening on localhost:4567, CTRL+C to stop

What I did:

  1. Exported current live theme
  2. Installed latest zat (v3.7.1) on ruby (ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19])
  3. Ran zat theme preview
@Ingirorhaun
Copy link

I had the same assets L:: Mapping has more items than allowed. error and had to remove several files from the assets folder. It would be interesting to know what is the limit exactly

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

2 participants