Import Solution failure

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Import Solution failure

Postby john.allen » Thu Apr 13, 2006 4:36 am

Hi,

I also posted this at:
http://forum.servoy.com/viewtopic.php?p=30403#30403
I then thought that wasn't really the right place so I've reposted it here. I don't think necessarily it is a Servoy bug - maybe just a Java problem - but it is an issue for me!

I've run into a problem that I've never seen before. When trying to export and then import a solution I'm getting this message when I try to import it back in with a different name:

com.servoy.j2db.persistence.RepositoryException: java.util.zip.ZipException: The system cannot find the file specified

This sounds as though there should be some java file installed on the machine that isn't there. I've tried it with two different solutions so I think it must not be a problem with the solutions per se. Anybody have any clues as to how to go about fixing this? I'm held up right now as I need to simplify one of my solutions but to do that I first have to reimport it. Worse is that this is happening on my Windows 2000 box which I am pretty hopeless with but is the only machine allowed to access the hospital databases with. Something about wanting to have a Windows machine on the network so they don't have to worry about viruses... don't ask. I do have Java 1.5 on here; this is the build and computer info:
Version R2 2.2.4-build 336
Java version 1.5.0_06-b05 (Windows 2000)

Any help greatly appreciated,

John
_________________
John Allen
Stanford University
John Allen
Stanford University
john.allen
 
Posts: 515
Joined: Wed Jul 02, 2003 10:07 pm
Location: Stanford CA USA

Postby john.allen » Fri Apr 14, 2006 10:58 pm

I tried using the Sun Download manager and updating my Java installation in the hope that this would restore the missing utility if in fact that is where the problem lies. The update ran without a problem (although I think I already had the latest 1.5 or 5.0 update). However I STILL cannot import a solution and I'm getting the same message. I don't think it is a Servoy bug per se but it seems that somehow on this computer that file is now missing. I have certainly done many imports of solutions on this machine in the past with the most recent being maybe a couple of months ago. Since that time I think I have upgraded to 2.4 but otherwise I don't know anything that would have caused this. Unfortunately I can't import these solutions to another computer because this is the only one that is allowed access to the various datasources that this solution needs.

On reading this error message again it occurs to me that the Java utility itself isn't missing but that rather the utility is saying it can't find some (unspecified) file. Any help greatly appreciated.

John
john.allen
 
Posts: 515
Joined: Wed Jul 02, 2003 10:07 pm
Location: Stanford CA USA

Postby john.allen » Sat Apr 15, 2006 1:16 am

I also upgraded Servoy to 3.0.2beta from 2.4 to see if that would help but no luck there either. I can't import any of the solutions (which are - and were - all working solutions in 2.4 and 3.0). Trying to import them back in now with a different name results in an immediate failure with the aforementioned message.

John
john.allen
 
Posts: 515
Joined: Wed Jul 02, 2003 10:07 pm
Location: Stanford CA USA

Postby jcompagner » Tue Apr 18, 2006 10:47 am

that looks like that the export goes wrong and the file that is generated is invalid.
Can you make a case and attach the solution file?

http://crm.servoy.com/servoy-webclient/ ... oy_support
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8884
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby john.allen » Wed Apr 19, 2006 8:16 am

I have posted the case (302) and attached the solution.

John
John Allen
Stanford University
john.allen
 
Posts: 515
Joined: Wed Jul 02, 2003 10:07 pm
Location: Stanford CA USA

Re: Import Solution failure

Postby kwpsd » Tue Jun 02, 2009 6:22 am

Was this ever fixed?

Using Servoy version 4.1.3, I exported a solution from one computer and imported it to another computer and got the following error message:

'Importing ... [error] java.util.zip.ZipException: error in opening zip file'

Or, was the casue determined to be something else?
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 701
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: Import Solution failure

Postby lvostinar » Tue Jun 02, 2009 1:06 pm

kwpsd wrote:Was this ever fixed?

Using Servoy version 4.1.3, I exported a solution from one computer and imported it to another computer and got the following error message:

'Importing ... [error] java.util.zip.ZipException: error in opening zip file'

Or, was the casue determined to be something else?


Not sure about status of the issue, however message "java.util.zip.ZipException: error in opening zip file" usually means that the file specified is not a zip file. So, are you sure the file is an actual servoy export? (you can rename extension to zip and try to open with other tool)
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1064
Joined: Tue Feb 19, 2008 10:53 am

Re: Import Solution failure

Postby kwpsd » Wed Jun 10, 2009 8:49 pm

Version 4.1.3

Yes, it is a Servoy export file of form 'solution_name.servoy'. If I rename the file to 'solution_name.zip', I am able to view the contents, however, I do not know how to recover the solution from the zip format. Would you mind posting some details on this?

On a related matter...

Since my last posting in this thread, I started another completely different solution module (about 10 days worth of work) but could not commit it to our remote server due to the current Team Provider problem (the fix which is pending release 4.1.4, see below). Suspecting that the Team Provider issue has something to do with a file in the 'servoy_workspace', I exported all solutions including the newest one, and deleted the workspace folder. I then imported the solutions on the remote server, and all were successful except for the newest solution. Using the remote Developer, I was able to 'check out' the successful solutions from the remote server. Not being able to import the newest solution is a problem, because I have no other back up other than the exported file. How do I recover the newest solution?

The error returned when I try to import the solution to our remote server is:

Importing ... [error] java.util.zip.ZipException: error in opening zip file

The Team Provider problem is posted at:

viewtopic.php?f=8&t=12513&p=63407&hilit=team+provider+problem#p63407
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 701
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: Import Solution failure

Postby lvostinar » Thu Jun 11, 2009 7:34 am

kwpsd wrote:Version 4.1.3

Yes, it is a Servoy export file of form 'solution_name.servoy'. If I rename the file to 'solution_name.zip', I am able to view the contents, however, I do not know how to recover the solution from the zip format. Would you mind posting some details on this?


You cannot recover it, only the importer knows how to read the file.

kwpsd wrote:Since my last posting in this thread, I started another completely different solution module (about 10 days worth of work) but could not commit it to our remote server due to the current Team Provider problem (the fix which is pending release 4.1.4, see below). Suspecting that the Team Provider issue has something to do with a file in the 'servoy_workspace', I exported all solutions including the newest one, and deleted the workspace folder. I then imported the solutions on the remote server, and all were successful except for the newest solution. Using the remote Developer, I was able to 'check out' the successful solutions from the remote server. Not being able to import the newest solution is a problem, because I have no other back up other than the exported file. How do I recover the newest solution?

The error returned when I try to import the solution to our remote server is:

Importing ... [error] java.util.zip.ZipException: error in opening zip file

The Team Provider problem is posted at:

viewtopic.php?f=8&t=12513&p=63407&hilit=team+provider+problem#p63407


Deleting the workspace doesn't seem like a good practice, you can use multiple workspaces. Please open a case in our support system and we'll see why import doesn't work.
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1064
Joined: Tue Feb 19, 2008 10:53 am

Re: Import Solution failure

Postby Providence1 » Mon Oct 22, 2012 5:10 am

Was there any solution to this issue?

Importing [error] java.util.zip.ZipException: error in opening zip file


I'm getting this error on the Solutions section of the Servoy Server (5.2.14). When I hit the Import button to import a new solution (one I've already deleted from the server), I see the error above.
Providence
Providence1
 
Posts: 456
Joined: Tue Aug 17, 2004 2:36 am
Location: New York, NY

Re: Import Solution failure

Postby lvostinar » Mon Oct 22, 2012 9:29 am

Providence1 wrote:Was there any solution to this issue?

Importing [error] java.util.zip.ZipException: error in opening zip file


I'm getting this error on the Solutions section of the Servoy Server (5.2.14). When I hit the Import button to import a new solution (one I've already deleted from the server), I see the error above.


What errors you have in log ? Can you reproduce this every time (if so please open a case with sample)?
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1064
Joined: Tue Feb 19, 2008 10:53 am

Re: Import Solution failure

Postby Providence1 » Mon Oct 22, 2012 10:29 am

For some reason, it works now. I restarted the Servoy server three times.

Can't explain it.

Hardware issues/permission issues?
Providence
Providence1
 
Posts: 456
Joined: Tue Aug 17, 2004 2:36 am
Location: New York, NY


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron