Comments (5)
And when i try run with command line with pgn2gif -p 'MacKenzie.pgn' where is your example pgn, terminal sent me message: AttributeError: 'Game' object has no attribute 'main_line'
from pgn2gif.
This script do not have -p option or an object named Game or an attribute named main_line, so I think you are using someone else's script. Did you download script with pip? Because this repo has no pip entry. Or if you are using this one, please make sure that it is updated.
from pgn2gif.
Thank you for quick reply. You are right. I installed pgn2gif by PyCharm from other developer.
Now i installed your script.
Tell me please what mean positional argument? How can i add path to any directory if this is wrong:
pgn2gif -d 2 path '/home/desserter/PycharmProjects/Lichess/CarlsenGames/'
No such file or directory: 'path'
Thank you
from pgn2gif.
Hi again. Positional arguments mean you do not need to specify a flag (eg. pgn2gif game.pgn). As for your case, you can run pgn2gif /home/desserter/PycharmProjects/Lichess/CarlsenGames/*.pgn
from pgn2gif.
Hi, thank for response, yeah this problem is solved. Thanks.
from pgn2gif.
Related Issues (9)
- Got crash on specific pgn file HOT 2
- Contains atypical PGN parser, difficult to debug HOT 2
- Adding visual presentation of annotation
- Use argparse or other command line parser HOT 1
- Optimize gif size
- Error during execution HOT 1
- StopIteration error HOT 1
- Now working with Python 3.5.3 on Raspberry Pi HOT 3
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 pgn2gif.