Doccano: unable to upload a jsonl - doccano

I tried to upload a jsonl file for sequence labelling task and have the following in the console:
POST https://website.azurewebsites.net/v1/projects/16/upload 500 (Internal Server Error)
Error: Request failed with status code 500
at t.exports
at t.exports
at XMLHttpRequest._.onreadystatechange
What can I do ?

Related

why i got this Error: Failed to load resource: the server responded with a status of 403 (Forbidden)

I tried many times but can't solve this error I checked server side there are all okay but got this error

Posting a file to the server

:8000/upload:1 POST http://localhost:8000/upload 500 (Internal Server Error)
createError.js:17 Uncaught (in promise) Error: Request failed with status code 500
at createError (createError.js:17)
at settle (settle.js:19)
at XMLHttpRequest.handleLoad (xhr.js:78)
While I'm uploading a file I'm getting this error, can anyone help for it.
This error was because you did not handle the situation in the client when the server returns an HTTP error 500
Actually, you have to check the server application, why it does not accept the upoplad, and only returns an error.

Azure fails to deploy ASP.NET Core app / Can't connect to MyGet server

I'm somewhat new to .NET Core and I'm trying to make a RESTful web api with authentication (using OpenIddict as the middleware). I working with Visual Studio Code on OSX.
To use OpenIddict, I have to add another source for the packages so following the tutorial, I added a NuGet.config file at the root of my project which looks like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="aspnet-contrib" value="https://aspnetcontrib.myget.org/F/aspnet-contrib/api/v3/index.json" />
</packageSources>
</configuration>
So I restore, I build, I run, I try it with Postman... Nice! Everything works. So, I tried to push it in Azure. So I set up an app, configure it source as local Git, and I push my app. Good.
Then, Azure tries to build it but fail when running the deployment command, which is when (I suppose) it fetches the package and all, right? Well, the error is that:
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET Core Web Application deployment.
Restoring packages for D:\home\site\repository\BobWebApi.csproj...
Restoring packages for D:\home\site\repository\BobWebApi.csproj...
Restoring packages for D:\home\site\repository\BobWebApi.csproj...
Restoring packages for D:\home\site\repository\BobWebApi.csproj...
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.extensions.secretmanager.tools/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.netcore.runtime.coreclr/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.netcore.dotnethostpolicy/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.csharp/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.codeanalysis.csharp/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.codeanalysis.visualbasic/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.extensions.platformabstractions/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.data.sqlite/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/libuv/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.visualstudio.web.codegeneration.tools/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/newtonsoft.json/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.aspnetcore.server.iisintegration/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/aspnet.security.oauth.validation/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.aspnetcore.authentication/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.netcore.app/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.netcore.platforms/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.visualbasic/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.entityframeworkcore.relational/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.aspnetcore.identity.entityframeworkcore/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/nuget.frameworks/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/runtime.native.system.io.compression/index.json'.
An error occurred while sending the request.
A connection with the server could not be established
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/runtime.native.system.io.compression/index.json'.
An error occurred while sending the request.
A connection with the server could not be established
D:\Program Files (x86)\dotnet\sdk\1.0.1\NuGet.targets(97,5): error : Failed to retrieve information about 'runtime.native.System.IO.Compression' from remote source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/runtime.native.system.io.compression/index.json'. [D:\home\site\repository\BobWebApi.csproj]
D:\Program Files (x86)\dotnet\sdk\1.0.1\NuGet.targets(97,5): error : An error occurred while sending the request. [D:\home\site\repository\BobWebApi.csproj]
D:\Program Files (x86)\dotnet\sdk\1.0.1\NuGet.targets(97,5): error : A connection with the server could not be established [D:\home\site\repository\BobWebApi.csproj]
Failed exitCode=1, command=dotnet restore "BobWebApi.csproj"
An error has occurred during web site deployment.
\r\nD:\Program Files (x86)\SiteExtensions\Kudu\62.60515.2845\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"
So I don't know what to do. Why is Azure even trying to get all these files from the wrong source? And if I have to, how do I tell it where to get them?
Thank you
Sorry for the delay. I managed to solve everything by rebuilding, redeploying everything from scratch. I didn't find solution to quickly solve it, but since I was only beginning, it was no big deal. Just hope it won't hit me again.

can't install atom editor on arch linux

package re2-20170101-1 is not installing.
i have also marked extra as siglevel never because before it was giving signature error
error: re2: signature from "Anatol Pomozov <anatol.pomozov#gmail.com>" is invalid
:: File /var/cache/pacman/pkg/re2-20170101-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
then i marked extra as siglevel never
[extra]
SigLevel = Never
Include = /etc/pacman.d/mirrorlist
so i get this error.(404 error was also before adding signlevel = Never)
[pi#vision pacman.d]$ sudo pacman -S atom
resolving dependencies...
looking for conflicting packages...
Packages (5) apm-1.18.1-1 electron-1.4.16-2 minizip-1:1.2.11-1
re2-20170101-1 atom-1.16.0-1
Total Download Size: 0.15 MiB
Total Installed Size: 217.06 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.f4st.host : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.cicku.me : Failed to connect to mirrors.cicku.me port 80: Connection refused
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.nluug.nl : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.myrveln.se : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.hactar.xyz : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.dynamict.se : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.mirror.ba : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.tyborek.pl : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.uni-plovdiv.net : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.neuf.no : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.archlinux.no : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.js-webcoding.de : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.n-ix.net : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.de.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.gnomus.de : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.dotsrc.org : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.mirrors.uk2.net : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.aur.rocks : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.acc.umu.se : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.23media.de : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror5.bastelfreak.org : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from gluttony.sin.cvut.cz : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.datacenter.by : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.rnl.tecnico.ulisboa.pt : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.kaminski.io : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.snt.utwente.nl : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.manchester.m247.com : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.cinosure.com : The requested URL returned error: 403
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.niyawe.de : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.byfly.by : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.lug.mtu.edu : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.mirror.kangaroot.net : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.nl.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.rit.edu : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.fluxent.de : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.netcologne.de : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.united-gameserver.de : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.wa.co.za : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from arch.midov.pl : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.is.co.za : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.surlyjake.com : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.mirror.wearetriple.com : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.vi-di.fr : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from foss.aueb.gr : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.swin.edu.au : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.openlabto.org : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.metalgamer.eu : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.vfn-nrw.de : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archimonde.ts.si : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.mirrors.linux.ro : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.kernel.org : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from fooo.biz : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.es.its.nyu.edu : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from www.gtlib.gatech.edu : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.pseudoform.org : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.vpsfree.cz : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.lysator.liu.se : The requested URL returned error: 404
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.polymorf.fr : The requested URL returned error: 404
re2-20170101-1-x86_64 1190.0 B 0.00B/s 00:00 [######################] 100%
(5/5) checking keys in keyring [######################] 100%
(5/5) checking package integrity [######################] 100%
:: File /var/cache/pacman/pkg/re2-20170101-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n]
Pacman said, the key is corrupted:
error: re2: signature from "Anatol Pomozov "
is invalid :: File
/var/cache/pacman/pkg/re2-20170101-1-x86_64.pkg.tar.xz is corrupted
(invalid or corrupted package (PGP signature)). Do you want to delete
it? [Y/n] n
note: SigLevel = Never you should not avoid the check to staying safe.
Instead of that, You must refresh your keys list:
pacman-key --refresh-keys
If you never imported the whole archlinux keyring before, you should get it (before refresh):
pacman-key --populate archlinux
Finally, can see that pacman cannot find the archive.
This occur often when the pkg revision has changed and outdated.
(you could not see it before, cause of the PGP error)
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from
mirror.f4st.host : The requested URL returned error: 404 error: failed
retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from
mirrors.cicku.me : Failed to connect to mirrors.cicku.me port 80:
Connection refused
Let's refresh your repositories database :
sudo pacman -Sy
pacman -S atom

Getting Started with Foxx and ArangoDB on Windows - "errorMessage":"unknown path"

Yes part of the problem is I don't have a Mac Pro ;) And the demo are done on Macs.
I can get the "Hello World" app to run, loading it via the web interface and accessing via:
http://localhost:8529/_db/Test1/hello-foxx
But I cannot seem to get any other demos to load. For example oauth2:
http://localhost:8529/_db/Test1/oauth2
{"error":true,"code":404,"errorNum":404,"errorMessage":"unknown path 'oauth2'"}
UPDATE - I am also new to server side Javascript. While playing with a simple working demo, I created an error in the app.js file. The resulting output in the browser was my above 404 error. It would seem that if the app.js fails and cannot create the output file, then logically the browser can't find it. So it may not be a "Mounting" or File System error, but a JS error???
Maybe this can help you.
Run arangodb in debug mode:
arangod -c "D:\Tools\ArangoDB 2.2.5\etc\arangodb\arangod.conf"
--javascript.dev-app-path "D:\Tools\ArangoDB 2.2.5\www"
Take a look at the console output when you receive the error.
This is an internal error at a FOXX app returning 404
2014-11-07T05:07:00Z [4928] INFO ArangoDB (version 2.2.5 [win64]) is
ready for business. Have fun!
2014-11-07T05:21:47Z [4928] ERROR Cannot compute Foxx application
routes: SyntaxError: JavaScript exception in file '(snippet)' at
11,19: SyntaxError: Unexpected token * 2014-11-07T05:21:47Z [4928]
ERROR !\x09\x09if(fuzzyType != * || ! $(fts).All(function(ft){ return
typeof(fuzzy[ft]) ==
2014-11-07T05:21:47Z [4928] ERROR ! ^
2014-11-07T05:21:47Z [4928] ERROR stacktrace: SyntaxError: Unexpected
token *
2014-11-07T05:21:47Z [4928] ERROR at createModule
(common/bootstrap/modules.js:492:20)
2014-11-07T05:21:47Z [4928] ERROR at requireModuleFrom
(common/bootstrap/modules.js:645:14)
2014-11-07T05:21:47Z [4928] ERROR at requirePackage
(common/bootstrap/modules.js:805:21)
2014-11-07T05:21:47Z [4928] ERROR at [object Object].Module.require
(common/bootstrap/modules.js:1206:21)
As you can see there is an error on the FOXX code.
After fixing this is a normal output about a request:
2014-11-07T05:23:45Z [4928] INFO /dev/FreeTextEngine, incoming request from 127.0.0.1: GET http://0.0.0.0:8529/dev/FreeTextEngine/create/hotelall?type=*
2014-11-07T05:23:45Z [4928] INFO /dev/FreeTextEngine, outgoing response with status undefined of type application/json, body length: 125

Resources