Giter Club home page Giter Club logo

gitlab-skyline's Introduction

Hi there 👋, Félix Gómez here!

I'm a full-stack developer specialized in PHP (mostly Symfony) and Javascript (mostly Vue and Nuxt)

Interested in good practices, SOLID, DDD. Currently learning Machine Learning and Quantum Computing.

Degree in Physics. Science fan. Astronomy lover.

Follow or contact me on

Linkedin Badge Twitter Badge Personal blog Youtube Badge

⚡ Technologies

JavaScript JavaScript Nodejs Python HTML5 CSS3 Bootstrap MongoDB Redis ElasticSearch MySQL Heroku Docker Amazon AWS Git GitHub GitLab BitBucket Raspberry Pi

Stats

Github Stats

Visitor Badge

gitlab-skyline's People

Contributors

felixgomez avatar martynbristow avatar setomits avatar yihong0618 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gitlab-skyline's Issues

FileNotFoundError

Hello! I'm running the program on Windows 7 with Python 3.7.9 and got an error attempting the sample quick start command

python gitlab-skyline felixgomez 2020

Fetching contributions from Gitlab...
Generating STL...
Traceback (most recent call last):
  File "gitlab-skyline", line 198, in <module>
    main()
  File "gitlab-skyline", line 194, in main
    generate_skyline_stl(username, year, contribution_matrix)
  File "gitlab-skyline", line 153, in generate_skyline_stl
    capture_output=True)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 488, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 800, in __init__
    restore_signals, start_new_session)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1207, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

I see that line 153 in generate_skyline_stl is the subprocess run for openSCAD, I checked that I have openSCAD installed and the path added to my system env variables. Any chance someone could give insight on if openSCAD is installed incorrectly or if it's looking for files that weren't generated properly?

Error: coroutine 'get_contributions' was never awaited

When I try to create a skyline from a privat gitlab instance using docker, I get an error about coroutine 'get_contributions' was never awaited

docker run -v $PWD:/data gitlab-skyline --token ***[redacted]*** --domain ***[redacted]*** manuel.schiller 2022
/app/gitlab-skyline:186: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
Fetching contributions from Gitlab...
Traceback (most recent call last):
  File "/app/gitlab-skyline", line 198, in <module>
    main()
  File "/app/gitlab-skyline", line 187, in main
    loop.run_until_complete(
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/tasks.py", line 415, in wait
    raise TypeError("Passing coroutines is forbidden, use tasks explicitly.")
TypeError: Passing coroutines is forbidden, use tasks explicitly.
sys:1: RuntimeWarning: coroutine 'get_contributions' was never awaited

RuntimeError: Event loop is closed

image

Error:

Traceback (most recent call last):
  File "gitlab-skyline", line 190, in <module>
    main()
  File "gitlab-skyline", line 186, in main
    generate_skyline_stl(username, year, contribution_matrix)
  File "gitlab-skyline", line 57, in generate_skyline_stl
    year_contribution_list, max_contributions_by_day = parse_contribution_matrix(contribution_matrix)
  File "gitlab-skyline", line 45, in parse_contribution_matrix
    np_contribution_matrix.view('i8,i8,i8').sort(order=['f0'], axis=0)
ValueError: When changing to a larger dtype, its size must be a divisor of the total size in bytes of the last axis of the array.
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x000001DB9823B670>
Traceback (most recent call last):
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\proactor_events.py", line 116, in __del__
    self.close()
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\proactor_events.py", line 108, in close
    self._loop.call_soon(self._call_connection_lost, None)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 719, in call_soon
    self._check_closed()
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 508, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

Ask for license

Hi~

Thank you for your great job.

I maybe kind of use some of your code for my repo, but I notice that your repo doesn't contain License, So I don't know I can use or not.

Can I know which Open Source License you use.

Thank you very much.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.