Does HHVM support IMAP? - imap

I have a new ubuntu server running HHVM that I just installed my PHP application on. Everything seems to work fine except one aspect.
I have a button that queries an external e-mail box, and downloads the attachments to the server, however when I run that function I get:
Fatal error: Call to undefined function imap_sort()
I know there's usually a module for it, but I don't know how to check for it on this setup.
Any help is appreciated.

The HHVM documentation for imap_sort very loudly proclaims
NOT SUPPORTED IN HHVM
so no, HHVM does not currently support this function.

Related

Pass end point details in Rest Web Service command in Automation Anywhere

In the Rest Webservice Command, I don't see any option to pass a variable in the URI.
We do not want to hard the end point in the script.
As an e.g I will want the script to use different points for dev/stage and prod.
Is there a work around for this.
On building a URI with variables like :
https://$v_hostname$/test-rs-v1/employee/data send request works fine but
bot runs we get an error stating :
Hostname could not be parsed.
Update: That was a bug and fixed on version 11.3.1. You can only achieve that on version 11.3.1 or later.
Reference: https://docs.automationanywhere.com/bundle/enterprise-v11.3/page/topics/release-notes/release-notes-11-3-1.html
Workaround for older versions (If you have experience with C#): Build and test DLLs
The following applies only on version 11.3.1 and later.
Make sure that $v_hostname$ contains a value at the run time, using debugging option or message box command.
I did reproduce the same error by entering a variable that doesn't exist or doesn't have a value, there is no another scenario would reproduce "Hostname could not be parsed".
If the hostname/URL is invalid you will get "The remote name could not be resolved:".
I've tested the REST Web Service command on both community and enterprise editions, and it's working very well.

How do I get polyfills to work with Relay?

I have a PHP app and I'm trying to use it with GraphQL and Relay, but trying to get Relay working I keep getting this error in my Browser (Chrome and Safari)
warning.js:36 Warning: Relay relies on polyfills for ES6 features in older browsers. Babel provides a good one: https://babeljs.io/docs/usage/polyfill/
I've tried all sorts of things, and I can't seem to get it to work.
Change webpack configuration, include the polyfill.js as a script.
I can't ignore that warning, because later on I will get:
RelayTaskQueue.js:97 Uncaught TypeError: _promise2.default is not a constructor
I managed to fix the problem myself. The problem was that I was running on Mac OS X with a case insensitive file system.
I tried creating a disk image with case sensitivity, and it worked. Followed instructions here. https://gist.github.com/dixson3/8360571 #

I'm using asterisk and asterisk-gui. But they are not conneciton

I'm using asterisk and asterisk-gui. But they are not conneciton.
I'm new to asterisk.
I run it on CentOs 6.5 and I'm using Asterisk 1.8.25.0.
I was set sip.conf, extensions.conf.
Calling, speaking and listening is no problem.
And, i was install Asterisk-GUI.
http://localhost:8088/asterisk/static/config/cfgbasic.html
This page is normally operates.
However, Asterisk and Asterisk-GUI is not connected.
My accounts are 108, 109.
But, don't show in Asterisk-GUI.
How to connect Asterisk, Asterisk-GUI?
AsteriskGUI is not supported anymore. User freepbx.org gui.
If you need AsteriskGUI(older unsupported version), you need be guru in javascript debugging. Except js issues, also can be issues with firewall or /etc/asterisk/manager.conf file.

Can't upload attachment on MoinMoin

I have installed MoinMoin on my Windows machine:
MoinMoin 1.9.7,
Python 2.7
However, I can't upload an attachment to any page. I got the following error whenever I click "Upload":
Bad Request
The browser (or proxy) sent a request that this server could not understand.
I've tried Python 2.5 too and the behavior is the same.
well, you don't give enough details so one could really help you.
so I can just say that this is unusual. it is unlikely a problem in moinmoin or in python.
maybe some problem with your installation or web server configuration.
maybe have a look into the web server logs.

hdf viewer on windows for tables created using pyTables?

viTables only seems to work with python 2.5. I have downloaded HDFView, but when I try to open a table I created following this tutorial, I get the following error message:
Failed to open file C:\tutorial.h5
java.io.IOException: Unsupported fileformat - C:\tutorial.h5
Any ideas for getting HDFView to work?
Is there something I need to do when I'm using pyTables from python to make the format more generic?
Any other good HDF viewers?
Btw, I've just discovered PyTables, and I'm really excited about it.
ViTables works for me with python 2.6 on windows. It is supposed also to work with 2.7.
However the version on the official site did not work for me and crashed. In a mailinglist posting I found the link to the berlios ftp server where I got a version that works like a charm.
Have you seen ViTables?
http://vitables.berlios.de/

Resources