Closed dpizetta closed 10 years ago
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" notifications@github.com 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/zericardo182/sci-corpus/issues/44 .
The first I'll have to think because I thought that was corrected*.
python-unipath is the package containing shutil module!
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.
Thus I'll have to think about other strategy.
On Tue, May 6, 2014 at 8:03 AM, Daniel Pizetta notifications@github.comwrote:
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/zericardo182/sci-corpus/issues/44#issuecomment-42288996 .
Tiago de Campos
----------------------------------------------------------
Skype: tiagocampo1
https://www.facebook.com/tiagodecampo
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.
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 notifications@github.comwrote:
Reopened #44 https://github.com/zericardo182/sci-corpus/issues/44.
— Reply to this email directly or view it on GitHubhttps://github.com/zericardo182/sci-corpus/issues/44#event-118345289 .
Tiago de Campos
----------------------------------------------------------
Skype: tiagocampo1
https://www.facebook.com/tiagodecampo
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 notifications@github.com 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 notifications@github.comwrote:
Reopened #44 https://github.com/zericardo182/sci-corpus/issues/44.
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/tiagodecampo
Reply to this email directly or view it on GitHubhttps://github.com/zericardo182/sci-corpus/issues/44#issuecomment-42340157 .
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!
On Tue, May 6, 2014 at 3:33 PM, tiagocampo notifications@github.com 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/zericardo182/sci-corpus/issues/44#issuecomment-42340987 .
It creates the file, but not save anything.
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:
If you close and try to reopen, it do nothing.