paucazou / theochrone Goto Github PK
View Code? Open in Web Editor NEWA calendar for Tridentine rite
Home Page: http://theochrone.fr
License: Other
A calendar for Tridentine rite
Home Page: http://theochrone.fr
License: Other
An error in translation can be found in the GUI: first week is translated by Premier semaine.
Change the type of Fete._images from str to set, in order to allow the program to print images of more than one saint easily.
On UC Browser, only on desktop mode, the widget cannot be seen.
Note that it is possible that the bug is more an error of UC Browser than of our widget, since other websites on UC Browser, desktop mode, aren't correctly loaded.
Thanks to @BenoitHaraldsson for his help !
Create a desktop or phone widget on major platforms:
It would be a good idea to develop an API, say with REST. But we need better servers to do this.
~/theochrone$ python3 -c "import dataswitcher; dataswitcher.xml_to_pkl('en_roman_martyrology');dataswitcher.xml_to_pkl('fr_roman_martyrology')"
adjutoria.py :: <module> :: 25 :: WARNING :: /data/images.pkl not found. Please run dataswitcher
dataswitcher.py :: <module> :: 259 :: WARNING ::
Hello ! I'm the logger. I'm pretty useless,
but I love to print weird things on the screen.
If you can read that, that means that the module
is completely loaded, which is a good thing.
If you want to silent me, please just type :
dataswitcher.logger.disabled = True
Happy pickling !
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/sergent/theochrone/dataswitcher.py", line 232, in xml_to_pkl
with enc.Preferences(path + 'theoXML/' + name + '.xml','r') as f:
File "/home/sergent/theochrone/enc.py", line 317, in __init__
io.FileIO.__init__(self, *args, **kwds)
FileNotFoundError: [Errno 2] No such file or directory: '/home/sergent/theochrone/theoXML/fr_roman_martyrology.xml'
When the widget is loaded in english, the feasts of today are in french. But if you navigate, it switch to english, and even the feasts of the day are now in english.
Probably due to a bad request from the main page.
Due to slowness of the server in HelioHost, we should transform dynamical pages into static ones.
To do that :
Link in the widget to the website does not take care of the options, PAL and proper.
English is unavailable on exporter.py.
It should import messages from messages.py, maybe by reusing these of feastprinter.
This css property cause problems in the main website, and probably in others : the widget does not appear at all.
In many objects, self._images are list, not strings.
Interface priority :
Languages priority :
A user asked to see the mass of the first friday of each month.
When sending an email with an invalid adress, no error message is returned to the sender, who can think that his mail has been sent.
Theochrone doesn't return an error if results were found but in Pro Aliquibus Locis when PAL was not requested.
Example :
theochrone -r secours chrétiens # no error returned
theochrone --pal -r secours chrétiens # return Notre Dame Secours des Chrétiens
Languages keys are now 'francais', 'english' and 'latina'.
We should instead use usual language codes, such as 'fr','en','la' in the whole code and data.
See here : https://www.w3schools.com/tags/ref_language_codes.asp
On January 19, the mass of feria is not mentioned in the calendar. Instead, we've got only the two memories: SS Martha and companions, and St Canute.
Probably a problem of degree.
Since GUI was built against PyQt, it could be a good idea to rewrite the code in C++. The size of the program would be a bit lighter.
This must be done for website and for desktop app.
Add two buttons, next and previous, like in the widget. These buttons must work with:
Clicking on a combobox in search a full week widget makes the research itself, before clicking on OK.
We should give a bonus to feasts matching with tokens if they belong to the proper requested, or if they belong to a proper which is above the proper requested.
Examples:
The bonus should be no more than 1%, else it could skew results.
The research bar is too large when changing language, up to 90%.
Found on MacOS et Linux.
About 50% of the loading time of the Theochrone is due to the slowness of Pickle files. We should transfer the whole data into a database.
This should also avoid duplicate keys, which are now many.
In the webapp, the home page (/kalendarium/accueil) should display the results of the day following the UTC. However, it seems to display these results with many hours late, even days sometimes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.