I'm a beginner in Go and I want to use the revel web framework to develop web applications.
I followed the tutorial to install and test revel from:
http://revel.github.io/tutorial/index.html
But when I run the revel run myapp command and go to http://localhost:9000/,
the page shows an error that says:
Server Error: Template Execution Error (in app/index.html:23):
"footer.html" is an incomplete or empty template
Additionally, an error occurred when rendering the error page:
html/template:errors/500.html: "errors/500.html" is an incomplete or
empty template
I tried to remove the sentence:
{{ template "footer.html" .}}
Now it works, but this is not a real solution to the problem.
Has somebody else had this problem before ?
You need to install a newer Go version 1.2 (not 1.1.2).
Here is a small tutorial for Ubuntu.
Related
I'm working with 'Bit' to create reusable React components. I have created my 'Bit' account and followed tutorials on the web to log on to Bit from the terminal and I have initialized the Bit workspace. I am encountering the following error when importing the React compiler.
$ bit import bit.envs/compilers/react --compiler
fatal: unable to connect to a remote legacy SSH server from Harmony client
Any advice would be appreciated.
the compiler flag was removed in 0.0.537
harmony became default in 0.0.438 (so legacy was last default in 0.0.437)
but ... if you try to run this on 0.0.437 now, you're likely to get an error:
server responded with: "Please update your Bit client.
For additional information: https://docs.bit.dev/docs/installation#latest-version"
the best place to get bit.dev answers is their community Slack here: https://join.slack.com/t/bit-dev-community/shared_invite/zt-o2tim18y-UzwOCFdTafmFKEqm2tXE4w.
I have a RAP application. When I launch the application from eclipse everything is working find. I can go to the browser an open the application.
However, when I build the product and then start the application from the generated product I get the error 404 when trying to access the application thorugh the browser.
I have checked the logs and I can see the bundles are loaded and everything looks nominal. Also I can not see any other error message.
This is the plugin.xml file:
<extension
id="ssp.oasis.agent.entrypoints"
point="org.eclipse.rap.ui.entrypoint">
<entrypoint
path="/sspagent"
applicationId="com.lsespace.ssp.oasis.agent"
id="ssp.oasis.agent.entrypoint"
brandingId="ssp.branding"
>
</entrypoint>
</extension>
I type the following on the browser 127.0.0.1:7171/sspagent and then I get the HTTP ERROR 404
Obviusly, I am missing something and it is related to the entry point configuration and jetty but I have no idea what it can be.
Could somebody point my in the right direction or tell me a way to troubleshoot this.
Thanks in advance!
The issue was related to some bundle versions mixed up and or missing. The wierd thing is that there were no error messages. Nevertheless when I realize and corrected the missing/wrong version bundles it worked out.
Application crashes with following error (code signature invalid for)
/private/var/mobile/Containers/Bundle/Application/3A363B6A-1B5E-455E-958D-AED4211572BF/MyApp.app/Frameworks/libswiftCore.dylib:
code signature invalid for
'/private/var/mobile/Containers/Bundle/Application/3A363B6A-1B5E-455E-958D-AED4211572BF/MyApp.app/Frameworks/libswiftCore.dylib'
Code signing libs and Frameworks with the help of this script helped to fix this issue.
We have an Xcode Server bot set up for CI for our project, using Xcode 7.1. It's set to produce an IPA. We only recently noticed, but a few weeks ago, it started giving this warning every build:
Bot Issue for CareConsult Bot (develop) (build service warning)
Assertion: exportArchive: ipatool failed with an exception:
File: (null):(null)
This prevents it from producing an IPA, which is a problem.
I've tried:
- Creating a new bot
- updating gems (saw a similar issue that was resolved this way)
Doing an archive & export on my local machine gives the same error if I choose to "Export for specific device". So the problem is not specific to the build server.
Any ideas?
My suspicion is that this has to do with enabling bit code, and the build bot is using the "compile from bitcode" option by default. I'm still digging into this, but figured I'd share what I have found thus far.
I am a newbie and I am facing some strange issues with my Joomla 3.1.1 installation. Whenever I try to do a Joomla global check-in, I get the following error:
SQL=SELECT module FROM SOM_modules WHERE id = table-name
*This is true for all tables
Further, when I try to edit the template custom CSS file from the back-end, I get the following error:
SQL=SELECT module FROM SOM_modules WHERE id =
MTAwNTE6Y3NzL3J0X2RpYW1ldHJpY19yZXNwb25zaXZlLWN1c3RvbS5jc3M=
I am facing the same error even when I try to purge Joomla cache.
In all cases, it only says "An error has occurred" and there is a preceding 0 before the errors above. I presume that is the SQL error 0.
Kindly help. I have checked the forum and googled for hours but can't find any solution. I have also tried resetting directory and file permissions even to 777 - to test, still no luck.
Config Details:
Joomla! version: 3.1.1
PHP version: 5.3.1
MySQL version: 5.5.31
Host: Private VPS
Finally, this issue is resolved. The issue was with another extension called "Content Statistics". Somehow this extension messed up the entire backend. It took quite a lot of time to figure out which extension had caused the problem
After uninstalling the extension and all related modules and plugins, the site has become fully functional again. No more SQL=0 errors and I am being able to edit all css files from the backend. – Mangesh