Comments (9)
What is the issue? Be more specific
from sci-corpus.
Certificate that Import and Export are working and treat main errors to not crash the program. Or basically, say to user what happens.
from sci-corpus.
Hmmm, then this is an enhancement of the actual functionality
from sci-corpus.
You didnt implement the export function, so this is not closed.
from sci-corpus.
hhahaha, I forgot about it!
from sci-corpus.
Export is not working:
Traceback (most recent call last):
File "F:\Downloads\sci-corpus-master (6)\sci-corpus-master\sci_corpus\sci_corpus_main.py", line 853, in exportFile
self.container.export_(path)
File "F:\Downloads\sci-corpus-master (6)\sci-corpus-master\sci_corpus\container.py", line 481, in export_
tree.write(path, pretty_print=True, xml_declaration=True)
TypeError: write() got an unexpected keyword argument 'pretty_print'
from sci-corpus.
Here works fine
Em 04/05/2014 11:57, "Daniel Pizetta" [email protected] escreveu:
Export is not working:
Traceback (most recent call last):
File "F:\Downloads\sci-corpus-master
(6)\sci-corpus-master\sci_corpus\sci_corpus_main.py", line 853, in
exportFile
self.container.export_(path)
File "F:\Downloads\sci-corpus-master
(6)\sci-corpus-master\sci_corpus\container.py", line 481, in export_
tree.write(path, pretty_print=True, xml_declaration=True)
TypeError: write() got an unexpected keyword argument 'pretty_print'—
Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-42134802
.
from sci-corpus.
Pretty_print is an argument to print the levels of a XML file with identation. Its not necessary, although if a human decides to read the xml file it will be much easer.
This option is part of the lmxl.ElementTree packge and not of xml.ElementTree. We have to decide what packge we want to use. I vote for lxml, as our program depends on other 3 non-standard packages, add one more will cause no harm.
from sci-corpus.
For me its ok :)
On Mon, May 5, 2014 at 4:14 PM, tiagocampo [email protected] wrote:
Pretty_print is an argument to print the levels of a XML file with
identation. Its not necessary, although if a human decides to read the xml
file it will be much easer.This option is part of the lmxl.ElementTree packge and not of
xml.ElementTree. We have to decide what packge we want to use. I vote for
lxml, as our program depends on other 3 non-standard packages, add one more
will cause no harm.Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-42226266
.
from sci-corpus.
Related Issues (20)
- Better collor for selected categories
- Optional auto clear for reference field HOT 2
- Tools for text edit
- Shortcuts for actions
- Auto formatting text inside text edit
- Save as don't change the current file HOT 2
- Close and save, it rewrite the last path HOT 4
- Disable save after save it
- Auto save option
- Show error messages in log view and pop up if critical HOT 5
- Total number of section/component/strategy/sentence
- Printing empty categories in PDF export HOT 8
- Adjust sentence - dim and replace modes HOT 17
- Workspace dialog when first open software
- Internal doc and Wiki
- New fields for preferences and pdf - auto clear sentence/reference HOT 1
- Choose markers automatically HOT 2
- Two modes: writing and insertion
- Select categories to show in writing mode
- Keep the highlighted sentences on top
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 sci-corpus.