Code Monkey home page Code Monkey logo

icemelt's People

Contributors

morketh avatar

Watchers

 avatar  avatar  avatar

icemelt's Issues

more sql errors

./IceMelt.py:155: Warning: Data truncated for column 'guild' at row 1 
  cursor.execute(SQL,sqldata)
./IceMelt.py:155: Warning: Data truncated for column 'realm' at row 1
cursor.execute(SQL,sqldata)

not exactly sure what this means just yet

Rebuild IceMelt.py

6212ea6
This commit has some notes in it. Rebuilding IceMelt.py needs to happen now that the DB structure has been changed a lot a simple bash script for data collection is not going to be comprehensive enough for the data entry for guild additions to work in a smaller database these few scripts should be reworked into python.

Loop Crashes

Loop Index: 3464
Loop Total: 2059686

After after loops through the script crashes.

Cold-Air-funnel.py missing LAST toon in Guild

so apparently looking at a guild roster Ive been missing exactly 1 toon per roster. should be a simple fix but you never know lol the rest of the project has been not exactly flawless

Multiple guild records

well so far most of the errors are fixed. however now it seems there is multiple records that are being inserted into the guilds table anywhere between 2 and 40 guilds are being inserted per realm
as we know each realm group can only have 1 guild
rexxar/misha is a realm group

guild look ups broke

i believe the URL needs a new field separator in order to look up guilds from different Regions

UPDATE sql statments

At currant point the scripts all use INSERT statements how ever this means we need to clean up the database after words due to duplicate entries we should be using some form of UPDATE WHERE clause in order to update the data in stead of pushing new data into the DB

Configuration settings

Traceback (most recent call last):
  File "./Cold-air-funnel.py", line 29, in <module>
    from ice import config
  File "/opt/icemelt/ice/config.py", line 38, in <module>
    _IN_MYSQL_HOST_ = ConfigSectionMap("IceMeltDB")['host']
  File "/opt/icemelt/ice/config.py", line 26, in ConfigSectionMap
    options = ice.options(section)
  File "/usr/lib/python2.7/ConfigParser.py", line 279, in options
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'IceMeltDB'

Faction IDS messed up

"index" "guild" "region_id" "realm" "status" "fid"
"2" "Hallowed Moon" "1" "garrosh" "200" "3"
um last time i checked there were only TWO factions
the code in question should only be setting a 1 or a 2
1 = Alliance
2 = Horde
so whats with the 3........?

IceMelt SQL error

Traceback (most recent call last):                                                                                                      ]   0% ETA:  --:--:--
  File "./IceMelt.py", line 152, in <module>
    cursor.execute(SQL,sqldata)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
_mysql_exceptions.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '), 'aegwynn')' at line 1")

so this needs to be fixed before IceMelt will work

Updating DataBase to use MaNGOS-three database

After getting several hundred lines of code into the project and building the database from scratch i figured i might just be able to tweak my program to use the MaNGOS database for data collection seeing as this is the type of data we are going to be scrapping from blizzards webpage

can we research the possibility of using a list generator?

I've been doing a little bit of preliminary research pertaining to the incomplete data scrape and I've come to a conclusion:

There is only one method to attain 100% result set. World list generation.
Theoretically using a program like crunch for example we can build an exhaustive list of names based on KNOWN name factors for toon names min value = 3 Max value = 12 all alpha based names (I.E. no spaces numbers or special chars)
RESULT Set:

1286229649468814960 bytes
1226644181698 MB
1197894708 GB
1169819 TB
1142 PB
number of lines: 99246114928148760

with today's storage capacity this is out of the question.
BUT if that list was generated on the fly (basic Time-Memory trade off) we could grab each item in the list as it was generated we could ask for a result from each realm PER item if a result was a 404 we wouldn't care about it. If it was a 200 we store the result in the Char table with the basic URL data so we can then pull results for population statistics.

Index out of bounds

Total Guilds not Processed: 3494 out of 4159
Traceback (most recent call last):                                                                                                      ]   0% ETA:  --:--:--
  File "./Cold-air-funnel.py", line 111, in <module>
    bar.update(index)
  File "/usr/lib/python2.6/site-packages/progressbar-2.3-py2.6.egg/progressbar/__init__.py", line 271, in update
    raise ValueError('Value out of range')
ValueError: Value out of range

The results in the guild table is higher then the Max Count of the progress bar

install script broken

ERROR 1045 (28000): Access denied for user 'icemelt'@'localhost' (using password: YES)

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.