Error at line 145

Ошибка GRUB во время обновления. В сгенерированном файле конфигурации GRUB обнаружены синтаксические ошибки Эта ошибка первоначально возникла во время подходящего обновления, но мне удалось воспроизвести ее с помощью update grub Я прочитал /etc/default/grub и /etc/grub.d/* и не обнаружил явных ошибок. Во время поиска информации я обнаружил https://unix.stackexchange.com/questions/209152/syntax-error-in-grub-cfg-on-update-grub-grub-2-memtest86, но отличные шаги по устранению неполадок там […]

Содержание

  1. Ошибка GRUB во время обновления. В сгенерированном файле конфигурации GRUB обнаружены синтаксические ошибки
  2. 1 ответ
  3. Unable to execute script at Line 145. Undefined is not an object #236
  4. Comments
  5. Footer
  6. GRUB Error during update. Syntax errors are detected in generated GRUB config file
  7. 1 Answer 1
  8. Error in findjobj (line 145) #47
  9. Comments
  10. Error while evaluating Menu Callback

Ошибка GRUB во время обновления. В сгенерированном файле конфигурации GRUB обнаружены синтаксические ошибки

Эта ошибка первоначально возникла во время подходящего обновления, но мне удалось воспроизвести ее с помощью update grub

Я прочитал /etc/default/grub и /etc/grub.d/* и не обнаружил явных ошибок.

Во время поиска информации я обнаружил https://unix.stackexchange.com/questions/209152/syntax-error-in-grub-cfg-on-update-grub-grub-2-memtest86, но отличные шаги по устранению неполадок там не помогли. т привести к решению для меня. К сожалению, мне не удалось создать резервную копию /boot/grub/grub.cfg.new до решения проблемы, поэтому я не могу предоставить копию, все, что я помню, это то, что об ошибке было сообщено в строке 145, и не было никаких проблем, которые я мог бы увидеть с блок кода if-fi в области этой строки.

1 ответ

Поскольку я смог получить доступ к системе, несмотря на ошибку, мне не пришлось выполнять chroot в ней, что будет необходимо, если вы не можете загрузиться в систему. Что я сделал, так это очистил и переустановил grub, что помогло.

Я использовал следующие шаги:

  1. Я подтвердил, что у меня было подключение к Интернету с sudo apt-get update # ***
  2. Я очистил grub-pc и grub-common с sudo apt-get purge grub-pcgrub-common
  3. Я прочитал предупреждение об удалении загрузчика, TAB нажал, чтобы выделить «ОК», и нажал ENTER .
  4. Я отдал команду apt-get install grub-common grub-pc и при появлении запроса я TAB выделил «» и нажал ENTER

Когда был представлен вариант устройства, я использовал клавиши UP/DN, чтобы выбрать правильный диск (sdX), а НЕ раздел.

Я убедился, что рядом с установочным диском [ ] / dev / sdX была звездочка (в моем случае: [ ] / dev / sda). Если это не так, выделите его и нажмите пробел, чтобы выбрать его. Затем я TAB нажал, чтобы выделить «ОК», и нажал ENTER

Я проверил, что установка завершена и работает, введя команду sudo update-grub и все работало без ошибок, как и ожидалось.

Источник

Unable to execute script at Line 145. Undefined is not an object #236

I tried removing all the layers, and render with a single layer to check from which layer the error is caused. But it didn’t seem to help because all the layers showed the same error.

But it worked perfectly fine the previous the day.

Are there any limitations with bodymovin with reference to the usage of effects and scripts in AE?

The text was updated successfully, but these errors were encountered:

hi, can you share the .aep project so I can take a look?

I exported the project and it seems to work fine.
Did you try restarting AE?

Yes! I did it’s still the same!!
Can you share the exported file?

What is the best frame rate that you suggest?
Is there a limit on the duration?

I am getting this exact same error as well. Was there any progress on figuring out what was causing the error? Did you ever get the file exported?

Okay, looks like I already solved the issue. This file was crashing my Lottie Android player and I couldn’t figure out why. When I removed all other comps in the project, it started bugging out with the error above. I seem to have fixed it by checking the box «Extra Comps» in the settings dialogue for that file export in the bodymovin window and now it exported just fine and doesn’t crash the Lottie Android player anymore. Any explanation?

EDIT: It also appears to have shaved off over 30K from the JSON file. I have no idea what the extra 30K in data was. But very weird that by changing the setting above removed 30K from the document.

© 2023 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

GRUB Error during update. Syntax errors are detected in generated GRUB config file

This error originally occurred during an apt upgrade but I managed to reproduce it with update grub

I perused /etc/default/grub and /etc/grub.d/* files and didn’t find any obvious errors.

During my search for information I found https://unix.stackexchange.com/questions/209152/syntax-error-in-grub-cfg-on-update-grub-grub-2-memtest86 but the excellent troubleshooting steps there didn’t result in a solution for me. Sadly I failed to backup /boot/grub/grub.cfg.new prior to resolving the problem so I cannot provide a copy, all I recall is that the error was reported on line 145 and there were not any issues that I could see with the if — fi code block in the area of that line.

1 Answer 1

Since I was able to access the system despite the error, I didn’t have to chroot into it which will be necessary if you cannot boot into the system. What I did was purge and reinstall grub which did the trick.

The steps I used are as follows:

  1. I confirmed that I had an internet connection with sudo apt-get update # ***
  2. I purged grub-pc and grub-common with sudo apt-get purge grub-pc grub-common
  3. I read the warning about removing the bootloader, hit TAB to highlight «OK» and pressed ENTER .
  4. I issued the command apt-get install grub-common grub-pc and when prompted I hit TAB to highlight «» and pressed ENTER

When presented with the device option, I used the UP/DN keys to select the correct drive (sdX) NOT a partition.

I made sure the installation drive [] /dev/sdX had an asterisk next to it ( in my case: [] /dev/sda ). If it doesn’t, highlight it and press the SPACE bar to select it. Then I hit TAB to highlight «OK» and pressed ENTER

I tested that the installation was complete and working by issuing the command sudo update-grub and everything worked error free as expected.

Источник

Error in findjobj (line 145) #47

First of all, this seems like an awesome and timely toolbox. Thank you for creating and sharing it!

In testing out your GUIs (swa_SleepScoring, swa_Explorer), I’m running into this error for both:
% Undefined function or variable ‘javachk’.
%
% Error in findjobj (line 145)
% error(javachk(‘awt’));
%
% Error in swa_SleepScoring>DefineInterface (line 98)
% jStatusBar = findjobj(handles.StatusBar);
%
% Error in swa_SleepScoring (line 8)
% DefineInterface

findjobj is in my file path and here are my creds:
% computer = PCWIN64
% >> ver
% MATLAB Version: 9.1.0.441655 (R2016b)
% Operating System: Microsoft Windows 7 Professional Version 6.1 (Build 7601: Service Pack 1)
% Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode

The text was updated successfully, but these errors were encountered:

If you close the window, and re-open it does it always happen? I’ve been getting a similar error, but its quite sporadic and 90% of the time when I open the functions it works fine, and if not I just re-open and it generally works the next time.

The problem is when using the undocumented functions to access java properties of the figure (findjobj). The error is a strange one since it doesn’t occur all the time when opening the functions. As far as I’ve understood it has to do with background java objects not being available when matlab asks for them, resulting in an error.

Let me know if its a persistent issue, or only occurs sometimes. Maybe I can finally get to the root of the problem and fix it once a for all.

Hey Armand,
I tried your trick and unfortunately it seems to be a persistent issue.

Could you check for the existence of the function javachk ?

It seems to be the function you’re missing and findjobj is only failing because you don’t have that function.

In my 2015b release which javachk returns:
/usr/local/MATLAB/R2015b/toolbox/matlab/lang/javachk.m

  • edit: just tried my 2016b release and its also an internal function there:
    /usr/local/MATLAB/R2016b/toolbox/matlab/lang/javachk.p

Its definitely a normal function that should also be found in 2016b:
http://ch.mathworks.com/help/matlab/ref/javachk.html

Let me know whether this function is in your path or not and we’ll go from there.

Thanks for pointing that out.

which -all javachk; returns:
C:Program FilesMATLABR2016btoolboxmatlablangjavachk.p
C:Program FilesMATLABR2016btoolboxmatlablangjavachk.m % Shadowed

I’m stuck here. I’m familiar with removing directories from matlab’s path,
but not «un-shadowing» or removing a specific file that may be necessary.

Any help here would be great!

On Tue, Oct 11, 2016 at 5:20 PM Armand Mensen notifications@github.com
wrote:

Could you check for the existence of the function javack?

It seems to be the function you’re missing and findjobj is only failing
because you don’t have that function.

In my 2015b release which javack returns:
/usr/local/MATLAB/R2015b/toolbox/matlab/lang/javachk.m

Its definitely a normal function that should also be found in 2016b:
http://ch.mathworks.com/help/matlab/ref/javachk.html

Let me know whether this function is in your path or not and we’ll go from
there.

My 2016b version also returns the «.p» variant. but works just fine, so this is not the root of your issue.

Are you familiar with setting breakpoints? Could you try setting a breakpoint at line 145 in findjobj , then running swa_Explorer , and then manually running javachk(‘awt’) just to be sure that some other part of the scripts is not masking javachk later (which would be weird)

Both in the normal command window and while debugging in findjobj I get this response after running javachk(‘awt’) .

If I try the function with some bad input like javachk(‘x’)

Such a strange problem you’re facing.

After setting a breakpoint at line 145 in findjobj, I receive the same
output you’ve just posted:

0×1 empty struct array with fields:

struct with fields:

A caveat is that I do get your GUI window to open, but when I load your
example data set (‘swaFile_5min_example.mat’), I receive this error:
%Reference to non-existent field ‘fig’.

%Error in swa_Explorer>menu_LoadData (line 480)
%set(handles.fig, ‘Name’, [‘Travelling Waves: ‘, swaFile]);

%Error while evaluating Menu Callback

On Wed, Oct 12, 2016 at 9:15 AM Armand Mensen notifications@github.com
wrote:

My 2016b version also returns the «.p» variant. but works just fine, so
this is not the root of your issue.

Are you familiar with setting breakpoints? Could you try setting a
breakpoint at line 145 in findjobj, then running swa_Explorer, and then
manually running javachk(‘awt’) just to be sure that some other part of
the scripts is not masking javachk later (which would be weird’

Both in the normal command window and while debugging in findjobj I get
this.

0×1 empty struct array with fields:

If I try the function with some bad input like javachk(‘x’)

struct with fields:

Such a strange problem you’re facing.

So I’m really confused by this error now.

In essence your original error indicates that it cannot find the function javachk . but if you try and run it on the command line or even at the breakpoint where it errors, it clearly finds the function, and it works, and has the correct output.

If you run to the breakpoint, then manually run the function (which you have done and it gives the correct output), and then just press «continue», does the function still error at that point or somewhere else?

There must be something else that I’m missing with your setup but it will be very hard to diagnose without direct access to your machine. It also seems to be a problem within the findjobj function which is not technically part of the swa-toolbox, only a dependency. If this persists I will try to talk to the creator if that function Yair Altman.

Thanks for your continued help. I re-verified your suggestion of breakpoint
usage and still get the same error:

0×1 empty struct array with fields:

Undefined function ‘setVerticalAlignment’ for input arguments of type
‘handle.handle’.

Error in swa_Explorer>DefineInterface (line 314)
handles.java.StatusBar.setVerticalAlignment(javax.swing.SwingConstants.CENTER);

Error in swa_Explorer (line 3)
DefineInterface

Just to be sure, I removed all toolboxes from my path that may have
interfered. I wanted to test both of your viewers and tried to load your
example data.

As a test of swa_Explorer, I tried loading ‘swaFile_5min_example.mat’. This
was the resulting error:
Reference to non-existent field ‘fig’.

Error in swa_Explorer>menu_LoadData (line 480)
set(handles.fig, ‘Name’, [‘Travelling Waves: ‘, swaFile]);

Error while evaluating Menu Callback

As a test of swa_SleepScoring, I tried loading ‘swaData_5min_example.set’.
This was the resulting error:
Struct contents reference from a non-struct array object.

Error in swa_SleepScoring>menu_LoadEEG (line 273)
set(handles.StatusBar, ‘String’, ‘Busy: Loading EEG (May take some
time). ‘); drawnow;

Both GUI errors result from an error due to Menu Callback. Any idea what
might cause that?

On Fri, Oct 14, 2016 at 5:19 AM Armand Mensen notifications@github.com
wrote:

So I’m really confused by this error now.

In essence your original error indicates that it cannot find the function
javachk. but if you try and run it on the command line or even at the
breakpoint where it errors, it clearly finds the function, and it works,
and has the correct output.

If you run to the breakpoint, then manually run the function (which you
have done and it gives the correct output), and then just press «continue»,
does the function still error at that point or somewhere else?

There must be something else that I’m missing with your setup but it will
be very hard to diagnose without direct access to your machine. It also
seems to be a problem within the findjobj function which is not technically
part of the swa-toolbox, only a dependency. If this persists I will try to
talk to the creator if that function Yair Altman.

Источник

This error originally occurred during an apt upgrade but I managed to reproduce it with update grub

sudo update-grub
[sudo] password for me: 
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-72-generic
Found initrd image: /boot/initrd.img-4.15.0-72-generic
Found linux image: /boot/vmlinuz-4.15.0-60-generic
Found initrd image: /boot/initrd.img-4.15.0-60-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 145
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.

I perused /etc/default/grub and /etc/grub.d/* files and didn’t find any obvious errors.

During my search for information I found https://unix.stackexchange.com/questions/209152/syntax-error-in-grub-cfg-on-update-grub-grub-2-memtest86 but the excellent troubleshooting steps there didn’t result in a solution for me. Sadly I failed to backup /boot/grub/grub.cfg.new prior to resolving the problem so I cannot provide a copy, all I recall is that the error was reported on line 145 and there were not any issues that I could see with the if — fi code block in the area of that line.

asked Dec 28, 2019 at 20:00

Elder Geek's user avatar

Elder GeekElder Geek

35k25 gold badges91 silver badges177 bronze badges

3

Since I was able to access the system despite the error, I didn’t have to chroot into it which will be necessary if you cannot boot into the system.
What I did was purge and reinstall grub which did the trick.

The steps I used are as follows:

  1. I confirmed that I had an internet connection with sudo apt-get update # ***
  2. I purged grub-pc and grub-common with sudo apt-get purge grub-pc grub-common
  3. I read the warning about removing the bootloader, hit TAB to highlight «OK» and pressed ENTER.
  4. I issued the command apt-get install grub-common grub-pc and when prompted I hit TAB to highlight «» and pressed ENTER
  5. When presented with the device option, I used the UP/DN keys to select the correct drive (sdX) NOT a partition.

    I made sure the installation drive [] /dev/sdX had an asterisk next to it ( in my case: [] /dev/sda ). If it doesn’t, highlight it and press the SPACE bar to select it. Then I hit TAB to highlight «OK» and pressed ENTER

    I tested that the installation was complete and working by issuing the command sudo update-grub and everything worked error free as expected.

Sources: https://ubuntuforums.org/showthread.php?t=1581099

answered Dec 28, 2019 at 20:33

Elder Geek's user avatar

Elder GeekElder Geek

35k25 gold badges91 silver badges177 bronze badges

3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account


Closed

jcksnptr441 opened this issue

Jan 31, 2017

· 6 comments

Comments

@jcksnptr441

I tried removing all the layers, and render with a single layer to check from which layer the error is caused. But it didn’t seem to help because all the layers showed the same error.

But it worked perfectly fine the previous the day.

Are there any limitations with bodymovin with reference to the usage of effects and scripts in AE?

@bodymovin

hi, can you share the .aep project so I can take a look?

@bodymovin

I exported the project and it seems to work fine.
Did you try restarting AE?

@jcksnptr441

Yes! I did it’s still the same!!
Can you share the exported file?

What is the best frame rate that you suggest?
Is there a limit on the duration?

screen shot 2017-02-01 at 4 22 53 pm

screen shot 2017-02-01 at 4 23 06 pm

screen shot 2017-02-01 at 4 23 17 pm

@jcksnptr441

@sureMOE

I am getting this exact same error as well. Was there any progress on figuring out what was causing the error? Did you ever get the file exported?

@sureMOE

Okay, looks like I already solved the issue. This file was crashing my Lottie Android player and I couldn’t figure out why. When I removed all other comps in the project, it started bugging out with the error above. I seem to have fixed it by checking the box «Extra Comps» in the settings dialogue for that file export in the bodymovin window and now it exported just fine and doesn’t crash the Lottie Android player anymore. Any explanation?

EDIT: It also appears to have shaved off over 30K from the JSON file. I have no idea what the extra 30K in data was. But very weird that by changing the setting above removed 30K from the document.

Recommend Projects

  • React photo

    React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo

    Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo

    Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo

    TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo

    Django

    The Web framework for perfectionists with deadlines.

  • Laravel photo

    Laravel

    A PHP framework for web artisans

  • D3 photo

    D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Visualization

    Some thing interesting about visualization, use data art

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo

    Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo

    Microsoft

    Open source projects and samples from Microsoft.

  • Google photo

    Google

    Google ❤️ Open Source for everyone.

  • Alibaba photo

    Alibaba

    Alibaba Open Source for everyone

  • D3 photo

    D3

    Data-Driven Documents codes.

  • Tencent photo

    Tencent

    China tencent open source team.


Hello,

On the admin login screen i have this

Fatal error: Call to a member function getId() on a non-object in /public_html/vqmod/vqcache/vq2-catalog_controller_common_footer.php on line 145

Please can someone provide me with a fix?
I have cleared all caches serval times and still have this problem, the front of site works this just blocks admin opencart sign-in.

Cheers
MonmouthSS




Joined

Sat Sep 12, 2015 10:41 pm

Re: Fatal Error Help on line 145 (Opencart 1.5.6.4)


Post

by IP_CAM » Mon Sep 14, 2015 6:20 am

An ‘ordered’ function getId() cannot work/execute, because it finds no OBJECT/VALUE to handle, in your Footer Section. would be anything, possibly added, then partly removed/disabled again only, who knows ::)
Ernie
bigmax.ch/shop/


My Github OC Site: https://github.com/IP-CAM
5’000 + FREE OC Extensions, on the World’s largest Github OC Repository Archive Site.


User avatar


Who is online

Users browsing this forum: Ahrefs [Bot], cedcommerceteam and 20 guests

addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        timemenu = dxCreateButton(mx-53, my-25, 53, 25, "12:30", false, dxcol, "default-bold", "Crystal [blue]") 
        taskbar = dxCreateStaticImage(0, 0, 2048, 25, "task/taskbar.png") 
        startbtn = dxCreateStaticImage(0, 0, 82, 25, "buts/start.png", 0, taskbar) 
        startmenu = dxCreateStaticImage(0, 25, 2048, 60, "task/topbar.png") 
        filesbut = dxCreateStaticImage(0, 0, 60, 60, "icns/files.png", 0, startmenu) 
        calendar = dxCreateStaticImage(64, 0, 60, 60, "icns/calend.png", 0, startmenu) 
        monthname = dxCreateLabel(5, 3, 55, 18, "January", calendar, dxcol, "default-bold", 12) 
        dateone = dxCreateLabel(19, 31, 21, 19, "12", calendar, dxcol, "default-bold", 12) 
        calculatorbut = dxCreateStaticImage(128, 0, 60, 60, "icns/calc.png", 0, startmenu) 
        picsbut = dxCreateStaticImage(320, 0, 60, 60, "icns/imgs.png", 0, startmenu) 
        musicbut = dxCreateStaticImage(256, 0, 60, 60, "icns/music.png", 0, startmenu) 
        infobut = dxCreateStaticImage(384, 0, 60, 60, "icns/info.png", 0, startmenu) 
        textedbut = dxCreateStaticImage(192, 0, 60, 60, "icns/texted.png", 0, startmenu) 
        settsbut = dxCreateStaticImage(448, 0, 60, 60, "icns/setts.png", 0, startmenu) 
        shutdownb = dxCreateStaticImage(mx-60, 0, 60, 60, "icns/off.png", 0, startmenu) 
         
        --about 
        infowin = dxCreateWindow(407, 115, 240, 266, "About", dxcol, "default-bold", "Crystal [blue]") 
        closeinfo = dxCreateStaticImage(10, 20, 19, 19, "buts/close.png", 0, infowin) 
        infologo = dxCreateStaticImage(58, 20, 128, 128, "icns/alogo.png", 0, infowin) 
        aboutinfo = dxCreateLabel(20, 158, 206, 96, "              Lunix OS Blue Octopusn                Version 2.0 Previewn           For screensize: "..mx.."x"..my.."nnAuthor&Scripter              TraniLuresenDesigned by                             MediymnDate                                      31.12.2013", infowin, dxcol, "default-bold", 12) 
         
        --Calculator 
        calculatorwin = dxCreateWindow(466, 203, 183, 136, "Calculator", dxcol, "default-bold", "Crystal [blue]") 
        closecalc = dxCreateStaticImage(10, 19, 19, 19, "buts/close.png", 0, calculatorwin) 
        result = dxCreateEdit(29, 19, 145, 18, "Result", false, calculatorwin, dxcol, "default-bold", "Crystal [blue]") 
        charone = dxCreateEdit(9, 47, 165, 20, "Char 1", false, calculatorwin, dxcol, "default-bold", "Crystal [blue]") 
        plus = dxCreateButton(9, 102, 25, 23, "+", calculatorwin, dxcol, "default-bold", "Crystal [blue]") 
        chartwo = dxCreateEdit(9, 72, 165, 20, "Char 2", false, calculatorwin, dxcol, "default-bold", "Crystal [blue]") 
        minus = dxCreateButton(44, 102, 25, 23, "-", calculatorwin, dxcol, "default-bold", "Crystal [blue]") 
        chxch = dxCreateButton(79, 102, 25, 23, "x", calculatorwin, dxcol, "default-bold", "Crystal [blue]") 
        divs = dxCreateButton(114, 102, 25, 23, "÷", calculatorwin, dxcol, "default-bold", "Crystal [blue]") 
        radic = dxCreateButton(149, 102, 25, 23, "√", calculatorwin, dxcol, "default-bold", "Crystal [blue]")  
  
        --Error 
        errorwind = dxCreateWindow(575, 249, 168, 82, "Error", dxcol, "default-bold", "Crystal [blue]") 
        closeerror = dxCreateStaticImage(9, 20, 19, 19, "buts/close.png", 0, errorwind) 
        errortext = dxCreateLabel(10, 41, 153, 22, "Passwords do not match", errorwind, dxcol, "default-bold", 12) 
             
        --Files     
        fileswin = dxCreateWindow(137, 69, 400, 347, "Files", dxcol, "default-bold", "Crystal [blue]") 
        closefiles = dxCreateStaticImage(10, 20, 19, 19, "buts/close.png", 0, fileswin) 
        filesmemo = dxCreateEdit(29, 39, 363, 299, "", false, fileswin, dxcol, "default-bold", "Crystal [blue]") 
            dxEditSetReadOnly(filesmemo, true) 
        calcf = dxCreateStaticImage(10, 10, 60, 60, "icns/calc.png", 0, filesmemo) 
        imagesf = dxCreateStaticImage(10, 84, 60, 60, "icns/imgs.png", 0, filesmemo) 
        musicf = dxCreateStaticImage(10, 159, 60, 60, "icns/music.png", 0, filesmemo) 
        textedf = dxCreateStaticImage(10, 230, 60, 60, "icns/texted.png", 0, filesmemo) 
        lablawinf = dxCreateLabel(80, 10, 282, 270, "CalculatornIf you need to calculate somethink, you can use itnnnnImagesnYou can see all Lunix OS ImagesnnnnMusicnPlay any music, if you have URLnnnnText EditornWrite some information", filesmemo, tocolor(0, 0, 0, 255), "default-bold", 12) 
   
        --Login screen 
        loginbuttn = dxCreateButton((mx/8)+(mx/2)+40, my/2+29, 103, 34, "Login", false, dxcol, "default-bold", "Crystal [blue]") 
        regbuttn = dxCreateButton((mx/8)+(mx/2)+40, (my/4)+(my/2), 103, 34, "Register", false, dxcol, "default-bold", "Crystal [blue]") 
            dxSetVisible(regbuttn, false) 
        nowtime = dxCreateLabel(mx/4, my/4, 142, 51, "12:30", false, dxcol, "default-bold", 24) 
        nowdate = dxCreateLabel((mx/4)-30, (my/4)+60, 195, 46, "21.12.2013", false, dxcol, "default-bold", 12) 
        username = dxCreateEdit((mx/8)+(mx/2), (my/2)-30, 190, 27, "Username", false, false, dxcol, "default-bold", "Crystal [blue]") 
        password = dxCreateEdit((mx/8)+(mx/2), my/2, 190, 27, "Password", false, false, dxcol, "default-bold", "Crystal [blue]") 
            dxEditSetMasked(password, true)         
             
        --Music Player 
        musicwin = dxCreateWindow(485, 292, 321, 88, "Music", dxcol, "default-bold", "Crystal [blue]") 
        closemp = dxCreateStaticImage(10, 19, 19, 19, "buts/close.png", 0, musicwin) 
        url = dxCreateEdit(33, 19, 279, 19, "Put here URL", false, musicwin, dxcol, "default-bold", "Crystal [blue]") 
        playurl = dxCreateButton(10, 48, 94, 29, "Play", musicwin, dxcol, "default-bold", "Crystal [blue]") 
        pauseurl = dxCreateButton(114, 48, 94, 29, "Pause", musicwin, dxcol, "default-bold", "Crystal [blue]") 
        stopurl = dxCreateButton(218, 48, 94, 29, "Stop", musicwin, dxcol, "default-bold", "Crystal [blue]") 
         
        --Pictures 
        imageswin = dxCreateWindow(398, 151, 465, 483, "Pictures", dxcol, "default-bold", "Crystal [blue]") 
        closeimages = dxCreateStaticImage(10, 19, 19, 19, "buts/close.png", 0, imageswin) 
        showedimg = dxCreateStaticImage(31, 102, 400, 350, "dsks/desktop1.png", 0, imageswin) 
        picture[1] = dxCreateStaticImage(31, 19, 82, 74, "dsks/desktop1.png", 0, imageswin) 
        picture[2] = dxCreateStaticImage(123, 19, 80, 74, "dsks/desktop2.png", 0, imageswin) 
        setasdesk = dxCreateButton(9, 456, 446, 18, "Set as desktop", imageswin, dxcol, "default-bold", "Crystal [blue]") 
         
        --Settings 
        settswin = dxCreateWindow(346, 291, 396, 237, "Settings", dxcol, "default-bold", "Crystal [blue]") 
        closesets = dxCreateStaticImage(10, 20, 19, 19, "buts/close.png", 0, settswin) 
        tasktop = dxCreateButton(53, 49, 123, 21, "Top", settswin, dxcol, "default-bold", "Crystal [blue]") 
        taskbot = dxCreateButton(215, 49, 123, 21, "Bottom", settswin, dxcol, "default-bold", "Crystal [blue]") 
        englang = dxCreateButton(53, 100, 123, 21, "English", settswin, dxcol, "default-bold", "Crystal [blue]") 
        ruslang = dxCreateButton(215, 100, 123, 21, "Russian", settswin, dxcol, "default-bold", "Crystal [blue]") 
        infosetts = dxCreateLabel(135, 35, 119, 120, "     Taskbar positionnnn    System languagennn  Desktop image size", settswin, dxcol, "default-bold", 12) 
        fullimage = dxCreateButton(53, 145, 123, 21, "2048х2048", settswin, dxcol, "default-bold", "Crystal [blue]") 
        fullscreen = dxCreateButton(215, 145, 123, 21, mx.."x"..my, settswin, dxcol, "default-bold", "Crystal [blue]") 
        changedesk = dxCreateButton(10, 197, 180, 25, "Change desktop image", settswin, dxcol, "default-bold", "Crystal [blue]") 
        changetask = dxCreateButton(205, 197, 180, 25, "Change taskbar image", settswin, dxcol, "default-bold", "Crystal [blue]")  
      
        --Register 
        registerwin = dxCreateWindow(408, 156, 384, 176, "Register", dxcol, "default-bold", "Crystal [blue]") 
        regusername = dxCreateEdit(17, 32, 174, 28, "Username", false, registerwin, dxcol, "default-bold", "Crystal [blue]") 
        regpassword = dxCreateEdit(17, 66, 174, 28, "", false, registerwin, dxcol, "default-bold", "Crystal [blue]") 
            dxEditSetMasked(regpassword, true) 
        regrepeat = dxCreateEdit(17, 99, 174, 28, "", false, registerwin, dxcol, "default-bold", "Crystal [blue]") 
            dxEditSetMasked(regrepeat, true) 
        reglabel = dxCreateLabel(196, 36, 179, 91, "You login usernamennPasswordnnnRepeat password", registerwin, dxcol, "default-bold", 12) 
        closereg = dxCreateStaticImage(356, 23, 19, 19, "buts/close.png", 0, registerwin) 
        regbttn = dxCreateButton(23, 138, 342, 28, "Register", registerwin, dxcol, "default-bold", "Crystal [blue]") 
         
        --Desktop Sets  
        desktopwin = dxCreateWindow(320, 270, 233, 141, "Desktop Image", dxcol, "default-bold", "Crystal [blue]") 
        closedesktops = dxCreateStaticImage(10, 19, 19, 19, "buts/close.png", 0, desktopwin) 
        desktopimage[1] = dxCreateStaticImage(10, 44, 100, 80, "dsks/desktop1.png", 0, desktopwin) 
        desktopimage[2] = dxCreateStaticImage(120, 44, 100, 80, "dsks/desktop2.png", 0, desktopwin) 
  
        --Taskbar Sets 
        taskbarwin = dxCreateWindow(320, 150, 326, 116, "Taskbar Image", dxcol, "default-bold", "Crystal [blue]") 
        closetasksets = dxCreateStaticImage(10, 20, 19, 19, "buts/close.png", 0, taskbarwin) 
        taskbarpanel[1] = dxCreateStaticImage(10, 49, 305, 25, "task/taskbar.png", 0, taskbarwin) 
        taskbarpanel[2] = dxCreateStaticImage(10, 79, 305, 25, "task/taskbar2.png", 0, taskbarwin) 
        shadow = dxCreateLabel(0, 0, 44, 15, "Shadow", taskbarpanel[2], dxcol, "default-bold", 12)  
     
        --Text Editor     
        textedwin = dxCreateWindow(331, 146, 444, 362, "Lua Txt", dxcol, "default-bold", "Crystal [blue]") 
        writeevery = dxCreateEdit(10, 45, 424, 307, "", false, textedwin, dxcol, "default-bold", "Crystal [blue]") 
            dxEditSetReadOnly(writeevery, true) 
        closetexted = dxCreateStaticImage(10, 22, 19, 19, "buts/close.png", 0, textedwin) 
         
        --Time'n'Date 
        timewin = dxCreateWindow(382, 177, 115, 57, "Time and date", dxcol, "default-bold", "Crystal [blue]") 
        timehere = dxCreateLabel(34, 19, 70, 33, "    12:00n21.12.2013", timewin, dxcol, "default-bold", 12) 
        closetime = dxCreateStaticImage(10, 19, 19, 19, "buts/close.png", 0, timewin)  
    end) 

Понравилась статья? Поделить с друзьями:
  • Error at line 1 ora 01031 insufficient privileges
  • Error at least one required implicit or forwarded dependency was not found
  • Error at least one file was not a 32 bit or 64 bit windows module
  • Error at initialization of bundled dll ultraactivate dll
  • Error archive data corrupted decompression fails код ошибки 1 windows 10