erajasekar / astrosoft Goto Github PK
View Code? Open in Web Editor NEWAstrosoft is a free Indian Astrology software program for Astrologers.
Home Page: http://innovativeastrosolutions.com
License: GNU General Public License v2.0
Astrosoft is a free Indian Astrology software program for Astrologers.
Home Page: http://innovativeastrosolutions.com
License: GNU General Public License v2.0
On the Panchang Day View,
There can be two thithi.
For example on 19th of Dec,2018.
There are two tithi like Ekadashi and Dwadashi.
How can it be solved?
Hi, i have tried to run Astrosoft from the link [ http://sourceforge.net/projects/astrosoft/files/latest/download ]
I was able to run the program but when clicking of New MenuItem, it is showing error on console
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at app.astrosoft.ui.util.UIUtil.setPanelBackground(Unknown Source)
at app.astrosoft.ui.dlg.AstrosoftDialog.setBackground(Unknown Source)
at javax.swing.JDialog.dialogInit(JDialog.java:649)
at javax.swing.JDialog.(JDialog.java:279)
at app.astrosoft.ui.dlg.AstrosoftDialog.(Unknown Source)
at app.astrosoft.ui.dlg.BirthInputDialog.(Unknown Source)
at app.astrosoft.ui.dlg.BirthInputDialog.(Unknown Source)
at app.astrosoft.ui.AstroSoft.newHoroscope(Unknown Source)
at app.astrosoft.ui.AstrosoftAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at com.digitprop.tonic.MenuItemUI.doClick(MenuItemUI.java:1507)
at com.digitprop.tonic.MenuItemUI$MouseInputHandler.mouseReleased(MenuItemUI.java:1294)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
^C%
It seems to be Swing Error.
If would be very helpful if you can help me to fix this.
Thanks in advance
And kudos for the awesome project
While trying to calculate Tribhagi Dasa(New Feature),will adding the dasaperiod for planet work?
i have also changed the total length by 80 rather than 120(for vimshottari dasha).
Resolved
Follow the steps as described in README.md file. You should be able to run the project without any additional software by running the RunAstroSoft.bat file.
Once you have installed current version of Eclipse, you may still need to make some changes in some of the settings and configurations as mentioned below.
TO RUN / DEBUG PROJECT WITH THE UI:
Within Astrosoft\src select astrosoft.ui package and open the astrosoft.java file. Running this will invoke the project with UI as you see when running RunAstroSoft.bat.
Change:
You may see a library conflict with xpp3.jar file with internal jar files, I removed the xpp3.jar reference from the project and then I was able to compile.
In Run -> Debug configurations, Arguments tab: add the following line [from ]
-Djava.util.prefs.PreferencesFactory=app.astrosoft.pref.UserPreferencesFactory
When you make the above changes for app.astrosoft.ui - Astrosoft.java file you should be able to run / debug the project with full UI, by running the Astrosoft.java file directly from eclipse.
If you want to run the project without the UI and check only the horoscope generation part, you can repeat the same steps above for app.astrosoft.core - Horoscope.java and run the horoscope.java directly from eclipse.
C:\Astrosoft-master\bin>./RunAstroSoft.bat
'.' is not recognized as an internal or external command,
operable program or batch file.
C:\Astrosoft-master\bin>./RunAstroSoft
'.' is not recognized as an internal or external command,
operable program or batch file.
C:\Astrosoft-master\bin>
Hi @erajasekar
I would like to thank you for open sourcing Astrosoft project and
I am happy i get to know many things from it.
Now I would like to know how we can calculate the rasi end time?
For example
If on date (31th Dec,2018),Rasi is Thula.
Now i need to know when Thula will end?
I would be very helpful if you can provide me some idea?
i get Exception in thread "main" java.lang.ExceptionInInitializerError at app.astrosoft.consts.Planet.toString(Planet.java:341) at app.astrosoft.core.VimDasa.fullDasa(VimDasa.java:93) at app.astrosoft.core.VimDasa.getColumnData(VimDasa.java:220) at app.astrosoft.ui.table.TableDataFactory.toCSV(TableDataFactory.java:79) at app.astrosoft.core.Vimshottari.main(Vimshottari.java:237) Caused by: java.util.MissingResourceException: Can't find bundle for base name resources.AstrosoftBundle, locale en at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1573) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1396) at java.util.ResourceBundle.getBundle(ResourceBundle.java:854) at app.astrosoft.util.Internalization.loadBundles(Internalization.java:68) at app.astrosoft.util.Internalization.<clinit>(Internalization.java:48) ... 5 more
when trying to run Vimshottari.java
It will be a great help if u can guide me on how to include swiss ephemeris dependency as in my gradle project i want to include your project
It will be a great help if you can help me with the below error:
my code is :
val place = Place("Bangalore","Karnataka","India", 25.51, 85.47, 5.30)
val calendar:Calendar=GregorianCalendar(1995, 5, 18, 5, 12, 1)
val birthData = BirthData("Ashwini",calendar,place)
println("$place ")
println("$calendar")
println("$birthData")
integrate java files to my android project
Current Software only shows South indian chart How can i see North indian chart what should to do
Hi @erajasekar ,
I am trying to get horoscope before 1900 AD but it is throwing error.
So how can i get horoscope of before 1900 AD
I have checked on swiss ephe that i have data before 1900 AD.
Please would you help me by sharing your opinion.
Can you include / suggest how to include
I was importing a project on eclipse but when I run the project it gives an error telling me how to run the project in eclipse.
Dear Sir,
I am using your software frequently.Thank you Sir.
I am a newbie to Java and I ran the software where everything goes fine.I modified export directory files , especially XSL files to support Tamil while exporting to PDF.
There are rendering errors in Fonts Exporting Horoscope to PDF in Tamil using FOP.
For tamil letter 'jo' ja comes first and then supporting vowel ,but both should be embedded.
Please help me solve this issue. I will be grateful to you.
Are there any other options to export Horoscopes to PDF in Tamil other than Fop.
I also need to know whether the current software supports it.
Thanks and Regards
Saravanan N
For calculating Bhadra yog,I need to get half time of thithi so for that i need to get start time of thithi.
@erajasekar
Let me know if you can provide me any hint.
Thank you in advance.
public static String getString(String key) {
/String str = "";
setLanguage(language);
str = getString(key);
setPreferedLanguate();/
//setLanguage(language);
return getString(AstroSoft.getPreferences().getLanguage(), key);
//setPreferedLanguate(Ast);
//return str;
}
this function not working please help
How can i calculate solar month from degee of sun and month?
For example i need to show
Baisakh Shukla Pakshya etc
Let me know if you have any solutions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.