Genexus. error CS2001: Source file 'GxWebStd.cs' could not be found - genexus

I'm using Genexus Ev2 U5 build 80183 with .net/web environment.
After running a rebuild all I got the error:
CS2001: Source file 'GxWebStd.cs' could not be found.
Deleting *.ari, .00 and gxobjectcollection.cs files and doing a rebuild all, doesn't fix the issue.
Any help with this issue will be very appreciated.

Leonardo,
Try another rebuild all (seriously), but before doing it:
Delete *.ARI form the root directory of your KB
Delete all files from CsharpModel directory. Or better, delete the directory all below it.
Delete all files with the extension .SPC from your KBs subdirectory
After the rebuild all finishes there can´t be any .SPC files in your KB´s subdirectories.
I hope this fix your problem.

Related

What is "lrelease"?

I am trying to make a naoqi package with qipkg (I dont know if this problem is specific to aldebaran naoqi or if it is a general windows problem)
qipkg make-package Pepper-Demo.pml
but I get the folowing error:
NotInPath Could not find executable: lrelease
qipkg deploy-package is working as it should.
I solved it with the folowing steps:
Check if there is a .exe file called lrelease in the folder at:
C:\Program Files (x86)\Softbank Robotics\Choregraphe Suite 2.5\bin
If not, search for the file on your computer using search in file explorer.
The error message displayed in which folders it searched for.
Go to the first folder it searched in (or create it) and paste the lrelease file.

Error: Make Directory: No such file or directory

For some reason, I am getting these 2 errors when I try to run my app.
error: make directory /Users/ameya/Library/Developer/Xcode/DerivedData/TennisTracker-gnfmqlprqnkoxbabnbcmuxgmrskv/Build/Products/Debug-iphonesimulator/TennisTracker.app/Watch/Tennis Tracker WK.app/_WatchKitStub: No such file or directory
error: couldn't remove
'/Users/ameya/Library/Developer/Xcode/DerivedData/TennisTracker-gnfmqlprqnkoxbabnbcmuxgmrskv/Build/Products/Debug-iphonesimulator/TennisTracker.app/Watch/Tennis Tracker WK.app' after command failed: Directory not empty
I am relatively new to xcode and don't really have an idea about what this error means or how to fix it. I currently attempted to upgrade from WatchOs1 to Watchos2 by deleting my old files. I've already had some troubles trying to fully get rid of my old files and implementing the new ones. Is this in anyway related to the error that I am facing?
You have spaces in your watch app Project name.
This will lead to problems with file path, since the spaces aren't being escaped and the path isn't enclosed by double quotes.
For the first issue, the _WatchKitStub file couldn't be removed since the path wasn't escaped, so the file couldn't be found.
That triggered the second issue, when the now-quoted path couldn't be deleted (since the directory wasn't empty because the earlier command failed).
How to fix this issue:
You should create a new watch app target named TennisTrackerWK, change the target for your existing source files, then delete the old watch app target.

Sparrow.Chart.WinRT.45 Payload file 'C:\...\' does not exist errors

When I add Sparrow.Chart.WinRT.45 through NuGet package manager, upon attempting to compile, I am faced with
Error 7 Payload file 'C:\Repository\Application\packages\Sparrow.Chart.WinRT.13.1.0.114\lib\netcore45\Sparrow.Chart.WinRT.45\Sparrow.Chart.WinRT.45\Legend\Legend.xaml' does not exist. Electroencephalograph
Error 8 Payload file 'C:\Repository\Application\packages\Sparrow.Chart.WinRT.13.1.0.114\lib\netcore45\Sparrow.Chart.WinRT.45\Sparrow.Chart.WinRT.45\Themes\generic.xaml' does not exist. Electroencephalograph
Error 9 Payload file 'C:\Repository\Application\packages\Sparrow.Chart.WinRT.13.1.0.114\lib\netcore45\Sparrow.Chart.WinRT.45\Sparrow.Chart.WinRT.45\Themes\Styles.xaml' does not exist. Electroencephalograph
Any ideas?
In case if you couldn't figured out still, the path to the .xaml files are wrong. If you check the packages you will see that it has one Sparrow.Chart.WinRT.45\ folder, but the VS search them in Sparrow.Chart.WinRT.45\Sparrow.Chart.WinRT.45. So you should create a folder in the packages folder and copy those files to there.

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lex failed with exit code 1

I am trying to include a file in my resource bundle the files contains the following:
LeadPunc="({[`'
TrailPunc=}:;-]!?`,.)"'
NumLeadPunc=#({[#$
NumTrailPunc=}):;].,%
Operators=*+-/.:,()[]
Digits=0123456789
Alphas=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
*extra line*
The files is called:
eng.cube.lm
The error I get is:
IExpenseReporter/tessdata/eng.cube.lm:6: premature EOF
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lex failed with exit code 1
This file goes along with the newest version of tesseract (OCR). Does anyone have an idea what is causing this error and how to fix it?
Make sure you select the "Create folder references" option when adding the tessdata folder to your project.
From the documentation:
NOTE: This library currently requires the tessdata folder to be linked
as a referenced folder instead of a symbolic group. If Tesseract can't
find a language file in your own project, it's probably because you
created the tessdata folder as a symbolic group instead of a
referenced folder. It should look like this if you did it correctly:
Note how the tessdata folder has a blue icon, indicating it was
imported as a referenced folder instead of a symbolic group.
Trashing the current folder and adding it again as a folder reference should solve the problem.
XCode "thinks" this is a lex file and try to process it by calling lex. However, lex finds and unbalanced quote and thus a premature end of file.
You should try to call the designated tool explicitly.
I had this issue and I found that copying the folder "tessdata" from the language zip into the project directory rather then into Xcode fixed the issue.

Post-build event not executing

I've written a post build script for my visual studio project
copy "$(TargetDir)ReportTemplates\*.*" "$(TargetDir)Excel\"
del /q "$(TargetDir)ReportTemplates"
and in the build output I get
V:\project\ReportTemplates\CRC150.xls
V:\project\ReportTemplates\SR558.xls
V:\project\ReportTemplates\SR559.xls
3 file(s) copied.
Deleted file - V:\project\ReportTemplates\CRC150.xls
Deleted file - V:\project\ReportTemplates\SR558.xls
Deleted file - V:\project\ReportTemplates\SR559.xls
However when I got take a look in the directory the files have copied, but they are still there in the original location.
Anyone seen this before?
Maybe this files are readonly, try adding /f - force in post build script. Also check if this files are not opened by your application or excel reader because this could be reason why you cant delete them.

Resources