saving . . . saved oscad installation error has been deleted. oscad installation error has been hidden .
oscad installation error
Title
Question
Hello,

I attended your last workshop on OSCAD at IIT Bombay.

I installed OSCAD on my office PC successfully. But When I try to run it, I am getting the following error.

<font face="'courier new', monospace">Traceback (most recent call last):</font>
<font face="'courier new', monospace"> File "/usr/bin/oscad", line 10, in <module></font>
<font face="'courier new', monospace"> import ttk</font>
<font face="'courier new', monospace">ImportError: No module named ttk</font>
<font face="'courier new', monospace">
</font>
<font face="arial, helvetica, sans-serif">Can you help me on this issue?</font>
<font face="arial, helvetica, sans-serif">PC details:</font>
<font face="arial, helvetica, sans-serif">Python version = 2.6.6</font>
<font face="arial, helvetica, sans-serif">OS = Ubuntu 10.10</font>
<font face="arial, helvetica, sans-serif">
</font>
<font face="arial, helvetica, sans-serif">
</font>
<font face="arial, helvetica, sans-serif">Thanks and Regards.</font>

Oscad Introduction-to-Oscad 00-01 min 0-10 sec 21-04-14, 3:14 p.m. Ravindra Shende

Answers:

Hi,

Pls try reinistalling the packages, python-tk, python-imaging-tk.
for this type the linux command on terminal as, sudo apt-get install python-tk python-imaging-tk
(Or you can also install it using synaptic package manager.)

Pls let us know if you still get any issues?

Thanks,
Shambhu
21-04-14, 3:18 p.m. shambhu
I thought that this forum is only for questions about the 'Spoken Tutorials' and not for this type of questions. Therefore I mailed my question on that address.
21-04-14, 4:40 p.m. Ravindra Shende
@Ravindra, I have changed the question ownership to your username.
Please use the add comment <span style="line-height: 1.428571429;">feature to reply to a users answer so that he/she gets notified soon.</span>
22-04-14, 4:32 p.m. pai
I reinstalled 'python-tk' and 'python-imaging-tk' (as you suggested) but I am still getting the same error.
22-04-14, 10:05 p.m. Ravindra Shende

Login to add comment


Hi Ravindra,

There are few packages required before running installation script.
<span style="line-height: 1.428571429;">Did you run installation script again after installing python package ? </span>
<span style="line-height: 1.428571429;">If not please run it.</span>
21-04-14, 5:02 p.m. shambhu
I reinstalled oscad, it is still giving the same error. Should I have uninstalled it first and then installed it again?

The software 'KiCad', shows up in the applications menu and It opens successfully. But for oscad, even the desktop icon is not getting created by the installation script.
22-04-14, 4:36 p.m. Ravindra Shende

Login to add comment


Hi,

pls download the <a href="https://pypi.python.org/packages/source/p/pyttk/pyttk-0.3.2.tar.gz#md5=c80a3d306f4db8e5a1df16c359d4cf85" target="" title="file">file</a> , extract it and follow the README inside the folder. pls let us know if it is solves your problem
23-04-14, 12:40 a.m. shambhu
That worked. Oscad is now installed and running. Many Thanks.

I also followed the spoken-tutorial 'oscad-schematic-creation-e.ogv' and everything worked. However, while generating netlist from circuit-schematic the checkbox " Prefix references 'U' and 'IC' with 'X' " was not available. Is this serious?

Best Regards.
23-04-14, 5:45 p.m. Ravindra Shende

Login to add comment


Hi,

when you click on Generate netlist button on the schematic editor, does the pop-up with it's name as "netlist" is coming?
23-04-14, 10:56 p.m. shambhu
Yes. I am talking about that only. In the tab named 'Spice' of the "netlist" window, the checkbox " Prefix references 'U' and 'IC' with 'X' " is not there.
24-04-14, 10:53 a.m. Ravindra Shende
It is OK. The Spoken Tutorial says that the option Prefix references 'U' and 'IC' with 'X' should not be enabled. If it is already disabled then there is no problem. In the tutorial, it was enabled and we show how to "uncheck" it. You can proceed. No need to install Oscad again.
24-04-14, 6:12 p.m. rakhiwarriar

Login to add comment


Can you pls try running the installer once again?. May be some python modules might not have been installed.
24-04-14, 4:37 p.m. shambhu
What do you think about rakhiwarriar's comment above?
24-04-14, 7:30 p.m. Ravindra Shende
Yes, that way also is fine.
24-04-14, 9:01 p.m. shambhu
Okay then. Thanks once again. I am pleased with the kind of support you have provided. Hoping to get similar support for future issues (if any).
25-04-14, 10:58 a.m. Ravindra Shende

Login to add comment


Log-in to answer to this question.