Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have an error when exporting #22

Closed
VelTrenn opened this issue Mar 16, 2022 · 2 comments
Closed

I have an error when exporting #22

VelTrenn opened this issue Mar 16, 2022 · 2 comments

Comments

@VelTrenn
Copy link

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'

@rvojcik
Copy link
Owner

rvojcik commented Mar 18, 2022

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.

@VelTrenn
Copy link
Author

VelTrenn commented Mar 21, 2022

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

@rvojcik rvojcik closed this as completed May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants