onbjerg / emel Goto Github PK
View Code? Open in Web Editor NEW:full_moon_with_face:
:full_moon_with_face:
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.
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
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
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)')
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.