Git Product home page Git Product logo

emel's People

Contributors

deleetdk avatar

Watchers

 avatar  avatar

emel's Issues

Folder structure in .zip

The current implementation results in root folders being included in the path in the .zip file. For instance:

Y:\Backup hjemmeside\Journal\2015-11-09_05_43\Backup hjemmeside\Journal\2015-11-09_05_43

This should be instead:

Y:\Backup hjemmeside\Journal\2015-11-09_05_43

The root folders are empty tho, so isn't including the files in the folders.

UnicodeEncodeError: 'charmap' codec can't encode characters in position 72-73: c haracter maps to <undefined>

Traceback:

Downloading ./public_html/arthurjensen/wp-content/uploads/2014/06/Black-White-Bi
as-in-Cultural-and-Noncultural-Test-Items-1987-by-Arthur-Robert-Jensen-Frank-C.-
J.-McGurk.pdf to Y:\Backup hjemmeside\Emilkirkegaard.dk/2015-11-09_08_43/./publi
c_html/arthurjensen/wp-content/uploads/2014/06/Black-White-Bias-in-Cultural-and-
Noncultural-Test-Items-1987-by-Arthur-Robert-Jensen-Frank-C.-J.-McGurk.pdf
Traceback (most recent call last):
File "backup.py", line 164, in
print('Downloading ' + src + ' to ' + dest)
File "C:\Anaconda\lib\encodings\cp850.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode characters in position 72-73: c
haracter maps to

NameError: name 'FTPIOError' is not defined

System info: Windows 8.1, 64-bit. Python 2.7.7.

Traceback (most recent call last):
  File "backup.py", line 168, in <module>
    except FTPIOError:
NameError: name 'FTPIOError' is not defined

mySQL download fails

This bug didn't happen before.

Getting table stuff1cache_menu
Getting table rows for stuff1cache_menu
Got 641451 rows.
Getting table stuff1cache_page
Traceback (most recent call last):
  File "backup.py", line 101, in <module>
    cur.execute('SHOW CREATE TABLE `' + str(table) + '`;')
  File "C:\Anaconda\lib\site-packages\pymysql\cursors.py", line 146, in execute
    result = self._query(query)
  File "C:\Anaconda\lib\site-packages\pymysql\cursors.py", line 296, in _query
    conn.query(q)
  File "C:\Anaconda\lib\site-packages\pymysql\connections.py", line 781, in quer
y
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  File "C:\Anaconda\lib\site-packages\pymysql\connections.py", line 942, in _rea
d_query_result
    result.read()
  File "C:\Anaconda\lib\site-packages\pymysql\connections.py", line 1138, in rea
d
    first_packet = self.connection._read_packet()
  File "C:\Anaconda\lib\site-packages\pymysql\connections.py", line 895, in _rea
d_packet
    packet_header = self._read_bytes(4)
  File "C:\Anaconda\lib\site-packages\pymysql\connections.py", line 919, in _rea
d_bytes
    "Lost connection to MySQL server during query (%s)" % (e,))
pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during que
ry ([Errno 10060] A connection attempt failed because the connected party did no
t properly respond after a period of time, or established connection failed beca
use connected host has failed to respond)')

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.