Giter Club home page Giter Club logo

simsapa's Introduction

simsapa's People

Stargazers

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

Watchers

 avatar  avatar

Forkers

ilius ivancasco

simsapa's Issues

Splash screen to indicate the app started

After a fresh system start (apps not yet pre-cached), on some systems it can take ~15 seconds before the first window appears.

Most of this time is spent with loading Python modules.

A splash window would indicate for the user that processes have started and they only need to wait a bit.

network connection timeout error

After opening, the app shows the following error when trying to down database:

image

The app looks awesome. I'm looking forward to try it!

Sorting for Contains and RegEx search modes

Search results from "Contains Match" and "RegEx Match" modes currently have no sorting applied.

The results could be sorted by frequency, i.e. adding up the occurrence of search terms.

RegEx search option in sutta and dictionary

Allow full regex pattern search in the SQL database.

The [ ] .* toggle in the search bar is not a full regex engine, the tantivy fulltext engine only supports globbing expressions (.* .+ a* a+).

Application error when opening Sutta Study Window

System: Windows 10

When trying to Window > Sutta Study from a Sutta Search window, I get the following error:

Traceback (most recent call last):
  File "C:\GitHub\simsapa\simsapa\app\windows.py", line 191, in _new_sutta_study_window
    view = SuttaStudyWindow(self._app_data)
  File "C:\GitHub\simsapa\simsapa\layouts\sutta_study.py", line 46, in __init__
    self.search_query = SearchQuery(
  File "C:\GitHub\simsapa\simsapa\app\db\search.py", line 112, in __init__
    self.searcher = ix.searcher()
  File "C:\Users\learningtoletgo\AppData\Local\pypoetry\Cache\virtualenvs\simsapa-Tw4STD9V-py3.9\lib\site-packages\whoosh\index.py", line 318, in searcher
    return Searcher(self.reader(), fromindex=self, **kwargs)
  File "C:\Users\learningtoletgo\AppData\Local\pypoetry\Cache\virtualenvs\simsapa-Tw4STD9V-py3.9\lib\site-packages\whoosh\index.py", line 547, in reader
    return self._reader(self.storage, info.schema, info.segments,
  File "C:\Users\learningtoletgo\AppData\Local\pypoetry\Cache\virtualenvs\simsapa-Tw4STD9V-py3.9\lib\site-packages\whoosh\index.py", line 535, in _reader
    readers = [segreader(segment) for segment in segments]
  File "C:\Users\learningtoletgo\AppData\Local\pypoetry\Cache\virtualenvs\simsapa-Tw4STD9V-py3.9\lib\site-packages\whoosh\index.py", line 535, in <listcomp>
    readers = [segreader(segment) for segment in segments]
  File "C:\Users\learningtoletgo\AppData\Local\pypoetry\Cache\virtualenvs\simsapa-Tw4STD9V-py3.9\lib\site-packages\whoosh\index.py", line 523, in segreader
    return SegmentReader(storage, schema, segment,
  File "C:\Users\learningtoletgo\AppData\Local\pypoetry\Cache\virtualenvs\simsapa-Tw4STD9V-py3.9\lib\site-packages\whoosh\reading.py", line 620, in __init__
    self._terms = self._codec.terms_reader(self._storage, segment)
  File "C:\Users\learningtoletgo\AppData\Local\pypoetry\Cache\virtualenvs\simsapa-Tw4STD9V-py3.9\lib\site-packages\whoosh\codec\whoosh3.py", line 122, in terms_reader
    postfile = segment.open_file(storage, self.POSTS_EXT)
  File "C:\Users\learningtoletgo\AppData\Local\pypoetry\Cache\virtualenvs\simsapa-Tw4STD9V-py3.9\lib\site-packages\whoosh\codec\base.py", line 556, in open_file
    return storage.open_file(fname, **kwargs)
  File "C:\Users\learningtoletgo\AppData\Local\pypoetry\Cache\virtualenvs\simsapa-Tw4STD9V-py3.9\lib\site-packages\whoosh\filedb\filestore.py", line 333, in open_file
    return self.a.open_file(name, *args, **kwargs)
  File "C:\Users\learningtoletgo\AppData\Local\pypoetry\Cache\virtualenvs\simsapa-Tw4STD9V-py3.9\lib\site-packages\whoosh\filedb\compound.py", line 121, in open_file
    f = BufferFile(buf, name=name)
  File "C:\Users\learningtoletgo\AppData\Local\pypoetry\Cache\virtualenvs\simsapa-Tw4STD9V-py3.9\lib\site-packages\whoosh\filedb\structfile.py", line 357, in __init__
    self.file = BytesIO(buf)
MemoryError

Simsapa 0.1.8-alpha.1
Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)], Qt 5.15.2, PyQt 5.15.6

I get an error if I try to open the window from the menu bar or with the shortcut.

I tried restarting the app and still got the error.

Opening commentaries of the current sutta

Open the corresponding commentary when reading a sutta.

Currently a way to locate a specific commentary:

  • search for the Pāli title of the sutta (optionally add ...vaṇṇanā)
  • alagaddūpamasutta / alagaddūpamasuttavaṇṇanā
  • open the cst4 sutta page
  • Ctrl+F search for the title

If you are planning to return to that section:

  • highlight a phrase
  • Right Click > Copy Link to Sutta and Selection
    • (this is a localhost url link)
  • save it in your notes
  • when Simsapa is already open, clicking the link should open the page at that location

Consider include PTS dictionary.

Thanks for your project.

I found that the PTS dictionary is of great value, and the explanations of many words are more accurate and precise.
'digitalpalidictionary' is necessary, but it is not enough.

Formatting of results list in Windows is off

System: Windows 10

Problem: The heading of each result is cut off.

image

I tried view> Decrease text size but that didn't change the text size of the results.

Perhaps somehow the line height is using an absolute value instead of a relative one?

DPD update window too large on Macbook Air 2013

Hola,

Sorry for the rather niche issue, but:

I run your wonderful software on a 13 inch screen Macbook air. When the DPD update window prompt pop up, the confirmation part runs lower than my screen, and because the window is quite long, I cannot bring it upwards to see the bottom, it just doesn't fit in the screen! Therefore I'm unable to pick to confirm the update. I tried looking at workarounds in Macos and could not find any. If there was some way to make this window resizeable or larger rather than longer or with less text, or to be able to toggle the update from somewhere else, that would be lovely. Hope all is well with you and thanks again for this amazing resource!

No .msi on Releases page?

On the readme page it mentions the existence of an .msi file for installing on Windows. But I don't see it on the release page. Just wondering if it is available somewhere I'm missing, or if (quite understandably) it's not available at this point.

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.