I am trying to connect one drive sub folder with power bi desktop through SharePoint Folder.
But i am getting error
Details: "Microsoft.Mashup.Engine1.Library.Resources.HttpResource: Request failed:
OData Version: 3 and 4, Error: The remote server returned an error: (404) Not Found. (Not Found)
OData Version: 4, Error: The remote server returned an error: (404) Not Found. (Not Found)
OData Version: 3, Error: The remote server returned an error: (404) Not Found. (Not Found)"
I appreciate your Support.
Thanks.
Related
I have indexed files successfully using Solr, and queried the core successfully by using pysolr. The code is working fine in the Pycharm Terminal. Now I am trying to convert the code to a web app using Flask on pythonanywhere.com. However when I put the following line in the code for the web app I get an error:
solr = Solr('http://localhost:8983/solr/techproducts')
The error that I am getting is:
pysolr.SolrError: Failed to connect to server at http://localhost:8983/solr/techproducts/select/?q=Sumedh&wt=json: HTTPConnectionPool(host='localhost', port=8983): Max retries exceeded with url: /solr/techproducts/select/?q=Sumedh&wt=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa57c3c28d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
If someone can please help me in solving this error I would be really grateful.
I am trying to deploy a Django application on Microsoft Azure.
I am using nginx + gunicorn on a Azure Virtual Machine. For serving static and media files, I have decided to use Azure Blobs available in Azure Storage.
I am using the following library to integrate a Markdown + MathJax editor in my application - django-mdeditor.
Now, this library comes with its own JS and CSS files. I am having no problem on using this library in the following scenarios -
Local Development.
Deployment on Heroku (production).
Deployment on Azure Virtual Machine using nginx + gunicorn (production). In this case, I am serving the static files using nginx as mentioned in various tutorials, such as this one.
However, as soon as I shift to Azure Storage as my storage back-end. I am getting the following errors -
Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.)
codemirror.min.js:1 Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.)
codemirror.min.css:1 Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.)
dialog.css:1 Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.)
codemirror.min.css:1 Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.)
matchesonscrollbar.css:1 Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.)
dialog.css:1 Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.)
Except for the above few files, the remaining static files are been fetched correctly!
Upon further investigation, I found out that all the above files are been fetched from the following script - https://github.com/pylixm/django-mdeditor/blob/master/mdeditor/static/mdeditor/js/editormd.js#L549
i.e. from the following code block -
.
.
editormd.loadCSS(loadPath + "codemirror/codemirror.min");
.
.
loadPath has been assigned settings.path in the script which is equal to the value of (afaik) './lib/'.
loadCSS() is trying to fetch the file from the url -https://edumate.blob.core.windows.net/static/mdeditor/js/libcodemirror/codemirror.min.js
instead of https://edumate.blob.core.windows.net/static/mdeditor/js/lib/codemirror/codemirror.min.js.
Notice the missing / after lib in the first case. The URL generated is .../libcodemirror/.. instead of ../lib/codemirror/..!
The same is the case for all the the other JS and CSS files that are fetched using loadCSS() or loadScript() methods as shown above.
And the peculiar thing is, this deletion of / is only happening when using Azure Storage and not when using Heroku, nginx + gunicorn, or development server.
Any ideas on how to debug this?
Attached is the pkgs installed with our project setup..
and we cant upgrade our pkgs due to some reasons.
I tried to run the in these combinations FFv53,54,55,56 with gecko driver 16,19
This is the error message from PyCharm:
==============================================================================
[ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure: No browser is open
Ping Endpoint2222 :: Sends and verifies a ping command for some en... | FAIL |
Setup failed:
KeyError: 'value'
------------------------------------------------------------------------------
Commands.Ping :: Ping Command | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Geckodriver logs:
1510747591183 geckodriver INFO Listening on 127.0.0.1:65395
1510747593075 geckodriver::marionette INFO Starting browser \\?\D:\Program Files\firefox.exe with args ["-marionette"]
1510747594386 addons.manager DEBUG Application has been upgraded
1510747594387 addons.manager ERROR startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70" data: no] Stack trace: FileUtils_getDir()#resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()#resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()#resource://gre/modules/AddonManager.jsm:671 < startup()#resource://gre/modules/AddonManager.jsm:834 < startup()#resource://gre/modules/AddonManager.jsm:3129 < observe()#resource://gre/components/addonManager.js:65
1510747594389 addons.manager DEBUG Completed startup sequence
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1657: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
1510747598397 Marionette INFO Listening on port 65402
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
1510747598952 Marionette WARN TLS certificate errors will be ignored for this session
1510747658086 addons.productaddons INFO sending request to: https://aus5.mozilla.org/update/3/GMP/53.0/20170413192749/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0%20(x64)/default/default/update.xml
1510747659578 addons.productaddons INFO Completed downloading document
1510747660101 addons.productaddons INFO downloadXHR File download. status=200
1510747660112 addons.productaddons INFO Downloaded file will be saved to C:\Users\bbanduch\AppData\Local\Temp\tmpaddon-6363aa
1510747663032 addons.productaddons INFO downloadXHR File download. status=200
1510747663036 addons.productaddons INFO Downloaded file will be saved to C:\Users\bbanduch\AppData\Local\Temp\tmpaddon-ce3de3
JavaScript error: resource://app/modules/WindowsJumpLists.jsm, line 403: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]
JavaScript error: resource://app/modules/WindowsJumpLists.jsm, line 403: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1416: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
JavaScript error: resource://app/modules/WindowsJumpLists.jsm, line 403: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]
JavaScript error: resource://app/modules/WindowsJumpLists.jsm, line 403: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]
JavaScript error: resource://app/modules/WindowsJumpLists.jsm, line 403: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]
JavaScript error: resource://app/modules/WindowsJumpLists.jsm, line 403: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]
JavaScript error: resource://app/modules/WindowsJumpLists.jsm, line 403: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]
JavaScript error: resource://app/modules/WindowsJumpLists.jsm, line 403: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]
JavaScript error: resource://app/modules/WindowsJumpLists.jsm, line 403: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]
app-system-defaults
1510747289405 DeferredSave.extensions.json DEBUG Starting timer
1510747289407 DeferredSave.extensions.json DEBUG Save changes
1510747289407 addons.xpi-utils DEBUG New add-on firefox#getpocket.com installed in app-system-defaults
1510747289413 DeferredSave.extensions.json DEBUG Save changes
1510747289413 addons.xpi-utils DEBUG New add-on webcompat#mozilla.org installed in app-system-defaults
1510747289417 DeferredSave.extensions.json DEBUG Save changes
1510747289421 addons.xpi-utils DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global
1510747289425 DeferredSave.extensions.json DEBUG Save changes
1510747289425 addons.manager DEBUG Registering startup change 'installed' for aushelper#mozilla.org
1510747289432 addons.xpi DEBUG Loading bootstrap scope from D:\Program Files\browser\features\aushelper#mozilla.org.xpi
1510747289437 addons.xpi DEBUG Calling bootstrap method install on aushelper#mozilla.org version 2.0
1510747289437 addons.xpi-utils DEBUG Make addon app-system-defaults:aushelper#mozilla.org visible
1510747289437 DeferredSave.extensions.json DEBUG Save changes
In production all works fine. I am using a Mac Book Pro as dev env.
In development I am getting these (several) errors:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
When trying to load from http://localhosts:8080/assets ...
Not sure why rails is not loading from public/assets?
What is wrong here?
And after restarting the server I am getting this error:
Errno::EINVAL
Invalid argument
connection.connect_unix(config[:path], connect_timeout)
else
connection.connect(config[:host], config[:port], connect_timeout)
end
instance = new(connection)
What is wrong with my dev env?
I uninstalled the rack-cors gem.
Problem solved.
I have created a web service and i called it in my Windows phone 8 application running on emulator but it throw exception. Refer the screen shots:
Here is the exception:
System.ServiceModel.CommunicationException was unhandled by user code
HResult=-2146233087
Message=The remote server returned an error: NotFound.
Source=System.ServiceModel
InnerException: System.Net.WebException
HResult=-2146233079
Message=The remote server returned an error: NotFound.
Source=System.Windows
InnerException: System.Net.WebException
HResult=-2146233079
Message=The remote server returned an error: NotFound.
Source=System.Windows
InnerException:
Please help me