Giter VIP home page Giter VIP logo

grapik-quran's Introduction

  • 👋 Hi, I'm Naufan Rusyda Faikar
  • 👀 I'm interested in computer science, languages, human, and cultures
  • 🌱 I'm currently learning anything
  • 💞️ I'm looking to collaborate on technologies that make people's lives better
  • 📫 You can reach me by sending an email to [email protected]

grapik-quran's People

Contributors

naruaika 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

Watchers

 avatar  avatar  avatar

grapik-quran's Issues

Resources download functionality

I guess it's better to have this functionality. This is including downloading pages, translations, tafseers, and recitations. So, instead of put them all in this repository or others, we can make the app to download from the original sources when it's needed.

On the other side, it has made me think of how to re-download them if there's a new release from the upstream. Since not all original download sites features versioning to their files. This is would be specific for the translation and tafseer only.

TypeError: get_musshaf() takes 1 positional argument but 2 were given

Got this error when built it with Gnome-Builder :
[Download pop-up window launches, but then nothing happens.]

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/app/share/Grapik Quran/src/musshaf.py", line 506, in execute
    if is_downloaded():
  File "/app/share/Grapik Quran/src/musshaf.py", line 388, in is_downloaded
    musshaf = metadata.get_musshaf(glob.musshaf_name)
TypeError: get_musshaf() takes 1 positional argument but 2 were given

Distro : Fedora Workstation 36 (Rawhide)
DE : Gnome 41.1
Displaying System : Wayland
Build Tool : Gnome-Builder

Error in several translation pre-processings

Example: For translation ID sq.mehdiu, here's the traceback:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/app/share/grapik-quran/src/window.py", line 504, in add_tarajem
    if ResourceManager.add_tarajem(row.id):
  File "/app/share/grapik-quran/src/model.py", line 186, in add_tarajem
    cur.executescript('\n'.join(sql.text.replace('index', 'id')
sqlite3.OperationalError: near "Njëmend": syntax error

Force closes on downloading resources

It is quite often I encounter that the entire application force closed when downloading any resource. I was wondering if it had something to do with handling stream buffer or something related. But I recently discovered that just didn't seem right. Still figuring out the code. By the way, here's the traceback from faulthandler:

Fatal Python error: Segmentation fault

Thread 0x00007fa048b14700 (most recent call first):
  File "/usr/lib/python3.8/ssl.py", line 1099 in read
  File "/usr/lib/python3.8/ssl.py", line 1241 in recv_into
  File "/usr/lib/python3.8/socket.py", line 669 in readinto
  File "/usr/lib/python3.8/http/client.py", line 502 in readinto
  File "/usr/lib/python3.8/http/client.py", line 458 in read
  File "/app/share/grapik-quran/src/model.py", line 238 in add_musshaf
  File "/app/share/grapik-quran/src/window.py", line 571 in add_musshaf
  File "/usr/lib/python3.8/threading.py", line 870 in run
  File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner
  File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap

Current thread 0x00007fa04f195740 (most recent call first):
  File "/usr/lib/python3.8/site-packages/gi/overrides/Gio.py", line 42 in run
  File "/app/share/grapik-quran/src/main.py", line 47 in main
  File "/app/bin/grapik-quran", line 41 in <module>

And

free(): double free detected in tcache 2

Use left justification for the translation

Using justified text for the translation, looks quite strange. I propose to use the left justification instead, but I don't know how to implement it since GTK.Label is not capable of making the labels have no random padding on the left.

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.