huzaifa2k9 / diy-layout-creator

Automatically exported from code.google.com/p/diy-layout-creator
0 stars 0 forks source link

diylc 3.23 stopped working on W7 #184

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. clicking diylc.exe
2.
3.

What is the expected output? What do you see instead?
The process does not start... looks like the java is running... but program 
does not work.

Whenever possible, please attach the latest log file. It will
provide valuable information when trying to reproduce and locate the
problem. Log files can be found in the log directory under the main
application directory and are marked with date and time.
The complete log is as follow (after more than 15 min waiting)
16:56:19,097 DEBUG [main] DIYLCStarter - Java version: 1.7.0_09-b05 by Oracle 
Corporation
begin
16:56:19,099 DEBUG [main] DIYLCStarter - OS: Windows 7 6.1
16:56:19,099  INFO [main] DIYLCStarter - Starting DIYLC with working directory 
C:\Program Files\DIY Layout Creator\diylc-3.23.0
16:56:19,725  INFO [main] ConfigurationManager - Initializing configuration

end-

Attached you will see the log and also the task manager, where the javaw.exe 
application is running...(start to run along with the diylc.exe....)
Also I've attached the layout that I created when I used it.

What version of the product are you using? On what operating system?

diylc 3.23
windows 7
java 1.7 (also tested with 1.6)

Please provide any additional information below.

Well.. let me tell you guys that the program is great!  Is a pain that don't 
work for me...

I've downloaded the program yesterday. At first time, the proces does not work 
(the same as today)
After read some issues on this page, I've moved the folder to the ProgramFiles 
folder.. and it worked well.
I've drow some things to test the program... added some components and also 
templates (images)... and everithing was well.... but after close the program 
and try to access it again, the processs don't work.. nothing happen after 
click (double) the dyilc.exe...
I hope you can help me.. because I like so much this application!!!

Original issue reported on code.google.com by mediov...@yahoo.com.ar on 1 Nov 2012 at 8:22

Attachments:

GoogleCodeExporter commented 8 years ago
hmm, if you kill all javaw processes and try again does it work? what about 
after restart? can you attach that diy file too?
tnx

Original comment by bancika@gmail.com on 1 Nov 2012 at 8:52

GoogleCodeExporter commented 8 years ago
Thanx for your quick response!
Well.. I killed the java process each time, but still not working.
I've restarted, and also cleared the temporary files (by using the CCleaner), 
and never happend...

However... I tried this one: delete the old library were the diylc is placed.. 
and donwload it again... and this time it's working!
Also, I can open my layout without problem... However, and was expected, I lost 
all the templates that I created..

My guess is there are some problem when the templates.. about the site where 
they are placed, or something as it...
In fact, I can ensure that: after opened the layout, I saved it, and works 
fine. On the second test, I opened the same layout, added one picture, save the 
picture as template, and save the proyect: the result was the same error.. 
programm does not start and java app is running.............. (by the way... 
where are placed the user templates??????)

I'm attaching the layout in case you wants to check it. But as I said, thinking 
the problem is with the templates (at least with the pictures as templates). 
The reason because I used this pictures is because I don't know how can create 
some new components, and thougth that pictures may works.. and it's working... 
if I don't close the program! lol

I hope this may be usefull for your checking. Thanks a lot!

Original comment by mediov...@yahoo.com.ar on 1 Nov 2012 at 10:01

Attachments:

GoogleCodeExporter commented 8 years ago
that's possible, I've never tried making templates out of images. Btw, 
templates are saved in config.xml file. If you delete manually the one that 
gives you problems it should start fine. I'll try to fix the underlying issue 
soon.
tnx for the info!

Original comment by bancika@gmail.com on 1 Nov 2012 at 10:04

GoogleCodeExporter commented 8 years ago
hey buddy... I have some news.... I detected were the problem is..
the file config.xml  is the problem...

check this:
Before add the templates: 
config.xml   has 1 k

<map>
  <entry>
    <string>lastPath</string>
    <string>C:\Documents and Settings\bancika\My Documents</string>
  </entry>
  <entry>
    <string>abnormalExit</string>
    <boolean>false</boolean>
  </entry>
  <entry>
    <string>autoCreatePads</string>
    <boolean>true</boolean>
  </entry>
  <entry>
    <string>recentComponents</string>
    <list>
      <string>org.diylc.components.connectivity.SolderPad</string>
      <string>org.diylc.components.connectivity.Dot</string>
    </list>
  </entry>
</map>

After add the templates:
config.xml   has 4 mb!!!!

<map>
  <entry>
    <string>templates</string>
    <map>
      <entry>
        <string>Misc.Image</string>
        <list>
          <org.diylc.core.Template>
            <name>sssfsf</name>
            <values>
              <entry>
                <string>Alpha</string>
                <byte>127</byte>
              </entry>
              <entry>
                <string>Image</string>
                <javax.swing.ImageIcon serialization="custom">
                  <javax.swing.ImageIcon>
                    <default>
                      <height>292</height>
                      <width>335</width>
                      <description>E:\Marcelo\Guitarra\Pedales\DIY\Fuzz Factory\Pot20numbering.jpg</description>
                    </default>
                    <int>335</int>
                    <int>292</int>
                    <int-array>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>
                      <int>-16777216</int>

(the pot20numbering.. is the picture I added for testing...)

I've replaced some files from the download to the program folder, and when I 
changed the mentioned .xml file the process works well...

Well.. I think I can't do it something else....... my knowledge not give more!

By the way.. there are another way to create components? (easy way?)

Original comment by mediov...@yahoo.com.ar on 1 Nov 2012 at 10:29

GoogleCodeExporter commented 8 years ago
No easy way to create components, I'm afraid. Version 2 had that, but that 
caused some other problems, and during 5 years it has been existing one one or 
two components are contributed by other people, so I didn't bother. However, 
your jacks look awesome, do you mind if I add them as components?
cheers

Original comment by bancika@gmail.com on 2 Nov 2012 at 2:13

GoogleCodeExporter commented 8 years ago
it actually works, but super slow. That image would probably take 5-10 minutes 
to load because it's saved in very inefficient format. If you leave it for some 
time it will startup fine. I'll try to improve (but then all old image 
templates would have to be re-created in new format)
Cheers

Original comment by bancika@gmail.com on 2 Nov 2012 at 2:25

GoogleCodeExporter commented 8 years ago
Well... about the components.. You've made all this excelent application for 
free and asked to me if I have problem if you add this components? Man.. you 
are a great person! lol..
Of course.. you can add them as components, and also the 3DPT if you wants.. I 
have this objects as .gif...  so if you need them, or in another format, so 
tell me.. I'm glad to help you if I can...

About the start.. well.. you must have a good pc! because I'm waiting for more 
than 15 minutes.... (I tried with a new proyect, and only added 1 image as 
jack...and save it.... and still don't start...) lol
However.. don't worry... I think there are no too much people that 'break' the 
process as I'm... lol (while I'm writting, the program has started! more than 
15 minutes but.. don't worry about that)
I think will to create a .bat that replace the .xml by the original one.. I 
know that lost the templates.. but is not a big problem for me... When you have 
the new components I think don't need add more images as now.

Thank you very match! for your attention, and the program! Is great!
So... if you need something to create the components just tell me

Original comment by mediov...@yahoo.com.ar on 2 Nov 2012 at 2:42

GoogleCodeExporter commented 8 years ago
Sorry... I'm attaching the .xml  after the last proyect (with only one jack 
added as image).. 
May be can be useful for you.. I don't know.. but just in case..

Original comment by mediov...@yahoo.com.ar on 2 Nov 2012 at 2:47

Attachments:

GoogleCodeExporter commented 8 years ago
I fixed the speed issue, keep your eye on 3.24, it will include that fix.
cheers

Original comment by bancika@gmail.com on 2 Nov 2012 at 4:39

GoogleCodeExporter commented 8 years ago
I will!
Thanks a lot... and remember if I can do something to help.. just tell me 

By

Original comment by mediov...@yahoo.com.ar on 2 Nov 2012 at 5:49

GoogleCodeExporter commented 8 years ago

Original comment by bancika@gmail.com on 26 Apr 2013 at 2:55