Comments (8)
Hi,
Thanks for the feedback. I will look into this issue.
I have updated the script file to take into account unrelated changes in the library. Would you like to download it again and run it directly with Python? Do you get the same error? with both 3 and 2?
I do not have easy access to a WIndows PC, I will be looking into this issue but it may take a bit.
Thanks.
Cheers,
GV
from ahkab.
Hi GV,
I download the script file from below link, and run it again.But I got same error message .
https://raw.githubusercontent.com/ahkab/ahkab/master/doc/misc/script.py
I also noted another error message show: " Error: The system can not find the path specified "
if i run the script in command line. Is this the same situation mentioned in Issue#30 ?
(#30)
You mentioned that many OS's delete the temporary files when they are closed.
if so, could you show me how to specify an output file in python code ?
Anthony
from ahkab.
Hi,
Did you try to run the latest master? I have merged a commit
specifically for your case, I'd like to know if it makes things
better.
The error message you refer to is a harmless error that happens on
windows when the program checks for matplotlib. you can safely ignore
that.
Cheers,
GV
On Mon, Jun 22, 2015 at 7:46 PM, chinghua0731 [email protected] wrote:
Hi GV,
I download the script file from below link, and run it again.But I got same
error message .
https://raw.githubusercontent.com/ahkab/ahkab/master/doc/misc/script.pyI also noted another error message show: " Error: The system can not find
the path specified "
if i run the script in command line. Is this the same situation mentioned in
Issue#30 ?
(#30)
You mentioned that many OS's delete the temporary files when they are
closed.if so, could you show me how to specify an output file in python code ?
Anthony
—
Reply to this email directly or view it on GitHub.
from ahkab.
Hi GV,
Yes , i tried the latest master but it doesn't make anything change. I still got the same error message.
I take a look into the code today and have some finding. I found the define functions of _get_elements_op() in results.py (line 339) return some character that can't be identified in windows . But not a problem in Mac .
from ahkab.
Hi,
Thanks for your update!
I think it's the Ohm and flux (*edit) unit symbols. I will be trying to use the same encoding
as you do and see if i can reproduce that.
Unicode handling sometimes is complicated.
Cheers
GV
On 18:13, Tue, Jun 23, 2015 chinghua0731 [email protected] wrote:
Hi GV,
Yes , i tried the latest master but it doesn't make anything change. I
still got the same error message.I take a look into the code today and have some finding. I found the
define functions of _get_elements_op() in results.py (line 339) return some
character that can't be identified in windows . But not a problem in Mac .In Windows
[image: image]
https://cloud.githubusercontent.com/assets/8695699/8310724/6ec64b84-1a04-11e5-892e-cb5e23c9c705.pngIn Mac
[image: mac]
https://cloud.githubusercontent.com/assets/8695699/8310920/9e70c322-1a05-11e5-847f-11eb55c16171.png—
Reply to this email directly or view it on GitHub
#31 (comment).
from ahkab.
Hi Anthony,
Thanks for your detailed reply. I think I understood what goes on.
If I am right, Python3 does not open files as utf-8 on systems where utf-8 is not the standard. Now, starting with 69b1063 we enforce that files are always opened as utf-8.
That should fix your problem, I believe. Can you please give the latest master a try and let me know?
If that works I'll shortly put out a bugfix release.
Thanks!
Cheers, GV
from ahkab.
Hi GV,
Good news, it works!! I could run the script normally on Windows.
I am glad to have such a great package to run the circuit simulation in python.
It really help me a lot : ) and thanks for your effort on this issue.
Anthony
from ahkab.
Hi Anthony,
I am pleased to hear the good news. Thanks for your report, and for the nice words. I am pleased it is useful.
Cheers,
GV
from ahkab.
Related Issues (20)
- Issue with ankab HOT 5
- Tran example : 'op_solution' object has no attribute 'asmatrix' HOT 5
- voltage pulse source for a MOS inverter + questions HOT 4
- Zener Diode HOT 2
- Subcircuit call problem HOT 1
- RL circuit vs. LR circuit: different output HOT 5
- Plot circuit HOT 1
- Voltage-Controlled Switch Issue HOT 1
- Issue with a switch
- Compute on GPU using TensorFlow
- Verification RC cutoff frequency HOT 1
- error in AC and TRAN tutorial
- AttributeError: module 'pylab' has no attribute 'hold' HOT 3
- ImportError: No module named matplotlib.pyplot HOT 1
- Help : Finding current through a resistor
- Cant define diode HOT 1
- Help : Modeling a circuit with parallel components HOT 2
- Locale appears not set HOT 2
- How to use User definement device with non-linear property
- print_symbolic_results / print_symbolic_transfer_functions: sort key bug
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 ahkab.