I followed https://github.com/wso2-ballerina/module-ftp and tried to run a sample file as follows
ballerina run getFtp.bal
It gives me following output
Compiling source
getFtp.bal
error: wso2:ftp:/src/ftp/external_functions.bal:70:1: {ballerinax/java}CLASS_NOT_FOUND message=org.wso2.ei.b7a.ftp.core.client.FTPClient
error: wso2:ftp:/src/ftp/external_functions.bal:75:1: {ballerinax/java}CLASS_NOT_FOUND message=org.wso2.ei.b7a.ftp.core.server.FTPListenerHelper
Note that I ran ballerina pull wso2/ftp command prior to this, Is there anything else to do, any help is appreciated.
Thanks
There was an issue where interoperability did not work for single ballerina files. That is why you are getting this error. Try converting your code to a project module. Then it will work with the ballerina version you have.
This issue is fixed in ballerina 1.0.3 (https://ballerina.io/downloads/).
Related
My tensorflow is installed on ubuntu 16.04 and also generates log files, but when running tensorboard there is nothing on Google Chrome. There was no error on the command line.
This error only appears on Google Chrome. What can I do to display it properly?
This file is deprecated. Please use
iron-flex-layout/iron-flex-layout-classes.html, and one of the
specific dom-modules instead
thinkpad/:39507 This file is deprecated. Please use
iron-flex-layout/iron-flex-layout-classes.html, and one of the
specific dom-modules instead
thinkpad/:157058 Uncaught TypeError: Object.values is not a function
It's possible you're using Chrome version 49 or earlier: https://caniuse.com/#search=object.value
I mailed out tensorflow/tensorboard#1089 to solve this problem. Please note there might be other things in our codebase that are incompatible with old browsers. I'd like to improve this situation. Please email jart#google.com if you encounter similar problems.
It especially helps if you can send a screenshot of the code in question. For example, if Chrome says JavaScript broke on line 48238, you can run wget -O index.html http://localhost:6006/ and nano +48238 index.html so you can take a screenshot of the code in question. (Note: This will get easier in the future.)
I just installed StandardJS and realised I want semicolons. I stumbled upon Semistandard (which is "all the goodness of standard + semicolons"), however I'm having difficulty adding it as my code style to my IDE (RubyMine).
I installed semistandard globally using npm install semistandard -g and selected it as my ESLint package, the same way I did with standard, however when I press apply, the IDE complains with the error message:
"ESLint: Initialization error (ESLint). Cannot find module '/usr/lib/node_modules/semistandard/lib/cli.js".
Has anyone encountered this error message or know how to fix it?
Semistandard is not supported, please vote for WEB-29114
I'm trying to set up a web app using the kemal framework written in the crystal language. I followed the tutorial mentioned in the getting started guide here
However, I can't get even the most basic web app to work. The line Kemal.run gives an error which traces to the line lib/kemal/src/kemal/param_parser.cr:69 and shows this error undefined constant HTTP::FormData.
I found the HTTP::FormData module https://github.com/RX14/multipart.cr. Adding this as a dependency and requiring it does not help.
Thanks in advance
You are probably using an old version of Crystal. Check with crystal -v.
HTTP::FormData has been added in Crystal 0.21.0.
I'm using a koji to build a package. In error, it's saying:
Error: Package: pacemaker-cluster-libs-1.1.10-14.el6.x86_64 (build)
Requires: libcman.so.3()(64bit)
What does it exactly mean?
'libcman.so' is in the package 'cluster'. Then I built the clusterlib, and add it into my build, but didn't fix the problem after I put 'cluster' into 'BuildRequires' since another problem 'no package found for cluster' came out.
I think I'm not on the correct track.
I didn't fix it, but did some work around to avoid it. It's '.so', so I don't think the python module I build really need it here. So I commented it out from the spec file. and Just ensure I have these packages installed at the server before I install the new python module.
Well i recently put my site into production and this is the last of a few bugs i need to fix. Basically dajaxice/dajaxice.core.js in returning this error in console Uncaught SyntaxError: Unexpected token %. I have placed that particular folder into static and run collect static. The file is fetched however upon opening up the file from the error the django code embedded within the file is not being rendered.
I have placed the file wihtin the head of my base file. Does anyone have any suggestions as to why this is occuring. In my local envionment (development) it is working flawlessly. The only difference i had when installing the two is that i used pip to install it on production and on local i directly downloaded the file and installed it from github. How do i find the version of Dajaxice that is installed?
Does anyone have any ideas as to why this is occuring?
Thanks