You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I run into an issue today while running s3_website for a jekyll site.
In my s3_website.yml file I had this statement public/_site and when running locally I was using jekyll serve -w so the site was being generated.
When I tried to use s3_website within my continuous build, by mistake I forgot to generate the site which is generated to the directory public/_site.
Instead of saying "file not found" or something like that, s3_website just outputted this stack trace.
cd public && s3_website push --dry-run --verbose
[info] Downloading https://github.com/laurilehmijoki/s3_website/releases/download/v2.7.3/s3_website.jar into /home/ubuntu/.rvm/gems/ruby-2.1.3/gems/s3_website-2.7.3/s3_website-2.7.3.jar
[debg] Using /home/ubuntu/.rvm/gems/ruby-2.1.3/gems/s3_website-2.7.3/s3_website-2.7.3.jar
[info] Simulating the deployment of /home/ubuntu/spantree.net/public/_site/* to www.spantree.net
[debg] Querying S3 files
Exception in thread "main" java.lang.NullPointerException
at scala.collection.mutable.ArrayOps$ofRef$.newBuilder$extension(ArrayOps.scala:190)
at scala.collection.mutable.ArrayOps$ofRef.newBuilder(ArrayOps.scala:186)
at scala.collection.TraversableLike$class.filterImpl(TraversableLike.scala:257)
at scala.collection.TraversableLike$class.filter(TraversableLike.scala:270)
at scala.collection.mutable.ArrayOps$ofRef.filter(ArrayOps.scala:186)
at s3.website.model.Files$.recursiveListFiles(push.scala:131)
at s3.website.model.Files$.listSiteFiles(push.scala:148)
at s3.website.UploadHelper$.resolveDeletes(UploadHelper.scala:53)
at s3.website.Push$$anonfun$9$$anonfun$10$$anonfun$apply$8.apply(Push.scala:102)
at s3.website.Push$$anonfun$9$$anonfun$10$$anonfun$apply$8.apply(Push.scala:102)
at scala.util.Either.fold(Either.scala:99)
at s3.website.Push$$anonfun$9$$anonfun$10.apply(Push.scala:100)
at s3.website.Push$$anonfun$9$$anonfun$10.apply(Push.scala:99)
at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)
at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745) command cd public && s3_website push --dry-run --verbose took more than 3 minutes since last output
After running the site generate s3_website started working so I am pretty sure the missing directory was causing s3_website to choke.
Let me know if you need more info, I am using s3_website 2.7.3
Regards
The text was updated successfully, but these errors were encountered:
[info] Downloading https://github.com/laurilehmijoki/s3_website/releases/download/v2.7.4/s3_website.jar into /Users/otaeguis/.rvm/gems/ruby-2.1.5/gems/s3_website-2.7.4/s3_website-2.7.4.jar
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[fail] Could not load the site:
Could not find a site at public/_site. Check the --site argument..
Either use the --site=DIR command-line argument or define the location of the site in s3_website.yml.
Hi, I run into an issue today while running
s3_website
for a jekyll site.In my
s3_website.yml
file I had this statementpublic/_site
and when running locally I was usingjekyll serve -w
so the site was being generated.When I tried to use s3_website within my continuous build, by mistake I forgot to generate the site which is generated to the directory
public/_site
.Instead of saying "file not found" or something like that, s3_website just outputted this stack trace.
After running the site generate s3_website started working so I am pretty sure the missing directory was causing s3_website to choke.
Let me know if you need more info, I am using s3_website 2.7.3
Regards
The text was updated successfully, but these errors were encountered: