runtime-error

How to add file name when importing multiple Excel files to one Access table

对着背影说爱祢 提交于 2019-12-24 09:48:27
问题 I am using Access VBA to import multiple Excel files into my Access database. This will be a monthly process with 20-50 files and 10-60K records. I need to include an "Application name" that isn't included within the spreadsheet file itself, but is in its file name. Rather than manually adding the application name to the Excel file I'd like to have it added via my VBA code. I'm not proficient with Access and have pieced most of this together from searches on how to complete. This "works" but

Excel VBA Pivot Cache Type Mismatch Run-Time Error '13'

陌路散爱 提交于 2019-12-24 08:38:18
问题 Thanks for any input on this. I'm trying to make a simple pivot table that is taking data from sheet "5 Month Trending May 15" and putting it onto my Pivot Table sheet called "Errors By Criticality - Pivot". When I try to set the pivot cache range with the create method it's returning a runtime error of type mismatch. I've checked the parameters and it looks like I'm setting it up correctly. I did try to specify the PivotTable version and was still getting the same error. My code is below. I

Excel 2010 VBA: Runtime error 1004, Microsoft Excel cannot paste the data

…衆ロ難τιáo~ 提交于 2019-12-24 08:34:56
问题 I had been running a cut and paste picture routine for some time and all of a sudden Excel starting giving me this run time error. It had been working fine for several days until now (no OS update or reboot, though I did try closing and reopening Excel to see if it helped). Stranger still, the script does a batch copy and paste.picture, the same range (with recalculated values) is copied and pasted 13 times and the error message pops up usually in the last loop or occasionally at some random

Can't reproduce a runtime error that UVa Online Judge gives me [closed]

寵の児 提交于 2019-12-24 08:32:49
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am getting runtime errors for my Java solutions to UVa Online Judge problems. I have finished Problem 100 and it works on my end. Any ideas what could be causing the problem? import java.util.ArrayList; import java.util.Hashtable; import java.util.Scanner; class P100 { public static void main(String args[]) {

Python Multiprocessing Error with IBM API (Q Experience)

狂风中的少年 提交于 2019-12-24 07:28:52
问题 I'm trying to use the IBM Q Experience API and I installed the library and wrote a quick test code. At first, it couldn't find the module. Then, I added the whole sys thing. Admittedly, I just copied that from a stackoverflow post so that may be the problem. Anyways, I got "RunTime Error" which leads to the python multiprocessing lib. The IBM Q doesn't have a big community, so I couldn't find anything after researching a little while. I'm completely unfamiliar with multiprocessing, threading,

Java Virtual Machine crashes Multiple times

五迷三道 提交于 2019-12-24 07:01:35
问题 This is the entire error message http://pastebin.com/bDgye0rt The error log is too big that I can't attach it here. I am not extremely familiar with how jvm works in the background and what registers it makes use of. I am hoping someone can look at this error log and explain to me what it means. # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007ffd18cbcafe, pid=29906, tid=140725158119168 # # JRE version: 6.0_27-b27 # Java VM: OpenJDK 64-Bit

How to catch when a selector is passed to jQuery() that does not exist in document, to stop further possible errors or omissions?

佐手、 提交于 2019-12-24 06:44:30
问题 Given $(function() { $(".planChoice").on("click", function() { console.log(123) }); console.log($(".planChoice").length) }) <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"> </script> jQuery happilly allows chaining .on() to jQuery() call where selector passed to jQuery() does not exist in document . Where .addEventListener() throws a TypeError Cannot read property 'addEventListenet' of null $(function() { document.querySelector(".planChoice") .addEventListener(

Runtime error in UVA Online Judge [closed]

£可爱£侵袭症+ 提交于 2019-12-24 04:45:12
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I'm doing problem 10003 "cutting sticks" of the UVa online judge, I'm pretty sure my code works and I think I' correctly exiting the problem. But still I get a runtime error, I read somewhere that is because I'm not exiting the application like I'm supposed to do it. I wish you guys can help me with this problem

local variable referenced before assignment in python when i set it global

心已入冬 提交于 2019-12-24 04:16:15
问题 from random import randint shifts = [4, 4.2, 5, 6, 7] days_names = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday'] workers_names = ['Itai', 'Or', 'Reut', 'Kuka', 'Aviel'] counter = 1 def shift_arrange(worker): for day in days.values(): counter+=1 global avilable_shifts avilable_shifts = check_avilable_shifts(day) if not random_shifte_selector(worker,day): soft_reset(worker) I set counter as a global variable, and when i try to run this code i get the local variable error: Traceback

Invalid 'n' argument error in readBin() when trying to load a large (4GB+ audio file)

萝らか妹 提交于 2019-12-24 03:44:07
问题 I'm trying to load a sample from a 4GB+ mono WAV file (total file duration 24h, I'm loading a 15min slice). library(tuneR) so <- readWave( "file.wav", from = 1, to = 15, units = "minutes" ) This is the traceback Error in readBin(con, int, n = N, size = bytes, signed = (bytes != 1), : invalid 'n' argument 2 readBin(con, int, n = N, size = bytes, signed = (bytes != 1), endian = "little") 1 readWave(filePath, from = 1, to = 15, units = "minutes") This happens for every 'from' and 'to' params (5