Difficulty loading target platform for eclipse RCP - windows

I am transfering my data from an old notebook to a new one. I have copied my eclipse folders and also the JDKs directly to the new notebook. The RCP project was checked out of Git on to the new notebook.
When I start eclipse and try to reload the target platform, I get many PKIX or 'host not reachable' errors. It runs for around 30 minutes and completes with errors. Considering that I simply copied the whole JDK, including cacerts, I don't understand why certificates cannot be found.
I double-checked by running the same action on the old notebook on the same network and it completes quickly and with no errors.
The IT dept claim that there is no block on the new notebook.
What might I be missing? What else could I do to gather more information?

Related

Building project stored on another computer

I've developed an app for iOS and Android. My main computer runs Windows 10 and I've created my project entirely on it. To build to iOS you need to use a Mac, so I bought a cheap one second hand. I installed Unity and Xcode on the Mac. I at first tried copying the project across to the Mac, but this took a long time. Instead, I mounted my main PC as a network location and opened the project remotely from on the Mac. Building for iOS (or rather exporting the Xcode project) gets about halfway done, before it crashes. Looking through the log I find the following error:
UnauthorizedAccessException: Access to the path "/Volumes/C/Users/Peter/Documents/Unity/DD Party Status/Temp/StagingArea/Data/Managed/Unity.Analytics.StandardEvents.dll" is denied.
Opening this networked location in Finder shows me that Unity.Analytics.StandardEvents.dll, Unity.Analytics.Tracker.dll and UnityEngine.Purchasing.dll are all locked. For some reason Unity is unable to access these files to finish the build. Copying the files to my NAS and trying to build nets the same result. Can someone please help? I'd hate to have to copy the project in its entirety to the Mac every time I need a new build.
I got a little further, but I think this solves the main problem described here:
For me it was the purchasing.dll which always was locked. I noticed that the DLL was already locked in the library cache:
⁨
Library⁩/PackageCache⁩/com.unity.purchasing#2.0.6⁩/purchasing.dll
unlocking it here let me build further, although now I have a different gradle build error.

File system gets stuck in 'FileSystemObject.DeleteFile'

I have one automation project which does the job of building the setup using NSIS wrapper. The project is built with the VB6 code. During the execution of the project I am getting the error for deleting a file as “Method 'DeleteFile' of object 'IFileSystem3' failed” for the method ‘FileSystemObject.DeleteFile’ with force option set to true.
Scenario:
Server (Windows server 2012) drive is mapped to the local windows 7 system and whole operation is run in this mapped drive in client machine. And the project is run on the client machine.
Now when I run my project to build the setup, it copies all the application files to a folder called Temp under build1 and build2 directory and then it builds 2 separate setup exe using the NSIS (makeNSIS). After the creation of NSIS setups, it will delete all the source files from temp folder. While deleting the MDAC_TYP.exe file, I get the error as mentioned above. The above said error comes for both the Build1 & Build2 folders and the error comes occasionally (not every time) for the same exe.
I cannot rename/delete/move the file in any of the PC through UNC or even in server it cannot be deleted. If I try to rename/delete the file or its parent folder, the system from where I try to delete/rename gets stuck.
Other methods I tried are as below.
Tried my project under testing environment and there was no such error.
Checked for file handle using process explorer in both client as well as server – No handles were found
Checked for Open files in the Shared folders of the server. - No open file connection found for the file.
Tried rebooting the client machine – Not solved.
Tried to delete/Rename the file using command in server – Not possible.
Tried to delete/rename the file in server – No error and no message. Instead, server gets stuck.
Checked for disk problems using chkdisk in server. No problems reported.
Folder permission – The user ha full permission and there is no issue.
Tried running the same build process after reboot – Everything works fine. But, again repeats after some time/day.
Tried disconnecting the mapped drive at the time of error exists. But, still not able to rename.
No antivirus/Event viewer log in both client as well as server
After all these still I could not able to explain why exactly the error occurring.
Update:
I recently noticed that the same error also occurs when deleting the file msstdfmt.dll
Update 2:
I also got error for the ms word file, error is same. In all the 3 cases i found that there is only a common thing that is all 3 files has read-only attribute.

openerp pyc files not generated

Good morning to everyone, i am facing this problem:
Sometimes, after making modifications in my .py files, i restarted the server and saw nothing had changed. In fact the .pyc files were not regenerated so i want to know if someone can give me the good procedure to make that happens.
Now what I do is:
step1-add in eclipse params: --update=module_name
step2-click on settings ==> installed modules (the idea is to load the module again)
step3-be sure not to be in debug mode (you can remove debug from the address bar).
Could someone know how to do step 2 without using the web client (browser) i.e a way or a param to add when restarting the server so that the modules will be load again, because i remark that it is in this step that pyc files are regenerated.
Thank you in advance.
So reading between the lines, you are working in Eclipse and have changed and the pyc files are not new.
I would:
In Eclipse, Project -> Clean and clean your project.
Exit Eclipse and see if there is still a debug process lying about and kill it. These zombie debug processes happen if you terminate the server while it is stopped on a break point (in eclipse juno anyway, not sure about luna).
Either the eclipse builder will generate the pyc because that is part of building a project, or the Python vm will when it encounters the py file, or if a pyc exists it will check the times and ignore the pyc if it is older than the py. Updating the module may cause OpenERP to load that module and the python vm will generate the pyc but it doesn't matter whether you trigger this by updating the module when the server starts or just when you click on the function that triggers the piece of code.
One last suggestion, check your system time as the python vm is checking the file time stamps.

Xcode not recognizing directory structure

I've recently downloaded GPUImage which is made up of one large directory containing the framework and various sample projects within it. Usually when I run a project it's simply one folder containing the project and everything works fine. However, when I run one of the sample projects within GPUImage, it's not recognizing the provisioning profile. When I move the sample project out of the GPUImage folder on its own, the provisioning profile error goes away, but then I get a bunch of new errors about it not being able to find the framework and other things (I messed around with moving stuff around but it turned into a disaster).
I'm wondering, is there a path somewhere that I need to change to get Xcode to work like normal when running a sample project from within the GPUImage directory so I don't get the provisioning profile error?
The problem was, somewhere along the line I deleted my team provisioning profile! Didn't realize it, but I was also unable to run any other sample projects that weren't created by me.

Azure Publish giving "The Type or Namespace {x} cannot be resolved" error

I have a MVC 4 web project that I have been working on for about a year. It is currently published and running on azure in production, and has been working there for about a year. My dev machine malfunctioned and I had to replace it. After setting up my dev environment and retrieving my codebase from my repository, I made a very minor change to one of my pages (I corrected a typo, changing "teh" to "the" in the text of one of my .cshtml pages. I downloaded and imported my azure publish profile settings from:
https://windows.azure.com/download/publishprofile.aspx?wa=wsignin1.0
which seemed to correctly populate my publish dialog and I attempted to publish my correction to staging. However, when it builds prior to publish, the output window starts to show a series of "the type or namespace {x} cannot be resolved" errors. It accumulates 72 such errors for various referenced assemblies, and then it exits with "build failed".
A few seconds later all those errors disappear and if I rebuild the solution, it does not give me those errors, which ONLY appear on a pre-publish build. I can run the project in testing environment and it works fine there.
I have tried everything I can think of. Has anyone ran into this before?
After a week of frustration, I finally figured out what was happening. I had a email library, rebex, that I had purchased that the project used. It was installed on my original development machine, where the application was publishing correctly. The .dll file for the rebex library was incorporated into my source code so that when my new dev machine was configured and the source code restored, the .dll file was present, and worked in development mode.
However, it would not publish to production until the installation file was re-downloaded and the rebex assemblies were registered to VS2012 and the GAC.
If anyone else has this issue, check to see if you have purchased or licensed libraries that need to be properly registered.
MSD

Resources