Comments (4)
Hi @kristinalustig,
Yes, that's a good point, and something I am planning to address. Perhaps by adding a settings panel, where the user can review the credentials.
Here's a bit of an update of where I am at with this.
At the moment, if you uninstall using app cleaner, as described in the user manual when re-installing again it will prompt you to add the credentials again. As app cleaner does a clean uninstall. while just dragging the icon into the trash leaves all the system preferences on the computer (including the API credentials).
This is a bit of a hack, but to review credentials, they are stored inside
/Users/{{you username for the home folder}}/Library/Application Support/autoEdit2/wttskeys.json
To get to that file:
- click on the finder
- in the top bar click on
Go
- in the menu select
Go To Folder...
- Then paste this
/Users/{{you username for the home folder}}/Library/Application Support/autoEdit2
. replacing{{you username for the home folder}}
with the name of your computer's home folder. - there you'll find
wttskeys.json
- open with Sublime text or equivalent text editor to review. (make sure you don't open with text edit if in rich text mode).
However I'd normally just recommend to uninstall and try again. I am also working on adding some better Error handling to signal the issue when a user puts incorrect credentials and IBM watson returns an error.
from autoedit_2.
connected with this issue #4
from autoedit_2.
Added error handing when user puts wrong/incorrect credentials for IBM Watson stt. This will be updated in next release in version 1.0.6
For clarities purposes, and in case anyone has better suggestions on how to best implement this, Here is an overview of the implementation.
Modified these modules responsible for generating an saving the transcription
-
/autoEdit_v2/lib/interactive_transcription_generator/transcriber/ibm_stt_node/send_to_watson.js
-
/autoEdit_v2/lib/interactive_transcription_generator/transcriber/index.js
-
/autoEdit_v2/lib/interactive_transcription_generator/index.js
-
/autoEdit_v2/nwjs/db.js
-
and added
error
as first param of callback, which is set asnull
if successful. -
Then in transcription model added
error
attribute. To store error object to display the info to the user. -
used
model.set()
to update model with the error. -
also added
status: null
to the transcription to signify there has been an error.- This means that there are 3 options for
staus
:true
== sucesfully complete everything,false
== still being processed, corresponds to wheel spinning,null
== when error occurs with IBM API.
- This means that there are 3 options for
-
then in template view added an if else, and if it's
null
display error message.
with some extra text in yellow to allow with troubleshooting. -
also change bin to error triangle and remove disable.
-
but kept disable on in processed spinning icon for transcription.
More error handling coverage is needed across the app but this is a start.
from autoedit_2.
Closing for now. Going to deal with allowing user to edit/change credentials with a settings panel at a later stage as a separate issue.
from autoedit_2.
Related Issues (20)
- how can add speaker into my transcription with IBM HOT 3
- wich is size max for upload for watson HOT 2
- when will update this to version3?
- Show progress of transcription job where possible HOT 1
- Tweet a clip selection - new feature HOT 5
- No option to stop or delete after starting transcription HOT 1
- SRT/VTT Add option without Transcriptions HOT 1
- Stuck in "Demo Mode" with CEP Panel HOT 2
- Where does autoEdit save transcription/PaperEdit sessions? HOT 5
- Is there a web based version of this editor? HOT 6
- Update User Manual new IBM credentials info
- Update autoEdit to IBM credentials to `iam_apikey` and `url`
- Update autoEdit to new IBM credentials system
- Offline transcription on Linux and Windows HOT 8
- Min height for video element
- BBC News Labs adapter file name issue
- check links in product page www.autoEdit.io HOT 1
- .srt captions process endlessly (Windows 10) HOT 5
- i cant install in windows 10 HOT 1
- i want to contribute with translation to spanish UI HOT 1
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 autoedit_2.