Giter VIP home page Giter VIP logo

ac's People

Contributors

skriticos avatar tewe 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

Watchers

 avatar  avatar  avatar  avatar  avatar

ac's Issues

Treeview Progressbar

File "/home/necro/ac/src/AnimeCollector/gtkctl.py", line 222, in repopulate
int(float(current_episode) / float(max_episodes) * 100)
ValueError: invalid literal for float():

Preferences and about dialog throwing errors

Ok this is the second attempt to submit this, the first failed after clicking on a label >.<

I have just upgraded to the version available within git (git pulled a few minutes ago) and upon my first run, preferences would not appear complaining about WIDGET['preferences'].show_all() that NoneType does not have an attribute named show_all (line 70 in gtkctl.py)

So I exited and made sure it was configured properly (added my mal username and pw) and it magically went away, then I opened the about box and noticed that the close button was not working whatsoever, and no exception was being thrown either, I presume the event wasnt being caught. So I closed it via my window manager (alt-shift-c) and then when I tried opening it again, the same error but with 'aboutdialog' instead of preferences was thrown (line 65 within gtkctl.py). Same behavoir happened when you open preferences and then window manager kill it.

so:
A) the close button within the aboutdialog is not working
and
B) some close events are not being handled properly (WIDGETS[] objects are being deleted instead of hidden I presume)

Syncing fails with bad connectivity

If the connectivity is bad and the XML is only partially read, the syncing fails and an IncompletRead exception is triggered. The app stays active though and syncing again with a better connectivity works fine. No data corruption. A suggested solution would be to put this part of the syncing in a try block and trigger a repeat with some delay if it occurs. Here is a trace:

Traceback (most recent call last):
File "/home/seth/Source/animecollector/src/AnimeCollector/gtkctl.py", line 51, in on_button_sync_clicked
if MODCTL.anime_data.sync():
File "/home/seth/Source/animecollector/src/AnimeCollector/myanimelist.py", line 89, in sync
remote_db = _fetch_list(self.username)
File "/home/seth/Source/animecollector/src/AnimeCollector/myanimelist.py", line 171, in _fetch_list
fetch_response = urlopen(fetch_url).read()
File "/usr/lib/python2.5/socket.py", line 304, in read
data = self._sock.recv(rbufsize)
File "/usr/lib/python2.5/httplib.py", line 509, in read
return self._read_chunked(amt)
File "/usr/lib/python2.5/httplib.py", line 554, in _read_chunked
value += self._safe_read(amt)
File "/usr/lib/python2.5/httplib.py", line 604, in _safe_read
raise IncompleteRead(s)
httplib.IncompleteRead: ['tatus>2</series_status>\n\t\t\t\t<series_start>1998-10-02</series_s ...

MAL activity notifier

  • Notify about new comments on profile
  • Comments and / or forum post counts on selected clubs
  • Messages
  • Friends last online summary
  • Replies to watched topics

Optional feature, could be added as extra tab in the main section. Would notify about activity on the site and show links to it. Would update regularly.

AniDB integration

Counterpart to MAL list synchronization. Also MAL - AniDB import/export/sync.

.ico files wont display on some systems

I have to convert the .ico files to .png then edit ui.glade in order to get the icons to display.

PS:
This is evilsage4 that skriticos PM'd the other day in regards to this project. I'd love to help out :)

Database module redesign

Migrate the current data access to a separate module.

  • Migrate the database from simple pickle dumping to sqlight3 using an ORM mapper like sqlalchemy.
  • Provide transparent access methods to persistent data storage.
  • Testcase and documentation.

ConfigParser complaining about no section "startup" on launch

Upon launching animecollector I get this traceback spurted out at me, sadly I do not have any experience with configparser so for all I know it could be something very simple:
Traceback (most recent call last):
File "/usr/bin/animecollector.py", line 48, in
gui = gtkctl.guictl(cfg, mal_anime_data)
File "/usr/lib/python2.6/site-packages/AnimeCollector/gtkctl.py", line 455, in init
if cfg.getboolean('startup', 'sync'):
File "/usr/lib/python2.6/ConfigParser.py", line 349, in getboolean
v = self.get(section, option)
File "/usr/lib/python2.6/ConfigParser.py", line 531, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'startup'

Test and fix _filter_sync_changes

In the process of adapting the new sync process this function was created and needs a full-blown testing and debugging with manually crafted data samples from real world data.

Jungle Emperor (1989) crashes fetch and local database

Preliminary resolution: remove it from your anime list: on the mal site and delete your local database "rm $HOME/.animecollector/ac.dat". Then resync.

Error output:
Traceback (most recent call last):
File "/home/seth/Source/animecollector/src/AnimeCollector/gtkctl.py", line 51, in on_button_sync_clicked
if MODCTL.anime_data.sync():
File "/home/seth/Source/animecollector/src/AnimeCollector/myanimelist.py", line 89, in sync
remote_db = _fetch_list(self.username)
File "/home/seth/Source/animecollector/src/AnimeCollector/myanimelist.py", line 175, in _fetch_list
xmldata = parseString(fetch_response)
File "/usr/lib/python2.5/xml/dom/minidom.py", line 1925, in parseString
return expatbuilder.parseString(string)
File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 144626

Further investigation needed.

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.