Closed (fixed)
Project:
App Server
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2011 at 08:02 UTC
Updated:
27 Mar 2012 at 15:00 UTC
Installed the appserver module and created an app. However, I get the following error.
Warning: file_get_contents(profiles/apps_deploy/modules/contrib/appserver/sample.json): failed to open stream: No such file or
directory in appserver_query() (line 78 of /home/lsolesen/workspace/apps/profiles/apps_deploy/modules/contrib/appserver/appserver.module).
Comments
Comment #1
david.mccandless commentedI just attended DrupalCamp Austin and saw 2 presentations on apps and I love the idea for apps. I think it is a missing ingredient for Drupal that will be perfect for non-technical consumers of Drupal. I have been working on creating a couple of sample apps and trying out the appserver as well and have run into the issue listed above as well.
I'd love to volunteer to be a guinea pig for this project and would be happy to contribute feedback or any patches if I can help too. For example, I have a very temporary workaround in place for the sample.json error, but if I had a better understanding of where this should come from, I could probably write the code to generate it as intended.
Let me know if I can help. I'm really excited about this project and the app project. Keep up the good work!
Comment #2
alexweber commented@lsolesen, the documentation is really nonexistent, which is a shame. From what I gather, you can generate the JSON file yourself:
That said, the generated JSON output is only semi-valid as it's missing a bunch of important fields that throw a bunch of warnings/notices and ultimately break things when retrieving info from your app server.
More documentation please! :)
Comment #3
febbraro commentedDocs now exist. EIther go to admin/help#appserver or look at the readme. Also better content form help was added to the App Release as well.
Comment #4
alexweber commented@febbraro is the manifest being generated automatically or do we still have to manually go through the steps described in #2?
Thanks!
Comment #5
febbraro commentedThat error is from the very first version of appserver. The module now generates the json manifest based on the fields within the app release, no need to manually do anything.
Comment #6
alexweber commentedExcellent news, I guess its time for git pull :)