Giter Site home page Giter Site logo

aarddict / desktop Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 7.0 10.9 MB

Aard Dictionary for desktop computers, notebooks, netbooks and Nokia Internet Tablets

Home Page: http://aarddict.org

License: GNU General Public License v3.0

Shell 4.55% JavaScript 0.81% Python 94.64%

desktop's People

Contributors

itkach avatar sam-tygier 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

desktop's Issues

aard-tools: Compiler option from Babylon (.BGL) and/or Compressed StarDict (.dict.dz, .ifo) dictionaries with Aard Tools?

I would use the dictionary arrdict in an eBook reader with CoolReader 3, I've compiled the wiki and Spanish Wikt with Aard-tools.
I have several encyclopedic dictionaries for Babylon PC program but I can not compile with Aard-tools. With stardict-editor I can convert to Compressed StarDict: res/, .ifo, .dict.dz, .idx, .syn.
Can compile Babylon dictionaries and/or Compressed StarDict dictionaries?

thanks

Difficulty in Scrolling vs. Selecting Text (N900)

(Originally reported by anonymous on Sep 19, 2010 at BitBucket)

Is there any way to separate the scrolling and selecting text functions? It is annoying that I want to scroll through the articles but the app keeps selecting the whole text, making it impossible to scroll (single click does not remove the selected part), and also impossible to read (due to the highlighted text selected).

can't set dictionary links manually

(Originally reported by anonymous on Aug 24, 2010 at BitBucket)

It searches dictionary links automatically almost everytime I start it and it takes nearly a minute, hope I can manually locate the dictionary files. Google search box pops up the first time I type in the search box after the dictionary files are found.

aardc ends earlier then 100%

I executed aardc

aardc wiki cswiki-latest-pages-articles.cdb --siteinfo cs.json --timeout=5 --show-legend

for convert czech wiki from 27.12.2012.
There are maybe some deprecated functions:

/home/jules/Programy/programy/Linux/aarddict/env-aard/lib/python2.7/site-packages/aardtools/mwaardhtmlwriter.py:356: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
not (element.getchildren() or element.text or element.tail) and parent):

and some exceptions

Exception RuntimeError: RuntimeError('cannot join current thread',) in <Finalize object, dead> ignored

Sometimes aardc ends with 80% sometimes more then 90%.

/home/jules/Programy/programy/Linux/aarddict/env-aard/lib/python2.7/site-packages/aardtools/mwaardhtmlwriter.py:356: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
not (element.getchildren() or element.text or element.tail) and parent):
Exception RuntimeError: RuntimeError('cannot join current thread',) in <Finalize object, dead> ignored
Exception RuntimeError: RuntimeError('cannot join current thread',) in <Finalize object, dead> ignored
96.11% t: 9:26:05 avg: 11.6/s a: 240319 r: 152982 s: 0 e: 0 to: 36 f: 0
Compiling .aar files
Creating volume 1
Wrote volume 1
cswiki-latest-pages-articles.aar.1 sha1: 541ffe4376ab1bc1e67d59a6d902bb1946be3fd3
Created cswiki-latest-pages-articles.aar
Compilation took 9:59:52

Where is problem?

Recurring requests for network connection in offline mode on N900

While the N900 is offline (disabled or inaccessible network connection) there are Maemo requesters coming with question about establishing Internet connection.

These requests come many times while browsing found entries. As such makes reading offline wikipedia entries pretty annoying...

Aarddict loses position when returning in articles

When returning to a previous article in wikipedia Aarddict loses position. This is very annoying when reading long articles and wanting to read a link somewhere. Upon turning back one has to search one's last position one's again.

Can't install on N900 with PR 1.2

(Originally reported by anonymous on May 26, 2010 at BitBucket)

The repository is missing a fremantle1-2 folder, so trying to install with the new firmware comes up with a 404 error.

One-Click Install on OS2008 Broken

Using the Install file off of arddict homepage, after adding arddict repository and extras-devel, getting error - unable to install aarddict Application Package Not Found

Broken Install off of Maemo Downloads - OS2008

Memory leak and slow down due to text buffer tag table reuse

(Originally reported by itkach on Feb 18, 2009 at BitBucket)

Same instance of tag table is used for all article text buffers. As a result each time a text buffer is created a large number of new tags is added to the tag table, these tags are never removed. The tag table grows in memory and significantly slows down gtk.Widget.destroy(), so relatively soon clearing articles when starting new lookup becomes very slow and makes UI unresponsive.

Version affected: 0.7.1

Installation does not honour --prefix

With 0.9.3, the following command raises an error (after adding the prefix directory to PYTHONPATH):

$ python setup.py install --prefix=/tmp/aard

...
running install_data
creating /nix/store/a1x98y7y83j4x4d4pk21w9m4f60dgs9r-python-2.7.5/share/icons
error: could not create '/nix/store/a1x98y7y83j4x4d4pk21w9m4f60dgs9r-python-2.7.5/share/icons': Permission denied

The /nix/store/... path is where my python installation resides, so installation does not seem to follow the given --prefix. I also tried to add the parameter
--install-data=/tmp/aard
with the same outcome.

The problem occurs when trying to package aarddict for the GNU Guix distribution, in which each package is installed into its own directory.

Andreas

Need to be able to customize link colors

(Originally reported by itkach on Feb 11, 2009 at BitBucket)

Some people have trouble discerning internal link text because of its color (currently brown4). Need ability to customize it.

aarddict's function invoked through command line are broken

Invoking aarddict on the command line with --verify, --identify or --metadata options results in errors:

$ aarddict -v ~/Downloads/wordnet-3.0-1.html.aar 
Traceback (most recent call last):
  File "/home/itkach/env-aard/bin/aarddict", line 9, in <module>
    load_entry_point('aarddict==0.9.1.dev', 'gui_scripts', 'aarddict')()
  File "/home/itkach/env-aard/aarddict/aarddict/__init__.py", line 97, in main
    d = dictionary.Dictionary(file_name)
AttributeError: 'module' object has no attribute 'Dictionary'

$ aarddict -i ~/Downloads/wordnet-3.0-1.html.aar 
/home/itkach/Downloads/wordnet-3.0-1.html.aar:
Traceback (most recent call last):
  File "/home/itkach/env-aard/bin/aarddict", line 9, in <module>
    load_entry_point('aarddict==0.9.1.dev', 'gui_scripts', 'aarddict')()
  File "/home/itkach/env-aard/aarddict/aarddict/__init__.py", line 80, in main
    header = dictionary.Header(f)
AttributeError: 'module' object has no attribute 'Header'

$ aarddict -m ~/Downloads/wordnet-3.0-1.html.aar 
Traceback (most recent call last):
  File "/home/itkach/env-aard/bin/aarddict", line 9, in <module>
    load_entry_point('aarddict==0.9.1.dev', 'gui_scripts', 'aarddict')()
  File "/home/itkach/env-aard/aarddict/aarddict/__init__.py", line 119, in main
    d = dictionary.Dictionary(file_name)
AttributeError: 'module' object has no attribute 'Dictionary'

problem (and patch) on read only .aar files

hi!

i installed some .aar files in /var/spool/aarddict/ with owner nobody and world readable.

aarddict would not read them and give a "permission denied" error.

the problem is in the init function in the Volume class, file dictionary.py, line 416 ( on my version ):

   f = open(self.file_name, 'r+b')

the 'r+b' opens the file in "update mode", which means read and write.
is the program ever writing to the aar files?

after a change to

   f = open(self.file_name, 'rb')

the files are loading without problems and all logged-in users (for now only me...) can use the program without any problems and without wasting lots of space.

which the suitable for me

i haven't much more space in my hard disk to download all Wikipedia dictionary volumes so i want only one volume that have the content which related to my study field which is 'computer science engineering' .

you can consider it as suggestion : you can give a description (categorize) for any multi-volumed dictionary
example : volume-i Wikipedia's contents are science, history, politic ,sport .,.. etc
,.

problem when compiling wiktionary

Hello
OS: Ubuntu 12.04 i386
After compiling tr.wikrionary.org there are no word definitions in articles, only information like language, tense, etc.
Example:
Original article:

ffordd
Galce
Ad
Anlamlar
[1] yol

My case (from aarddict):

ffordd
Galce
Ad

as you see, there is no translation
I've followed instructions here http://aarddict.org/aardtools/doc/aardtools.html, except that

  1. installed libicu48 instead of libicu38
  2. had to give executable permission to env-aard/bin/activate
  3. simplewiki-20101026-pages-articles.cdb is not a file, but a folder
  4. had lots of these messages during aardc wiki ... execution:
.../env-aard/local/lib/python2.7/site-packages/aardtools/mwaardhtmlwriter.py:356: FutureWarning: The behavior of this method will change in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
  not (element.getchildren() or element.text or element.tail) and parent):

thank you

Aard dict cannot add dictionary from micro sd

hello there,
i have galaxy s2 and I have bought a new sd only for aard dictionary in order to copy the whole wiki. but the problem is that aard dic. cannot add dictionry from micro sd, however it does when copying the files to the internal memory of the mobile. PLz help me quickly! i'm lost

Select default Font

(Originally reported by anonymous on Apr 04, 2010 at BitBucket)

It would be nice to select the default font, as well as the link colors. The same place, the appearance dialog, would be a great place to put it.

Text set to black, but background left at default == black on black

On my N800 tablet, the styles are set so that text is white and the background is black. Unfortunately Aard Dictionary appears to force text to be black, while leaving the background colour as the default. This means that all I see is a handful of blue links in a sea of blackness, perhaps with a "Redirected from X" visible at the top (since that has a set background colour).

At a minimum Aard Dictionary should either force both text and background colours to a particular colour or leave them both at the system defaults, because otherwise it risks not being readable. Being able to set the background and text colours in the same way that you can standard colours would also be neat, given that others could be set through HTML styles in the page itself.

Implement article section links

(Originally reported by itkach on Feb 27, 2009 at BitBucket)

Internal links like #section or title#section are not parsed and lookup of "title#section" word fails. Need to recognize # in links, do "title" lookup and scroll to "section".

Incorrect Icon Line

The icon line in the .dekstop file reads Icon=aarddict.png. Including the extension actually breaks freedesktop guidelines and style consistency. The way icon lookups work, Icon=aarddict is sufficient.

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.