gitlab-project-export icon indicating copy to clipboard operation
gitlab-project-export copied to clipboard

I have an error when exporting

Open VelTrenn opened this issue 4 years ago • 2 comments

python --version fish-1 | 1 Python 3.6.9

/gitlab-project-export.py -c ./config.yml fish-1 | 0 [19:33:18] Traceback (most recent call last): File "./gitlab-project-export.py", line 49, in c = config.Config(args.config) File "/root/test/gitlab-project-export/gitlab_export/config.py", line 15, in init self.config_load() File "/root/test/gitlab-project-export/gitlab_export/config.py", line 43, in config_load self.config = yaml.load(self.conf_fh.read(), Loader=yaml.FullLoader) AttributeError: module 'yaml' has no attribute 'FullLoader'

VelTrenn avatar Mar 16 '22 16:03 VelTrenn

Hi @VelTrenn ,

thank you for your report. Can you get your version of pyyaml ? You can have it installed from OS package, so check the version of the package, or it can be installed using pip3, then run pip3 list and look for PyYAML

If non of it worked try tu run python shel by running python3

# python3
Python 3.6.9 (default, Nov 23 2019, 06:41:34) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import yaml
>>> help(yaml)

There look for VERSION heading.

rvojcik avatar Mar 18 '22 08:03 rvojcik

when I installed via pip there were no errors thank you very much

VelTrenn avatar Mar 21 '22 07:03 VelTrenn