SWIG error: even simplest example not working!
Even the simplest example is giving me the following "Undefined symbols" error:
$ gcc -c -fPIC example.c example_wrap.c -I/usr/include/python2.5
$ gcc -dynamiclib example.o example_wrap.o -o _example.so
Undefined symbols:
"_PyErr_Fetch", referenced from:
_SWIG_Python_AddErrorMsg in example_wrap.o
_SWIG_Python_AddErrMesg in example_wrap.o
"_PyInstance_Type", referenced from:
_PyInstance_Type$non_lazy_ptr in example_wrap.o
"_PyExc_RuntimeError", referenced from:
_PyExc_RuntimeError$non_lazy_ptr in example_wrap.o
"_PyInt_Type", referenced from:
_PyInt_Type$non_lazy_ptr in example_wrap.o
"_PyObject_GetAttrString", referenced from:
_SwigPyClientData_New in example_wrap.o
Currently, we don't provide swig wrappers for the std::string or any of the STL classes. While we might consider adding such wrappers in a future release, there's nothing to stop you from writing your own wrappers if you desire.
Similar Messages
-
BI Administrator error: Session Management will not work
Hi!
I am about to set up BI Administrator Addon in SAP Portal. All the configuration steps seems to be ok.
Unfortunately when I try to start some of applications of BI Administrator I get the following error:
Session Management will not work.
Please check the DSM log file for details
Question:
How can I solve this problem?
Thank you very much!
regardsHi
This error means--Please notify us of this problem by submitting an IT Service Request (Please Note: In order to log into the Infra system, you will need to preface your NKU account with nku\. For example, if your user name is smithj7, the "User Name" field would need to be populated with nku\smithj7.)
under the problem type "SAP BW/Portal.
Much of EP / BASIS issue.
Hope it helps -
cant restore iphone it would loa half way threw then say unknown error why is it not working and its a iphone 3g 4.2.1
What is the exact error message you're getting?
-
browsing normally, close firefox, i get an error message about quicktime not working. i click ok. then another comes up. i click ok. 6 times total this error message comes up, every time i close firefox. really annoying.
If there are problems with updating or with the permissions then best is to download the full version and trash the currently installed version to do a clean install of the new version.
*Trash the current Firefox application (open the Applications folder in the Finder and drag the Firefox application to the Trash) to do a clean (re)install
*Install the new version that you have downloaded
* http://kb.mozillazine.org/Installing_Firefox#Mac_OS_X
Your personal data is stored elsewhere in the Firefox profile folder, so you won't lose your bookmarks and other personal data when you uninstall and (re)install Firefox.
*http://kb.mozillazine.org/Profile_folder_-_Firefox
You can also try to repair the disk permissions:
*http://thexlab.com/faqs/repairprocess.html -
iphone 4S will not charge, error that USB device not working, found any suggestions?
Hello Chambless,
The troubleshooting steps below can help get your iPhone to charge.
If your battery doesn't charge, or if your device shows a low-battery image, black screen, or "accessory not supported" alert, follow these steps.
Inspect the connector at the bottom of the phone:
Make sure that there are no bent pins in the connector.
Make sure that the connector is free from debris.
If there are bent pins or debris, please contact Apple Support.
Otherwise, continue troubleshooting.
Make sure that the outlet you're using works.
Make sure that the Apple USB cable and Apple USB power adapter work.
Plug the device in to power and let it charge for up to 30 minutes. If you don't have an Apple USB power adapter, try connecting to a computer's high-power USB 2.0 port (not a keyboard). The computer must be on.
If the device still exhibits an issue, try turning your device off and then on again while connected to power.
If the issue is persists, please contact Apple Support.
iPhone and iPod touch: Charging the battery
http://support.apple.com/kb/HT1476
Cheers,
Allen -
Oracle8i JDBC Guide Example Not Working-applet security
I was having problems with a JDK1.1.7 applet that I want to get
working with Netscape 4.07 and my Oracle 8.0.5 installation. I
am using Netscape's Signtool, the Capabilities classes, and I
have packaged the Oracle classes111.zip contents into my Signed
JAR file. I got a copy of the Oracle 8i JDBC Developer's Guide
and Reference which has an example of what I'm trying to do.
However, I get the same error running the example. Can anyone
tell me what I'm doing wrong?
Please help...
stephen
The Java console output is as follows:
# Applet debug level set to 9
netscape.security.AppletSecurityException: security.Couldn't
connect to '47.129.164.42' with origin from ''.
at
netscape.security.AppletSecurity.checkConnect(AppletSecurity.java
:914)
at
netscape.security.AppletSecurity.checkConnect(AppletSecurity.java
:926)
at
netscape.security.AppletSecurity.checkConnect(AppletSecurity.java
:795)
at
java.lang.SecurityManager.checkConnect(SecurityManager.java:718)
at java.net.Socket.<init>(Socket.java:245)
at java.net.Socket.<init>(Socket.java:123)
at oracle.sqlnet.SQLnet.Connect(SQLnet.java:176)
at oracle.sqlnet.SQLnet.Connect(SQLnet.java:146)
at oracle.sqlnet.SQLnet.Connect(SQLnet.java:120)
at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:983)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:158)
at
oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:
93)
at
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:146)
at java.sql.DriverManager.getConnection(DriverManager.java:90)
* at java.sql.DriverManager.getConnection(DriverManager.java:132)
at MainApplet.button2_actionPerformed(MainApplet.java:196)
at
MainApplet$MainApplet_button2_actionAdapter.actionPerformed(MainA
pplet.java:255)
at java.awt.Button.processActionEvent(Button.java:267)
at java.awt.Button.processEvent(Button.java:240)
at java.awt.Component.dispatchEventImpl(Component.java:1789)
at java.awt.Component.dispatchEvent(Component.java:1715)
at
java.awt.EventDispatchThread$EventPump.dispatchEvents(EventDispat
chThread.java:83)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:135)
at
netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(
DerivedAppletFrame.java:911)
nullNo, it is not, but this is the reason for using Netscape's
Capabilities API. It contains a PrivilegeManager that works with
Java's Applet Security Manager to grant permissions for the
applet.
Stephen Brewell (guest) wrote:
: Is the database server on the same machine as your web server?
: I don't think applets can connect to a machine other than that
: from which it was served.
null -
HTTP Error 403 - Forbidden Error Accessing Simplest Example
If I follow the instructions for creating the SIMPLEST example in the "iFS Online Resources" document, everything seems to work until the very last step. When I click on one of my sample objects a new window is launched for the JSP, but it gets an HTTP-403 error in it.
Anone have any ideas? Thanks.Strangely enough, we're having no problems viewing the XML case files from within the JSW interface, they call the InsuranceForm jsp without any errors - which would indicate that the Java beans are in the right place. Yes?
The problem we're getting is trying to log into the iFS repository via the URL http://<iFS Server>/public/examples/insuranceApp/src/login.jsp
as per the demo instructions, we get HTTP Error 403 - Forbidden. I checked the permissions on the adk.jar file as per Monty Burns posts, and it's world readable. What gives?
We've installed the 1.0.8.3 patch and the 8.1.6.0.1 JDK. NT Server 4, SP6, 8.1.6 database.
Thanks in advance for your help,
Cheers
Geoff. -
SISO OFDM TDD Example not working
I was trying to use SISO OFDM example.
But to surprise Its not working in both the two cases:-
1. Loopback over air (.GVI gives no error but VLC is not receiving ant stream)
2 No loopback : An error is returned on turning on the Base station:-
The mobile station parameters are as in below figure:
Can somen one explain the source of inusoid wave? I am surprised at it!
Have you ever get the SISO OFDM TDD Example work with two device?
Currently, I am doing the SISO OFDM TDD Example like your work with two USRP-RIO 2953R. I can do streaming within one USRP-RIO with loop back selection in the example, but when it comes to two USRP-RIO streaming, one is base station and the other is UE, but the demo seems to be not working. -
Core/examples/sessions/Broker example not working
Guys
I am trying the example with Oracle database instead of the HSQL database. I replaced the driver & url strings and put the classes12.jar in the classpath
But I continue to get the following error. Can someone please tell me what I am missing.
D:\toplink\examples\core\examples\sessions\broker>D:\JDev9i\jdk\bin\java.exe -classpath ""D:\JDev9i\jdk\lib\tools.jar";"d:\to
plink\ant\lib\jaxp.jar";"d:\toplink\ant\lib\jakarta-ant-1.4.1-optional.jar";"d:\toplink\ant\lib\crimson.jar";"d:\toplink\ant\
lib\ant.jar";.;d:\toplink\core\lib\toplink.jar;D:\JDev9i\jdbc\lib\classes12.jar;d:\toplink\core\lib\toplink.
jar;D:\JDev9i\jdbc\lib\classes12.jar" -Dant.home=d:\toplink\ant -Dtl.home=d:\toplink -Dwls61.home= -Dwls70.home= -Dwas.home=
-Doracle.home=D:\JDev9i\OC4J903 -Dexamples.home=d:\toplink\examples -Dtoplink.dir=d:\toplink\core\lib -Dtoplink.library=topli
nk.jar,xerces.jar -Dtoplink.weblogic.path=d:\toplink\wls_cmp\lib\tl_wlsx.jar -Dtoplink.was.path=d:\toplink\was_cmp\lib\tl_wa
sx.jar -Dhsql.path=d:\toplink\HSQL\lib\hsqldb.jar -DDEBUG=on org.apache.tools.ant.Main runExample -DtestClass=examples.sessions.broker.Demo
Buildfile: build.xml
init:
verify.build.done:
runExample:
[java] 2003.05.19 03:54:35.625--DatabaseSession(11)--Thread[main,5,main]--Connection(12)--TopLink, version:TopLink - 9.0
.3 (Build 423)
[java] 2003.05.19 03:54:35.685--DatabaseSession(11)--Thread[main,5,main]--Connection(12)--connecting(DatabaseLogin(
[java] platform => OraclePlatform
[java] user name => "asdfbf"
[java] datasource URL => "jdbc:oracle:thin:@localhost:fims"
[java] ))
[java] 2003.05.19 03:54:35.705--DatabaseSession(11)--Thread[main,5,main]--EXCEPTION [TOPLINK-4003] (TopLink - 9.0.3 (Bui
ld 423)): oracle.toplink.exceptions.DatabaseException
[java] EXCEPTION DESCRIPTION: Configuration error. Class [oracle.jdbc.driver.OracleDriver] not found.LOCAL EXCEPTION ST
ACK:One more thing to add:
I am not able to get any of the examples to work with Oracle database. Again the only thing I suppose I need to change are the folloowing lines in the EmployeeProject.java
login.usePlatform(new oracle.toplink.internal.databaseaccess.OraclePlatform());
login.setDriverClassName("oracle.jdbc.driver.OracleDriver");
login.setConnectionString("jdbc:oracle:thin:@localhost:1522:fims");
login.setUserName("kumarv");
login.setEncryptedPassword("7AD96CD575D1A7FCAA504BA7E4FC");
Also one line change in the sessions.xml file to use the OraclePlatform instead of the HSQLPlatform.
Has any one got these to work with Oracle, Any help is really appreciated.
classes12.jar is in the classpath so I don;t understand why I get the execption that:
[java] EXCEPTION DESCRIPTION: Configuration error. Class [oracle.jdbc.driver.OracleDriver] not found.
[java] oracle.toplink.exceptions.DatabaseException oracle.toplink.exceptions.DatabaseException.configurationErrorCla
ssNotFound(java.lang.String)
Thanks -
VideoPhoneLabs example not working
Dear dev-team, could you also give more information about why
the example-application (VideoPhoneLabs.swf) does not work, when I
upload all the assets (not reg.cgi, while I want to use the
Stratus-service) to a server (
http://work.joeyvandijk.nl/stratus/VideoPhoneLabs.html).
I am connected to the Stratus-webservice, but I get an
idManagerError but does not know how I can solve this.
I think it has to do with my id, but when I login to
adobe.com and try to retrieve an ID I get the same which I am using
at above example. So, I think my ID is not blocked or something.
And I know that the Stratus-webservice is not down while your
online version of the VideoPhoneLabs is working.
I see in my error:
Error #2048: Schending van beveiligingssandbox:
http://work.joeyvandijk.nl/stratus/VideoPhoneLabs.swf
kan geen gegevens laden van
rtmfp://stratus.adobe.com/bc25bb58c9cf187e4178b40e-c16df88ec798/?identity=80b46c214f4c830 f28186fa40febc0a4a8c323393958ea99a0075b228d870e50&username=joeyvandijk
which says that it cannot load data from the Stratus-service
due to a SecurityError.
So, I cannot run it locally OR on a webserver. Do you have
some tips what could be the cause?
Thnx in advance!
:DHi,
I am trying the VideoPhoneLabs app, but still do not work.
Please give some advices.
I have done the procedure according to ReadMe.txt, then
reg.cgi copied into my local web server. After that i got some
error message as following when i accessed to it from another pc.
[In the debugger window of FP10]
TypeError: Error #1009: null <ono: sorry for japanese, i
deleted them>
at VideoPhoneLabs/onDisconnect()[C:\Users\ono\Documents\Flex
Builder 3\VideoPhoneLabs\src\VideoPhoneLabs.mxml:548]
at
VideoPhoneLabs/idManagerEvent()[C:\Users\ono\Documents\Flex Builder
3\VideoPhoneLabs\src\VideoPhoneLabs.mxml:484]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at HttpIdManager/httpFault()[C:\Users\ono\Documents\Flex
Builder 3\VideoPhoneLabs\src\HttpIdManager.as:120]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[C:\autobuild\3.2.0\framewor ks\projects\rpc\src\mx\rpc\AbstractInvoker.as:170
at mx.rpc.http::HTTPService/
http://www.adobe.com/2006/flex/mx/internal::processResult()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\http\HTTPService.as:852
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\AbstractInvoker.as:188
at
mx.rpc::Responder/result()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responde r.as:43]
at
mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\ AsyncRequest.as:74]
at
DirectHTTPMessageResponder/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\s rc\mx\messaging\channels\DirectHTTPChannel.as:403]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
[In the apps STATUS window]
Connecting to rtmfp://stratus.adobe.com
NetConnection event: NetConnection.Connect.Success
Connected, my ID:
c0e8c83410b0dbf0b66644b8e2418abb67a0d3a31ba42d55af961c140db0bf70
ID event: idManagerError
Error description: HTTP error:
(mx.messaging.messages::AcknowledgeMessage)#0
body = "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2
Final//EN">
<html>
<head>
<title>Index of /VideoPhoneLabs</title>
</head>
<body>
<h1>Index of /VideoPhoneLabs</h1>
<table><tr><th><img
src="/icons/blank.gif" alt="[ICO]"></th><th><a
href="?C=N;O=D">Name</a></th><th><a
href="?C=M;O=A">Last
modified</a></th><th><a
href="?C=S;O=A">Size</a></th><th><a
href="?C=D;O=A">Description</a></th></tr><tr><th
colspan="5"><hr></th></tr>
<tr><td valign="top"><img
src="/icons/back.gif" alt="[DIR]"></td><td><a
href="/">Parent
Directory</a></td><td> </td><td
align="right"> - </td></tr>
<tr><td valign="top"><img
src="/icons/unknown.gif" alt="[ ]"></td><td><a
href="AC_OETags.js">AC_OETags.js</a></td><td
align="right">24-Mar-2009 17:35 </td><td
align="right">8.4K</td></tr>
<tr><td valign="top"><img
src="/icons/text.gif" alt="[TXT]"></td><td><a
href="VideoPhoneLabs.html">VideoPhoneLabs.html</a></td><td
align="right">24-Mar-2009 17:35 </td><td
align="right">4.2K</td></tr>
<tr><td valign="top"><img
src="/icons/unknown.gif" alt="[ ]"></td><td><a
href="VideoPhoneLabs.swf">VideoPhoneLabs.swf</a></td><td
align="right">24-Mar-2009 17:35 </td><td
align="right">735K</td></tr>
<tr><td valign="top"><img
src="/icons/unknown.gif" alt="[ ]"></td><td><a
href="playerProductInstall.swf">playerProductInstall.swf</a></td><td
align="right">24-Mar-2009 17:35 </td><td
align="right">657 </td></tr>
<tr><th
colspan="5"><hr></th></tr>
</table>
<address>Apache/2.2.9 (Fedora) Server at 192.168.1.101
Port 80</address>
</body></html>
clientId = "DirectHTTPChannel0"
correlationId = "D8807C92-CB35-13AA-386C-3B10784B610C"
destination = ""
headers = (Object)#1
DSStatusCode = 200
messageId = "C3AF012E-AC2B-464D-C982-3B1078DAB158"
timestamp = 0
timeToLive = 0
Disconnecting.
Hanging up call
NetConnection event: NetConnection.Connect.Closed
ID event: idManagerError
Error description: HTTP error:
(mx.messaging.messages::AcknowledgeMessage)#0
body = "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2
Final//EN">
<html>
<head>
<title>Index of /VideoPhoneLabs</title>
</head>
<body>
<h1>Index of /VideoPhoneLabs</h1>
<table><tr><th><img
src="/icons/blank.gif" alt="[ICO]"></th><th><a
href="?C=N;O=D">Name</a></th><th><a
href="?C=M;O=A">Last
modified</a></th><th><a
href="?C=S;O=A">Size</a></th><th><a
href="?C=D;O=A">Description</a></th></tr><tr><th
colspan="5"><hr></th></tr>
<tr><td valign="top"><img
src="/icons/back.gif" alt="[DIR]"></td><td><a
href="/">Parent
Directory</a></td><td> </td><td
align="right"> - </td></tr>
<tr><td valign="top"><img
src="/icons/unknown.gif" alt="[ ]"></td><td><a
href="AC_OETags.js">AC_OETags.js</a></td><td
align="right">24-Mar-2009 17:35 </td><td
align="right">8.4K</td></tr>
<tr><td valign="top"><img
src="/icons/text.gif" alt="[TXT]"></td><td><a
href="VideoPhoneLabs.html">VideoPhoneLabs.html</a></td><td
align="right">24-Mar-2009 17:35 </td><td
align="right">4.2K</td></tr>
<tr><td valign="top"><img
src="/icons/unknown.gif" alt="[ ]"></td><td><a
href="VideoPhoneLabs.swf">VideoPhoneLabs.swf</a></td><td
align="right">24-Mar-2009 17:35 </td><td
align="right">735K</td></tr>
<tr><td valign="top"><img
src="/icons/unknown.gif" alt="[ ]"></td><td><a
href="playerProductInstall.swf">playerProductInstall.swf</a></td><td
align="right">24-Mar-2009 17:35 </td><td
align="right">657 </td></tr>
<tr><th
colspan="5"><hr></th></tr>
</table>
<address>Apache/2.2.9 (Fedora) Server at 192.168.1.101
Port 80</address>
</body></html>
clientId = "DirectHTTPChannel0"
correlationId = "7863A499-3906-0CC3-1AED-3B1078EAAFFE"
destination = ""
headers = (Object)#1
DSStatusCode = 200
messageId = "716811AE-4A81-3468-4DAA-3B107945F936"
timestamp = 0
timeToLive = 0
Disconnecting.
Hanging up call
Thank you for any advices.
Ono Keiji -
SQL*LOADER example not working for REF
I was working on the Oracle bulk load scripts using SQL*LOADER utility .
I have encountered an error while using the REF column option to resolve the parent-child referential integrity .
The example given in the URL http://www.csee.umbc.edu/help/oracle8/server.815/a67792/ch05.htm Example 5-9 Loading Primary Key REF Columns
does not work . and generates errors : 'SQL*Loader-418: Bad datafile datatype for column DEPT_MGR'
example :
Control File
LOAD DATA
INFILE `sample.dat'
INTO TABLE departments_alt
FIELDS TERMINATED BY `,' OPTIONALLY ENCLOSED BY `"'
(dept_no CHAR(5),
dept_name CHAR(30),
dept_mgr REF(CONSTANT `EMPLOYEES', emp_id),
emp_id FILLER CHAR(32))
Data file (sample.dat)
22345, QuestWorld, 007,
23423, Geography, 000,
Could you please suggest any solutions for this ?Some of the quotes are wrong
Try the sample from the 10.2 documentation
LOAD DATA
INFILE 'sample.dat'
INTO TABLE departments_alt
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
(dept_no CHAR(5),
dept_name CHAR(30),
dept_mgr REF(CONSTANT 'EMPLOYEES', emp_id),
emp_id FILLER CHAR(32)) -
AVI Compressor Comparison Example not working with Flame.avi
Hello,
I downloaded the NI Vision module for a trial to see what it could do. I will be owrking with black and white files (AVI or other) so I tried the "AVI Compressor Comparison Example.vi" along with the "Flame.avi" from "C:\Program Files\National Instruments\Vision\Examples\Images\AVIs". Basically, the example decompresses "Flame.avi" and then compresses the same file using all of the installed codecs.
When I run the example and then try to play the avi files, all of them are blank (black) and reflect a much shorter playing time than the 16.6 seconds of the original (before decompression) avi which I can play on VLC and QuickTime but not Windows Media Player. When I look at the original video properties in LV, the file format is RGB even
though it is B&W. When I look at the video properties in VLC or
QuickTime, it shows it as Motion JPEG OpenDML, 200 x 340 with millions of colors.
All of the other avi files in the example folder work fine. Does anyone have any ideas of what might be going on? Thanks.
Michael Froehlich
I am running LabVIEW 8.5 on a Windows 32 bit XP Service Pack 2 PC. I have DirectX 9.0c installed.Hey Michael,
I am a little confused by your post. However, first things first. You can have an image that is of RGB type and it still appear B&W. So, that Flame.avi file, though it appears B&W, is actually a color picture. Instead of a single numeric value to represent a grey level, there are three numeric values (RGB) that combine to represent a grey level. Possible reasons for this I am not quite sure. It could be to give a larger avi file to better test the different codecs. In terms of playing the avi files again. This depends on the codecs being used and whether or not the tool you are using to play them supports that particular codec. You had mentioned that the other avi's work fine, particularly, which avi files are you referring to?
Also, if you manually read in the Flame.avi and then write it again using a codec to compress your avi do you see the same problems introduced by the AVI compressor Comparison Example?
Hope this helps.
-Ben
WaterlooLabs -
Macbook dies after 2008-005 security update: even hardware test not working
My Macbook no longer boots after installing security update 2008-005. Behaves as if HD is dead, AND as if boots from SuperDrive are broken too.
Sequence of events:
1. 10.5.4, Software Update notifies me of update.
2. I permit it. Immediately requires a reboot.
3. Go away for several hours.
4. Upon return, I notice the Leopard outer-space background.
5. Spinning beachball when I move the mouse.
6. Go away for several minutes.
7. Return. No change. Power down computer.
OK ... by now, you may be saying that it might still have been updating and I shouldn't have interrupted it.
But since then, the machine behaves not only like the disk is dead, but I can't even get a hardware test to run from DVD.
So, to continue.
8. Start machine again. Apple boot sound. Nothing on screen.
9. After a while, flashing "folder" icon with question mark.
Since then I've attempted to boot in safe mode, verbose mode, FireWire target disk mode (against a 10.4.x box), boot from original install disk, boot into hardware test mode from original install disk. None of these things worked. I've reset the PRAM.
The only diagnostic activity of all of these that has produced any different feedback is the PRAM reset (which sounded the Apple boot sound a second time). Everything else does not work. If the HD was dead, I could understand that none of the attempts to boot into FireWire target disk mode, or to boot from DVD and then expect to see the HD mount in some way, would work. But since it doesn't even boot the hardware test from the DVD, I'm really baffled. Any ideas? Thanks.Well, my solution was to buy DiskWarrior and copy what I could (which was a lot, thankfully) to a FireWire external disk, then reinstall. DiskWarrior reports S.M.A.R.T. status OK, so I've gone with a fresh partition in Disk Utility and successfully installed 10.4 from the original DVDs.
Have also run Apple Hardware Test and had no problems, so I've decided to trust the drive in the short term.
Unfortunately, now, 10.5 upgrade disks won't finish and guess what ... a partial install of 10.5 breaks the 10.4! So, the machine has a recognizable startup disk but justs sits in a loop rebooting itself, presumably as it hits some inter-10.4/10.5 state and gives up.
Next up I tried to restore my 10.5 from a wired ethernet connection to my Time Capsule. Having never once been able to browse my backups in Time Machine under 10.5, I was somewhat surprised to find that the 10.5 Installer was happy to let me try a restore from the Time Capsule. It crunched away until it was happy that I had enough space on my new partition, and then did what seemed a pretty instantaneous restore. The Macbook reboots and ... can't see the startup disk.
Maybe my disk really is on the way out. -
HelloWorld Example Not Working
Hi,
I am using JCDK 2.2.2.
Converter and scriptgen run without errors from C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\samples (which is the existing samples directory):
converter -classdir "C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\samples\classes" -exportpath "C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\api_export_files\;C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\samples\classes\com\sun\javacard\samples\HelloWorld\javacard" -applet 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1:0x1 com.sun.javacard.samples.HelloWorld.HelloWorld com.sun.javacard.samples.HelloWorld 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1 1.0
scriptgen -o HelloWorld.scr ./classes/com/sun/javacard/samples/HelloWorld/javacard/HelloWorld.capI run cref from C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\bin:
cref.exe -o HelloWorld.eepromAnd then in another command prompt from C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\bin:
apdutool C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\samples\HelloWorld.scrThe app installs fine. So now I want to test the code. I added a line to the script at the end to selecct the application:
// Select HelloWorld
0x00 0xA4 0x04 0x00 0x09 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x1 0x7F;Which is not working (6d00 error)
Any suggestions why this could be happening? Nothing throws errors except the line to select the app. It can't be a problem with the code, because I am running the sample files that came with the JCDK.
P.S. I tried 'creating Helloworld' using the line
0x80 0xB8 0x00 0x00 0x0b 0x09 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x1 0x00 0x7F;But this gave a 6443 error.
Edited by: Candice on Jul 11, 2011 2:14 AMP.S. I tried 'creating Helloworld' using the line
0x80 0xB8 0x00 0x00 0x0b 0x09 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x1 0x00 0x7F;But this gave a 6443 error.Applet not found for installation.
• Cause: An attempt was made to create an applet instance, but the applet code was not installed on the card.
• Solution: Verify that the applet package has been downloaded to the card.
Remeber that after the first time you launch cref, you need to tell it where to load the EEPROM file from the last run with -i <file>. You can use the same file for -i and -o to be able to reuse the mask and store new state.
Cheers,
Shane -
JSF Getting Started Example not Working
I've installed and configured JSF according to CoreJSF 1st Chapter example "A simple JSF Application" (available at http://horstmann.com/corejsf/). The only different thing i've done is to put the jsp pages in a separate folder within the root web application folder. The JSF seems to be properly configured, since i'm able to see the UI components in the login page. However, once I click login button, the application takes me once more to the login page (same page that put the request). I figure it is a problem with the navigation file, I've changed the faces-config.xml including "jsf/welcome.jsp" as target since "jsf" is the separate directory I created for JSP files. I does not work (not getting exceptions though). Any prompt help will be highly appreciated.
These are the files:
webapproot/jsf/index.jsp
<html>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
<head>
<title>A Simple Java Server Faces Application</title>
</head>
<body>
<h:form>
<h3>Please enter your name and password.</h3>
<table>
<tr>
<td>Name:</td>
<td>
<h:inputText value="#{user.name}"/>
</td>
</tr>
<tr>
<td>Password:</td>
<td>
<h:inputSecret value="#{user.password}"/>
</td>
</tr>
</table>
<p>
<h:commandButton value="Login" action="login"/>
</p>
</h:form>
</body>
</f:view>
</html>
webapproot/jsf/welcome.jsp
<html>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
<head>
<title>A Simple Java Server Faces Application</title>
</head>
<body>
<h:form>
<h3>
Welcome to Java Server Faces,
<h:outputText value="#{user.name}"/>!
</h3>
</h:form>
</body>
</f:view>
</html>
webapproot/WEB-INF/faces-config.xml
<faces-config>
<navigation-rule>
<from-view-id>jsf/index.jsp</from-view-id>
<navigation-case>
<from-outcome>login</from-outcome>
<to-view-id>jsf/welcome.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<managed-bean>
<managed-bean-name>user</managed-bean-name>
<managed-bean-class>co.edu.unal.dnic.licapa.capa.UserBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
</faces-config>
webapproot/WEB-INF/web.xml
<web-app>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>/index.html</welcome-file>
</welcome-file-list>
<display-name>DNIC - Capacitaci�n 1.0.1</display-name>
<description>
DNIC - Capacitaci�n 1.0.1
</description>
</web-app>
Since I'm not getting any java exceptions I figure the UserBean class is working properly.
Thank you......
Juliantry to put / at the beginning of the from-view-id and to-view-id
Maybe you are looking for
-
I need a configuration setting
i ve tried seting up the configuration setting of my phone but is not working ,i ve gone to nokia website,i ve dnoe it automatically and maually but nor is working and my phone secrity code is been locked by the nokia produe,the defult code is not op
-
[Solved] Gnome 3 goes into fallback mode after graphics card upgrade
Hello, I have been using Arch with an AMD Radeon HD 4670 and open source drivers for the past couple of months together with Cinnamon, everything was working well. Recently I have upgraded to an AMD Radeon HD7750 which is not supported by the open so
-
Just wondering what level of proficiency is required to produce something like 'simpleviewer' or preferably a slightly more customised version of a photo website/gallery like http://www.foliosnap.com/index.php ?
-
WLS 5.1.0 SP 12 ejbc throws NoSuchMethodError on entity beans
Greetings all, Due to a trashed hard disk, I'm in the middle of getting WebLogic server reinstalled. Because of some problems with Oracle 8.1.6 and WLS 5.1.0 SP9, I've been trying to get SP12 to run, with little luck. I suspect an installation / conf
-
Hi, Any know problems for iphone with the ff specs? ============ 3GS model version 3.1.2 (7D11) Firmware 05.11.07 ============ My iphone signal is toggling from 2G to 3G while stationary. Any ideas how to fix this? Thanks.