how to setup python app with pyinstaller which will work without internet connection - pyinstaller

I created an executed version using pyinstaller, but on a computer without internet access the app is not working correctly. Only index.html is loaded, and analisys not work https://github.com/evrycollin/py-sentiment-api-server How can I prepare this app ^^ for working on PC without internet connection?

Related

How web scraping is done on Linux servers

I want to do web scraping on linux server. But linux servers don't have GUI and browser. They have only got a black screen i.e terminal. Recently I prepared a selenium script on windows using python and chromedriver which messages your friends on whatsapp. I want to deploy it on linux server. It won't run there, right? So, how is it done?
You can run Chrome/Firefox with option --headlessand it will run without displaying window so it will no need XWindow (GUI). It is called headless web browser. (And server without monitor is called headless server)
Selenium can use webdriver PhantomJS (instead of Chrome/Firefox) which doesn't display window (probably it uses WebKit/Qt). But this driver is not developed any more.
Linux can also use Xfbv to create fake/virtual monitor and run programs which need XWindow.

Not loading multiple tabs of the same website

Scenario:
IIS Version 10.0.14393.0 installed.
Net framework 4.6.1 installed.
Windows 10
We are having an issue when opening multiple tabs of the same website hosted in our server.
If we open 3+ tabs at the same time, the site wont load. The exact same package is installed on another server and working properly.
We have cross checked the application pool(4.0 integrated) with the working one, and the site configuration too and they are the same.
We even changed the connection string of the website to connect to the db of the site working and it also fails.
This happens when connecting from another machine, and also when opening the website on the server itself.
Any help?

Can RStudio Desktop be used as a client to RStudio Server? (instead of the web interface)

I am aware that I can use RStudio server on my remote machine, and connect to that via a web browser on my client machine.
However, I would prefer not to use my web browser. Is it possible to set up RStudio Desktop to connect to the RStudio Server?
Many thanks
There is an alternative: create Rstudio Server webapp.
This is how I did it:
Login to the rstudio server from the browser using serverip:8787
On the menu bar, go to File (or Tools in some cases) -> Create application shortcut. This dialogue box will appear:
Rstudio shortcut
Add it to your desktop by selecting and run it as if you're running rstudio desktop version.
Rstudio webapp screenshot

Previewing Meteor app via Nitrous.io cannot access local host port 3000

Running Mavericks on Macbook air, Nitrous box with simple test app bundles and runs fine on Meteor host but is not accessible on browser via 'preview'.
Bit baffled. No firewall running and unsure how to proceed.
I am having the exact same problem with Nitrous.io right now. I am betting this is an intermittent problem. A few hours ago I could access sites running on that box just fine from my local machine.
Fiddler tells me:
No connection could be made because the target machine actively refused it 54.217.184.231:80 so this points to a server-side problem. Seems we have to wait.

Deploy flex app to MAMP server

I created a Flex app in a Windows XP environment using Flex Builder 3.
From the menubar, I selected "Project->Export Build Release" and moved the files from /bin-release onto my local server (WAMP).
I have a PHP file that connects to a db and delivers some data via XML
Everything works right on my computer. Then I tried to move the app to a mac.
I installed MAMP with the default settings (localhost:8888)
I can connect to the PHP file and get the XML by hitting the appropriate URL on # http://localhost:8888/...
Likewise, I can connect to the html template and the swf executes, but it doesn't seem to be getting the data back, and I don't get any debug info popping up.
Any ideas? Are there security settings enabled by default in Mac OS that would not allow a flex app to request data from a remote resource (i.e. http://localhost:8888/ in this case)?
what is the error that you get?
1. try to catch the FaultEvent
2. do you install any of flash debugger?
The trouble was with the MAMP installation. I reinstalled it, and the app worked.

Resources