Comments (9)
I can probably help out. I currently have a windows machine. It will only allow me start this project, because I plan switch to a non-windows system soon-ish. So after that, someone has to maintain it. Maintenance shouldn't be very difficult for a non-coder. I can probably set up a manual.
from mastodon-archive.
from mastodon-archive.
sorry,my coding ability is poor.
but you can try vmware or virtualbox.
What you can do is run Virtualbox or similar application to run the OS virtually and, create executable in that virtual os and export it later. Also, Wine works as well! (Though, I didn’t try it myself)
thank you much more.
from mastodon-archive.
from mastodon-archive.
thanks all :)
from mastodon-archive.
After two hours of trying, this is my conclusion:
- pyinstaller doesn't work: it can not find the main module, therefore doesn't include it in the final .exe.
- py2exe (used by youtube-dl) only works on python 3.4. I have python 3.7 installed. I could of course install 3.4 side-by-side, but p2exe isn't updated in the last 5 years and I don't see why I would install such old software.
I will probably try again in about a few days, but as for now, I wasted to many hours on this.
Sorry ;)
Have a nice weekend.
from mastodon-archive.
from mastodon-archive.
@stroop566 If you want to try it yourself, here is a short guide:
- Install Python 3.4 on your system and make sure it is the only python3 version you have installed (e.g. remove other python3 installations such as Python3.7).
- Make a clone of this repository; or if you don't know how to do that: just download the zip: https://github.com/kensanata/mastodon-backup/archive/master.zip
- Start a command prompt or a powershell window as administrator.
- Make sure you are in the downloaded folder.
- (In Windows 10 you can easily open a cmd/powershell in the current folder by using the file menu on the ribbon of the explorer.)
- Within the downloaded folder, run
pip install -e .
(don't forget the dot at the end). - (At this point you should be able to use mastodon-archive yourself.)
- Type
pip install py2exe
. - Run
py2exe
; this should create a standalone .exe you can give to your friends or use yourself.
I haven't tested the last two points of this procedure myself; feel free to let me know if it does (not) work.
from mastodon-archive.
@BartG95 thank you! but get some errors.
D:\mastodon-backup\master\mastodon-backup-master>python --version
Python 3.7.2
D:\mastodon-backup\master\mastodon-backup-master>python setup.py py2exe
Traceback (most recent call last):
File "setup.py", line 8, in <module>
long_description=long_description,
NameError: name 'long_description' is not defined
use PyInstaller
D:\mastodon-backup\master\mastodon-backup-master>pyinstaller --version
3.4
Successfully get setup.exe ,but
D:\mastodon-backup\master\mastodon-backup-master\output\setup>setup.exe archive [email protected]
Traceback (most recent call last):
File "setup.py", line 3, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
[8688] Failed to execute script setup
paste 'README.md' in the folder,and run:
D:\mastodon-backup\master\mastodon-backup-master\output\setup>setup archive [email protected]
D:\mastodon-backup\master\mastodon-backup-master\output\setup\distutils\dist.py:274: UserWarning: Unknown distribution option: 'entry_points'
D:\mastodon-backup\master\mastodon-backup-master\output\setup\distutils\dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
usage: setup [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup --help [cmd1 cmd2 ...]
or: setup --help-commands
or: setup cmd --help
error: invalid command 'archive'
then I use auto-py-to-exe, and also successfully get setup.exe,but get the same errors as pyinstaller.
from mastodon-archive.
Related Issues (20)
- HTML export to use cropped, centered images HOT 4
- HTML Export posts videos with a <img> tag HOT 6
- HTML Export pages should lazy load videos and images to be usable as static sites HOT 14
- Add pagination numbers in html exports
- TypeError: 'NoneType' object is not subscriptable HOT 8
- Backup other account's public posts HOT 1
- Don't burst the API rate limiting HOT 1
- Archiving context HOT 3
- No main.py created in windows?? HOT 7
- Install "the Debian way" HOT 8
- getting mastodon-backup packaged (for Linux) HOT 19
- Generate tarball compatible to Mastodon's export HOT 5
- Specifying bookmarks or statuses with text search resets other specified collections HOT 2
- Feature: Backup / Export Filters HOT 8
- incremental runs of 'mastodon-archive' giving 404s on deleted mentions/replies on STDERR HOT 7
- Compress JSON HOT 8
- Consider making --with-followers and --with-following on by default? HOT 3
- Improve followers feature : consider more interactions HOT 4
- Report fails if no bookmark in archive (old archive) HOT 4
- Version check fails on Pleroma instance HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mastodon-archive.