Comments (9)
There are two different errors happening and none of then is about saving!
The first I'll have to think because I thought that was correct. The second
is because u don't have the shutil installed which is the third dependence.
Em 06/05/2014 00:38, "Daniel Pizetta" [email protected] escreveu:
It creates the file, but not save anything.
[image: screenshot 2014-05-06 00 29 23]https://cloud.githubusercontent.com/assets/5084939/2885788/163e997e-d4cf-11e3-8ac4-6d764afde9fb.png
In the screen it maintains the categories and sentences and appears the
file path and name. But if you click in Save, show another error:[image: screenshot 2014-05-06 00 33 59]https://cloud.githubusercontent.com/assets/5084939/2885805/df9fb4ba-d4cf-11e3-80bd-fa1b2f41c46a.png
If you close and try to reopen, it do nothing.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/44
.
from sci-corpus.
The first I'll have to think because I thought that was corrected*.
python-unipath is the package containing shutil module!
from sci-corpus.
Shutil is a python standart library not need install. Some information:
Warning Even the higher-level file copying functions (shutil.copy(), shutil.copy2()) cannot copy all file metadata. On POSIX platforms, this means that file owner and group are lost as well as ACLs. On Mac OS, the resource fork and other metadata are not used. This means that resources will be lost and file type and creator codes will not be correct. On Windows, file owners, ACLs and alternate data streams are not copied.
from sci-corpus.
Thus I'll have to think about other strategy.
On Tue, May 6, 2014 at 8:03 AM, Daniel Pizetta [email protected]:
Shutil is a python standart library not need install. Some information:
Warning Even the higher-level file copying functions (shutil.copy(),
shutil.copy2()) cannot copy all file metadata. On POSIX platforms, this
means that file owner and group are lost as well as ACLs. On Mac OS, the
resource fork and other metadata are not used. This means that resources
will be lost and file type and creator codes will not be correct. On
Windows, file owners, ACLs and alternate data streams are not copied.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-42288996
.
Tiago de Campos
----------------------------------------------------------
Skype: tiagocampo1
https://www.facebook.com/tiagodecampo
from sci-corpus.
Not working yet... did you test it?
pizetta:~/workspace/sci-corpus/sci_corpus$ python sci_corpus_main.py
Error: /home/pizetta/workspace/sci-corpus/examples/teste - No such file or directory.
Error: /home/pizetta/workspace/sci-corpus/examples/teste.db - No such file or directory.
from sci-corpus.
It's working. When you save a file, the program trys to remove the file and
then save. If the file doens exist, it will raise this error, but it is
expected!
On Tue, May 6, 2014 at 2:43 PM, Daniel Pizetta [email protected]:
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/44#event-118345289
.
Tiago de Campos
----------------------------------------------------------
Skype: tiagocampo1
https://www.facebook.com/tiagodecampo
from sci-corpus.
Why is expected? HAUhaua you need to treat it if was expected, not raise an
error. Raise you use just when you dont expect.
On Tue, May 6, 2014 at 3:26 PM, tiagocampo [email protected] wrote:
It's working. When you save a file, the program trys to remove the file
and
then save. If the file doens exist, it will raise this error, but it is
expected!On Tue, May 6, 2014 at 2:43 PM, Daniel Pizetta [email protected]:
Reply to this email directly or view it on GitHub<
https://github.com/zericardo182/sci-corpus/issues/44#event-118345289>
.Tiago de Campos
Skype: tiagocampo1
https://www.facebook.com/tiagodecampoReply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-42340157
.
from sci-corpus.
I want to know if you still have the problem when you try to save or open and the program says that the table already exists.
And the shutil problem? did you change the import name? cause I dont!
from sci-corpus.
- I correct the problem of shutil. On Linux ii was working, but on windows
not. I will test again. - You need to treat the problem of Error: - No such file or directory.
when save at fist time, just put an if os.path.exists(path) before try to
remove, because it causes a break when it raises an error and not continue
the actions after the raise! - The table problem was corrected;
On Tue, May 6, 2014 at 3:33 PM, tiagocampo [email protected] wrote:
I want to know if you still have the problem when you try to save or open
and the program says that the table already exists.
And the shutil problem? did you change the import name? cause I dont!Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-42340987
.
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.