Cannot launch the experiment to pavlovia: gitlab.exceptions.GitlabCreateError: 400:

URL of experiment:

Description of the problem:
I am using window 10 and the latest psychopy 3(v 2020 1.3), the experiment is running well before I click create project on pavlovia. My experiment documents are stored in F file and psychopy is install in D file. I think my experiment documents are fine but don’t know what’s wrong with the psychopy file, it seems like a naming thing but I didn’t change any name of the psychopy and install it as the original one. I am a newer to both psychopy and python, please give some help. I have googled and viewed the similar question here but still not sure. This is the error I met and I don’t know what’s going on:

Generating PsychoJS script…

270.8720 EXP Imported F:\Lancaster\MA dissertation\psychopy experiments\image_stimuli.xlsx as conditions, 12 conditions, 2 params
270.9870 EXP Imported F:\Lancaster\MA dissertation\psychopy experiments\image_stimuli.xlsx as conditions, 12 conditions, 2 params
271.1765 EXP Imported F:\Lancaster\MA dissertation\psychopy experiments\image_stimuli.xlsx as conditions, 12 conditions, 2 params
271.2069 EXP Imported F:\Lancaster\MA dissertation\psychopy experiments\image_stimuli.xlsx as conditions, 12 conditions, 2 params
Traceback (most recent call last):
File “D:\PsychoPy3\lib\site-packages\gitlab\exceptions.py”, line 242, in wrapped_f
return f(*args, **kwargs)
File “D:\PsychoPy3\lib\site-packages\gitlab\mixins.py”, line 204, in create
**kwargs)
File “D:\PsychoPy3\lib\site-packages\gitlab_init_.py”, line 589, in http_post
post_data=post_data, files=files, **kwargs)
File “D:\PsychoPy3\lib\site-packages\gitlab_init_.py”, line 495, in http_request
response_body=result.content)
gitlab.exceptions.GitlabHttpError: 400: {‘name’: [“can contain only letters, digits, emojis, ‘’, ‘.’, dash, space. It must start with letter, digit, emoji or '’.”], ‘limit_reached’: []}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “D:\PsychoPy3\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 146, in submitChanges
namespace=namespace)
File “D:\PsychoPy3\lib\site-packages\psychopy\projects\pavlovia.py”, line 329, in createProject
raise e
File “D:\PsychoPy3\lib\site-packages\psychopy\projects\pavlovia.py”, line 324, in createProject
gitlabProj = self.gitlab.projects.create(projDict)
File “D:\PsychoPy3\lib\site-packages\gitlab\exceptions.py”, line 244, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body)
gitlab.exceptions.GitlabCreateError: 400: {‘name’: [“can contain only letters, digits, emojis, ‘’, ‘.’, dash, space. It must start with letter, digit, emoji or '’.”], ‘limit_reached’: []}

Can anyone give some helps? :sob:

What is the name of your experiment file?

image

Is this ok?

exp1 intr_4block.psyexp

This is the experiment file name

Thanks. Please could you show me inside the html folder too?


Is the name problem?

I reckon that a + is likely to be problematic. I note that it isn’t in your psyexp file names.


Thanks for noticing, but I think these two are the generated ones. I just delated the ones with + . But with the current ones it still don’t work, the same problem show again ><

I’m just guessing here but the wrong one might still be referenced in index.html Have a look in that file

image
do u mean this one? but I can’t open it ><
the website only show this and seems very slow
image

Are you looking on Gitlab (via view code on Pavlovia)?

I have downloaded gitlab,but not sure how to use it to look the code><
image
Sorry for my limit knowledge >< Everything just too new to me

I haven’t downloaded Git so I think you must have misunderstood me.

Here’s an example.

Click on https://pavlovia.org/Wake/brookes-template-2020
Click on View Code
Click on html
Click on index.html

You should see this:

<!doctype html>
<html>

<head>
    <title>template [PsychoPy]</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="user-scalable=no">

    <!-- styles -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css">
    <link rel="stylesheet" href="https://lib.pavlovia.org/psychojs-2020.1.css">
</head>

<body>
    <div id="root"></div>

     <!-- external libraries -->
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/seedrandom/3.0.1/seedrandom.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.8.7/pixi.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/PreloadJS/1.0.1/preloadjs.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.14.2/xlsx.full.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/log4javascript/1.4.9/log4javascript.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.1.2/howler.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pako/1.0.10/pako.min.js"></script>

    <!-- experiment -->
    <script type='module' src='./template.js'></script>

    <!-- legacy browsers -->
    <script nomodule type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.6.0/polyfill.min.js"></script>
    <script nomodule type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/url-search-params/1.1.0/url-search-params.js"></script>
    <script nomodule type="text/javascript" src="https://lib.pavlovia.org/psychojs-2020.1.js"></script>
    <script nomodule type="text/javascript" src="./template-legacy-browsers.js"></script>
</body>

</html>